38 references to EmptyLocation
Microsoft.Build (38)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
557string msbuildArchitecture = expander.ExpandIntoStringAndUnescape(_taskNode.MSBuildArchitecture ?? String.Empty, ExpanderOptions.ExpandAll, _taskNode.MSBuildArchitectureLocation ?? ElementLocation.EmptyLocation); 558string msbuildRuntime = expander.ExpandIntoStringAndUnescape(_taskNode.MSBuildRuntime ?? String.Empty, ExpanderOptions.ExpandAll, _taskNode.MSBuildRuntimeLocation ?? ElementLocation.EmptyLocation);
BuildCheck\Checks\CopyAlwaysCheck.cs (1)
83ElementLocation.EmptyLocation,
BuildCheck\Checks\EmbeddedResourceCheck.cs (1)
78ElementLocation.EmptyLocation,
BuildCheck\Checks\PreferProjectReferenceCheck.cs (2)
74ElementLocation.EmptyLocation, 102ElementLocation.EmptyLocation,
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
80ElementLocation.EmptyLocation,
BuildCheck\Checks\TargetFrameworkConfusionCheck.cs (1)
58ElementLocation.EmptyLocation,
BuildCheck\Checks\TargetFrameworkUnexpectedCheck.cs (1)
97ElementLocation.EmptyLocation,
BuildCheck\Checks\UntrustedLocationCheck.cs (1)
52ElementLocation.EmptyLocation,
Construction\ProjectRootElement.cs (1)
654public ElementLocation ProjectFileLocation => Link != null ? RootLink.ProjectFileLocation : _projectFileLocation ?? ElementLocation.EmptyLocation;
ElementLocation\ElementLocation.cs (1)
192return EmptyLocation;
Instance\ProjectInstance.cs (11)
2004new PropertyReadInfo(name, ElementLocation.EmptyLocation, false, PropertyReadContext.Other)); 2025_loggingContext?.ProcessPropertyWrite(new PropertyWriteInfo(name, false, ElementLocation.EmptyLocation)); 2930String.IsNullOrEmpty(condition) ? null : ElementLocation.EmptyLocation, 2931String.IsNullOrEmpty(inputs) ? null : ElementLocation.EmptyLocation, 2932String.IsNullOrEmpty(outputs) ? null : ElementLocation.EmptyLocation, 2933String.IsNullOrEmpty(returns) ? null : ElementLocation.EmptyLocation, 2934String.IsNullOrEmpty(keepDuplicateOutputs) ? null : ElementLocation.EmptyLocation, 2935String.IsNullOrEmpty(dependsOnTargets) ? null : ElementLocation.EmptyLocation, 2936String.IsNullOrEmpty(beforeTargets) ? null : ElementLocation.EmptyLocation, 2937String.IsNullOrEmpty(afterTargets) ? null : ElementLocation.EmptyLocation, 3194_projectFileLocation = xml.ProjectFileLocation ?? ElementLocation.EmptyLocation;
Instance\ProjectItemInstance.cs (1)
1442return expander.ExpandIntoStringLeaveEscaped(escapedValue, ExpanderOptions.ExpandBuiltInMetadata, ElementLocation.EmptyLocation);
Instance\ProjectTaskInstance.cs (13)
142condition == string.Empty ? null : ElementLocation.EmptyLocation, 143continueOnError == string.Empty ? null : ElementLocation.EmptyLocation, 144msbuildRuntime == string.Empty ? null : ElementLocation.EmptyLocation, 145msbuildArchitecture == string.Empty ? null : ElementLocation.EmptyLocation) 328_parameters[parameterName] = (unevaluatedValue, ElementLocation.EmptyLocation); 341_outputs.Add(new ProjectTaskOutputItemInstance(itemName, taskOutputParameterName, condition ?? String.Empty, ElementLocation.EmptyLocation, ElementLocation.EmptyLocation, ElementLocation.EmptyLocation, condition == null ? null : ElementLocation.EmptyLocation)); 354_outputs.Add(new ProjectTaskOutputPropertyInstance(propertyName, taskOutputParameterName, condition ?? String.Empty, ElementLocation.EmptyLocation, ElementLocation.EmptyLocation, ElementLocation.EmptyLocation, condition == null ? null : ElementLocation.EmptyLocation));
src\msbuild\src\Shared\BuildEventFileInfo.cs (1)
17internal static BuildEventFileInfo Empty = new BuildEventFileInfo(ElementLocation.EmptyLocation);