Udostępnij za pośrednictwem


SyntaxTree.GetLocation(TextSpan) Method

Definition

Gets a location for the specified text span.

public:
 abstract Microsoft::CodeAnalysis::Location ^ GetLocation(Microsoft::CodeAnalysis::Text::TextSpan span);
public abstract Microsoft.CodeAnalysis.Location GetLocation (Microsoft.CodeAnalysis.Text.TextSpan span);
abstract member GetLocation : Microsoft.CodeAnalysis.Text.TextSpan -> Microsoft.CodeAnalysis.Location
Public MustOverride Function GetLocation (span As TextSpan) As Location

Parameters

span
TextSpan

Returns

Applies to