20 references to ImplicitImportLocation
Microsoft.Build (15)
Construction\ProjectImportElement.cs (3)
21
private
ImplicitImportLocation
_implicitImportLocation;
125
public
ImplicitImportLocation
ImplicitImportLocation { get => Link != null ? ImportLink.ImplicitImportLocation : _implicitImportLocation; internal set => _implicitImportLocation = value; }
157
ImplicitImportLocation
implicitImportLocation,
Construction\ProjectRootElement.cs (4)
1885
nodes.Add(ProjectImportElement.CreateImplicit("Sdk.props", currentProjectOrImport,
ImplicitImportLocation
.Top, referencedSdk, this));
1886
nodes.Add(ProjectImportElement.CreateImplicit("Sdk.targets", currentProjectOrImport,
ImplicitImportLocation
.Bottom, referencedSdk, this));
1899
nodes.Add(ProjectImportElement.CreateImplicit("Sdk.props", currentProjectOrImport,
ImplicitImportLocation
.Top, referencedSdk, sdkNode));
1900
nodes.Add(ProjectImportElement.CreateImplicit("Sdk.targets", currentProjectOrImport,
ImplicitImportLocation
.Bottom, referencedSdk, sdkNode));
Definition\Project.cs (2)
2862
foreach (ProjectRootElement import in _data.ImportClosure.Where(i => i.ImportingElement?.ImplicitImportLocation ==
ImplicitImportLocation
.Top).Select(i => i.ImportedProject))
2877
foreach (ProjectRootElement import in _data.ImportClosure.Where(i => i.ImportingElement?.ImplicitImportLocation ==
ImplicitImportLocation
.Bottom).Select(i => i.ImportedProject))
Evaluation\Evaluator.cs (2)
885
if (import.ImplicitImportLocation ==
ImplicitImportLocation
.Top)
935
if (import.ImplicitImportLocation ==
ImplicitImportLocation
.Bottom)
Evaluation\Preprocessor.cs (3)
137
foreach (ResolvedImport resolvedImport in _project.Imports.Where(i => i.ImportingElement.ImplicitImportLocation !=
ImplicitImportLocation
.None))
180
foreach (ResolvedImport import in implicitImports.Where(i => i.ImportingElement.ImplicitImportLocation ==
ImplicitImportLocation
.Top))
206
foreach (var import in implicitImports.Where(i => i.ImportingElement.ImplicitImportLocation ==
ImplicitImportLocation
.Bottom))
ObjectModelRemoting\ConstructionObjectLinks\ProjectImportElementLink.cs (1)
19
public abstract
ImplicitImportLocation
ImplicitImportLocation { get; }
Microsoft.Build.Engine.OM.UnitTests (2)
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectImportElementLink.cs (2)
27
public
ImplicitImportLocation
ImplicitImportLocation => ImportElementXml.ImplicitImportLocation;
46
public override
ImplicitImportLocation
ImplicitImportLocation => Proxy.ImplicitImportLocation;
Microsoft.Build.Engine.UnitTests (3)
Evaluation\ProjectSdkImplicitImport_Tests.cs (3)
536
var
implicitLocation = i == 0
537
?
ImplicitImportLocation
.Top
538
:
ImplicitImportLocation
.Bottom;