48 references to Import
Microsoft.Build.Engine.OM.UnitTests (48)
ObjectModelRemoting\RemoteProjectsProviderMock\CollectionsHelpers.cs (1)
41
var s = (T)sRemoter.
Import
(importer);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\InheritanceImplementationHelpers.cs (8)
55
return (ProjectElementContainer)xml.ElementProxy.Parent.
Import
(xml.Linker);
60
return (ProjectRootElement)xml.ElementProxy.ContainingProject.
Import
(xml.Linker);
84
return xml.ElementProxy.PreviousSibling.
Import
(xml.Linker);
89
return xml.ElementProxy.NextSibling.
Import
(xml.Linker);
114
return xml.ElementProxy.CreateNewInstance(xml.Linker.Export<ProjectElement, MockProjectRootElementLinkRemoter>(owner)).
Import
(xml.Linker);
141
return xml.ContainerProxy.FirstChild.
Import
(xml.Linker);
146
return xml.ContainerProxy.LastChild.
Import
(xml.Linker);
172
return (ProjectElementContainer)result.
Import
(xml.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementContainerLink.cs (8)
23
this.ContainerXml.InsertAfterChild(child.
Import
(OwningCollection), reference.
Import
(OwningCollection));
28
this.ContainerXml.InsertBeforeChild(child.
Import
(OwningCollection), reference.
Import
(OwningCollection));
33
ProjectElementContainerLink.AddInitialChild(this.ContainerXml, child.
Import
(OwningCollection));
38
var pre = (ProjectRootElement)factory.
Import
(OwningCollection);
39
var pec = (ProjectElementContainer)parent.
Import
(OwningCollection);
46
this.ContainerXml.RemoveChild(child.
Import
(this.OwningCollection));
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementLink.cs (2)
45
this.Source.CopyFrom(element.
Import
(this.OwningCollection));
50
var pre = (ProjectRootElement)owner.
Import
(OwningCollection);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectImportElementLink.cs (1)
47
public override ProjectElement OriginalElement => Proxy.OriginalElement.
Import
(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (24)
209
return (ProjectChooseElement)this.Proxy.CreateChooseElement().
Import
(this.Linker);
214
return (ProjectImportElement)this.Proxy.CreateImportElement(project).
Import
(this.Linker);
219
return (ProjectItemElement)this.Proxy.CreateItemElement(itemType).
Import
(this.Linker);
224
return (ProjectItemElement)this.Proxy.CreateItemElement(itemType, include).
Import
(this.Linker);
229
return (ProjectItemDefinitionElement)this.Proxy.CreateItemDefinitionElement(itemType).
Import
(this.Linker);
234
return (ProjectItemDefinitionGroupElement)this.Proxy.CreateItemDefinitionGroupElement().
Import
(this.Linker);
239
return (ProjectItemGroupElement)this.Proxy.CreateItemGroupElement().
Import
(this.Linker);
244
return (ProjectImportGroupElement)this.Proxy.CreateImportGroupElement().
Import
(this.Linker);
249
return (ProjectMetadataElement)this.Proxy.CreateMetadataElement(name).
Import
(this.Linker);
254
return (ProjectMetadataElement)this.Proxy.CreateMetadataElement(name, unevaluatedValue).
Import
(this.Linker);
259
return (ProjectOnErrorElement)this.Proxy.CreateOnErrorElement(executeTargets).
Import
(this.Linker);
264
return (ProjectOtherwiseElement)this.Proxy.CreateOtherwiseElement().
Import
(this.Linker);
269
return (ProjectOutputElement)this.Proxy.CreateOutputElement(taskParameter, itemType, propertyName).
Import
(this.Linker);
273
return (ProjectExtensionsElement)this.Proxy.CreateProjectExtensionsElement().
Import
(this.Linker);
278
return (ProjectPropertyGroupElement)this.Proxy.CreatePropertyGroupElement().
Import
(this.Linker);
283
return (ProjectPropertyElement)this.Proxy.CreatePropertyElement(name).
Import
(this.Linker);
288
return (ProjectTargetElement)this.Proxy.CreateTargetElement(name).
Import
(this.Linker);
292
return (ProjectTaskElement)this.Proxy.CreateTaskElement(name).
Import
(this.Linker);
296
return (ProjectUsingTaskElement)this.Proxy.CreateUsingTaskElement(taskName, assemblyFile, assemblyName, runtime, architecture).
Import
(this.Linker);
300
return (UsingTaskParameterGroupElement)this.Proxy.CreateUsingTaskParameterGroupElement().
Import
(this.Linker);
304
return (ProjectUsingTaskParameterElement)this.Proxy.CreateUsingTaskParameterElement(name, output, required, parameterType).
Import
(this.Linker);
308
return (ProjectUsingTaskBodyElement)this.Proxy.CreateUsingTaskBodyElement(evaluate, body).
Import
(this.Linker);
312
return (ProjectWhenElement)this.Proxy.CreateWhenElement(condition).
Import
(this.Linker);
316
return (ProjectSdkElement)this.Proxy.CreateProjectSdkElement(sdkName, sdkVersion).
Import
(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemLink.cs (1)
54
public override ProjectItemElement Xml => (ProjectItemElement)this.Proxy.Xml.
Import
(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
131
public override ProjectRootElement Xml => (ProjectRootElement)this.Proxy.Xml.
Import
(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectMetadataLink.cs (1)
80
public override ProjectMetadataElement Xml => (ProjectMetadataElement)this.Proxy.Xml.
Import
(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectPropertyLink.cs (1)
48
public override ProjectPropertyElement Xml => (ProjectPropertyElement)this.Proxy.Xml.
Import
(this.Linker);