From 4adcbddd004bcc111e32aa777e1aad15ffac9457 Mon Sep 17 00:00:00 2001 From: Youssef Victor <31348972+Youssef1313@users.noreply.github.com> Date: Sun, 10 Jan 2021 20:56:30 +0200 Subject: [PATCH] Add help link for IL3000 and IL3001 --- src/ILLink.RoslynAnalyzer/SingleFileAnalyzer.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ILLink.RoslynAnalyzer/SingleFileAnalyzer.cs b/src/ILLink.RoslynAnalyzer/SingleFileAnalyzer.cs index 536cd82f266c..48ff9723549d 100644 --- a/src/ILLink.RoslynAnalyzer/SingleFileAnalyzer.cs +++ b/src/ILLink.RoslynAnalyzer/SingleFileAnalyzer.cs @@ -28,7 +28,8 @@ public sealed class AvoidAssemblyLocationInSingleFile : DiagnosticAnalyzer Resources.ResourceManager, typeof (Resources)), DiagnosticCategory.SingleFile, DiagnosticSeverity.Warning, - isEnabledByDefault: true); + isEnabledByDefault: true, + helpLinkUri: "https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il3000"); private static readonly DiagnosticDescriptor GetFilesRule = new DiagnosticDescriptor ( IL3001, @@ -38,7 +39,8 @@ public sealed class AvoidAssemblyLocationInSingleFile : DiagnosticAnalyzer Resources.ResourceManager, typeof (Resources)), DiagnosticCategory.SingleFile, DiagnosticSeverity.Warning, - isEnabledByDefault: true); + isEnabledByDefault: true, + helpLinkUri: "https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il3001"); public override ImmutableArray SupportedDiagnostics => ImmutableArray.Create (LocationRule, GetFilesRule);