OperationBlockAnalysisContext コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
Use CompilationWithAnalyzers instead. See https://github.com/dotnet/roslyn/issues/63440 for more details.
public:
OperationBlockAnalysisContext(System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::IOperation ^> operationBlocks, Microsoft::CodeAnalysis::ISymbol ^ owningSymbol, Microsoft::CodeAnalysis::Compilation ^ compilation, Microsoft::CodeAnalysis::Diagnostics::AnalyzerOptions ^ options, Action<Microsoft::CodeAnalysis::Diagnostic ^> ^ reportDiagnostic, Func<Microsoft::CodeAnalysis::Diagnostic ^, bool> ^ isSupportedDiagnostic, System::Threading::CancellationToken cancellationToken);
public OperationBlockAnalysisContext (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IOperation> operationBlocks, Microsoft.CodeAnalysis.ISymbol owningSymbol, Microsoft.CodeAnalysis.Compilation compilation, Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Microsoft.CodeAnalysis.Diagnostic> reportDiagnostic, Func<Microsoft.CodeAnalysis.Diagnostic,bool> isSupportedDiagnostic, System.Threading.CancellationToken cancellationToken);
[System.Obsolete("Use CompilationWithAnalyzers instead. See https://github.com/dotnet/roslyn/issues/63440 for more details.")]
public OperationBlockAnalysisContext (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IOperation> operationBlocks, Microsoft.CodeAnalysis.ISymbol owningSymbol, Microsoft.CodeAnalysis.Compilation compilation, Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Microsoft.CodeAnalysis.Diagnostic> reportDiagnostic, Func<Microsoft.CodeAnalysis.Diagnostic,bool> isSupportedDiagnostic, System.Threading.CancellationToken cancellationToken);
new Microsoft.CodeAnalysis.Diagnostics.OperationBlockAnalysisContext : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IOperation> * Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.Compilation * Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Microsoft.CodeAnalysis.Diagnostic> * Func<Microsoft.CodeAnalysis.Diagnostic, bool> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Diagnostics.OperationBlockAnalysisContext
[<System.Obsolete("Use CompilationWithAnalyzers instead. See https://github.com/dotnet/roslyn/issues/63440 for more details.")>]
new Microsoft.CodeAnalysis.Diagnostics.OperationBlockAnalysisContext : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IOperation> * Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.Compilation * Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Microsoft.CodeAnalysis.Diagnostic> * Func<Microsoft.CodeAnalysis.Diagnostic, bool> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Diagnostics.OperationBlockAnalysisContext
Public Sub New (operationBlocks As ImmutableArray(Of IOperation), owningSymbol As ISymbol, compilation As Compilation, options As AnalyzerOptions, reportDiagnostic As Action(Of Diagnostic), isSupportedDiagnostic As Func(Of Diagnostic, Boolean), cancellationToken As CancellationToken)
パラメーター
- operationBlocks
- ImmutableArray<IOperation>
- owningSymbol
- ISymbol
- compilation
- Compilation
- options
- AnalyzerOptions
- reportDiagnostic
- Action<Diagnostic>
- isSupportedDiagnostic
- Func<Diagnostic,Boolean>
- cancellationToken
- CancellationToken
- 属性
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET