43 references to GetManagedObject
Microsoft.VisualStudio.LanguageServices (2)
Interop\ComHandle.cs (1)
38_managedObject = ComAggregate.GetManagedObject<TObject>(handleOrManagedObject);
Interop\WeakComHandle.cs (1)
45var managedObject = ComAggregate.GetManagedObject<TObject>(comAggregateObject);
Microsoft.VisualStudio.LanguageServices.Implementation (18)
CodeModel\AbstractCodeModelObject.cs (1)
99var parentInstance = ComAggregate.GetManagedObject<object>(parentObject);
CodeModel\AbstractCodeModelService.cs (9)
345var parentObj = ComAggregate.GetManagedObject<AbstractCodeMember>(parent); 360parentObject = ComAggregate.GetManagedObject<AbstractCodeElement>(parentElement); 380parentObject = ComAggregate.GetManagedObject<AbstractCodeElement>(parentElement); 397parentObj = ComAggregate.GetManagedObject<AbstractCodeElement>(parent); 417var parentObj = ComAggregate.GetManagedObject<AbstractCodeMember>(parent); 444var parentObj = ComAggregate.GetManagedObject<AbstractCodeMember>(parent); 463var parentObj = ComAggregate.GetManagedObject<AbstractCodeMember>(parent); 473var codeAttributeObj = ComAggregate.GetManagedObject<CodeAttribute>(codeAttribute); 624var underlyingFileCodeModel = ComAggregate.GetManagedObject<FileCodeModel>(fileCodeModel);
CodeModel\Collections\OverloadsCollection.cs (1)
80var fileCodeModel = ComAggregate.GetManagedObject<FileCodeModel>(fileCodeModelObject);
CodeModel\Collections\PartialTypeCollection.cs (1)
63var fileCodeModel = ComAggregate.GetManagedObject<FileCodeModel>(fileCodeModelObject);
CodeModel\FileCodeModel.cs (3)
210var managedElement = ComAggregate.GetManagedObject<AbstractKeyedCodeElement>(codeElement); 256var element = ComAggregate.GetManagedObject<AbstractCodeElement>(codeElement); 830var keyedElement = ComAggregate.GetManagedObject<AbstractKeyedCodeElement>(element);
CodeModel\FileCodeModel_CodeGen.cs (1)
189var parentObj = ComAggregate.GetManagedObject<AbstractCodeMember>(parent);
CodeModel\FileCodeModel_Events.cs (1)
267var fileCodeModel = ComAggregate.GetManagedObject<FileCodeModel>(parentElement);
RoslynVisualStudioWorkspace.cs (1)
169var fileCodeModel = ComAggregate.GetManagedObject<FileCodeModel>(vsFileCodeModel);
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (2)
CodeModel\CodeModelTestHelpers.vb (2)
185Dim externalParentCodeElementImpl = ComAggregate.GetManagedObject(Of AbstractExternalCodeMember)(externalParentCodeElement) 190Dim codeElementImpl = ComAggregate.GetManagedObject(Of AbstractCodeElement)(codeElement)
Microsoft.VisualStudio.LanguageServices.UnitTests (21)
CodeModel\AbstractCodeElementTests`1.vb (1)
453Dim obj = Implementation.Interop.ComAggregate.GetManagedObject(Of Object)(codeElement)
CodeModel\CSharp\FileCodeModelTests.vb (4)
1110Dim member1 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(parent) 1111Dim member2 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(propertyP) 1164Dim member1 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(parent) 1165Dim member2 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(eventE)
CodeModel\CSharp\RootCodeModelTests.vb (4)
175Dim underlyingFileCodeModel = ComAggregate.GetManagedObject(Of FileCodeModel)(fileCodeModel) 212Dim underlyingFileCodeModel = ComAggregate.GetManagedObject(Of FileCodeModel)(fileCodeModel) 257Dim underlyingFileCodeModel = ComAggregate.GetManagedObject(Of FileCodeModel)(fileCodeModel) 302Dim underlyingFileCodeModel = ComAggregate.GetManagedObject(Of FileCodeModel)(fileCodeModel)
CodeModel\VisualBasic\FileCodeModelTests.vb (8)
1090Dim member1 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(parent) 1091Dim member2 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(classC) 1136Dim member1 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(parent) 1137Dim member2 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(classC) 1188Dim member1 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(parent) 1189Dim member2 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(propertyP) 1247Dim member1 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(parent) 1248Dim member2 = ComAggregate.GetManagedObject(Of AbstractCodeMember)(eventE)
CodeModel\VisualBasic\RootCodeModelTests.vb (4)
110Dim underlyingFileCodeModel = ComAggregate.GetManagedObject(Of FileCodeModel)(fileCodeModel) 145Dim underlyingFileCodeModel = ComAggregate.GetManagedObject(Of FileCodeModel)(fileCodeModel) 186Dim underlyingFileCodeModel = ComAggregate.GetManagedObject(Of FileCodeModel)(fileCodeModel) 227Dim underlyingFileCodeModel = ComAggregate.GetManagedObject(Of FileCodeModel)(fileCodeModel)