57 references to PropertyType
Microsoft.Build.Engine (57)
Engine\Project.cs (15)
1413PropertyType.ReservedProperty); 1617PropertyType.ReservedProperty)); 1621PropertyType.ReservedProperty)); 1625PropertyType.ReservedProperty)); 1638EscapingUtilities.Escape(parentEngine.StartupDirectory), PropertyType.ReservedProperty)); 1641parentEngine.EngineCpuCount.ToString(CultureInfo.CurrentCulture), PropertyType.ReservedProperty)); 1644FrameworkLocationHelper.programFiles32, PropertyType.ReservedProperty)); 1647Constants.AssemblyVersion, PropertyType.ReservedProperty)); 1658EscapingUtilities.Escape(Directory.GetCurrentDirectory()), PropertyType.ReservedProperty)); 1667EscapingUtilities.Escape(directoryName), PropertyType.ReservedProperty)); 1670EscapingUtilities.Escape(projectFileInfo.Name), PropertyType.ReservedProperty)); 1673EscapingUtilities.Escape(projectFileInfo.Extension), PropertyType.ReservedProperty)); 1676EscapingUtilities.Escape(projectFileInfo.FullName), PropertyType.ReservedProperty)); 1679EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(this.fullFileName)), PropertyType.ReservedProperty)); 1687EscapingUtilities.Escape(projectDirectoryNoRoot), PropertyType.ReservedProperty));
Engine\TaskEngine.cs (3)
1038lookup.SetProperty(new BuildProperty(propertyName, joinedOutputs.ToString(), PropertyType.OutputProperty)); 1088lookup.SetProperty(new BuildProperty(propertyName, joinedOutputs.ToString(), PropertyType.OutputProperty)); 1170lookup.SetProperty(new BuildProperty(propertyName, taskParameterValue, PropertyType.OutputProperty));
Engine\ToolsetState.cs (3)
263PropertyType.ReservedProperty)); 267PropertyType.ReservedProperty)); 272PropertyType.ReservedProperty));
ItemsAndProperties\Lookup.cs (1)
652ErrorUtilities.VerifyThrow(property.Type == PropertyType.OutputProperty, "Expected output property");
Properties\BuildProperty.cs (16)
84private PropertyType type = PropertyType.NormalProperty; 161PropertyType type = (PropertyType)reader.ReadInt32(); 189PropertyType propertyType 213PropertyType propertyType 262PropertyType propertyType 328PropertyType propertyType 347this(propertyName, propertyValue, PropertyType.NormalProperty) 403ErrorUtilities.VerifyThrowInvalidOperation(this.type != PropertyType.ImportedProperty, 406ErrorUtilities.VerifyThrowInvalidOperation(this.type != PropertyType.EnvironmentProperty, 409ErrorUtilities.VerifyThrowInvalidOperation(this.type != PropertyType.ReservedProperty, 412ErrorUtilities.VerifyThrowInvalidOperation(this.type != PropertyType.GlobalProperty, 492internal PropertyType Type 513return this.type == PropertyType.ImportedProperty; 537ErrorUtilities.VerifyThrowInvalidOperation(this.Type != PropertyType.ImportedProperty,
Properties\BuildPropertyGroup.cs (18)
190: this(parentProject, propertyGroupElement, PropertyType.NormalProperty) 199: this(parentProject, propertyGroupElement, isImported ? PropertyType.ImportedProperty : PropertyType.NormalProperty) 206internal BuildPropertyGroup(Project parentProject, XmlElement propertyGroupElement, PropertyType propertyType) 216this.importedFromAnotherProject = (propertyType == PropertyType.ImportedProperty); 750globalProperty.Type = PropertyType.GlobalProperty; 805(existingProperty.Type != PropertyType.ReservedProperty) || 806(newProperty.Type == PropertyType.ReservedProperty), 813if ((existingProperty.Type == PropertyType.GlobalProperty) && 814(newProperty.Type != PropertyType.OutputProperty)) 830if (newProperty.Type == PropertyType.OutputProperty) 840error.VerifyThrow(existingProperty.Type == PropertyType.OutputProperty, "If we've overriden this property before, it must be stored as an output property in the main property table."); 844error.VerifyThrow((existingProperty == null) || (existingProperty.Type != PropertyType.OutputProperty), 921BuildProperty newProperty = new BuildProperty(this.ownerDocument, propertyName, propertyValue, PropertyType.NormalProperty); 969BuildProperty newProperty = new BuildProperty(parentDocument, propertyName, propertyValue, PropertyType.ImportedProperty); 1313environmentVariable.Value.ToString(), PropertyType.EnvironmentProperty)); 1347SetProperty(new BuildProperty(ReservedPropertyNames.extensionsPath32, extensionsPath32, PropertyType.EnvironmentProperty)); 1365SetProperty(new BuildProperty(ReservedPropertyNames.extensionsPath, extensionsPath, PropertyType.EnvironmentProperty));
Tasks\IntrinsicTask.cs (1)
47backingPropertyGroup = new BuildPropertyGroup(null /* no parent project */, taskNodeXmlElement, PropertyType.OutputProperty);