8 writes to Kind
Microsoft.VisualStudio.LanguageServices.UnitTests (8)
CodeModel\CSharp\CodeClassTests.vb (3)
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})
2025
Await TestAddFunction(code, expected, New FunctionData With {.Name = "C", .
Kind
= EnvDTE.vsCMFunction.vsCMFunctionDestructor, .Type = "void", .Access = EnvDTE.vsCMAccess.vsCMAccessPublic})
CodeModel\VisualBasic\CodeClassTests.vb (5)
754
Await TestAddFunction(code, expected, New FunctionData With {.Name = "Goo", .
Kind
= EnvDTE.vsCMFunction.vsCMFunctionSub})
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})
5 references to Kind
Microsoft.VisualStudio.LanguageServices.UnitTests (5)
CodeModel\AbstractCodeClassTests.vb (1)
141
Return codeElement.AddFunction(data.Name, data.
Kind
, data.Type, data.Position, data.Access, data.Location)
CodeModel\AbstractCodeElementTests`1.vb (1)
752
If data.
Kind
<> EnvDTE.vsCMFunction.vsCMFunctionDestructor Then
CodeModel\AbstractCodeInterfaceTests.vb (1)
58
Return codeElement.AddFunction(data.Name, data.
Kind
, data.Type, data.Position, data.Access)
CodeModel\AbstractCodeStructTests.vb (1)
66
Return codeElement.AddFunction(data.Name, data.
Kind
, data.Type, data.Position, data.Access, data.Location)
CodeModel\AbstractFileCodeModelTests.vb (1)
112
fileCodeModel.AddFunction(data.Name, data.
Kind
, data.Type, data.Position, data.Access)