Ejemplo n.º 1
0
 /// <inheritdoc cref="AnalyzerVerifier{TAnalyzer, TTest}.Diagnostic(DiagnosticDescriptor)"/>
 public static DiagnosticResult Diagnostic(DiagnosticDescriptor descriptor)
 => CSharpAnalyzerVerifier <TAnalyzer> .Diagnostic(descriptor);
Ejemplo n.º 2
0
 /// <inheritdoc cref="AnalyzerVerifier{TAnalyzer, TTest}.Diagnostic(string)"/>
 public static DiagnosticResult Diagnostic(string diagnosticId)
 => CSharpAnalyzerVerifier <TAnalyzer> .Diagnostic(diagnosticId);
Ejemplo n.º 3
0
 public static DiagnosticResult Diagnostic(DiagnosticId diagnosticId)
 => CSharpAnalyzerVerifier <TAnalyzer> .Diagnostic(DiagnosticDescriptors.GetDiagnosticDescriptor(diagnosticId));
Ejemplo n.º 4
0
 /// <inheritdoc cref="AnalyzerVerifier{TAnalyzer}.Diagnostic()"/>
 public static DiagnosticResult Diagnostic()
 => CSharpAnalyzerVerifier <TAnalyzer> .Diagnostic();