19 writes to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (19)
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 (6)
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"})
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})
5 references to Name
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)
753
Assert.Equal(data.
Name
, func.Name)
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)