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