private PartialTypeCollection( CodeModelState state, FileCodeModel fileCodeModel, AbstractCodeType parent) : base(state, parent) { }
internal static EnvDTE.CodeElements Create( CodeModelState state, AbstractCodeElement parent) { var collection = new AttributeCollection(state, parent); return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection); }
internal static EnvDTE.CodeElements Create( CodeModelState state, CodeFunction parent) { var collection = new OverloadsCollection(state, parent); return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection); }
internal static EnvDTE.CodeElements Create( CodeModelState state, object parent) { var collection = new EmptyCollection(state, parent); return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection); }
private CodeVariable( CodeModelState state, FileCodeModel fileCodeModel, int nodeKind, string name) : base(state, fileCodeModel, nodeKind, name) { }
private ExternalParameterCollection( CodeModelState state, AbstractExternalCodeMember parent, ProjectId projectId) : base(state, parent) { _projectId = projectId; }
internal static EnvDTE.CodeElements Create( CodeModelState state, AbstractExternalCodeMember parent, ProjectId projectId) { var collection = new ExternalParameterCollection(state, parent, projectId); return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection); }
private ExternalNamespaceEnumerator(CodeModelState state, ProjectId projectId, SymbolKey namespaceSymbolId) { _state = state; _projectId = projectId; _namespaceSymbolId = namespaceSymbolId; _childEnumerator = ChildrenOfNamespace(state, projectId, namespaceSymbolId).GetEnumerator(); }
private PartialTypeCollection( CodeModelState state, FileCodeModel fileCodeModel, AbstractCodeType parent) : base(state, parent) { _fileCodeModelHandle = new ComHandle<EnvDTE.FileCodeModel, FileCodeModel>(fileCodeModel); }
private ExternalOverloadsCollection( CodeModelState state, ExternalCodeFunction parent, ProjectId projectId) : base(state, parent) { _projectId = projectId; }
private CodeFunctionDeclareDecl( CodeModelState state, FileCodeModel fileCodeModel, SyntaxNodeKey nodeKey, int? nodeKind) : base(state, fileCodeModel, nodeKey, nodeKind) { }
private CodeNamespace( CodeModelState state, FileCodeModel fileCodeModel, SyntaxNodeKey nodeKey, int? nodeKind) : base(state, fileCodeModel, nodeKey, nodeKind) { }
internal static EnvDTE80.CodeAttributeArgument Create(CodeModelState state, CodeAttribute parent, int index) { Debug.Assert(parent != null); Debug.Assert(index >= 0); var newElement = new CodeAttributeArgument(state, parent, index); return (EnvDTE80.CodeAttributeArgument)ComAggregate.CreateAggregatedObject(newElement); }
private CodeStruct( CodeModelState state, FileCodeModel fileCodeModel, int nodeKind, string name) : base(state, fileCodeModel, nodeKind, name) { }
private CodeStruct( CodeModelState state, FileCodeModel fileCodeModel, SyntaxNodeKey nodeKey, int? nodeKind) : base(state, fileCodeModel, nodeKey, nodeKind) { }
private CodeNamespace( CodeModelState state, FileCodeModel fileCodeModel, int nodeKind, string name) : base(state, fileCodeModel, nodeKind, name) { }
internal AbstractCodeType( CodeModelState state, FileCodeModel fileCodeModel, int nodeKind, string name) : base(state, fileCodeModel, nodeKind, name) { }
internal AbstractCodeType( CodeModelState state, FileCodeModel fileCodeModel, SyntaxNodeKey nodeKey, int? nodeKind) : base(state, fileCodeModel, nodeKey, nodeKind) { }
internal static EnvDTE.CodeElements Create( CodeModelState state, AbstractCodeElement parent, params ICodeElements[] collections) { var collection = new UnionCollection(state, parent, collections); return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection); }
internal static EnvDTE.CodeElements Create( CodeModelState state, FileCodeModel fileCodeModel, AbstractCodeType parent) { var collection = new PartialTypeCollection(state, fileCodeModel, parent); return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection); }
private UnionCollection( CodeModelState state, AbstractCodeElement parent, ICodeElements[] collections) : base(state, parent) { _collections = collections; }
private CodeFunctionWithEventHandler( CodeModelState state, FileCodeModel fileCodeModel, SyntaxNodeKey nodeKey, int? nodeKind) : base(state, fileCodeModel, nodeKey, nodeKind) { }
private CodeFunctionWithEventHandler( CodeModelState state, FileCodeModel fileCodeModel, int nodeKind, string name) : base(state, fileCodeModel, nodeKind, name) { }
private CodeFunctionDeclareDecl( CodeModelState state, FileCodeModel fileCodeModel, int nodeKind, string name) : base(state, fileCodeModel, nodeKind, name) { }
internal static EnvDTE.CodeElements Create( CodeModelState state, ExternalCodeFunction parent, ProjectId projectId) { var collection = new ExternalOverloadsCollection(state, parent, projectId); return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection); }
private CodeOptionsStatement( CodeModelState state, FileCodeModel fileCodeModel, int nodeKind, string name) : base(state, fileCodeModel, nodeKind) { _name = name; }
private CodeInheritsStatement( CodeModelState state, FileCodeModel fileCodeModel, int nodeKind, string name) : base(state, fileCodeModel, nodeKind) { _namespaceName = name; }
internal static EnvDTE.CodeNamespace CreateUnknown( CodeModelState state, FileCodeModel fileCodeModel, int nodeKind, string name) { var element = new CodeNamespace(state, fileCodeModel, nodeKind, name); return (EnvDTE.CodeNamespace)ComAggregate.CreateAggregatedObject(element); }
internal static EnvDTE.CodeElements Create( CodeModelState state, object parent, FileCodeModel fileCodeModel, SyntaxNodeKey nodeKey) { var collection = new TypeCollection(state, parent, fileCodeModel, nodeKey); return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection); }
internal static EnvDTE80.CodeElement2 CreateUnknown( CodeModelState state, FileCodeModel fileCodeModel, int nodeKind, string name) { var element = new CodeOptionsStatement(state, fileCodeModel, nodeKind, name); return (EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element); }
private EmptyCollection( CodeModelState state, object parent) : base(state, parent) { }
internal ExternalNamespaceCollection(CodeModelState state, object parent, ProjectId projectId, INamespaceSymbol namespaceSymbol) : base(state, parent) { _projectId = projectId; _namespaceSymbolId = namespaceSymbol.GetSymbolKey(); }
private ExternalCodeUnknown(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol) : base(state, projectId, typeSymbol) { _name = typeSymbol.Name; }
private CodeAttributeArgument(CodeModelState state, CodeAttribute parent, int index) : base(state, parent.FileCodeModel) { _parentHandle = new ParentHandle <CodeAttribute>(parent); _index = index; }
private ExternalCodeFunction(CodeModelState state, ProjectId projectId, IMethodSymbol symbol) : base(state, projectId, symbol) { }
internal static EnvDTE.CodeProperty Create(CodeModelState state, ProjectId projectId, IPropertySymbol symbol) { var element = new ExternalCodeProperty(state, projectId, symbol); return((EnvDTE.CodeProperty)ComAggregate.CreateAggregatedObject(element)); }
internal AbstractExternalCodeType(CodeModelState state, ProjectId projectId, ITypeSymbol symbol) : base(state, projectId, symbol) { }
internal static EnvDTE.CodeDelegate Create(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol) { var element = new ExternalCodeDelegate(state, projectId, typeSymbol); return((EnvDTE.CodeDelegate)ComAggregate.CreateAggregatedObject(element)); }
private ExternalCodeVariable(CodeModelState state, ProjectId projectId, ISymbol symbol) : base(state, projectId, symbol) { }
internal static EnvDTE.CodeNamespace Create(CodeModelState state, ProjectId projectId, INamespaceSymbol namespaceSymbol) { var newElement = new ExternalCodeNamespace(state, projectId, namespaceSymbol); return((EnvDTE.CodeNamespace)ComAggregate.CreateAggregatedObject(newElement)); }
private ExternalMemberCollection(CodeModelState state, object parent, ProjectId projectId, ITypeSymbol typeSymbol) : base(state, parent) { _projectId = projectId; _typeSymbolId = typeSymbol.GetSymbolKey(); }
internal static IEnumerator Create(CodeModelState state, ProjectId projectId, SymbolKey namespaceSymbolId) { var newEnumerator = new ExternalNamespaceEnumerator(state, projectId, namespaceSymbolId); return((IEnumerator)ComAggregate.CreateAggregatedObject(newEnumerator)); }
private ExternalCodeNamespace(CodeModelState state, ProjectId projectId, INamespaceSymbol namespaceSymbol) : base(state, projectId, namespaceSymbol) { }
internal static EnvDTE.CodeElement Create(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol) { var newElement = new ExternalCodeUnknown(state, projectId, typeSymbol); return((EnvDTE.CodeElement)ComAggregate.CreateAggregatedObject(newElement)); }
private AttributeCollection( CodeModelState state, AbstractCodeElement parent) : base(state, parent) { }
private ExternalCodeEvent(CodeModelState state, ProjectId projectId, IEventSymbol symbol) : base(state, projectId, symbol) { }
private ExternalCodeDelegate(CodeModelState state, ProjectId projectId, ITypeSymbol symbol) : base(state, projectId, symbol) { }
private ExternalCodeEnum(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol) : base(state, projectId, typeSymbol) { }
internal static EnvDTE.CodeFunction Create(CodeModelState state, ProjectId projectId, IMethodSymbol symbol) { var element = new ExternalCodeFunction(state, projectId, symbol); return((EnvDTE.CodeFunction)ComAggregate.CreateAggregatedObject(element)); }
internal static EnvDTE80.CodeEvent Create(CodeModelState state, ProjectId projectId, IEventSymbol symbol) { var element = new ExternalCodeEvent(state, projectId, symbol); return((EnvDTE80.CodeEvent)ComAggregate.CreateAggregatedObject(element)); }
internal static EnvDTE.CodeFunction Create(CodeModelState state, ProjectId projectId, IMethodSymbol symbol, AbstractExternalCodeMember parent) { var element = new ExternalCodeAccessorFunction(state, projectId, symbol, parent); return((EnvDTE.CodeFunction)ComAggregate.CreateAggregatedObject(element)); }
private AttributeArgumentCollection(CodeModelState state, CodeAttribute parent) : base(state, parent) { }
private OverloadsCollection( CodeModelState state, CodeFunction parent) : base(state, parent) { }
internal static EnvDTE.CodeVariable Create(CodeModelState state, ProjectId projectId, ISymbol symbol) { var element = new ExternalCodeVariable(state, projectId, symbol); return((EnvDTE.CodeVariable)ComAggregate.CreateAggregatedObject(element)); }
private ParameterCollection( CodeModelState state, AbstractCodeMember parent) : base(state, parent) { }
internal static EnvDTE.CodeElements Create(CodeModelState state, CodeAttribute parent) { var collection = new AttributeArgumentCollection(state, parent); return((EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection)); }
internal static EnvDTE.CodeParameter Create(CodeModelState state, ProjectId projectId, IParameterSymbol symbol, AbstractExternalCodeMember parent) { var element = new ExternalCodeParameter(state, projectId, symbol, parent); return((EnvDTE.CodeParameter)ComAggregate.CreateAggregatedObject(element)); }
private ExternalCodeParameter(CodeModelState state, ProjectId projectId, IParameterSymbol symbol, AbstractExternalCodeElement parent) : base(state, projectId, symbol) { _parentHandle = new ParentHandle <AbstractExternalCodeElement>(parent); }
private ExternalCodeProperty(CodeModelState state, ProjectId projectId, IPropertySymbol symbol) : base(state, projectId, symbol) { }
internal static EnvDTE.CodeFunction Create(CodeModelState state, AbstractCodeMember parent, MethodKind kind) { var newElement = new CodeAccessorFunction(state, parent, kind); return((EnvDTE.CodeFunction)ComAggregate.CreateAggregatedObject(newElement)); }