5 writes to Path
Microsoft.AspNetCore.Hosting (1)
SourceGenerationContext.StaticWebAssetMatch.g.cs (1)
81Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetMatch)obj).Path = value!,
Microsoft.AspNetCore.Hosting.Tests (4)
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (4)
34Path = "Microsoft.AspNetCore.Hosting.StaticWebAssets.xml" 382Path = "Static Web Assets.txt" 630Path = "Microsoft.AspNetCore.Hosting.StaticWebAssets.xml" 719Children = new() { ["file.version.js"] = new() { Match = new() { ContentRoot = 0, Path = "file.js" } } },
7 references to Path
Microsoft.AspNetCore.Hosting (7)
SourceGenerationContext.StaticWebAssetMatch.g.cs (2)
80Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetMatch)obj).Path, 111writer.WriteString(PropName_SubPath, ((global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetMatch)value).Path);
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (5)
137files.RemoveWhere(f => string.Equals(match.Path, f.Name, _fsComparison)); 138var file = _fileProviders[match.ContentRoot].GetFileInfo(match.Path); 140files.Add(string.Equals(child.Key, match.Path, _fsComparison) ? file : 188var file = _fileProviders[match.ContentRoot].GetFileInfo(match.Path); 189if (!file.Exists || string.Equals(subpath, Normalize(match.Path), _fsComparison))