9 references to GetCodeElement
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (9)
CodeModel\FileCodeClassTests.cs (1)
46
return (CodeClass)
GetCodeElement
(path);
CodeModel\FileCodeClassWithMissingBraceTests.cs (1)
51
return (CodeClass)
GetCodeElement
(path);
CodeModel\FileCodeFunctionTests.cs (3)
114
return (CodeFunction)
GetCodeElement
(path);
471
var testObject = (CodeVariable)
GetCodeElement
("C", "DynamicField");
531
var classObject = (CodeClass)
GetCodeElement
("Ref");
CodeModel\FileCodeImportTests.cs (1)
28
return (CodeImport)
GetCodeElement
(path);
CodeModel\FileCodeNamespaceTests.cs (1)
52
return (CodeNamespace)
GetCodeElement
(path);
CodeModel\FileCodeVariableManipulationTests.cs (1)
28
var c = (CodeClass)
GetCodeElement
("Goo");
CodeModel\FileCodeVariableTests.cs (1)
48
return (CodeVariable)
GetCodeElement
(path);