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