次の方法で共有


CodeBlockStartAnalysisContext<TLanguageKindEnum> コンストラクター

定義

注意事項

Use CompilationWithAnalyzers instead. See https://github.com/dotnet/roslyn/issues/63440 for more details.

protected:
 CodeBlockStartAnalysisContext(Microsoft::CodeAnalysis::SyntaxNode ^ codeBlock, Microsoft::CodeAnalysis::ISymbol ^ owningSymbol, Microsoft::CodeAnalysis::SemanticModel ^ semanticModel, Microsoft::CodeAnalysis::Diagnostics::AnalyzerOptions ^ options, System::Threading::CancellationToken cancellationToken);
protected CodeBlockStartAnalysisContext (Microsoft.CodeAnalysis.SyntaxNode codeBlock, Microsoft.CodeAnalysis.ISymbol owningSymbol, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, System.Threading.CancellationToken cancellationToken);
[System.Obsolete("Use CompilationWithAnalyzers instead. See https://github.com/dotnet/roslyn/issues/63440 for more details.")]
protected CodeBlockStartAnalysisContext (Microsoft.CodeAnalysis.SyntaxNode codeBlock, Microsoft.CodeAnalysis.ISymbol owningSymbol, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, System.Threading.CancellationToken cancellationToken);
new Microsoft.CodeAnalysis.Diagnostics.CodeBlockStartAnalysisContext<'LanguageKindEnum (requires 'LanguageKindEnum : struct)> : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Diagnostics.CodeBlockStartAnalysisContext<'LanguageKindEnum (requires 'LanguageKindEnum : struct)>
[<System.Obsolete("Use CompilationWithAnalyzers instead. See https://github.com/dotnet/roslyn/issues/63440 for more details.")>]
new Microsoft.CodeAnalysis.Diagnostics.CodeBlockStartAnalysisContext<'LanguageKindEnum (requires 'LanguageKindEnum : struct)> : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Diagnostics.CodeBlockStartAnalysisContext<'LanguageKindEnum (requires 'LanguageKindEnum : struct)>
Protected Sub New (codeBlock As SyntaxNode, owningSymbol As ISymbol, semanticModel As SemanticModel, options As AnalyzerOptions, cancellationToken As CancellationToken)

パラメーター

codeBlock
SyntaxNode
owningSymbol
ISymbol
semanticModel
SemanticModel
options
AnalyzerOptions
cancellationToken
CancellationToken
属性

適用対象