CompilationWithAnalyzers.GetAnalysisResultAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
GetAnalysisResultAsync(SyntaxTree, Nullable<TextSpan>, ImmutableArray<DiagnosticAnalyzer>, CancellationToken) |
지정된 |
GetAnalysisResultAsync(SemanticModel, Nullable<TextSpan>, ImmutableArray<DiagnosticAnalyzer>, CancellationToken) |
지정된 |
GetAnalysisResultAsync(AdditionalText, Nullable<TextSpan>, ImmutableArray<DiagnosticAnalyzer>, CancellationToken) |
AnalysisResult 지정된 추가 |
GetAnalysisResultAsync(SyntaxTree, ImmutableArray<DiagnosticAnalyzer>, CancellationToken) |
지정된 |
GetAnalysisResultAsync(SemanticModel, Nullable<TextSpan>, CancellationToken) |
지정된 |
GetAnalysisResultAsync(SyntaxTree, Nullable<TextSpan>, CancellationToken) |
지정된 |
GetAnalysisResultAsync(AdditionalText, ImmutableArray<DiagnosticAnalyzer>, CancellationToken) |
지정된 추가 를 AnalysisResult 분석하여 에서 |
GetAnalysisResultAsync(ImmutableArray<DiagnosticAnalyzer>, CancellationToken) |
지정된 |
GetAnalysisResultAsync(AdditionalText, Nullable<TextSpan>, CancellationToken) |
필요에 따라 범위가 AnalysisResultAdditionalFileDiagnostics 지정된 추가 |
GetAnalysisResultAsync(SyntaxTree, CancellationToken) |
지정된 |
GetAnalysisResultAsync(AdditionalText, CancellationToken) |
지정된 추가 를 AnalysisResult 분석하여 에서 생성된 Analyzers 로 채워진 AdditionalFileDiagnostics 를 반환합니다 |
GetAnalysisResultAsync(CancellationToken) |
모두 Analyzers 를 실행하고 모든 진단 및 원격 분석 정보와 함께 해당 AnalysisResult 를 반환합니다. |
GetAnalysisResultAsync(SyntaxTree, Nullable<TextSpan>, ImmutableArray<DiagnosticAnalyzer>, CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
지정된 tree
를 AnalysisResult 분석하여 생성된 analyzers
로 SyntaxDiagnostics 채워진 을 반환하고, 필요에 따라 로 범위가 지정된 를 filterSpan
반환합니다.
분석기의 동작에 따라 전체 컴파일을 분석하여 트리에 대해 보고되는 일부 진단 없을 수 있습니다.
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (Microsoft.CodeAnalysis.SyntaxTree tree, Microsoft.CodeAnalysis.Text.TextSpan? filterSpan, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> analyzers, System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : Microsoft.CodeAnalysis.SyntaxTree * Nullable<Microsoft.CodeAnalysis.Text.TextSpan> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (tree As SyntaxTree, filterSpan As Nullable(Of TextSpan), analyzers As ImmutableArray(Of DiagnosticAnalyzer), cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- tree
- SyntaxTree
분석할 구문 트리입니다.
- analyzers
- ImmutableArray<DiagnosticAnalyzer>
진단 필요한 분석기입니다. 지정된 모든 분석기는 의 CompilationWithAnalyzers생성자에 전달된 분석기에서 온 것이어야 합니다.
- cancellationToken
- CancellationToken
취소 토큰입니다.
반환
적용 대상
GetAnalysisResultAsync(SemanticModel, Nullable<TextSpan>, ImmutableArray<DiagnosticAnalyzer>, CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
지정된 model
를 AnalysisResult 분석하여 지정된 analyzers
에서 생성된 로 SemanticDiagnostics 채워진 을 반환하고, 필요에 따라 범위가 로 filterSpan
지정됩니다.
분석기의 동작에 따라 전체 컴파일을 분석하여 트리에 대해 보고되는 일부 진단 없을 수 있습니다.
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (Microsoft.CodeAnalysis.SemanticModel model, Microsoft.CodeAnalysis.Text.TextSpan? filterSpan, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> analyzers, System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : Microsoft.CodeAnalysis.SemanticModel * Nullable<Microsoft.CodeAnalysis.Text.TextSpan> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (model As SemanticModel, filterSpan As Nullable(Of TextSpan), analyzers As ImmutableArray(Of DiagnosticAnalyzer), cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- model
- SemanticModel
분석할 구문 트리를 나타내는 의미 체계 모델입니다.
- analyzers
- ImmutableArray<DiagnosticAnalyzer>
진단 필요한 분석기입니다. 지정된 모든 분석기는 의 CompilationWithAnalyzers생성자에 전달된 분석기에서 온 것이어야 합니다.
- cancellationToken
- CancellationToken
취소 토큰입니다.
반환
적용 대상
GetAnalysisResultAsync(AdditionalText, Nullable<TextSpan>, ImmutableArray<DiagnosticAnalyzer>, CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
AnalysisResult 지정된 추가 file
를 분석하여 에서 생성된 analyzers
로 AdditionalFileDiagnostics 채워진 을 반환하고, 필요에 따라 범위가 로 filterSpan
지정됩니다.
지정된 file
는 이 CompilationWithAnalyzers instance 대한 AnalysisOptions 의 AdditionalFiles 일부여야 합니다.
분석기의 동작에 따라 전체 컴파일을 분석하여 파일에 대해 보고되는 일부 진단 없을 수 있습니다.
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (Microsoft.CodeAnalysis.AdditionalText file, Microsoft.CodeAnalysis.Text.TextSpan? filterSpan, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> analyzers, System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : Microsoft.CodeAnalysis.AdditionalText * Nullable<Microsoft.CodeAnalysis.Text.TextSpan> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (file As AdditionalText, filterSpan As Nullable(Of TextSpan), analyzers As ImmutableArray(Of DiagnosticAnalyzer), cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- file
- AdditionalText
분석할 추가 파일입니다.
- analyzers
- ImmutableArray<DiagnosticAnalyzer>
진단 필요한 분석기입니다. 지정된 모든 분석기는 의 CompilationWithAnalyzers생성자에 전달된 분석기에서 온 것이어야 합니다.
- cancellationToken
- CancellationToken
취소 토큰입니다.
반환
적용 대상
GetAnalysisResultAsync(SyntaxTree, ImmutableArray<DiagnosticAnalyzer>, CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
지정된 tree
를 AnalysisResult 분석하여 에서 analyzers
생성된 로 SyntaxDiagnostics 채워진 을 반환합니다.
분석기의 동작에 따라 전체 컴파일을 분석하여 트리에 대해 보고되는 일부 진단 없을 수 있습니다.
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (Microsoft.CodeAnalysis.SyntaxTree tree, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> analyzers, System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : Microsoft.CodeAnalysis.SyntaxTree * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (tree As SyntaxTree, analyzers As ImmutableArray(Of DiagnosticAnalyzer), cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- tree
- SyntaxTree
분석할 구문 트리입니다.
- analyzers
- ImmutableArray<DiagnosticAnalyzer>
진단 필요한 분석기입니다. 지정된 모든 분석기는 의 CompilationWithAnalyzers생성자에 전달된 분석기에서 온 것이어야 합니다.
- cancellationToken
- CancellationToken
취소 토큰입니다.
반환
적용 대상
GetAnalysisResultAsync(SemanticModel, Nullable<TextSpan>, CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
지정된 model
를 AnalysisResult 분석하여 필요에 따라 로 범위가 지정된 에서 생성된 Analyzers 로 채워진 SemanticDiagnostics 을 filterSpan
반환합니다.
분석기의 동작에 따라 전체 컴파일을 분석하여 트리에 대해 보고되는 일부 진단 없을 수 있습니다.
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (Microsoft.CodeAnalysis.SemanticModel model, Microsoft.CodeAnalysis.Text.TextSpan? filterSpan, System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : Microsoft.CodeAnalysis.SemanticModel * Nullable<Microsoft.CodeAnalysis.Text.TextSpan> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (model As SemanticModel, filterSpan As Nullable(Of TextSpan), cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- model
- SemanticModel
분석할 구문 트리를 나타내는 의미 체계 모델입니다.
- cancellationToken
- CancellationToken
취소 토큰입니다.
반환
적용 대상
GetAnalysisResultAsync(SyntaxTree, Nullable<TextSpan>, CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
지정된 tree
를 AnalysisResult 분석하여 필요에 따라 로 범위가 지정된 에서 생성된 Analyzers 로 채워진 SyntaxDiagnostics 을 filterSpan
반환합니다.
분석기의 동작에 따라 전체 컴파일을 분석하여 트리에 대해 보고되는 일부 진단 없을 수 있습니다.
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (Microsoft.CodeAnalysis.SyntaxTree tree, Microsoft.CodeAnalysis.Text.TextSpan? filterSpan, System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : Microsoft.CodeAnalysis.SyntaxTree * Nullable<Microsoft.CodeAnalysis.Text.TextSpan> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (tree As SyntaxTree, filterSpan As Nullable(Of TextSpan), cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- tree
- SyntaxTree
분석할 구문 트리입니다.
- cancellationToken
- CancellationToken
취소 토큰입니다.
반환
적용 대상
GetAnalysisResultAsync(AdditionalText, ImmutableArray<DiagnosticAnalyzer>, CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
지정된 추가 를 AnalysisResult 분석하여 에서 analyzers
생성된 로 AdditionalFileDiagnostics 채워진 를 반환합니다file
.
지정된 file
는 이 CompilationWithAnalyzers instance 대한 AnalysisOptions 의 AdditionalFiles 일부여야 합니다.
분석기의 동작에 따라 전체 컴파일을 분석하여 파일에 대해 보고되는 일부 진단 없을 수 있습니다.
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (Microsoft.CodeAnalysis.AdditionalText file, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> analyzers, System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : Microsoft.CodeAnalysis.AdditionalText * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (file As AdditionalText, analyzers As ImmutableArray(Of DiagnosticAnalyzer), cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- file
- AdditionalText
분석할 추가 파일입니다.
- analyzers
- ImmutableArray<DiagnosticAnalyzer>
진단 필요한 분석기입니다. 지정된 모든 분석기는 의 CompilationWithAnalyzers생성자에 전달된 분석기에서 온 것이어야 합니다.
- cancellationToken
- CancellationToken
취소 토큰입니다.
반환
적용 대상
GetAnalysisResultAsync(ImmutableArray<DiagnosticAnalyzer>, CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
지정된 analyzers
를 실행하고 모든 진단 및 원격 분석 정보를 사용하여 해당 AnalysisResult 를 반환합니다.
public:
System::Threading::Tasks::Task<Microsoft::CodeAnalysis::Diagnostics::AnalysisResult ^> ^ GetAnalysisResultAsync(System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::Diagnostics::DiagnosticAnalyzer ^> analyzers, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> analyzers, System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (analyzers As ImmutableArray(Of DiagnosticAnalyzer), cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- analyzers
- ImmutableArray<DiagnosticAnalyzer>
분석 결과가 필요한 분석기입니다. 지정된 모든 분석기는 의 CompilationWithAnalyzers생성자에 전달된 분석기에서 온 것이어야 합니다.
- cancellationToken
- CancellationToken
취소 토큰입니다.
반환
적용 대상
GetAnalysisResultAsync(AdditionalText, Nullable<TextSpan>, CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
필요에 따라 범위가 AnalysisResult 지정된 추가 file
를 분석하여 에서 생성된 Analyzers 로 채워진 를 filterSpan
반환 AdditionalFileDiagnostics 합니다.
지정된 file
이 CompilationWithAnalyzers instance 대한 AnalysisOptions 의 일부 AdditionalFiles 여야 합니다.
분석기의 동작에 따라 전체 컴파일을 분석하여 파일에 대해 보고되는 일부 진단 없을 수 있습니다.
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (Microsoft.CodeAnalysis.AdditionalText file, Microsoft.CodeAnalysis.Text.TextSpan? filterSpan, System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : Microsoft.CodeAnalysis.AdditionalText * Nullable<Microsoft.CodeAnalysis.Text.TextSpan> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (file As AdditionalText, filterSpan As Nullable(Of TextSpan), cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- file
- AdditionalText
분석할 추가 파일입니다.
- cancellationToken
- CancellationToken
취소 토큰입니다.
반환
적용 대상
GetAnalysisResultAsync(SyntaxTree, CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
지정된 tree
를 AnalysisResult 분석하여 에서 로 Analyzers 생성된 로 채워진 SyntaxDiagnostics 을 반환합니다.
분석기의 동작에 따라 전체 컴파일을 분석하여 트리에 대해 보고되는 일부 진단 없을 수 있습니다.
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (Microsoft.CodeAnalysis.SyntaxTree tree, System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : Microsoft.CodeAnalysis.SyntaxTree * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (tree As SyntaxTree, cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- tree
- SyntaxTree
분석할 구문 트리입니다.
- cancellationToken
- CancellationToken
취소 토큰입니다.
반환
적용 대상
GetAnalysisResultAsync(AdditionalText, CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
지정된 추가 를 AnalysisResult 분석하여 에서 생성된 Analyzers 로 채워진 AdditionalFileDiagnostics 을 반환합니다file
.
지정된 file
이 CompilationWithAnalyzers instance 대한 AnalysisOptions 의 일부 AdditionalFiles 여야 합니다.
분석기의 동작에 따라 전체 컴파일을 분석하여 파일에 대해 보고되는 일부 진단 없을 수 있습니다.
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (Microsoft.CodeAnalysis.AdditionalText file, System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : Microsoft.CodeAnalysis.AdditionalText * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (file As AdditionalText, cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- file
- AdditionalText
분석할 추가 파일입니다.
- cancellationToken
- CancellationToken
취소 토큰입니다.
반환
적용 대상
GetAnalysisResultAsync(CancellationToken)
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
- Source:
- CompilationWithAnalyzers.cs
모두를 Analyzers 실행하고 모든 진단 및 원격 분석 정보를 사용하여 해당 AnalysisResult 를 반환합니다.
public:
System::Threading::Tasks::Task<Microsoft::CodeAnalysis::Diagnostics::AnalysisResult ^> ^ GetAnalysisResultAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult> GetAnalysisResultAsync (System.Threading.CancellationToken cancellationToken);
member this.GetAnalysisResultAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.AnalysisResult>
Public Function GetAnalysisResultAsync (cancellationToken As CancellationToken) As Task(Of AnalysisResult)
매개 변수
- cancellationToken
- CancellationToken
반환
적용 대상
.NET