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