9 types derived from AbstractCodeElement
Microsoft.VisualStudio.LanguageServices.Implementation (9)
CodeModel\InternalElements\AbstractKeyedCodeElement.cs (1)
19public abstract class AbstractKeyedCodeElement : AbstractCodeElement
CodeModel\InternalElements\CodeAccessorFunction.cs (1)
18public sealed partial class CodeAccessorFunction : AbstractCodeElement, EnvDTE.CodeFunction, EnvDTE80.CodeFunction2
CodeModel\InternalElements\CodeAttribute.cs (1)
18public sealed class CodeAttribute : AbstractCodeElement, ICodeElementContainer<CodeAttributeArgument>, EnvDTE.CodeAttribute, EnvDTE80.CodeAttribute2
CodeModel\InternalElements\CodeAttributeArgument.cs (1)
19public sealed class CodeAttributeArgument : AbstractCodeElement, EnvDTE80.CodeAttributeArgument
CodeModel\InternalElements\CodeImplementsStatement.cs (1)
17public sealed class CodeImplementsStatement : AbstractCodeElement
CodeModel\InternalElements\CodeImport.cs (1)
19public sealed class CodeImport : AbstractCodeElement, EnvDTE80.CodeImport
CodeModel\InternalElements\CodeInheritsStatement.cs (1)
17public sealed class CodeInheritsStatement : AbstractCodeElement
CodeModel\InternalElements\CodeOptionsStatement.cs (1)
17public sealed class CodeOptionsStatement : AbstractCodeElement
CodeModel\InternalElements\CodeParameter.cs (1)
21public sealed class CodeParameter : AbstractCodeElement, EnvDTE.CodeParameter, EnvDTE80.CodeParameter2, IParameterKind
58 references to AbstractCodeElement
Microsoft.VisualStudio.LanguageServices.Implementation (58)
CodeModel\AbstractCodeModelService.cs (7)
354AbstractCodeElement? parentObject; 359parentObject = ComAggregate.GetManagedObject<AbstractCodeElement>(parentElement); 379parentObject = ComAggregate.GetManagedObject<AbstractCodeElement>(parentElement); 392AbstractCodeElement? parentObj = null; 396parentObj = ComAggregate.GetManagedObject<AbstractCodeElement>(parent); 951var codeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(position);
CodeModel\Collections\AttributeCollection.cs (4)
22AbstractCodeElement parent) 30AbstractCodeElement parent) 35private AbstractCodeElement ParentElement 37get { return (AbstractCodeElement)Parent; }
CodeModel\Collections\InheritsImplementsCollection.cs (2)
59var parentElement = (AbstractCodeElement)this.Parent;
CodeModel\Collections\NamespaceCollection.cs (8)
77private EnvDTE.CodeElement CreateCodeImport(SyntaxNode node, AbstractCodeElement parentElement) 84private EnvDTE.CodeElement CreateCodeAttribute(SyntaxNode node, SyntaxNode parentNode, AbstractCodeElement parentElement) 94var parentElement = !this.IsRootNamespace 95? (AbstractCodeElement)this.Parent 109var parentElement = !this.IsRootNamespace 110? (AbstractCodeElement)this.Parent 168var parentElement = !IsRootNamespace 169? (AbstractCodeElement)Parent
CodeModel\Collections\NodeSnapshot.cs (2)
21private readonly AbstractCodeElement _parentElement; 28AbstractCodeElement parentElement,
CodeModel\Collections\TypeCollection.cs (2)
59var parentElement = (AbstractCodeElement)this.Parent;
CodeModel\Collections\UnionCollection.cs (2)
21AbstractCodeElement parent, 32AbstractCodeElement parent,
CodeModel\FileCodeModel.cs (7)
32public sealed partial class FileCodeModel : AbstractCodeModelObject, EnvDTE.FileCodeModel, EnvDTE80.FileCodeModel2, ICodeElementContainer<AbstractCodeElement>, IVBFileCodeModelEvents, ICSCodeModelRefactoring 251var element = ComAggregate.GetManagedObject<AbstractCodeElement>(codeElement); 643var codeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(element); 645codeElement ??= ComAggregate.TryGetManagedObject<AbstractCodeElement>(this.CodeElements.Item(element)); 786EnvDTE.CodeElements ICodeElementContainer<AbstractCodeElement>.GetCollection()
CodeModel\FileCodeModel_Events.cs (2)
290var parentCodeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(parentObject);
CodeModel\FileCodeModel_Refactoring.cs (2)
21var codeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(element);
CodeModel\InternalElements\AbstractCodeElement.cs (3)
21public abstract class AbstractCodeElement : AbstractCodeModelObject, ICodeElementContainer<AbstractCodeElement>, EnvDTE.CodeElement, EnvDTE80.CodeElement2 130EnvDTE.CodeElements ICodeElementContainer<AbstractCodeElement>.GetCollection() 134=> GetCollection<AbstractCodeElement>(Parent);
CodeModel\InternalElements\AbstractCodeMember.cs (3)
191var codeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(element); 193codeElement ??= ComAggregate.TryGetManagedObject<AbstractCodeElement>(this.Parameters.Item(element));
CodeModel\InternalElements\AbstractCodeType.cs (4)
165var abstractCodeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(element); 174abstractCodeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(this.Members.Item(codeElement.Name)); 181abstractCodeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(this.Members.Item(element));
CodeModel\InternalElements\CodeAttribute.cs (3)
23AbstractCodeElement parent, 32private readonly AbstractCodeElement _parent; // NOTE: Ref'd 36private CodeAttribute(CodeModelState state, FileCodeModel fileCodeModel, AbstractCodeElement parent, string name, int ordinal)
CodeModel\InternalElements\CodeImport.cs (4)
24AbstractCodeElement parent, 43private readonly ParentHandle<AbstractCodeElement> _parentHandle; // parent object -- if parent is FCM then NULL else ref'd 49AbstractCodeElement parent, 53_parentHandle = new ParentHandle<AbstractCodeElement>(parent);
CodeModel\InternalElements\CodeNamespace.cs (3)
175var codeElement = ComAggregate.TryGetManagedObject<AbstractCodeElement>(element); 177codeElement ??= ComAggregate.TryGetManagedObject<AbstractCodeElement>(this.Members.Item(element));