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)
145if (_uninitializedReadsInScope.TryGetValue(writeData.PropertyName, out IMSBuildElementLocation? uninitInScopeReadLocation)) 147_uninitializedReadsInScope.Remove(writeData.PropertyName); 194_uninitializedReadsInScope[readData.PropertyName] = readData.ElementLocation; 197else if (!_uninitializedReadsInScope.ContainsKey(readData.PropertyName)) 230foreach (var uninitializedRead in _uninitializedReadsInScope)