20 instantiations of FunctionData
Microsoft.VisualStudio.LanguageServices.UnitTests (20)
CodeModel\CSharp\CodeClassTests.vb (11)
1812
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "Goo", .Type = "void"})
1835
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "Goo", .Type = "void"})
1858
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "Goo", .Type = "System.Void"})
1884
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "Goo", .Type = "void"})
1910
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "Goo", .Type = "void", .Position = 1})
1936
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "Goo", .Type = "void", .Position = "i"})
1958
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "C", .Kind = EnvDTE.vsCMFunction.vsCMFunctionConstructor})
1980
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "C", .Kind = EnvDTE.vsCMFunction.vsCMFunctionConstructor, .Access = EnvDTE.vsCMAccess.vsCMAccessPublic})
2003
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "@as", .Type = "void", .Access = EnvDTE.vsCMAccess.vsCMAccessPublic})
2025
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "C", .Kind = EnvDTE.vsCMFunction.vsCMFunctionDestructor, .Type = "void", .Access = EnvDTE.vsCMAccess.vsCMAccessPublic})
2052
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "M2", .Type = "void", .Position = -1, .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate})
CodeModel\CSharp\CodeInterfaceTests.vb (1)
360
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "Goo", .Type = "void"})
CodeModel\CSharp\CodeStructTests.vb (1)
385
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "Goo", .Type = "void"})
CodeModel\VisualBasic\CodeClassTests.vb (7)
754
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "Goo", .Kind = EnvDTE.vsCMFunction.vsCMFunctionSub})
774
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "Goo", .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate, .Type = "Integer"})
797
Await TestAddFunction(code, expected, New
FunctionData
With {.Kind = EnvDTE.vsCMFunction.vsCMFunctionConstructor})
818
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "New", .Kind = EnvDTE.vsCMFunction.vsCMFunctionSub})
838
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "New", .Kind = EnvDTE.vsCMFunction.vsCMFunctionSub})
857
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "C", .Kind = EnvDTE.vsCMFunction.vsCMFunctionDestructor})
887
Await TestAddFunction(code, expected, New
FunctionData
With {.Name = "M2", .Type = "void", .Position = -1, .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate})
7 references to FunctionData
Microsoft.VisualStudio.LanguageServices.UnitTests (7)
CodeModel\AbstractCodeClassTests.vb (1)
140
Protected Overrides Function AddFunction(codeElement As EnvDTE80.CodeClass2, data As
FunctionData
) As EnvDTE.CodeFunction
CodeModel\AbstractCodeElementTests`1.vb (2)
340
Protected Overridable Function AddFunction(codeElement As TCodeElement, data As
FunctionData
) As EnvDTE.CodeFunction
746
Protected Overrides Async Function TestAddFunction(code As XElement, expectedCode As XElement, data As
FunctionData
) As Task
CodeModel\AbstractCodeInterfaceTests.vb (1)
57
Protected Overrides Function AddFunction(codeElement As EnvDTE80.CodeInterface2, data As
FunctionData
) As EnvDTE.CodeFunction
CodeModel\AbstractCodeModelObjectTests.vb (1)
51
Protected Overridable Function TestAddFunction(code As XElement, expectedCode As XElement, data As
FunctionData
) As Task
CodeModel\AbstractCodeStructTests.vb (1)
65
Protected Overrides Function AddFunction(codeElement As EnvDTE80.CodeStruct2, data As
FunctionData
) As EnvDTE.CodeFunction
CodeModel\AbstractFileCodeModelTests.vb (1)
107
Protected Overrides Async Function TestAddFunction(code As XElement, expectedCode As XElement, data As
FunctionData
) As Task