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