15 references to Create
Microsoft.Build (14)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
832bucket.Lookup.SetProperty(ProjectPropertyInstance.Create(ReservedPropertyNames.lastTaskResult, taskResult ? "true" : "false", true/* may be reserved */, _buildRequestEntry.RequestConfiguration.Project.IsImmutable));
Definition\ToolsetReader.cs (1)
602propertyGroup.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); 1797ProjectPropertyInstance property = ProjectPropertyInstance.Create(name, evaluatedValueEscaped, mayBeReserved, _isImmutable, isEnvironmentVariable, loggingContext); 1810ProjectPropertyInstance property = ProjectPropertyInstance.Create(propertyElement.Name, evaluatedValueEscaped, false /* may not be reserved */, _isImmutable); 1929ProjectPropertyInstance property = ProjectPropertyInstance.Create(name, evaluatedValue, false /* may not be reserved */, _isImmutable); 3048var 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)
203return Create(name, escapedValue, mayBeReserved: false, isImmutable: false); 217return Create(name, escapedValue, mayBeReserved, isImmutable: false); 256return Create(that._name, that._escapedValue, mayBeReserved: true /* already validated */, isImmutable: that.IsImmutable, that is EnvironmentDerivedProjectPropertyInstance); 265return Create(that._name, that._escapedValue, mayBeReserved: true /* already validated */, isImmutable: isImmutable, that is EnvironmentDerivedProjectPropertyInstance); 282return 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);