2 writes to _fileContent
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (2)
Linux\Resources\HardcodedValueFileSystem.cs (2)
22
_fileContent
= [];
27
_fileContent
= fileContent.ToDictionary(static x => x.Key.FullName, static y => y.Value, StringComparer.OrdinalIgnoreCase);
11 references to _fileContent
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (11)
Linux\Resources\HardcodedValueFileSystem.cs (11)
33
return
_fileContent
.ContainsKey(fileInfo.FullName);
38
return
_fileContent
.Keys
47
if (
_fileContent
.Count == 0 || !
_fileContent
.TryGetValue(file.FullName, out var content))
61
if (
_fileContent
.Count == 0 || !
_fileContent
.TryGetValue(file.FullName, out var content))
75
if (
_fileContent
.Count != 0 &&
_fileContent
.TryGetValue(file.FullName, out var content))
92
_fileContent
[file.FullName] = value;
97
bool flag = !
_fileContent
.TryGetValue(file.FullName, out var content);
98
if (
_fileContent
.Count == 0 || flag)