20 writes to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (20)
CodeModel\CSharp\FileCodeModelTests.vb (10)
267
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B"})
286
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B"})
309
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B", .Position = "C"})
328
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B", .Position = "C"})
351
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B", .Position = "C", .Bases = {"C"}})
374
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B", .Position = "C", .Bases = "C"})
397
Await TestAddClass(code, expected, New ClassData With {.
Name
= "C", .Position = "I", .Bases = {"I"}})
420
Await TestAddClass(code, expected, New ClassData With {.
Name
= "C", .Position = "I", .Bases = "I"})
441
Await TestAddClass(code, expected, New ClassData With {.
Name
= "C", .Position = "I", .Bases = "B", .ImplementedInterfaces = "I"})
464
Await TestAddClass(code, expected, New ClassData With {.
Name
= "C", .Position = "IBar", .Bases = "B", .ImplementedInterfaces = {"IGoo", "IBar"}})
CodeModel\VisualBasic\FileCodeModelTests.vb (10)
381
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B"})
399
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B"})
419
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B", .Position = "C"})
437
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B", .Position = "C"})
458
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B", .Position = "C", .Bases = {"C"}})
479
Await TestAddClass(code, expected, New ClassData With {.
Name
= "B", .Position = "C", .Bases = "C"})
500
Await TestAddClass(code, expected, New ClassData With {.
Name
= "C", .Position = "I", .Bases = {"I"}})
521
Await TestAddClass(code, expected, New ClassData With {.
Name
= "C", .Position = "I", .Bases = "I"})
543
Await TestAddClass(code, expected, New ClassData With {.
Name
= "C", .Position = "I", .Bases = "B", .ImplementedInterfaces = "I"})
567
Await TestAddClass(code, expected, New ClassData With {.
Name
= "C", .Position = "IBar", .Bases = "B", .ImplementedInterfaces = {"IGoo", "IBar"}})
2 references to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
CodeModel\AbstractFileCodeModelTests.vb (2)
83
Dim newClass = fileCodeModel.AddClass(data.
Name
, data.Position, data.Bases, data.ImplementedInterfaces, data.Access)
85
Assert.Equal(data.
Name
, newClass.Name)