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