43 writes to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (43)
CodeModel\CSharp\CodeClassTests.vb (19)
2295
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
2315
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
2338
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "Goo"})
2363
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2389
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2415
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2441
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
2464
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = 0})
2487
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = -1})
2511
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2535
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
2559
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
2579
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPublic})
2600
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate})
2621
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProject})
2642
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProjectOrProtected})
2663
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProtected})
2690
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "j", .Type = EnvDTE.vsCMTypeRef.vsCMTypeRefInt, .Position = "i"})
2713
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "j", .Type = EnvDTE.vsCMTypeRef.vsCMTypeRefInt, .Position = "i"})
CodeModel\VisualBasic\CodeClassTests.vb (24)
1055
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1072
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1088
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1107
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1128
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1150
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32"})
1173
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "Goo"})
1194
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "Goo"})
1219
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1245
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1271
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1297
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1323
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
1346
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = 0})
1369
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = -1})
1391
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1413
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "x"})
1435
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Position = "y"})
1453
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPublic})
1472
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate})
1492
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProject})
1512
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProjectOrProtected})
1532
Await TestAddVariable(code, expected, New VariableData With {.
Name
= "i", .Type = "System.Int32", .Access = EnvDTE.vsCMAccess.vsCMAccessProtected})
1553
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)
148
Return codeElement.AddVariable(data.
Name
, data.Type, data.Position, data.Access, data.Location)
CodeModel\AbstractCodeElementTests`1.vb (1)
790
Assert.Equal(data.
Name
, variable.Name)
CodeModel\AbstractFileCodeModelTests.vb (1)
161
fileCodeModel.AddVariable(data.
Name
, data.Type, data.Position, data.Access)