15 references to Create
Microsoft.Build (14)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
834bucket.Lookup.SetProperty(ProjectPropertyInstance.Create(ReservedPropertyNames.lastTaskResult, taskResult ? "true" : "false", true/* may be reserved */, _buildRequestEntry.RequestConfiguration.Project.IsImmutable));
Definition\ToolsetReader.cs (1)
632propertyGroup.Set(ProjectPropertyInstance.Create(property.Name, EscapingUtilities.UnescapeAll(property.Value), true /* may be reserved */, false /* not immutable */));
Instance\ProjectInstance.cs (7)
564_globalProperties[property.Key] = ProjectPropertyInstance.Create(property.Key, property.Value, false /* may not be reserved */, _isImmutable); 1670ProjectPropertyInstance property = ProjectPropertyInstance.Create(name, evaluatedValueEscaped, mayBeReserved, _isImmutable, isEnvironmentVariable, loggingContext); 1683ProjectPropertyInstance property = ProjectPropertyInstance.Create(propertyElement.Name, evaluatedValueEscaped, false /* may not be reserved */, _isImmutable); 1785ProjectPropertyInstance property = ProjectPropertyInstance.Create(name, evaluatedValue, false /* may not be reserved */, _isImmutable); 2888var instance = ProjectPropertyInstance.Create( 2987_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, explicitSubToolsetVersion, false /* may not be reserved */, _isImmutable)); 2991_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, globalProperty.Value, false /* may not be reserved */, _isImmutable));
Instance\ProjectPropertyInstance.cs (5)
176return Create(name, escapedValue, mayBeReserved: false, isImmutable: false); 190return Create(name, escapedValue, mayBeReserved, isImmutable: false); 229return Create(that._name, that._escapedValue, mayBeReserved: true /* already validated */, isImmutable: that.IsImmutable, that is EnvironmentDerivedProjectPropertyInstance); 238return Create(that._name, that._escapedValue, mayBeReserved: true /* already validated */, isImmutable: isImmutable, that is EnvironmentDerivedProjectPropertyInstance); 255return Create(name, escapedValue, mayBeReserved: true, isImmutable: isImmutable);
Microsoft.Build.Engine.UnitTests (1)
Instance\ProjectPropertyInstance_Internal_Tests.cs (1)
76var property = ProjectPropertyInstance.Create("p", "v", mayBeReserved: true, isImmutable: true);