1 write to _uninitializedReadsInScope
Microsoft.Build (1)
BuildCheck\Checks\PropertiesUsageCheck.cs (1)
242
_uninitializedReadsInScope
= new Dictionary<string, IMSBuildElementLocation>(MSBuildNameIgnoreCaseComparer.Default);
5 references to _uninitializedReadsInScope
Microsoft.Build (5)
BuildCheck\Checks\PropertiesUsageCheck.cs (5)
147
if (
_uninitializedReadsInScope
.TryGetValue(writeData.PropertyName, out IMSBuildElementLocation? uninitInScopeReadLocation))
149
_uninitializedReadsInScope
.Remove(writeData.PropertyName);
196
_uninitializedReadsInScope
[readData.PropertyName] = readData.ElementLocation;
199
else if (!
_uninitializedReadsInScope
.ContainsKey(readData.PropertyName))
232
foreach (var uninitializedRead in
_uninitializedReadsInScope
)