Exemplo n.º 1
0
 /// <inheritdoc cref="CodeFixVerifier{TAnalyzer, TCodeFix, TTest, TVerifier}.Diagnostic(DiagnosticDescriptor)"/>
 public static DiagnosticResult Diagnostic(DiagnosticDescriptor descriptor)
 => CSharpCodeFixVerifier <TAnalyzer, TCodeFix, MSTestVerifier> .Diagnostic(descriptor);
Exemplo n.º 2
0
 /// <inheritdoc cref="CodeFixVerifier{TAnalyzer, TCodeFix, TTest, TVerifier}.Diagnostic(string)"/>
 public static DiagnosticResult Diagnostic(string diagnosticId)
 => CSharpCodeFixVerifier <TAnalyzer, TCodeFix, MSTestVerifier> .Diagnostic(diagnosticId);