1 write to UsageContext
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\RouteUsageCache.cs (1)
75UsageContext = usageContext
14 references to UsageContext
Microsoft.AspNetCore.App.Analyzers (14)
Mvc\DetectAmbiguousActionRoutes.cs (1)
44ambiguousActionRoute.RouteUsageModel.UsageContext.RouteToken.GetLocation(),
RouteEmbeddedLanguage\RoutePatternAnalyzer.cs (4)
69if (routeUsage.UsageContext.MethodSymbol != null) 73foreach (var parameter in routeUsage.UsageContext.ResolvedParameters) 86routeUsage.UsageContext.ResolvedParameters); 89parameterInsertIndex = routeUsage.UsageContext.Parameters.IndexOf(ip.ExistingParameter);
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (3)
235if (context.RouteUsage.UsageContext.MethodSymbol != null) 237foreach (var parameterSymbol in context.RouteUsage.UsageContext.ResolvedParameters) 264if (context.RouteUsage.UsageContext.UsageType != RouteUsageType.Component)
RouteEmbeddedLanguage\RoutePatternHighlighter.cs (2)
55if (routeUsage.UsageContext.MethodSymbol is { } methodSymbol) 58var resolvedParameters = routeUsage.UsageContext.ResolvedParameters;
RouteHandlers\DetectAmbiguousRoutes.cs (3)
31.Where(u => u.ResolvedOperation != null && !u.MapOperation.RouteUsageModel.UsageContext.HttpMethods.IsDefault) 32.GroupBy(u => new MapOperationGroupKey(u.MapOperation.Builder, u.ResolvedOperation!, u.MapOperation.RouteUsageModel.RoutePattern, u.MapOperation.RouteUsageModel.UsageContext.HttpMethods)); 42model.UsageContext.RouteToken.GetLocation(),
RouteHandlers\DisallowNonParsableComplexTypesOnParameters.cs (1)
92var resolvedParameter = routeUsage.UsageContext.ResolvedParameters.FirstOrDefault(rp => rp.Symbol.Name == handlerDelegateParameter.Name);