45 references to ToString
GenerateRulesMissingDocumentation (1)
ILLink.CodeFixProvider (1)
Microsoft.AspNetCore.Components.Analyzers (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
Microsoft.CodeAnalysis (11)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.EditorFeatures (2)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.UnitTests (15)
Diagnostics\DiagnosticLocalizationTests.cs (15)
53Assert.Equal(fixedTitle, descriptor.Title.ToString(arCulture));
54Assert.Equal(fixedMessageFormat, descriptor.MessageFormat.ToString(arCulture));
55Assert.Equal(fixedDescription, descriptor.Description.ToString(arCulture));
78Assert.Equal<string>(fixedTitle, descriptor.Title.ToString(CustomResourceManager.DefaultCulture));
79Assert.Equal<string>(fixedMessageFormat, descriptor.MessageFormat.ToString(CustomResourceManager.DefaultCulture));
80Assert.Equal<string>(fixedDescription, descriptor.Description.ToString(CustomResourceManager.DefaultCulture));
82Assert.Equal(localizedTitle, descriptor.Title.ToString(arCulture));
83Assert.Equal(localizedMessageFormat, descriptor.MessageFormat.ToString(arCulture));
84Assert.Equal(localizedDescription, descriptor.Description.ToString(arCulture));
97Assert.Equal(fixedTitle, localizableDiagnostic.Descriptor.Title.ToString(CustomResourceManager.DefaultCulture));
99Assert.Equal(fixedDescription, localizableDiagnostic.Descriptor.Description.ToString(CustomResourceManager.DefaultCulture));
102Assert.Equal(localizedTitle, localizableDiagnostic.Descriptor.Title.ToString(arCulture));
104Assert.Equal(localizedDescription, localizableDiagnostic.Descriptor.Description.ToString(arCulture));
120Assert.Equal(expected, localizableResource.ToString(CustomResourceManager.DefaultCulture));
125Assert.Equal(expected, localizableResource.ToString(arCulture));
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.VisualStudio.LanguageServices (2)
Mvc.Api.Analyzers.Test (1)