SyntaxNodeAnalysisContext Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
SyntaxNodeAnalysisContext(SyntaxNode, SemanticModel, AnalyzerOptions, Action<Diagnostic>, Func<Diagnostic,Boolean>, CancellationToken)
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
Achtung
Use CompilationWithAnalyzers instead. See https://github.com/dotnet/roslyn/issues/63440 for more details.
public:
SyntaxNodeAnalysisContext(Microsoft::CodeAnalysis::SyntaxNode ^ node, Microsoft::CodeAnalysis::SemanticModel ^ semanticModel, Microsoft::CodeAnalysis::Diagnostics::AnalyzerOptions ^ options, Action<Microsoft::CodeAnalysis::Diagnostic ^> ^ reportDiagnostic, Func<Microsoft::CodeAnalysis::Diagnostic ^, bool> ^ isSupportedDiagnostic, System::Threading::CancellationToken cancellationToken);
public SyntaxNodeAnalysisContext (Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel, 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 SyntaxNodeAnalysisContext (Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Microsoft.CodeAnalysis.Diagnostic> reportDiagnostic, Func<Microsoft.CodeAnalysis.Diagnostic,bool> isSupportedDiagnostic, System.Threading.CancellationToken cancellationToken);
new Microsoft.CodeAnalysis.Diagnostics.SyntaxNodeAnalysisContext : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Microsoft.CodeAnalysis.Diagnostic> * Func<Microsoft.CodeAnalysis.Diagnostic, bool> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Diagnostics.SyntaxNodeAnalysisContext
[<System.Obsolete("Use CompilationWithAnalyzers instead. See https://github.com/dotnet/roslyn/issues/63440 for more details.")>]
new Microsoft.CodeAnalysis.Diagnostics.SyntaxNodeAnalysisContext : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Microsoft.CodeAnalysis.Diagnostic> * Func<Microsoft.CodeAnalysis.Diagnostic, bool> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Diagnostics.SyntaxNodeAnalysisContext
Public Sub New (node As SyntaxNode, semanticModel As SemanticModel, options As AnalyzerOptions, reportDiagnostic As Action(Of Diagnostic), isSupportedDiagnostic As Func(Of Diagnostic, Boolean), cancellationToken As CancellationToken)
Parameter
- node
- SyntaxNode
- semanticModel
- SemanticModel
- options
- AnalyzerOptions
- reportDiagnostic
- Action<Diagnostic>
- isSupportedDiagnostic
- Func<Diagnostic,Boolean>
- cancellationToken
- CancellationToken
- Attribute
Gilt für:
SyntaxNodeAnalysisContext(SyntaxNode, ISymbol, SemanticModel, AnalyzerOptions, Action<Diagnostic>, Func<Diagnostic,Boolean>, CancellationToken)
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
- Quelle:
- DiagnosticAnalysisContext.cs
Achtung
Use CompilationWithAnalyzers instead. See https://github.com/dotnet/roslyn/issues/63440 for more details.
public:
SyntaxNodeAnalysisContext(Microsoft::CodeAnalysis::SyntaxNode ^ node, Microsoft::CodeAnalysis::ISymbol ^ containingSymbol, Microsoft::CodeAnalysis::SemanticModel ^ semanticModel, Microsoft::CodeAnalysis::Diagnostics::AnalyzerOptions ^ options, Action<Microsoft::CodeAnalysis::Diagnostic ^> ^ reportDiagnostic, Func<Microsoft::CodeAnalysis::Diagnostic ^, bool> ^ isSupportedDiagnostic, System::Threading::CancellationToken cancellationToken);
public SyntaxNodeAnalysisContext (Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.ISymbol containingSymbol, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Microsoft.CodeAnalysis.Diagnostic> reportDiagnostic, Func<Microsoft.CodeAnalysis.Diagnostic,bool> isSupportedDiagnostic, System.Threading.CancellationToken cancellationToken);
public SyntaxNodeAnalysisContext (Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.ISymbol? containingSymbol, Microsoft.CodeAnalysis.SemanticModel semanticModel, 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 SyntaxNodeAnalysisContext (Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.ISymbol? containingSymbol, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Microsoft.CodeAnalysis.Diagnostic> reportDiagnostic, Func<Microsoft.CodeAnalysis.Diagnostic,bool> isSupportedDiagnostic, System.Threading.CancellationToken cancellationToken);
new Microsoft.CodeAnalysis.Diagnostics.SyntaxNodeAnalysisContext : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Microsoft.CodeAnalysis.Diagnostic> * Func<Microsoft.CodeAnalysis.Diagnostic, bool> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Diagnostics.SyntaxNodeAnalysisContext
[<System.Obsolete("Use CompilationWithAnalyzers instead. See https://github.com/dotnet/roslyn/issues/63440 for more details.")>]
new Microsoft.CodeAnalysis.Diagnostics.SyntaxNodeAnalysisContext : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Microsoft.CodeAnalysis.Diagnostic> * Func<Microsoft.CodeAnalysis.Diagnostic, bool> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Diagnostics.SyntaxNodeAnalysisContext
Public Sub New (node As SyntaxNode, containingSymbol As ISymbol, semanticModel As SemanticModel, options As AnalyzerOptions, reportDiagnostic As Action(Of Diagnostic), isSupportedDiagnostic As Func(Of Diagnostic, Boolean), cancellationToken As CancellationToken)
Parameter
- node
- SyntaxNode
- containingSymbol
- ISymbol
- semanticModel
- SemanticModel
- options
- AnalyzerOptions
- reportDiagnostic
- Action<Diagnostic>
- isSupportedDiagnostic
- Func<Diagnostic,Boolean>
- cancellationToken
- CancellationToken
- Attribute
Gilt für:
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.