43 writes to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (43)
CodeModel\CSharp\CodeClassTests.vb (19)
2299
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
2319
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
2342
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "Goo"})
2367
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2393
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2419
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2445
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
2468
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = 0})
2491
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = -1})
2515
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2539
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2563
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
2583
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPublic})
2604
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate})
2625
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProject})
2646
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProjectOrProtected})
2667
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProtected})
2694
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "j", .Type = EnvDTE.vsCMTypeRef.vsCMTypeRefInt, .Position = "i"})
2717
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "j", .Type = EnvDTE.vsCMTypeRef.vsCMTypeRefInt, .Position = "i"})
CodeModel\VisualBasic\CodeClassTests.vb (24)
1057
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1074
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1090
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1109
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1130
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1152
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1175
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "Goo"})
1196
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "Goo"})
1221
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1247
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1273
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1299
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1325
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
1348
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = 0})
1371
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = -1})
1393
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1415
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1437
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
1455
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPublic})
1474
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate})
1494
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProject})
1514
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProjectOrProtected})
1534
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProtected})
1555
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "j", .Type = EnvDTE.vsCMTypeRef.vsCMTypeRefInt, .Position = "i"})
3 references to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (3)
CodeModel\AbstractCodeClassTests.vb (1)
149
Return codeElement.AddVariable(data.
Name
, data.Type, data.Position, data.Access, data.Location)
CodeModel\AbstractCodeElementTests`1.vb (1)
792
Assert.Equal(data.
Name
, variable.Name)
CodeModel\AbstractFileCodeModelTests.vb (1)
162
fileCodeModel.AddVariable(data.
Name
, data.Type, data.Position, data.Access)