30 references to GetOrCreateCodeElement
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
510
/// Do not use this method directly! Instead, go through <see cref="FileCodeModel.
GetOrCreateCodeElement
{T}(SyntaxNode)"/>
Microsoft.VisualStudio.LanguageServices.Implementation (29)
CodeModel\AbstractCodeModelService.cs (8)
249
/// Do not use this method directly! Instead, go through <see cref="FileCodeModel.
GetOrCreateCodeElement
{T}(SyntaxNode)"/>
343
var parent = fileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(parentNode);
358
var parentElement = fileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(parentNode);
378
var parentElement = fileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(parentNode);
395
var parent = fileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(parentNode);
415
var parent = fileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(parentNode);
442
var parent = fileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(parentNode);
461
var parent = fileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(parentNode);
CodeModel\Collections\InheritsImplementsCollection.cs (4)
79
element = FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(child);
91
element = FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(child);
109
element = FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(child);
120
element = FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(child);
CodeModel\Collections\NamespaceCollection.cs (2)
157
element = FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(child);
211
element = FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(child);
CodeModel\Collections\NodeSnapshot.cs (1)
112
return this.FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(node);
CodeModel\Collections\TypeCollection.cs (2)
72
element = FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(child);
89
element = FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(child);
CodeModel\FileCodeModel.cs (1)
628
return
GetOrCreateCodeElement
<EnvDTE.CodeElement>(node);
CodeModel\FileCodeModel_Events.cs (4)
165
element = this.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(codeModelEvent.Node);
184
return this.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(codeModelEvent.ParentNode);
191
return this.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(codeModelEvent.ParentNode);
203
return this.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(codeModelEvent.ParentNode);
CodeModel\ICodeModelService.cs (1)
81
/// Do not use this method directly! Instead, go through <see cref="FileCodeModel.
GetOrCreateCodeElement
{T}(SyntaxNode)"/>
CodeModel\InternalElements\AbstractCodeMember.cs (1)
52
return FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(containingTypeNode);
CodeModel\InternalElements\AbstractCodeType.cs (2)
67
? FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(containingNamespaceOrType)
132
? FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeNamespace>(namespaceNode)
CodeModel\InternalElements\CodeNamespace.cs (1)
72
? FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeNamespace>(namespaceNode)
CodeModel\InternalElements\CodeProperty.cs (1)
106
return FileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(containingTypeNode);
RoslynVisualStudioWorkspace.cs (1)
182
var codeElement = fileCodeModel.
GetOrCreateCodeElement
<EnvDTE.CodeElement>(syntaxNode);