Implemented interface member:
property
Name
Microsoft.Build.Evaluation.IProperty.Name
3 overrides of Name
Microsoft.Build (3)
Definition\ProjectProperty.cs (2)
378
public override string
Name
565
public override string
Name
ObjectModelRemoting\LinkedObjectFactory.cs (1)
339
public override string
Name
=> Link.Name;
25 references to Name
Microsoft.Build (10)
Definition\Project.cs (3)
3156
ErrorUtilities.VerifyThrowInvalidOperation(!property.IsReservedProperty, "OM_ReservedName", property.
Name
);
3157
ErrorUtilities.VerifyThrowInvalidOperation(!property.IsGlobalProperty, "OM_GlobalProperty", property.
Name
);
3170
bool result = _data.Properties.Remove(property.
Name
);
Definition\ProjectProperty.cs (5)
108
EnvironmentVariableReadEventArgs args = new(
Name
, EvaluatedValueEscapedInternal, string.Empty, 0, 0);
127
EnvironmentVariableReadEventArgs args = new(
Name
, EvaluatedValueEscapedInternal, location.File, location.Line, location.Column);
233
{ return
Name
; }
268
Name
== other.
Name
;
Instance\ProjectInstance.cs (1)
3049
property.
Name
,
ObjectModelRemoting\DefinitionObjectsLinks\ProjectPropertyLink.cs (1)
28
/// Access to remote <see cref="ProjectProperty.
Name
"/>.
Microsoft.Build.Engine.OM.UnitTests (5)
Definition\ProjectProperty_Tests.cs (2)
52
Assert.Equal("p", property.
Name
);
75
Assert.Equal("p", property.
Name
);
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
109
Assert.Equal(real.
Name
, view.
Name
);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectPropertyLink.cs (1)
23
public string Name => this.Source.
Name
;
Microsoft.Build.Engine.UnitTests (9)
Evaluation\Evaluator_Tests.cs (9)
1924
allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates[property.
Name
] = property;
1938
if (!allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates.TryGetValue(property.
Name
, out propertyFromAllEvaluated))
1940
Assert.Fail(String.Format("project.Properties contained property {0}, but AllEvaluatedProperties did not.", property.
Name
));
1944
Assert.Fail(String.Format("The properties in project.Properties and AllEvaluatedProperties for property {0} were different.", property.
Name
));
2088
allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates[property.
Name
] = property;
2102
if (!allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates.TryGetValue(property.
Name
, out propertyFromAllEvaluated))
2104
Assert.Fail(String.Format("project.Properties contained property {0}, but AllEvaluatedProperties did not.", property.
Name
));
2108
Assert.Fail(String.Format("The properties in project.Properties and AllEvaluatedProperties for property {0} were different.", property.
Name
));
2223
allProjectPropertiesNoDuplicateNames.Add(property.
Name
);
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
92
properties = proj.AllEvaluatedProperties.ToLookup(p => p.
Name
, StringComparer.OrdinalIgnoreCase);