NAnt SDK Documentation - v0.92 |

# CompilerBase.PerformSearchForResourceLinkage Method

Extracts the associated namespace/classname linkage found in the given stream.

[Visual Basic]
Overridable Public Function PerformSearchForResourceLinkage( _
ByVal sr As TextReader _
) As ResourceLinkage
[C#]
public virtual ResourceLinkage PerformSearchForResourceLinkage(
TextReader sr
);

#### Parameters

sr
  The read-only stream of the source file to search.

#### Return Value

The namespace/classname of the source file matching the resource.

#### See Also

CompilerBase Class | NAnt.DotNet.Tasks Namespace