Enable the ConvertToLibraryImport diagnostic by default (#72819)
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Tue, 26 Jul 2022 20:24:06 +0000 (13:24 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Jul 2022 20:24:06 +0000 (13:24 -0700)
src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Analyzers/ConvertToLibraryImportAnalyzer.cs

index 709d5dd..c788d5d 100644 (file)
@@ -32,7 +32,7 @@ namespace Microsoft.Interop.Analyzers
                 GetResourceString(nameof(SR.ConvertToLibraryImportMessage)),
                 Category,
                 DiagnosticSeverity.Info,
-                isEnabledByDefault: false,
+                isEnabledByDefault: true,
                 description: GetResourceString(nameof(SR.ConvertToLibraryImportDescription)));
 
         public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(ConvertToLibraryImport);