1 write to HelpLinkUri
Microsoft.CodeAnalysis (1)
Diagnostic\DiagnosticDescriptor.cs (1)
191this.HelpLinkUri = helpLinkUri ?? string.Empty;
77 references to HelpLinkUri
BuildActionTelemetryTable (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (2)
256=> Uri.TryCreate(descriptor.HelpLinkUri, UriKind.Absolute, out var uri) && 264descriptor.Description, descriptor.HelpLinkUri, descriptor.CustomTags.ToArray());
GenerateRulesMissingDocumentation (1)
Program.cs (1)
63var helpLinkUri = descriptor.HelpLinkUri;
Microsoft.CodeAnalysis (13)
CommandLine\SarifDiagnosticComparer.cs (3)
52&& x.HelpLinkUri == y.HelpLinkUri 69Hash.Combine(obj.HelpLinkUri.GetHashCode(),
CommandLine\SarifV1ErrorLogger.cs (2)
177if (!string.IsNullOrEmpty(descriptor.HelpLinkUri)) 179_writer.Write("helpUri", descriptor.HelpLinkUri);
CommandLine\SarifV2ErrorLogger.cs (2)
262if (!string.IsNullOrEmpty(descriptor.HelpLinkUri)) 264_writer.Write("helpUri", descriptor.HelpLinkUri);
Diagnostic\CustomObsoleteDiagnosticInfo.cs (1)
70var helpLinkUri = baseDescriptor.HelpLinkUri;
Diagnostic\DiagnosticDescriptor.cs (3)
207this.HelpLinkUri == other.HelpLinkUri && 224Hash.Combine(this.HelpLinkUri.GetHashCode(),
Diagnostic\DiagnosticFormatter.cs (1)
108var uri = diagnostic.Descriptor.HelpLinkUri;
Symbols\Attributes\ObsoleteAttributeData.cs (1)
64/// When specified, the obsolete diagnostic's <see cref="DiagnosticDescriptor.HelpLinkUri"/> will be produced
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
281descriptor.HelpLinkUri,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (2)
256=> Uri.TryCreate(descriptor.HelpLinkUri, UriKind.Absolute, out var uri) && 264descriptor.Description, descriptor.HelpLinkUri, descriptor.CustomTags.ToArray());
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (1)
src\Features\DiagnosticsTestUtilities\CodeActions\CodeFixVerifierHelper.cs (1)
89Assert.NotEqual("", descriptor.HelpLinkUri ?? "");
Microsoft.CodeAnalysis.CSharp (1)
Errors\CSharpDiagnosticFormatter.cs (1)
17return diagnostic.Descriptor.HelpLinkUri == ErrorFacts.GetHelpLink((ErrorCode)diagnostic.Code);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (33)
Attributes\AttributeTests_WellKnownAttributes.cs (15)
8300Assert.Equal("https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0612)", diag.Descriptor.HelpLinkUri); 8331Assert.Equal("https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/CS0612", diag.Descriptor.HelpLinkUri); 8362Assert.Equal("https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0612)", diag.Descriptor.HelpLinkUri); 8393Assert.Equal("https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/CS0612", diag.Descriptor.HelpLinkUri); 8466Assert.Equal("https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/TEST1", diag.Descriptor.HelpLinkUri); 8512Assert.Equal("C", diag.Descriptor.HelpLinkUri); 8709Assert.Equal("https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/TEST1", diag.Descriptor.HelpLinkUri); 8752Assert.Equal("https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0612)", diag.Descriptor.HelpLinkUri); 8854Assert.Equal("https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/TEST1", diag.Descriptor.HelpLinkUri); 8956Assert.Equal("https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0612)", diag.Descriptor.HelpLinkUri); 9139Assert.Equal($"https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0612)", diag.Descriptor.HelpLinkUri); 9190Assert.Equal("https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0612)", diag.Descriptor.HelpLinkUri); 9331Assert.Equal("C", diag.Descriptor.HelpLinkUri); 9469Assert.Equal("https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0612)", diag.Descriptor.HelpLinkUri); 9519Assert.Equal("https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0612)", diag.Descriptor.HelpLinkUri);
Semantics\ExperimentalAttributeTests.cs (18)
66Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 122Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 187Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 296Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 444Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 514Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 1073Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 1102Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 1133Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 1164Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 1195Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 1814Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 1855Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 1896Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 1922Assert.Equal("https://example.org/DiagID1", diag.Descriptor.HelpLinkUri); 1948Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri); 1979Assert.Equal("", diag.Descriptor.HelpLinkUri); 2005Assert.Equal(DefaultHelpLinkUri, diag.Descriptor.HelpLinkUri);
Microsoft.CodeAnalysis.CSharp.Features (3)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (3)
154var idTag = !string.IsNullOrWhiteSpace(descriptor.HelpLinkUri) 155? new TaggedText(TextTags.Text, descriptor.Id, TaggedTextStyle.None, descriptor.HelpLinkUri, descriptor.HelpLinkUri)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\IDEDiagnosticIDConfigurationTests.cs (1)
38ValidateHelpLinkForDiagnostic(diagnosticId, descriptor.HelpLinkUri);
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaBatchFixHelpers.cs (1)
81helpLink: diagnostic.Descriptor.HelpLinkUri,
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
281descriptor.HelpLinkUri,
Microsoft.CodeAnalysis.Features.UnitTests (3)
EditAndContinue\EditAndContinueDiagnosticDescriptorsTests.cs (3)
25Assert.Equal("", d.HelpLinkUri); 37Assert.Equal("", d.HelpLinkUri); 47Assert.Equal("", d.HelpLinkUri);
Microsoft.CodeAnalysis.Test.Utilities (6)
Diagnostics\CommonDiagnosticAnalyzers.cs (6)
152""helpUri"": """ + Descriptor1.HelpLinkUri + @""", 166""helpUri"": """ + Descriptor2.HelpLinkUri + @""", 229""helpUri"": """ + Descriptor1.HelpLinkUri + @""", 243""helpUri"": """ + Descriptor2.HelpLinkUri + @""", 468""helpUri"": """ + Descriptor1.HelpLinkUri + @""", 489""helpUri"": """ + Descriptor2.HelpLinkUri + @""",
Microsoft.CodeAnalysis.VisualBasic (1)
Errors\DiagnosticFormatter.vb (1)
28Return diagnostic.Descriptor.HelpLinkUri = ErrorFactory.GetHelpLink(CType(diagnostic.Code, ERRID))
Microsoft.CodeAnalysis.Workspaces (3)
Diagnostics\DiagnosticData.cs (1)
244helpLink: diagnostic.Descriptor.HelpLinkUri,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (2)
256=> Uri.TryCreate(descriptor.HelpLinkUri, UriKind.Absolute, out var uri) && 264descriptor.Description, descriptor.HelpLinkUri, descriptor.CustomTags.ToArray());
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
DiagDescriptorsTests.cs (1)
29Assert.EndsWith("/" + descriptor.Id, descriptor.HelpLinkUri, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.Logging.Unit.Tests (1)
DiagDescriptorsTests.cs (1)
30Assert.EndsWith("/" + descriptor.Id, descriptor.HelpLinkUri, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.Metrics.Unit.Tests (1)
DiagDescriptorsTests.cs (1)
29Assert.EndsWith("/" + descriptor.Id, descriptor.HelpLinkUri, StringComparison.OrdinalIgnoreCase);
Microsoft.VisualStudio.LanguageServices (1)
TaskList\ProjectExternalErrorReporter.cs (1)
286helpLink = descriptor.HelpLinkUri;