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