4 references to TryGetRouteParameter
Microsoft.AspNetCore.App.Analyzers (4)
Infrastructure\RoutePattern\RoutePatternTree.cs (1)
29if (TryGetRouteParameter(name, out var routeParameter))
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (1)
240if (!context.RouteUsage.RoutePattern.TryGetRouteParameter(parameterSymbol.RouteParameterName, out _))
RouteHandlers\DetectMismatchedParameterOptionality.cs (1)
27if (!routeUsage.RoutePattern.TryGetRouteParameter(paramName, out var routeParameter))
RouteHandlers\DisallowNonParsableComplexTypesOnParameters.cs (1)
93var isRouteParameter = routeUsage.RoutePattern.TryGetRouteParameter(resolvedParameter.RouteParameterName, out var _);