17 references to Create
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.cs (2)
656
return CodeTypeRef.
Create
(state, null, projectId, compilation.GetSpecialType(specialType));
690
return CodeTypeRef.
Create
(state, parent, projectId, typeSymbol);
Microsoft.VisualStudio.LanguageServices.Implementation (15)
CodeModel\CodeTypeRef.cs (3)
84
return CodeTypeRef.
Create
(this.State, null, _projectId, arrayType);
94
return CodeTypeRef.
Create
(this.State, this, _projectId, ((IArrayTypeSymbol)typeSymbol).ElementType);
98
return CodeTypeRef.
Create
(this.State, this, _projectId, ((IPointerTypeSymbol)typeSymbol).PointedAtType);
CodeModel\ExternalElements\ExternalCodeEvent.cs (1)
125
return CodeTypeRef.
Create
(this.State, this, this.ProjectId, EventSymbol.Type);
CodeModel\ExternalElements\ExternalCodeFunction.cs (1)
99
return CodeTypeRef.
Create
(this.State, this, this.ProjectId, MethodSymbol.ReturnType);
CodeModel\ExternalElements\ExternalCodeParameter.cs (1)
60
return CodeTypeRef.
Create
(this.State, this, this.ProjectId, ParameterSymbol.Type);
CodeModel\ExternalElements\ExternalCodeProperty.cs (1)
89
return CodeTypeRef.
Create
(this.State, this, this.ProjectId, PropertySymbol.Type);
CodeModel\ExternalElements\ExternalCodeVariable.cs (1)
94
return CodeTypeRef.
Create
(this.State, this, this.ProjectId, type);
CodeModel\InternalElements\CodeDelegate.cs (1)
92
return CodeTypeRef.
Create
(this.State, this, GetProjectId(), LookupInvokeMethod().ReturnType);
CodeModel\InternalElements\CodeEvent.cs (1)
151
return CodeTypeRef.
Create
(this.State, this, GetProjectId(), EventSymbol.Type);
CodeModel\InternalElements\CodeFunction.cs (1)
152
return CodeTypeRef.
Create
(this.State, this, GetProjectId(), MethodSymbol.ReturnType);
CodeModel\InternalElements\CodeParameter.cs (2)
148
return CodeTypeRef.
Create
(this.State, this, GetProjectId(), ParameterSymbol.Type);
208
this.Type = CodeTypeRef.
Create
(this.State, this, GetProjectId(), newType);
CodeModel\InternalElements\CodeProperty.cs (1)
186
return CodeTypeRef.
Create
(this.State, this, GetProjectId(), PropertySymbol.Type);
CodeModel\InternalElements\CodeVariable.cs (1)
144
return CodeTypeRef.
Create
(this.State, this, GetProjectId(), type);