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