Share via


CSharpSyntaxTree.GetChangedSpans(SyntaxTree) メソッド

定義

古いツリーのテキストから変更された、このツリー内のテキストの領域を示すスパンの悲観的なリストを生成します。

public:
 override System::Collections::Generic::IList<Microsoft::CodeAnalysis::Text::TextSpan> ^ GetChangedSpans(Microsoft::CodeAnalysis::SyntaxTree ^ oldTree);
public override System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextSpan> GetChangedSpans (Microsoft.CodeAnalysis.SyntaxTree oldTree);
override this.GetChangedSpans : Microsoft.CodeAnalysis.SyntaxTree -> System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextSpan>
Public Overrides Function GetChangedSpans (oldTree As SyntaxTree) As IList(Of TextSpan)

パラメーター

oldTree
SyntaxTree

古いツリー。 null にすることはできません。

戻り値

注釈

リストは、実際に変更されたよりも多くのリージョンまたは大きいリージョンを要求する可能性があるため、悲観的です。

適用対象