1 write to Literals
Microsoft.AspNetCore.Routing (1)
Matching\DfaNode.cs (1)
52
Literals
= new Dictionary<string, DfaNode>(StringComparer.OrdinalIgnoreCase);
25 references to Literals
Microsoft.AspNetCore.Routing (25)
Internal\DfaGraphWriter.cs (2)
73
if (node.
Literals
!= null)
75
foreach (var literal in node.
Literals
)
Matching\DfaMatcherBuilder.cs (17)
271
if (parent.
Literals
!= null)
273
nextParents.AddRange(parent.
Literals
.Values);
319
if (parent.
Literals
!= null)
335
nextParents.AddRange(parent.
Literals
.Values);
356
if (parent.
Literals
!= null)
375
foreach (var literal in parent.
Literals
.Keys)
417
nextParents.Add(parent.
Literals
[literal]);
428
var hasFailingPolicy = parent.
Literals
.Keys.Count < 32 ?
429
(stackalloc bool[32]).Slice(0, parent.
Literals
.Keys.Count) :
430
new bool[parent.
Literals
.Keys.Count];
441
foreach (var literal in parent.
Literals
.Keys)
463
foreach (var literal in parent.
Literals
.Values)
497
if (parent.
Literals
== null ||
498
!parent.
Literals
.TryGetValue(literal, out var next))
596
if (node.
Literals
!= null)
598
pathEntries = new (string text, int destination)[node.
Literals
.Count];
601
foreach (var kvp in node.
Literals
)
Matching\DfaNode.cs (6)
50
if (
Literals
== null)
55
Literals
.Add(literal, node);
82
if (
Literals
!= null)
84
foreach (var kvp in
Literals
)
122
if (
Literals
!= null)
124
builder.AppendJoin(", ",
Literals
.Select(kvp => $"{kvp.Key}->({FormatNode(kvp.Value)})"));