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