17 references to TryGetManagedObject
Microsoft.VisualStudio.LanguageServices.Implementation (17)
CodeModel\AbstractCodeModelService.cs (1)
952var codeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(position);
CodeModel\FileCodeModel.cs (3)
648var codeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(element); 650codeElement ??= ComAggregate.TryGetManagedObject<AbstractCodeElement>(this.CodeElements.Item(element)); 800var keyedElement = ComAggregate.TryGetManagedObject<AbstractKeyedCodeElement>(element);
CodeModel\FileCodeModel_CodeGen.cs (1)
87var codeElement = ComAggregate.TryGetManagedObject<AbstractKeyedCodeElement>(element);
CodeModel\FileCodeModel_Events.cs (4)
234var parentCodeElement = ComAggregate.TryGetManagedObject<AbstractCodeMember>(parentElement); 290var parentCodeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(parentObject); 298var parentFileCodeModel = ComAggregate.TryGetManagedObject<FileCodeModel>(parentObject); 351var parentCodeElement = ComAggregate.TryGetManagedObject<CodeAttribute>(parentElement);
CodeModel\FileCodeModel_Refactoring.cs (1)
21var codeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(element);
CodeModel\InternalElements\AbstractCodeMember.cs (2)
191var codeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(element); 193codeElement ??= ComAggregate.TryGetManagedObject<AbstractCodeElement>(this.Parameters.Item(element));
CodeModel\InternalElements\AbstractCodeType.cs (3)
167var abstractCodeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(element); 176abstractCodeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(this.Members.Item(codeElement.Name)); 183abstractCodeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(this.Members.Item(element));
CodeModel\InternalElements\CodeNamespace.cs (2)
176var codeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(element); 178codeElement ??= ComAggregate.TryGetManagedObject<AbstractCodeElement>(this.Members.Item(element));