protected static DiagnosticResult Diagnostic(DiagnosticDescriptor descriptor)
 => StyleCopCodeFixVerifier <FileHeaderAnalyzers, FileHeaderCodeFixProvider> .Diagnostic(descriptor);
Пример #2
0
 private static DiagnosticResult Diagnostic(DiagnosticDescriptor descriptor)
 => StyleCopCodeFixVerifier <SA1200UsingDirectivesMustBePlacedCorrectly, UsingCodeFixProvider> .Diagnostic(descriptor);
Пример #3
0
 private static DiagnosticResult Diagnostic()
 => StyleCopCodeFixVerifier <SA1217UsingStaticDirectivesMustBeOrderedAlphabetically, UsingCodeFixProvider> .Diagnostic();
 private static DiagnosticResult Diagnostic()
 => StyleCopCodeFixVerifier <SA1027UseTabsCorrectly, SA1027CodeFixProvider> .Diagnostic();
 private static DiagnosticResult Diagnostic()
 => StyleCopCodeFixVerifier <SA1206DeclarationKeywordsMustFollowOrder, SA1206CodeFixProvider> .Diagnostic();