3 instantiations of ProjectSdkElement
Microsoft.Build (3)
Construction\ProjectSdkElement.cs (1)
100
var sdkElement = new
ProjectSdkElement
(element, containingProject)
Evaluation\ProjectParser.cs (1)
902
return new
ProjectSdkElement
(element, _project, _project);
ObjectModelRemoting\LinkedObjectFactory.cs (1)
204
return new
ProjectSdkElement
(link);
21 references to ProjectSdkElement
Microsoft.Build (10)
Construction\ProjectRootElement.cs (3)
1485
public
ProjectSdkElement
CreateProjectSdkElement(string sdkName, string sdkVersion)
1487
return Link != null ? RootLink.CreateProjectSdkElement(sdkName, sdkVersion) :
ProjectSdkElement
.CreateDisconnected(sdkName, sdkVersion, this);
1892
if (child is
ProjectSdkElement
sdkNode)
Construction\ProjectSdkElement.cs (2)
95
internal static
ProjectSdkElement
CreateDisconnected(string sdkName, string sdkVersion,
100
var
sdkElement = new ProjectSdkElement(element, containingProject)
Evaluation\Evaluator.cs (1)
924
case
ProjectSdkElement
sdk: // This case is handled by implicit imports.
Evaluation\ProjectParser.cs (1)
895
private
ProjectSdkElement
ParseProjectSdkElement(XmlElementWithLocation element)
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementContainerLink.cs (1)
110
/// Allow for creating a local representation to external object of type <see cref="
ProjectSdkElement
"/>
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
188
public abstract
ProjectSdkElement
CreateProjectSdkElement(string sdkName, string sdkVersion);
ObjectModelRemoting\LinkedObjectFactory.cs (1)
202
public
ProjectSdkElement
Create(ProjectSdkElementLink link)
Microsoft.Build.Engine.OM.UnitTests (10)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
951
public static void Verify(
ProjectSdkElement
viewXml,
ProjectSdkElement
realXml, ValidationContext context = null)
ObjectModelRemoting\Helpers\ViewValidation.cs (1)
239
if (VerifyCheckType<
ProjectSdkElement
>(view, real, context, Verify))
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (2)
118
xmlPair.CreateWithVerify<
ProjectSdkElement
>((p) => p.CreateProjectSdkElement("sdkkk", "verrr"));
760
var sdkElement = xmlPair.AppendNewChaildWithVerify<
ProjectSdkElement
>(ObjectType.View, "sdk", (p, n) => p.CreateProjectSdkElement(n, "sdkVer"), (s, n) => true);
ObjectModelRemoting\LinkedConstructionReadOnly_Tests.cs (2)
244
var realCollection = preReal.AllChildren.OfType<
ProjectSdkElement
>().ToList();
245
var viewCollection = preView.AllChildren.OfType<
ProjectSdkElement
>().ToList();
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (2)
314
public override
ProjectSdkElement
CreateProjectSdkElement(string sdkName, string sdkVersion)
316
return (
ProjectSdkElement
)this.Proxy.CreateProjectSdkElement(sdkName, sdkVersion).Import(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\ProjectElemetExportHelper.cs (1)
65
ElementInfo.New<
ProjectSdkElement
, MockProjectSdkElementLinkRemoter>(),
Microsoft.Build.Engine.UnitTests (1)
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
505
[InlineData(ProjectTemplateSdkAsElementWithVersion, "2.0.0", "1.0.0", "2.0.0", "1.0.0", typeof(
ProjectSdkElement
))]