Skip to content

Commit 98122be

Browse files
authored
Fix diagnostic rule to be warning and not error (#1711)
* Fix rule to be warning and not error * Update URL
1 parent eebf9ae commit 98122be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Authoring/WinRT.SourceGenerator/WinRTRules.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private static DiagnosticDescriptor MakeRule(string id, string title, string mes
1818
category: "Usage",
1919
defaultSeverity: isError ? DiagnosticSeverity.Error : isWarning? DiagnosticSeverity.Warning : DiagnosticSeverity.Info,
2020
isEnabledByDefault: true,
21-
helpLinkUri: "https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Unshipped.md");
21+
helpLinkUri: "https://github.com/microsoft/CsWinRT/tree/master/src/Authoring/WinRT.SourceGenerator/AnalyzerReleases.Shipped.md");
2222
}
2323

2424
public static DiagnosticDescriptor PrivateGetterRule = MakeRule(
@@ -197,6 +197,7 @@ private static DiagnosticDescriptor MakeRule(string id, string title, string mes
197197
"CsWinRT1029",
198198
CsWinRTDiagnosticStrings.ClassImplementsOldProjection_Brief,
199199
CsWinRTDiagnosticStrings.ClassImplementsOldProjection_Text,
200+
false,
200201
true);
201202

202203
public static DiagnosticDescriptor ClassNotAotCompatibleOldProjectionInfo = MakeRule(

0 commit comments

Comments
 (0)