1 instantiation of CodeAttribute
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\InternalElements\CodeAttribute.cs (1)
27
var newElement = new
CodeAttribute
(state, fileCodeModel, parent, name, ordinal);
26 references to CodeAttribute
Microsoft.VisualStudio.LanguageServices.Implementation (26)
CodeModel\AbstractCodeModelService.cs (3)
385
return
CodeAttribute
.Create(state, fileCodeModel, parentObject, name, ordinal);
472
var
codeAttributeObj = ComAggregate.GetManagedObject<
CodeAttribute
>(codeAttribute);
CodeModel\Collections\AttributeArgumentCollection.cs (4)
22
CodeAttribute
parent)
30
CodeAttribute
parent)
35
private
CodeAttribute
ParentAttribute
37
get { return (
CodeAttribute
)Parent; }
CodeModel\Collections\AttributeCollection.cs (2)
52
return (EnvDTE.CodeElement)
CodeAttribute
.Create(this.State, this.FileCodeModel, this.ParentElement, name, ordinal);
81
element = (EnvDTE.CodeElement)
CodeAttribute
.Create(State, FileCodeModel, this.ParentElement, childName, ordinal);
CodeModel\Collections\NamespaceCollection.cs (2)
88
return (EnvDTE.CodeElement)
CodeAttribute
.Create(this.State, this.FileCodeModel, parentElement, name, ordinal);
200
element = (EnvDTE.CodeElement)
CodeAttribute
.Create(State, FileCodeModel, parentElement, childName, ordinal);
CodeModel\Collections\NodeSnapshot.cs (1)
66
return (EnvDTE.CodeElement)
CodeAttribute
.Create(_state, this.FileCodeModel, _parentElement, name, ordinal);
CodeModel\FileCodeModel_Events.cs (4)
293
return (EnvDTE.CodeElement)
CodeAttribute
.Create(this.State, this, parentCodeElement, name, ordinal);
301
return (EnvDTE.CodeElement)
CodeAttribute
.Create(this.State, this, null, name, ordinal);
351
var
parentCodeElement = ComAggregate.TryGetManagedObject<
CodeAttribute
>(parentElement);
CodeModel\InternalElements\CodeAttribute.cs (2)
27
var
newElement = new CodeAttribute(state, fileCodeModel, parent, name, ordinal);
48
=> GetCollection<
CodeAttribute
>(Parent);
CodeModel\InternalElements\CodeAttributeArgument.cs (4)
21
internal static EnvDTE80.CodeAttributeArgument Create(CodeModelState state,
CodeAttribute
parent, int index)
30
private readonly ParentHandle<
CodeAttribute
> _parentHandle;
33
private CodeAttributeArgument(CodeModelState state,
CodeAttribute
parent, int index)
36
_parentHandle = new ParentHandle<
CodeAttribute
>(parent);
CodeModel\InternalElements\CodeFunction.cs (2)
20
public partial class CodeFunction : AbstractCodeMember, ICodeElementContainer<CodeParameter>, ICodeElementContainer<
CodeAttribute
>, EnvDTE.CodeFunction, EnvDTE80.CodeFunction2, IMethodXML, IMethodXML2
67
EnvDTE.CodeElements ICodeElementContainer<
CodeAttribute
>.GetCollection()
CodeModel\InternalElements\CodeProperty.cs (2)
18
public sealed partial class CodeProperty : AbstractCodeMember, ICodeElementContainer<CodeParameter>, ICodeElementContainer<
CodeAttribute
>, EnvDTE.CodeProperty, EnvDTE80.CodeProperty2
70
EnvDTE.CodeElements ICodeElementContainer<
CodeAttribute
>.GetCollection()