Пример #1
0
 private PartialTypeCollection(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     AbstractCodeType parent)
     : base(state, parent)
 {
 }
Пример #2
0
 internal static EnvDTE.CodeElements Create(
     CodeModelState state,
     AbstractCodeElement parent)
 {
     var collection = new AttributeCollection(state, parent);
     return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
 }
Пример #3
0
 internal static EnvDTE.CodeElements Create(
     CodeModelState state,
     CodeFunction parent)
 {
     var collection = new OverloadsCollection(state, parent);
     return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
 }
Пример #4
0
 internal static EnvDTE.CodeElements Create(
     CodeModelState state,
     object parent)
 {
     var collection = new EmptyCollection(state, parent);
     return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
 }
Пример #5
0
 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;
 }
Пример #11
0
 private CodeFunctionDeclareDecl(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     SyntaxNodeKey nodeKey,
     int? nodeKind)
     : base(state, fileCodeModel, nodeKey, nodeKind)
 {
 }
Пример #12
0
 private CodeNamespace(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     SyntaxNodeKey nodeKey,
     int? nodeKind)
     : base(state, fileCodeModel, nodeKey, nodeKind)
 {
 }
Пример #13
0
        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);
        }
Пример #14
0
 private CodeStruct(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind, name)
 {
 }
Пример #15
0
 private CodeStruct(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     SyntaxNodeKey nodeKey,
     int? nodeKind)
     : base(state, fileCodeModel, nodeKey, nodeKind)
 {
 }
Пример #16
0
 private CodeNamespace(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind, name)
 {
 }
Пример #17
0
 internal AbstractCodeType(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind, name)
 {
 }
Пример #18
0
 internal AbstractCodeType(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     SyntaxNodeKey nodeKey,
     int? nodeKind)
     : base(state, fileCodeModel, nodeKey, nodeKind)
 {
 }
Пример #19
0
 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);
 }
Пример #20
0
 internal static EnvDTE.CodeElements Create(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     AbstractCodeType parent)
 {
     var collection = new PartialTypeCollection(state, fileCodeModel, parent);
     return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
 }
Пример #21
0
 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)
 {
 }
Пример #24
0
 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);
 }
Пример #26
0
 private CodeOptionsStatement(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind)
 {
     _name = name;
 }
Пример #27
0
 private CodeInheritsStatement(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind)
 {
     _namespaceName = name;
 }
Пример #28
0
 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);
 }
Пример #29
0
 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);
 }
Пример #30
0
 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);
 }
Пример #31
0
 private EmptyCollection(
     CodeModelState state,
     object parent)
     : base(state, parent)
 {
 }
Пример #32
0
 internal ExternalNamespaceCollection(CodeModelState state, object parent, ProjectId projectId, INamespaceSymbol namespaceSymbol)
     : base(state, parent)
 {
     _projectId         = projectId;
     _namespaceSymbolId = namespaceSymbol.GetSymbolKey();
 }
Пример #33
0
 private ExternalCodeUnknown(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol)
     : base(state, projectId, typeSymbol)
 {
     _name = typeSymbol.Name;
 }
Пример #34
0
 private CodeAttributeArgument(CodeModelState state, CodeAttribute parent, int index)
     : base(state, parent.FileCodeModel)
 {
     _parentHandle = new ParentHandle <CodeAttribute>(parent);
     _index        = index;
 }
Пример #35
0
 private ExternalCodeFunction(CodeModelState state, ProjectId projectId, IMethodSymbol symbol)
     : base(state, projectId, symbol)
 {
 }
Пример #36
0
        internal static EnvDTE.CodeProperty Create(CodeModelState state, ProjectId projectId, IPropertySymbol symbol)
        {
            var element = new ExternalCodeProperty(state, projectId, symbol);

            return((EnvDTE.CodeProperty)ComAggregate.CreateAggregatedObject(element));
        }
Пример #37
0
 internal AbstractExternalCodeType(CodeModelState state, ProjectId projectId, ITypeSymbol symbol)
     : base(state, projectId, symbol)
 {
 }
