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)"/> 343var parent = fileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(parentNode); 358var parentElement = fileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(parentNode); 378var parentElement = fileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(parentNode); 395var parent = fileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(parentNode); 415var parent = fileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(parentNode); 442var parent = fileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(parentNode); 461var parent = fileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(parentNode);
CodeModel\Collections\InheritsImplementsCollection.cs (4)
79element = FileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(child); 91element = FileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(child); 109element = FileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(child); 120element = FileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(child);
CodeModel\Collections\NamespaceCollection.cs (2)
157element = FileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(child); 211element = FileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(child);
CodeModel\Collections\NodeSnapshot.cs (1)
112return this.FileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(node);
CodeModel\Collections\TypeCollection.cs (2)
72element = FileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(child); 89element = FileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(child);
CodeModel\FileCodeModel.cs (1)
628return GetOrCreateCodeElement<EnvDTE.CodeElement>(node);
CodeModel\FileCodeModel_Events.cs (4)
165element = this.GetOrCreateCodeElement<EnvDTE.CodeElement>(codeModelEvent.Node); 184return this.GetOrCreateCodeElement<EnvDTE.CodeElement>(codeModelEvent.ParentNode); 191return this.GetOrCreateCodeElement<EnvDTE.CodeElement>(codeModelEvent.ParentNode); 203return 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)
52return 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)
106return FileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(containingTypeNode);
RoslynVisualStudioWorkspace.cs (1)
182var codeElement = fileCodeModel.GetOrCreateCodeElement<EnvDTE.CodeElement>(syntaxNode);