1 write to Value
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxToken.cs (1)
34Value = value;
18 references to Value
Microsoft.AspNetCore.App.Analyzers (18)
Infrastructure\AmbiguousRoutePatternComparer.cs (8)
67RoutePatternReplacementNode xReplacement => yChild is RoutePatternReplacementNode yReplacement && IgnoreCaseEquals(xReplacement.TextToken.Value, yReplacement.TextToken.Value), 68RoutePatternLiteralNode xLiteral => yChild is RoutePatternLiteralNode yLiteral && IgnoreCaseEquals(xLiteral.LiteralToken.Value, yLiteral.LiteralToken.Value), 139RoutePatternPolicyFragment xFragment => yPart is RoutePatternPolicyFragment yFragment && Equals(xFragment.ArgumentToken.Value, yFragment.ArgumentToken.Value), 140RoutePatternPolicyFragmentEscapedNode xFragmentEscaped => yPart is RoutePatternPolicyFragmentEscapedNode yFragmentEscaped && Equals(xFragmentEscaped.ArgumentToken.Value, yFragmentEscaped.ArgumentToken.Value),
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxToken.cs (1)
55value.HasValue ? value.Value : Value);
Infrastructure\RoutePattern\RoutePatternLexer.cs (2)
159Resources.FormatTemplateRoute_InvalidLiteral(token.Value), 228new EmbeddedDiagnostic(Resources.FormatTemplateRoute_InvalidParameterName(token.Value!.ToString().Replace("{{", "{").Replace("}}", "}")), token.GetSpan()));
Infrastructure\RoutePattern\RoutePatternParser.cs (4)
95var startText = literalNode.LiteralToken.Value!.ToString(); 189if (previousNode.Kind != RoutePatternKind.Literal || ((RoutePatternLiteralNode)previousNode).LiteralToken.Value!.ToString() != ".") 239name = parameterNameNode.ParameterNameToken.Value!.ToString(); 249defaultValue = defaultValueNode.DefaultValueToken.Value!.ToString();
Mvc\DetectAmbiguousActionRoutes.cs (2)
68var name = replacementNode.TextToken.Value!.ToString(); 83var name = namePartNode.ParameterNameToken.Value!.ToString();
RouteEmbeddedLanguage\RoutePatternHighlighter.cs (1)
62var parameterName = node.ParameterNameToken.Value!.ToString();