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