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)
33return _fileContent.ContainsKey(fileInfo.FullName); 38return _fileContent.Keys 47if (_fileContent.Count == 0 || !_fileContent.TryGetValue(file.FullName, out var content)) 61if (_fileContent.Count == 0 || !_fileContent.TryGetValue(file.FullName, out var content)) 75if (_fileContent.Count != 0 && _fileContent.TryGetValue(file.FullName, out var content)) 92_fileContent[file.FullName] = value; 97bool flag = !_fileContent.TryGetValue(file.FullName, out var content); 98if (_fileContent.Count == 0 || flag)