9 references to Contains
Microsoft.Build (9)
Definition\Project.cs (1)
2108return _data.GlobalPropertiesDictionary.Contains(key);
Definition\ProjectItem.cs (2)
456if (_directMetadata?.Contains(name) == true) 597if (_directMetadata?.Contains(name) == true)
Evaluation\Evaluator.cs (2)
1217if (!_data.Properties.Contains(Constants.VisualStudioVersionPropertyName)) 1227if (!_data.Properties.Contains(Constants.SubToolsetVersionPropertyName))
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (2)
196if (IsEnvironmentVariableReadTrackingRequested && _wrapped.EnvironmentVariablePropertiesDictionary.Contains(name) && !_overwrittenEnvironmentVariables.Contains(name)) 270if (IsEnvironmentVariableReadTrackingRequested && _wrapped.EnvironmentVariablePropertiesDictionary.Contains(name) && source != PropertySource.EnvironmentVariable)
Instance\ProjectInstance.cs (2)
2307if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2309if (!_environmentVariableProperties.Contains(property.Name) || !String.Equals(_environmentVariableProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase))