1 write to ProjectId
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\ExternalElements\AbstractExternalCodeElement.cs (1)
30this.ProjectId = projectId;
22 references to ProjectId
Microsoft.VisualStudio.LanguageServices.Implementation (22)
CodeModel\ExternalElements\AbstractExternalCodeElement.cs (4)
36var project = this.State.Workspace.CurrentSolution.GetProject(this.ProjectId); 48var symbol = CodeModelService.ResolveSymbol(this.State.Workspace, this.ProjectId, this.SymbolKey); 139return CodeModelService.CreateCodeType(this.State, this.ProjectId, symbol.ContainingType); 143return CodeModelService.CreateExternalCodeElement(this.State, this.ProjectId, symbol.ContainingNamespace);
CodeModel\ExternalElements\AbstractExternalCodeMember.cs (1)
33=> ExternalParameterCollection.Create(this.State, this, this.ProjectId);
CodeModel\ExternalElements\AbstractExternalCodeType.cs (3)
69return ExternalTypeCollection.Create(this.State, this, this.ProjectId, 101get { return ExternalMemberCollection.Create(this.State, this, this.ProjectId, this.TypeSymbol); } 106get { return ExternalCodeNamespace.Create(this.State, this.ProjectId, this.TypeSymbol.ContainingNamespace); }
CodeModel\ExternalElements\ExternalCodeClass.cs (1)
64get { return ExternalTypeCollection.Create(this.State, this, this.ProjectId, TypeSymbol.AllInterfaces); }
CodeModel\ExternalElements\ExternalCodeEvent.cs (4)
53return ExternalCodeAccessorFunction.Create(this.State, this.ProjectId, symbol.AddMethod, this); 92return ExternalCodeAccessorFunction.Create(this.State, this.ProjectId, symbol.RemoveMethod, this); 112return ExternalCodeAccessorFunction.Create(this.State, this.ProjectId, symbol.RaiseMethod, this); 125return CodeTypeRef.Create(this.State, this, this.ProjectId, EventSymbol.Type);
CodeModel\ExternalElements\ExternalCodeFunction.cs (2)
90return ExternalOverloadsCollection.Create(this.State, this, this.ProjectId); 99return CodeTypeRef.Create(this.State, this, this.ProjectId, MethodSymbol.ReturnType);
CodeModel\ExternalElements\ExternalCodeNamespace.cs (1)
45get { return ExternalNamespaceCollection.Create(State, this, ProjectId, NamespaceSymbol); }
CodeModel\ExternalElements\ExternalCodeParameter.cs (1)
60return CodeTypeRef.Create(this.State, this, this.ProjectId, ParameterSymbol.Type);
CodeModel\ExternalElements\ExternalCodeProperty.cs (3)
52return ExternalCodeAccessorFunction.Create(this.State, this.ProjectId, symbol.GetMethod, this); 76return ExternalCodeAccessorFunction.Create(this.State, this.ProjectId, symbol.SetMethod, this); 89return CodeTypeRef.Create(this.State, this, this.ProjectId, PropertySymbol.Type);
CodeModel\ExternalElements\ExternalCodeStruct.cs (1)
51get { return ExternalTypeCollection.Create(this.State, this, this.ProjectId, TypeSymbol.AllInterfaces); }
CodeModel\ExternalElements\ExternalCodeVariable.cs (1)
94return CodeTypeRef.Create(this.State, this, this.ProjectId, type);