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