SyntaxTree.GetChangedSpans(SyntaxTree) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a list of the changed regions between this tree and the specified tree. The list is conservative for performance reasons. It may return larger regions than what has actually changed.
public:
abstract System::Collections::Generic::IList<Microsoft::CodeAnalysis::Text::TextSpan> ^ GetChangedSpans(Microsoft::CodeAnalysis::SyntaxTree ^ syntaxTree);
public abstract System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextSpan> GetChangedSpans (Microsoft.CodeAnalysis.SyntaxTree syntaxTree);
abstract member GetChangedSpans : Microsoft.CodeAnalysis.SyntaxTree -> System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextSpan>
Public MustOverride Function GetChangedSpans (syntaxTree As SyntaxTree) As IList(Of TextSpan)
Parameters
- syntaxTree
- SyntaxTree
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.