15 references to Contains
Microsoft.Build (15)
Definition\Project.cs (3)
2114return _data.GlobalPropertiesDictionary.Contains(key); 4470if (EnvironmentVariablePropertiesDictionary?.Contains(name) == true 4471|| SdkResolvedEnvironmentVariablePropertiesDictionary?.Contains(name) == true)
Definition\ProjectItem.cs (2)
456if (_directMetadata?.Contains(name) == true) 597if (_directMetadata?.Contains(name) == true)
Evaluation\Evaluator.cs (2)
1230if (!_data.Properties.Contains(Constants.VisualStudioVersionPropertyName)) 1240if (!_data.Properties.Contains(Constants.SubToolsetVersionPropertyName))
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (3)
162if (_wrapped.EnvironmentVariablePropertiesDictionary.Contains(name)) 212if (IsEnvironmentVariableReadTrackingRequested && _wrapped.EnvironmentVariablePropertiesDictionary.Contains(name) && !_overwrittenEnvironmentVariables.Contains(name)) 286if (IsEnvironmentVariableReadTrackingRequested && _wrapped.EnvironmentVariablePropertiesDictionary.Contains(name) && source != PropertySource.EnvironmentVariable)
Instance\ProjectInstance.cs (5)
1391if (_environmentVariableProperties.Contains(name)) 1397else if (_sdkResolvedEnvironmentVariableProperties?.Contains(name) == true) 2388if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2390if ((!_environmentVariableProperties.Contains(property.Name) || !String.Equals(_environmentVariableProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2392&& (!_sdkResolvedEnvironmentVariableProperties.Contains(property.Name) || !String.Equals(_sdkResolvedEnvironmentVariableProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)))