11 references to SymbolNames
Microsoft.AspNetCore.Analyzers (11)
OptionsFacts.cs (2)
16
if (string.Equals(item.OptionsType.ToDisplayString(SymbolDisplayFormat.CSharpErrorMessageFormat),
SymbolNames
.MvcOptions.MetadataName) &&
17
string.Equals(item.Property.Name,
SymbolNames
.MvcOptions.EnableEndpointRoutingPropertyName, StringComparison.Ordinal))
StartupFacts.cs (6)
66
!symbol.Name.StartsWith(
SymbolNames
.ConfigureServicesMethodPrefix, StringComparison.OrdinalIgnoreCase) ||
67
!symbol.Name.EndsWith(
SymbolNames
.ConfigureServicesMethodSuffix, StringComparison.OrdinalIgnoreCase))
104
!symbol.Name.StartsWith(
SymbolNames
.ConfigureMethodPrefix, StringComparison.OrdinalIgnoreCase))
138
if (string.Equals(symbol.Name,
SymbolNames
.SignalRAppBuilderExtensions.UseSignalRMethodName, StringComparison.Ordinal) ||
139
string.Equals(symbol.Name,
SymbolNames
.HubEndpointRouteBuilderExtensions.MapHubMethodName, StringComparison.Ordinal) ||
140
string.Equals(symbol.Name,
SymbolNames
.ComponentEndpointRouteBuilderExtensions.MapBlazorHubMethodName, StringComparison.Ordinal))
StartupSymbols.cs (3)
12
IApplicationBuilder = compilation.GetTypeByMetadataName(
SymbolNames
.IApplicationBuilder.MetadataName);
13
IServiceCollection = compilation.GetTypeByMetadataName(
SymbolNames
.IServiceCollection.MetadataName);
14
MvcOptions = compilation.GetTypeByMetadataName(
SymbolNames
.MvcOptions.MetadataName);