SyntaxTree.GetChangedSpans(SyntaxTree) Method

Definition

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