Пример #38
0
        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)
 {
 }
Пример #40
0
        internal static EnvDTE.CodeNamespace Create(CodeModelState state, ProjectId projectId, INamespaceSymbol namespaceSymbol)
        {
            var newElement = new ExternalCodeNamespace(state, projectId, namespaceSymbol);

            return((EnvDTE.CodeNamespace)ComAggregate.CreateAggregatedObject(newElement));
        }
Пример #41
0
 private ExternalMemberCollection(CodeModelState state, object parent, ProjectId projectId, ITypeSymbol typeSymbol)
     : base(state, parent)
 {
     _projectId    = projectId;
     _typeSymbolId = typeSymbol.GetSymbolKey();
 }
Пример #42
0
        internal static IEnumerator Create(CodeModelState state, ProjectId projectId, SymbolKey namespaceSymbolId)
        {
            var newEnumerator = new ExternalNamespaceEnumerator(state, projectId, namespaceSymbolId);

            return((IEnumerator)ComAggregate.CreateAggregatedObject(newEnumerator));
        }
Пример #43
0
 private ExternalCodeNamespace(CodeModelState state, ProjectId projectId, INamespaceSymbol namespaceSymbol)
     : base(state, projectId, namespaceSymbol)
 {
 }
Пример #44
0
        internal static EnvDTE.CodeElement Create(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol)
        {
            var newElement = new ExternalCodeUnknown(state, projectId, typeSymbol);

            return((EnvDTE.CodeElement)ComAggregate.CreateAggregatedObject(newElement));
        }
Пример #45
0
 private AttributeCollection(
     CodeModelState state,
     AbstractCodeElement parent)
     : base(state, parent)
 {
 }
Пример #46
0
 private ExternalCodeEvent(CodeModelState state, ProjectId projectId, IEventSymbol symbol)
     : base(state, projectId, symbol)
 {
 }
Пример #47
0
 private ExternalCodeDelegate(CodeModelState state, ProjectId projectId, ITypeSymbol symbol)
     : base(state, projectId, symbol)
 {
 }
Пример #48
0
 private ExternalCodeEnum(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol)
     : base(state, projectId, typeSymbol)
 {
 }
Пример #49
0
        internal static EnvDTE.CodeFunction Create(CodeModelState state, ProjectId projectId, IMethodSymbol symbol)
        {
            var element = new ExternalCodeFunction(state, projectId, symbol);

            return((EnvDTE.CodeFunction)ComAggregate.CreateAggregatedObject(element));
        }
Пример #50
0
        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));
        }
Пример #52
0
 private AttributeArgumentCollection(CodeModelState state, CodeAttribute parent)
     : base(state, parent)
 {
 }
Пример #53
0
 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));
        }
Пример #55
0
 private ParameterCollection(
     CodeModelState state,
     AbstractCodeMember parent)
     : base(state, parent)
 {
 }
Пример #56
0
        internal static EnvDTE.CodeElements Create(CodeModelState state, CodeAttribute parent)
        {
            var collection = new AttributeArgumentCollection(state, parent);

            return((EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection));
        }
Пример #57
0
        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));
        }
Пример #58
0
 private ExternalCodeParameter(CodeModelState state, ProjectId projectId, IParameterSymbol symbol, AbstractExternalCodeElement parent)
     : base(state, projectId, symbol)
 {
     _parentHandle = new ParentHandle <AbstractExternalCodeElement>(parent);
 }
Пример #59
0
 private ExternalCodeProperty(CodeModelState state, ProjectId projectId, IPropertySymbol symbol)
     : base(state, projectId, symbol)
 {
 }
Пример #60
0
        internal static EnvDTE.CodeFunction Create(CodeModelState state, AbstractCodeMember parent, MethodKind kind)
        {
            var newElement = new CodeAccessorFunction(state, parent, kind);

            return((EnvDTE.CodeFunction)ComAggregate.CreateAggregatedObject(newElement));
        }