1 write to LiteralsDictionary
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
Utils\Globbing\StaticWebAssetGlobMatcherBuilder.cs (1)
105current.LiteralsDictionary ??= new(StringComparer.OrdinalIgnoreCase);
5 references to LiteralsDictionary
Microsoft.NET.Sdk.StaticWebAssets.Tasks (5)
Utils\Globbing\GlobNode.cs (3)
38return LiteralsDictionary?.Count > 0 || ExtensionsDictionary?.Count > 0 || ComplexGlobSegments?.Count > 0 || WildCard != null || RecursiveWildCard != null; 52var literals = $$"""{{{string.Join(", ", LiteralsDictionary?.Keys ?? Enumerable.Empty<string>())}}}"""; 66return LiteralsDictionary?.Count > 0;
Utils\Globbing\StaticWebAssetGlobMatcherBuilder.cs (2)
106current.Literals = current.Literals.Dictionary != null ? current.Literals : current.LiteralsDictionary.GetAlternateLookup<ReadOnlySpan<char>>(); 115current.LiteralsDictionary[literal] = literalNode;