74 references to EmptyLocation
CustomCheck (2)
Check1.cs (1)
48
ElementLocation.
EmptyLocation
,
Check2.cs (1)
37
ElementLocation.
EmptyLocation
,
CustomCheck2 (1)
Check3.cs (1)
37
ElementLocation.
EmptyLocation
,
ErrorCustomCheck (2)
ErrorOnInitializeCheck.cs (1)
39
ElementLocation.
EmptyLocation
,
ErrorWhenRegisteringActions.cs (1)
39
ElementLocation.
EmptyLocation
,
Microsoft.Build (37)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
903
new BuildEventFileInfo(Construction.ElementLocation.
EmptyLocation
));
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
524
string msbuildArchitecture = expander.ExpandIntoStringAndUnescape(_taskNode.MSBuildArchitecture ?? String.Empty, ExpanderOptions.ExpandAll, _taskNode.MSBuildArchitectureLocation ?? ElementLocation.
EmptyLocation
);
525
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)
56
ElementLocation.
EmptyLocation
,
BuildEventFileInfo.cs (1)
17
internal static BuildEventFileInfo Empty = new BuildEventFileInfo(ElementLocation.
EmptyLocation
);
Construction\ProjectRootElement.cs (1)
642
public ElementLocation ProjectFileLocation => Link != null ? RootLink.ProjectFileLocation : _projectFileLocation ?? ElementLocation.
EmptyLocation
;
ElementLocation\ElementLocation.cs (1)
192
return
EmptyLocation
;
Instance\ProjectInstance.cs (11)
1911
new PropertyReadInfo(name, ElementLocation.
EmptyLocation
, false, PropertyReadContext.Other));
1932
_loggingContext?.ProcessPropertyWrite(new PropertyWriteInfo(name, false, ElementLocation.
EmptyLocation
));
2825
String.IsNullOrEmpty(condition) ? null : ElementLocation.
EmptyLocation
,
2826
String.IsNullOrEmpty(inputs) ? null : ElementLocation.
EmptyLocation
,
2827
String.IsNullOrEmpty(outputs) ? null : ElementLocation.
EmptyLocation
,
2828
String.IsNullOrEmpty(returns) ? null : ElementLocation.
EmptyLocation
,
2829
String.IsNullOrEmpty(keepDuplicateOutputs) ? null : ElementLocation.
EmptyLocation
,
2830
String.IsNullOrEmpty(dependsOnTargets) ? null : ElementLocation.
EmptyLocation
,
2831
String.IsNullOrEmpty(beforeTargets) ? null : ElementLocation.
EmptyLocation
,
2832
String.IsNullOrEmpty(afterTargets) ? null : ElementLocation.
EmptyLocation
,
3089
_projectFileLocation = xml.ProjectFileLocation ?? ElementLocation.
EmptyLocation
;
Instance\ProjectItemInstance.cs (1)
1340
return expander.ExpandIntoStringLeaveEscaped(metadatum.EvaluatedValueEscaped, ExpanderOptions.ExpandBuiltInMetadata, ElementLocation.
EmptyLocation
);
Instance\ProjectTaskInstance.cs (13)
143
condition == string.Empty ? null : ElementLocation.
EmptyLocation
,
144
continueOnError == string.Empty ? null : ElementLocation.
EmptyLocation
,
145
msbuildRuntime == string.Empty ? null : ElementLocation.
EmptyLocation
,
146
msbuildArchitecture == string.Empty ? null : ElementLocation.
EmptyLocation
)
329
_parameters[parameterName] = (unevaluatedValue, ElementLocation.
EmptyLocation
);
342
_outputs.Add(new ProjectTaskOutputItemInstance(itemName, taskOutputParameterName, condition ?? String.Empty, ElementLocation.
EmptyLocation
, ElementLocation.
EmptyLocation
, ElementLocation.
EmptyLocation
, condition == null ? null : ElementLocation.
EmptyLocation
));
355
_outputs.Add(new ProjectTaskOutputPropertyInstance(propertyName, taskOutputParameterName, condition ?? String.Empty, ElementLocation.
EmptyLocation
, ElementLocation.
EmptyLocation
, ElementLocation.
EmptyLocation
, condition == null ? null : ElementLocation.
EmptyLocation
));
Microsoft.Build.BuildCheck.UnitTests (7)
BuildCheckManagerProviderTests.cs (1)
124
ElementLocation.
EmptyLocation
,
DoubleWritesAnalyzer_Tests.cs (1)
35
Construction.ElementLocation.
EmptyLocation
,
TestAssets\CustomCheck\Check1.cs (1)
48
ElementLocation.
EmptyLocation
,
TestAssets\CustomCheck\Check2.cs (1)
37
ElementLocation.
EmptyLocation
,
TestAssets\CustomCheck2\Check3.cs (1)
37
ElementLocation.
EmptyLocation
,
TestAssets\ErrorCustomCheck\ErrorOnInitializeCheck.cs (1)
39
ElementLocation.
EmptyLocation
,
TestAssets\ErrorCustomCheck\ErrorWhenRegisteringActions.cs (1)
39
ElementLocation.
EmptyLocation
,
Microsoft.Build.Engine.UnitTests (25)
BackEnd\BuildRequestConfiguration_Tests.cs (1)
574
referencePath = project.ExpandPropertyValueBestEffortLeaveEscaped(referencePath, ElementLocation.
EmptyLocation
);
BackEnd\SdkResolverLoader_Tests.cs (3)
139
sdkResolverLoader.LoadAllResolvers(ElementLocation.
EmptyLocation
);
171
sdkResolverLoader.LoadAllResolvers(ElementLocation.
EmptyLocation
);
202
sdkResolverLoader.LoadAllResolvers(ElementLocation.
EmptyLocation
);
Construction\ElementLocation_Tests.cs (1)
181
IElementLocation location = ElementLocation.
EmptyLocation
;
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
533
importingElement.SdkLocation.ShouldBe(ElementLocation.
EmptyLocation
);
ExpressionTree_Tests.cs (5)
109
tree = p.Parse(command, ParserOptions.AllowAll, ElementLocation.
EmptyLocation
);
118
ElementLocation.
EmptyLocation
,
341
ElementLocation.
EmptyLocation
,
450
ElementLocation.
EmptyLocation
,
486
ElementLocation.
EmptyLocation
,
ExpressionTreeExpression_Tests.cs (6)
436
GenericExpressionNode tree = p.Parse(expression, ParserOptions.AllowAll, ElementLocation.
EmptyLocation
);
444
ElementLocation.
EmptyLocation
,
460
GenericExpressionNode tree = p.Parse(expression, ParserOptions.AllowAll, ElementLocation.
EmptyLocation
);
468
ElementLocation.
EmptyLocation
,
491
var tree = p.Parse(expression, ParserOptions.AllowAll, ElementLocation.
EmptyLocation
);
500
ElementLocation.
EmptyLocation
,
Instance\ProjectInstance_Internal_Tests.cs (8)
801
targetInstance.ConditionLocation.ShouldBe(ElementLocation.
EmptyLocation
);
802
targetInstance.InputsLocation.ShouldBe(ElementLocation.
EmptyLocation
);
803
targetInstance.OutputsLocation.ShouldBe(ElementLocation.
EmptyLocation
);
804
targetInstance.ReturnsLocation.ShouldBe(ElementLocation.
EmptyLocation
);
805
targetInstance.KeepDuplicateOutputsLocation.ShouldBe(ElementLocation.
EmptyLocation
);
806
targetInstance.DependsOnTargetsLocation.ShouldBe(ElementLocation.
EmptyLocation
);
807
targetInstance.BeforeTargetsLocation.ShouldBe(ElementLocation.
EmptyLocation
);
808
targetInstance.AfterTargetsLocation.ShouldBe(ElementLocation.
EmptyLocation
);