43 writes to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (43)
CodeModel\CSharp\CodeClassTests.vb (19)
2298
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
2318
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
2341
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "Goo"})
2366
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2392
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2418
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2444
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
2467
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = 0})
2490
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = -1})
2514
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2538
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2562
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
2582
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPublic})
2603
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate})
2624
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProject})
2645
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProjectOrProtected})
2666
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProtected})
2693
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "j", .Type = EnvDTE.vsCMTypeRef.vsCMTypeRefInt, .Position = "i"})
2716
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "j", .Type = EnvDTE.vsCMTypeRef.vsCMTypeRefInt, .Position = "i"})
CodeModel\VisualBasic\CodeClassTests.vb (24)
1056
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1073
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1089
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1108
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1129
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1151
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1174
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "Goo"})
1195
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "Goo"})
1220
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1246
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1272
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1298
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1324
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
1347
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = 0})
1370
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = -1})
1392
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1414
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1436
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
1454
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPublic})
1473
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate})
1493
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProject})
1513
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProjectOrProtected})
1533
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProtected})
1554
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)