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