14 references to Contains
Microsoft.Build (14)
Definition\Project.cs (2)
2114
return _data.GlobalPropertiesDictionary.
Contains
(key);
4473
if (SdkResolvedEnvironmentVariablePropertiesDictionary?.
Contains
(name) == true)
Definition\ProjectItem.cs (2)
451
if (_directMetadata?.
Contains
(name) == true)
592
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)
1403
if (_sdkResolvedEnvironmentVariableProperties?.
Contains
(name) == true)
1416
bool overridingAmbient = _environmentVariableProperties.
Contains
(name);
2415
if (!_globalProperties.
Contains
(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase))
2417
if ((!_environmentVariableProperties.
Contains
(property.Name) || !String.Equals(_environmentVariableProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase))
2419
&& (!_sdkResolvedEnvironmentVariableProperties.
Contains
(property.Name) || !String.Equals(_sdkResolvedEnvironmentVariableProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)))