15 references to Create
Microsoft.Build (14)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
832
bucket.Lookup.SetProperty(ProjectPropertyInstance.
Create
(ReservedPropertyNames.lastTaskResult, taskResult ? "true" : "false", true/* may be reserved */, _buildRequestEntry.RequestConfiguration.Project.IsImmutable));
Definition\ToolsetReader.cs (1)
602
propertyGroup.Set(ProjectPropertyInstance.
Create
(property.Name, EscapingUtilities.UnescapeAll(property.Value), true /* may be reserved */, false /* not immutable */));
Instance\ProjectInstance.cs (7)
566
_globalProperties[property.Key] = ProjectPropertyInstance.
Create
(property.Key, property.Value, false /* may not be reserved */, _isImmutable);
1797
ProjectPropertyInstance property = ProjectPropertyInstance.
Create
(name, evaluatedValueEscaped, mayBeReserved, _isImmutable, isEnvironmentVariable, loggingContext);
1810
ProjectPropertyInstance property = ProjectPropertyInstance.
Create
(propertyElement.Name, evaluatedValueEscaped, false /* may not be reserved */, _isImmutable);
1929
ProjectPropertyInstance property = ProjectPropertyInstance.
Create
(name, evaluatedValue, false /* may not be reserved */, _isImmutable);
3048
var instance = ProjectPropertyInstance.
Create
(
3153
_globalProperties.Set(ProjectPropertyInstance.
Create
(globalProperty.Key, explicitSubToolsetVersion, false /* may not be reserved */, _isImmutable));
3157
_globalProperties.Set(ProjectPropertyInstance.
Create
(globalProperty.Key, globalProperty.Value, false /* may not be reserved */, _isImmutable));
Instance\ProjectPropertyInstance.cs (5)
203
return
Create
(name, escapedValue, mayBeReserved: false, isImmutable: false);
217
return
Create
(name, escapedValue, mayBeReserved, isImmutable: false);
256
return
Create
(that._name, that._escapedValue, mayBeReserved: true /* already validated */, isImmutable: that.IsImmutable, that is EnvironmentDerivedProjectPropertyInstance);
265
return
Create
(that._name, that._escapedValue, mayBeReserved: true /* already validated */, isImmutable: isImmutable, that is EnvironmentDerivedProjectPropertyInstance);
282
return
Create
(name, escapedValue, mayBeReserved: true, isImmutable: isImmutable);
Microsoft.Build.Engine.UnitTests (1)
Instance\ProjectPropertyInstance_Internal_Tests.cs (1)
76
var property = ProjectPropertyInstance.
Create
("p", "v", mayBeReserved: true, isImmutable: true);