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