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