1 write to Description
Microsoft.CodeAnalysis (1)
Diagnostic\DiagnosticDescriptor.cs (1)
190this.Description = description ?? string.Empty;
38 references to Description
BuildActionTelemetryTable (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (1)
264descriptor.Description, descriptor.HelpLinkUri, descriptor.CustomTags.ToArray());
Microsoft.CodeAnalysis (10)
CommandLine\SarifDiagnosticComparer.cs (3)
51&& x.Description.Equals(y.Description) 68Hash.Combine(obj.Description.GetHashCode(),
CommandLine\SarifV1ErrorLogger.cs (1)
169string? fullDescription = descriptor.Description.ToString(_culture);
CommandLine\SarifV2ErrorLogger.cs (1)
252string? fullDescription = descriptor.Description.ToString(_culture);
Diagnostic\CustomObsoleteDiagnosticInfo.cs (1)
101description: baseDescriptor.Description,
Diagnostic\DiagnosticDescriptor.cs (3)
206this.Description.Equals(other.Description) && 223Hash.Combine(this.Description.GetHashCode(),
DiagnosticAnalyzer\AnalyzerManager.AnalyzerExecutionContext.cs (1)
328forceLocalizableStringExceptions(descriptor.Description);
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
280descriptor.Description,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (1)
264descriptor.Description, descriptor.HelpLinkUri, descriptor.CustomTags.ToArray());
Microsoft.CodeAnalysis.CSharp.Features (1)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (1)
151descriptor.Description.ToStringOrNull() ??
Microsoft.CodeAnalysis.EditorFeatures (1)
EditorConfigSettings\Data\AnalyzerSetting.cs (1)
42public string Description => _descriptor.Description.ToString(CultureInfo.CurrentUICulture);
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaBatchFixHelpers.cs (1)
80description: diagnostic.Descriptor.Description,
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
280descriptor.Description,
Microsoft.CodeAnalysis.Features.UnitTests (3)
EditAndContinue\EditAndContinueDiagnosticDescriptorsTests.cs (3)
24Assert.Equal("", d.Description); 36Assert.Equal("", d.Description); 46Assert.Equal("", d.Description);
Microsoft.CodeAnalysis.Test.Utilities (6)
Diagnostics\CommonDiagnosticAnalyzers.cs (6)
150""fullDescription"": """ + Descriptor1.Description + @""", 164""fullDescription"": """ + Descriptor2.Description + @""", 227""fullDescription"": """ + Descriptor1.Description + @""", 241""fullDescription"": """ + Descriptor2.Description + @""", 466""text"": """ + Descriptor1.Description + @""" 484""text"": """ + Descriptor2.Description + @"""
Microsoft.CodeAnalysis.UnitTests (9)
Diagnostics\DiagnosticLocalizationTests.cs (9)
55Assert.Equal(fixedDescription, descriptor.Description.ToString(arCulture)); 75Assert.Equal<string>(fixedDescription, descriptor.Description.ToString()); 80Assert.Equal<string>(fixedDescription, descriptor.Description.ToString(CustomResourceManager.DefaultCulture)); 84Assert.Equal(localizedDescription, descriptor.Description.ToString(arCulture)); 94Assert.Equal(fixedDescription, localizableDiagnostic.Descriptor.Description.ToString()); 99Assert.Equal(fixedDescription, localizableDiagnostic.Descriptor.Description.ToString(CustomResourceManager.DefaultCulture)); 104Assert.Equal(localizedDescription, localizableDiagnostic.Descriptor.Description.ToString(arCulture)); 279var localizableDescription = descriptor.Description; 322unused3 = descriptors[0].Description.ToString();
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\DiagnosticData.cs (1)
243description: diagnostic.Descriptor.Description.ToString(CultureInfo.CurrentUICulture),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (1)
264descriptor.Description, descriptor.HelpLinkUri, descriptor.CustomTags.ToArray());
Microsoft.VisualStudio.LanguageServices (1)
TaskList\ProjectExternalErrorReporter.cs (1)
281description = descriptor.Description.ToString(CultureInfo.CurrentUICulture);