3 instantiations of CodeModelState
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
CodeModel\FileCodeModelTestHelpers.cs (1)
49var state = new CodeModelState(
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\CodeModelProjectCache.cs (1)
45State = new CodeModelState(threadingContext, serviceProvider, languageServices, workspace, projectFactory);
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
CodeModel\CodeModelTestHelpers.vb (1)
64Dim state = New CodeModelState(
188 references to CodeModelState
Microsoft.VisualStudio.LanguageServices.CSharp (4)
CodeModel\CSharpCodeModelService.cs (4)
516CodeModelState state, 593public override EnvDTE.CodeElement CreateUnknownCodeElement(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node) 643public override EnvDTE.CodeElement CreateUnknownRootNamespaceCodeElement(CodeModelState state, FileCodeModel fileCodeModel) 646public override EnvDTE.CodeTypeRef CreateCodeTypeRef(CodeModelState state, ProjectId projectId, object type)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
CodeModel\FileCodeModelTestHelpers.cs (1)
49var state = new CodeModelState(
Microsoft.VisualStudio.LanguageServices.Implementation (179)
CodeModel\AbstractCodeModelObject.cs (3)
27private CodeModelState _state; 30internal AbstractCodeModelObject(CodeModelState state) 42internal CodeModelState State
CodeModel\AbstractCodeModelService.cs (15)
208public EnvDTE.CodeElement CreateExternalCodeElement(CodeModelState state, ProjectId projectId, ISymbol symbol) 253CodeModelState state, 257public EnvDTE.CodeElement CreateCodeType(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol) 309public abstract EnvDTE.CodeTypeRef CreateCodeTypeRef(CodeModelState state, ProjectId projectId, object type); 333protected EnvDTE.CodeFunction CreateInternalCodeAccessorFunction(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node) 351protected EnvDTE.CodeAttribute CreateInternalCodeAttribute(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node) 389protected EnvDTE80.CodeImport CreateInternalCodeImport(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node) 403protected EnvDTE.CodeParameter CreateInternalCodeParameter(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node) 422protected EnvDTE80.CodeElement2 CreateInternalCodeOptionStatement(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node) 430protected EnvDTE80.CodeElement2 CreateInternalCodeInheritsStatement(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node) 449protected EnvDTE80.CodeElement2 CreateInternalCodeImplementsStatement(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node) 468protected EnvDTE80.CodeAttributeArgument CreateInternalCodeAttributeArgument(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node) 478public abstract EnvDTE.CodeElement CreateUnknownCodeElement(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node); 479public abstract EnvDTE.CodeElement CreateUnknownRootNamespaceCodeElement(CodeModelState state, FileCodeModel fileCodeModel); 574CodeModelState state, Project project, ITypeSymbol typeSymbol, [NotNullWhen(true)] out EnvDTE.CodeElement? element)
CodeModel\CodeModelProjectCache.cs (1)
34internal CodeModelState State { get; }
CodeModel\CodeTypeRef.cs (2)
32internal static EnvDTE.CodeTypeRef Create(CodeModelState state, object parent, ProjectId projectId, ITypeSymbol typeSymbol) 42private CodeTypeRef(CodeModelState state, object parent, ProjectId projectId, ITypeSymbol typeSymbol)
CodeModel\Collections\AbstractCodeElementCollection.cs (1)
19CodeModelState state,
CodeModel\Collections\AttributeArgumentCollection.cs (2)
21CodeModelState state, 29CodeModelState state,
CodeModel\Collections\AttributeCollection.cs (2)
21CodeModelState state, 29CodeModelState state,
CodeModel\Collections\BasesCollection.cs (2)
26CodeModelState state, 40CodeModelState state,
CodeModel\Collections\EmptyCollection.cs (2)
21CodeModelState state, 29CodeModelState state,
CodeModel\Collections\ExternalMemberCollection.cs (2)
23CodeModelState state, 36private ExternalMemberCollection(CodeModelState state, object parent, ProjectId projectId, ITypeSymbol typeSymbol)
CodeModel\Collections\ExternalNamespaceCollection.cs (2)
23CodeModelState state, 36internal ExternalNamespaceCollection(CodeModelState state, object parent, ProjectId projectId, INamespaceSymbol namespaceSymbol)
CodeModel\Collections\ExternalNamespaceEnumerator.cs (4)
21internal static IEnumerator Create(CodeModelState state, ProjectId projectId, SymbolKey namespaceSymbolId) 27private ExternalNamespaceEnumerator(CodeModelState state, ProjectId projectId, SymbolKey namespaceSymbolId) 36private readonly CodeModelState _state; 59internal static IEnumerable<EnvDTE.CodeElement> ChildrenOfNamespace(CodeModelState state, ProjectId projectId, SymbolKey namespaceSymbolId)
CodeModel\Collections\ExternalOverloadsCollection.cs (2)
22CodeModelState state, 33CodeModelState state,
CodeModel\Collections\ExternalParameterCollection.cs (2)
22CodeModelState state, 33CodeModelState state,
CodeModel\Collections\ExternalTypeCollection.cs (2)
21CodeModelState state, 33private ExternalTypeCollection(CodeModelState state, object parent, ProjectId projectId, ImmutableArray<INamedTypeSymbol> typeSymbols)
CodeModel\Collections\InheritsImplementsCollection.cs (2)
24CodeModelState state, 37CodeModelState state,
CodeModel\Collections\NamespaceCollection.cs (2)
24CodeModelState state, 37CodeModelState state,
CodeModel\Collections\NodeSnapshot.cs (2)
18private readonly CodeModelState _state; 25CodeModelState state,
CodeModel\Collections\OverloadsCollection.cs (2)
23CodeModelState state, 31CodeModelState state,
CodeModel\Collections\ParameterCollection.cs (2)
20CodeModelState state, 28CodeModelState state,
CodeModel\Collections\PartialTypeCollection.cs (2)
23CodeModelState state, 31CodeModelState state,
CodeModel\Collections\TypeCollection.cs (2)
25CodeModelState state, 38CodeModelState state,
CodeModel\Collections\UnionCollection.cs (2)
22CodeModelState state, 33CodeModelState state,
CodeModel\ExternalElements\AbstractExternalCodeElement.cs (1)
24internal AbstractExternalCodeElement(CodeModelState state, ProjectId projectId, ISymbol symbol)
CodeModel\ExternalElements\AbstractExternalCodeMember.cs (1)
15internal AbstractExternalCodeMember(CodeModelState state, ProjectId projectId, ISymbol symbol)
CodeModel\ExternalElements\AbstractExternalCodeType.cs (1)
20internal AbstractExternalCodeType(CodeModelState state, ProjectId projectId, ITypeSymbol symbol)
CodeModel\ExternalElements\ExternalCodeAccessorFunction.cs (2)
20internal static EnvDTE.CodeFunction Create(CodeModelState state, ProjectId projectId, IMethodSymbol symbol, AbstractExternalCodeMember parent) 28private ExternalCodeAccessorFunction(CodeModelState state, ProjectId projectId, IMethodSymbol symbol, AbstractExternalCodeMember parent)
CodeModel\ExternalElements\ExternalCodeClass.cs (2)
20internal static EnvDTE.CodeClass Create(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol) 26private ExternalCodeClass(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol)
CodeModel\ExternalElements\ExternalCodeDelegate.cs (2)
19internal static EnvDTE.CodeDelegate Create(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol) 25private ExternalCodeDelegate(CodeModelState state, ProjectId projectId, ITypeSymbol symbol)
CodeModel\ExternalElements\ExternalCodeEnum.cs (2)
21internal static EnvDTE.CodeEnum Create(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol) 27private ExternalCodeEnum(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol)
CodeModel\ExternalElements\ExternalCodeEvent.cs (2)
19internal static EnvDTE80.CodeEvent Create(CodeModelState state, ProjectId projectId, IEventSymbol symbol) 25private ExternalCodeEvent(CodeModelState state, ProjectId projectId, IEventSymbol symbol)
CodeModel\ExternalElements\ExternalCodeFunction.cs (2)
20internal static EnvDTE.CodeFunction Create(CodeModelState state, ProjectId projectId, IMethodSymbol symbol) 26private ExternalCodeFunction(CodeModelState state, ProjectId projectId, IMethodSymbol symbol)
CodeModel\ExternalElements\ExternalCodeInterface.cs (2)
20internal static EnvDTE.CodeInterface Create(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol) 26private ExternalCodeInterface(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol)
CodeModel\ExternalElements\ExternalCodeNamespace.cs (2)
21internal static EnvDTE.CodeNamespace Create(CodeModelState state, ProjectId projectId, INamespaceSymbol namespaceSymbol) 27private ExternalCodeNamespace(CodeModelState state, ProjectId projectId, INamespaceSymbol namespaceSymbol)
CodeModel\ExternalElements\ExternalCodeParameter.cs (2)
18internal static EnvDTE.CodeParameter Create(CodeModelState state, ProjectId projectId, IParameterSymbol symbol, AbstractExternalCodeMember parent) 26private ExternalCodeParameter(CodeModelState state, ProjectId projectId, IParameterSymbol symbol, AbstractExternalCodeElement parent)
CodeModel\ExternalElements\ExternalCodeProperty.cs (2)
19internal static EnvDTE.CodeProperty Create(CodeModelState state, ProjectId projectId, IPropertySymbol symbol) 25private ExternalCodeProperty(CodeModelState state, ProjectId projectId, IPropertySymbol symbol)
CodeModel\ExternalElements\ExternalCodeStruct.cs (2)
20internal static EnvDTE.CodeStruct Create(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol) 26private ExternalCodeStruct(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol)
CodeModel\ExternalElements\ExternalCodeUnknown.cs (2)
17internal static EnvDTE.CodeElement Create(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol) 23private ExternalCodeUnknown(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol)
CodeModel\ExternalElements\ExternalCodeVariable.cs (2)
18internal static EnvDTE.CodeVariable Create(CodeModelState state, ProjectId projectId, ISymbol symbol) 24private ExternalCodeVariable(CodeModelState state, ProjectId projectId, ISymbol symbol)
CodeModel\FileCodeModel.cs (2)
37CodeModelState state, 75CodeModelState state,
CodeModel\FileCodeModel_CodeGen.cs (1)
82private EnvDTE.CodeElement CreateInternalCodeMember(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node)
CodeModel\ICodeModelService.cs (6)
83EnvDTE.CodeElement CreateInternalCodeElement(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node); 84EnvDTE.CodeElement CreateExternalCodeElement(CodeModelState state, ProjectId projectId, ISymbol symbol); 85EnvDTE.CodeElement CreateUnknownCodeElement(CodeModelState state, FileCodeModel fileCodeModel, SyntaxNode node); 86EnvDTE.CodeElement CreateUnknownRootNamespaceCodeElement(CodeModelState state, FileCodeModel fileCodeModel); 88EnvDTE.CodeElement CreateCodeType(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol); 93EnvDTE.CodeTypeRef CreateCodeTypeRef(CodeModelState state, ProjectId projectId, object type);
CodeModel\InternalElements\AbstractCodeElement.cs (1)
28CodeModelState state,
CodeModel\InternalElements\AbstractCodeMember.cs (2)
22CodeModelState state, 31CodeModelState state,
CodeModel\InternalElements\AbstractCodeType.cs (2)
22CodeModelState state, 31CodeModelState state,
CodeModel\InternalElements\AbstractKeyedCodeElement.cs (2)
25CodeModelState state, 37CodeModelState state,
CodeModel\InternalElements\CodeAccessorFunction.cs (2)
20internal static EnvDTE.CodeFunction Create(CodeModelState state, AbstractCodeMember parent, MethodKind kind) 29private CodeAccessorFunction(CodeModelState state, AbstractCodeMember parent, MethodKind kind)
CodeModel\InternalElements\CodeAttribute.cs (2)
21CodeModelState state, 36private CodeAttribute(CodeModelState state, FileCodeModel fileCodeModel, AbstractCodeElement parent, string name, int ordinal)
CodeModel\InternalElements\CodeAttributeArgument.cs (2)
21internal static EnvDTE80.CodeAttributeArgument Create(CodeModelState state, CodeAttribute parent, int index) 33private CodeAttributeArgument(CodeModelState state, CodeAttribute parent, int index)
CodeModel\InternalElements\CodeClass.cs (4)
27CodeModelState state, 41CodeModelState state, 52CodeModelState state, 61CodeModelState state,
CodeModel\InternalElements\CodeDelegate.cs (4)
19CodeModelState state, 33CodeModelState state, 43CodeModelState state, 52CodeModelState state,
CodeModel\InternalElements\CodeEnum.cs (4)
17CodeModelState state, 31CodeModelState state, 41CodeModelState state, 50CodeModelState state,
CodeModel\InternalElements\CodeEvent.cs (4)
20CodeModelState state, 34CodeModelState state, 44CodeModelState state, 53CodeModelState state,
CodeModel\InternalElements\CodeFunction.cs (4)
23CodeModelState state, 37CodeModelState state, 47CodeModelState state, 56CodeModelState state,
CodeModel\InternalElements\CodeFunctionDeclareDecl.cs (4)
22CodeModelState state, 36CodeModelState state, 46CodeModelState state, 55CodeModelState state,
CodeModel\InternalElements\CodeFunctionWithEventHandler.cs (4)
17CodeModelState state, 31CodeModelState state, 41CodeModelState state, 50CodeModelState state,
CodeModel\InternalElements\CodeImplementsStatement.cs (4)
20CodeModelState state, 32CodeModelState state, 46CodeModelState state, 58CodeModelState state,
CodeModel\InternalElements\CodeImport.cs (4)
22CodeModelState state, 34CodeModelState state, 47CodeModelState state, 58CodeModelState state,
CodeModel\InternalElements\CodeInheritsStatement.cs (4)
20CodeModelState state, 32CodeModelState state, 46CodeModelState state, 58CodeModelState state,
CodeModel\InternalElements\CodeInterface.cs (4)
18CodeModelState state, 32CodeModelState state, 42CodeModelState state, 51CodeModelState state,
CodeModel\InternalElements\CodeNamespace.cs (4)
22CodeModelState state, 36CodeModelState state, 46CodeModelState state, 55CodeModelState state,
CodeModel\InternalElements\CodeOptionsStatement.cs (4)
20CodeModelState state, 32CodeModelState state, 45CodeModelState state, 56CodeModelState state,
CodeModel\InternalElements\CodeParameter.cs (2)
24CodeModelState state, 36CodeModelState state,
CodeModel\InternalElements\CodeProperty.cs (4)
21CodeModelState state, 35CodeModelState state, 45CodeModelState state, 54CodeModelState state,
CodeModel\InternalElements\CodeStruct.cs (4)
19CodeModelState state, 33CodeModelState state, 43CodeModelState state, 52CodeModelState state,
CodeModel\InternalElements\CodeVariable.cs (4)
19CodeModelState state, 33CodeModelState state, 43CodeModelState state, 52CodeModelState state,
CodeModel\RootCodeModel.cs (2)
23internal static EnvDTE.CodeModel Create(CodeModelState state, EnvDTE.Project parent, ProjectId projectId) 32private RootCodeModel(CodeModelState state, EnvDTE.Project parent, ProjectId projectId)
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
CodeModel\VisualBasicCodeModelService.vb (4)
563state As CodeModelState, 635Public Overrides Function CreateUnknownCodeElement(state As CodeModelState, fileCodeModel As FileCodeModel, node As SyntaxNode) As EnvDTE.CodeElement 684Public Overrides Function CreateUnknownRootNamespaceCodeElement(state As CodeModelState, fileCodeModel As FileCodeModel) As EnvDTE.CodeElement 709Public Overrides Function CreateCodeTypeRef(state As CodeModelState, projectId As ProjectId, type As Object) As EnvDTE.CodeTypeRef