92 writes to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (92)
CodeModel\CSharp\CodeClassTests.vb (5)
1593
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1614
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true", .Position = 1})
1636
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
1660
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
1684
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true", .Position = 1})
CodeModel\CSharp\CodeDelegateTests.vb (3)
326
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
347
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true", .Position = 1})
369
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeEnumTests.vb (3)
231
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Flags"})
260
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true", .Position = 1})
290
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Flags"})
CodeModel\CSharp\CodeEventTests.vb (3)
899
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
926
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true", .Position = 1})
954
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeFunctionTests.vb (3)
2607
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
2634
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true", .Position = 1})
2662
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeInterfaceTests.vb (3)
158
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
179
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true", .Position = 1})
201
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeParameterTests.vb (2)
38
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Out"})
62
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Goo"})
CodeModel\CSharp\CodePropertyTests.vb (3)
1594
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1629
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true", .Position = 1})
1665
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeStructTests.vb (3)
317
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
338
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true", .Position = 1})
360
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeVariableTests.vb (3)
337
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
364
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true", .Position = 1})
392
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
CodeModel\CSharp\FileCodeModelTests.vb (6)
143
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "true"})
163
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "true", .Position = "C"})
180
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "true", .Position = -1})
200
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "true", .Position = -1})
222
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "true", .Position = -1})
240
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "true"})
CodeModel\VisualBasic\CodeClassTests.vb (5)
1579
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1602
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "True", .Position = 1})
1626
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "True"})
1652
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "True"})
1678
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "True", .Position = 1})
CodeModel\VisualBasic\CodeDelegateTests.vb (3)
546
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
567
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true", .Position = 1})
589
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
CodeModel\VisualBasic\CodeEnumTests.vb (3)
188
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Flags"})
215
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "True", .Position = 1})
243
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Flags"})
CodeModel\VisualBasic\CodeEventTests.vb (4)
711
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
748
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
774
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
814
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "true"})
CodeModel\VisualBasic\CodeFunctionTests.vb (18)
1340
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1365
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1388
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1411
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1434
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1457
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1482
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1507
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1532
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1560
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1588
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1614
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1640
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1666
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1692
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1720
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1748
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1776
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
CodeModel\VisualBasic\CodeInterfaceTests.vb (3)
109
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
132
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "True", .Position = 1})
156
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "True"})
CodeModel\VisualBasic\CodeParameterTests.vb (3)
462
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Out"})
482
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Goo"})
504
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Out"})
CodeModel\VisualBasic\CodePropertyTests.vb (4)
984
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1007
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1043
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
1069
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
CodeModel\VisualBasic\CodeStructTests.vb (3)
75
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
98
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "True", .Position = 1})
122
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "True"})
CodeModel\VisualBasic\CodeVariableTests.vb (3)
866
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "Serializable"})
892
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "True", .Position = 1})
918
Await TestAddAttribute(code, expected, New AttributeData With {.
Name
= "CLSCompliant", .Value = "True"})
CodeModel\VisualBasic\FileCodeModelTests.vb (6)
259
Await TestAddAttributeWithSimplificationAsync(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "True"}, "System.CLSCompliant", "CLSCompliant")
276
Await TestAddAttributeWithSimplificationAsync(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "True", .Position = "C"}, "System.CLSCompliant", "CLSCompliant")
293
Await TestAddAttributeWithSimplificationAsync(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "True", .Position = -1}, "System.CLSCompliant", "CLSCompliant")
314
Await TestAddAttributeWithSimplificationAsync(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "True", .Position = -1}, "System.CLSCompliant", "CLSCompliant")
336
Await TestAddAttributeWithSimplificationAsync(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "True", .Position = -1}, "System.CLSCompliant", "CLSCompliant")
357
Await TestAddAttributeWithSimplificationAsync(code, expected, New AttributeData With {.
Name
= "System.CLSCompliant", .Value = "True"}, "System.CLSCompliant", "CLSCompliant")
14 references to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (14)
CodeModel\AbstractCodeClassTests.vb (1)
133
Return codeElement.AddAttribute(data.
Name
, data.Value, data.Position)
CodeModel\AbstractCodeDelegateTests.vb (1)
76
Return codeElement.AddAttribute(data.
Name
, data.Value, data.Position)
CodeModel\AbstractCodeElementTests`1.vb (1)
724
Assert.Equal(data.
Name
, attribute.Name)
CodeModel\AbstractCodeEnumTests.vb (1)
60
Return codeElement.AddAttribute(data.
Name
, data.Value, data.Position)
CodeModel\AbstractCodeEventTests.vb (1)
81
Return codeElement.AddAttribute(data.
Name
, data.Value, data.Position)
CodeModel\AbstractCodeFunctionTests.vb (1)
104
Return codeElement.AddAttribute(data.
Name
, data.Value, data.Position)
CodeModel\AbstractCodeInterfaceTests.vb (1)
62
Return codeElement.AddAttribute(data.
Name
, data.Value, data.Position)
CodeModel\AbstractCodeParameterTests.vb (1)
67
Return codeElement.AddAttribute(data.
Name
, data.Value, data.Position)
CodeModel\AbstractCodePropertyTests.vb (1)
88
Return codeElement.AddAttribute(data.
Name
, data.Value, data.Position)
CodeModel\AbstractCodeStructTests.vb (1)
70
Return codeElement.AddAttribute(data.
Name
, data.Value, data.Position)
CodeModel\AbstractCodeVariableTests.vb (1)
85
Return codeElement.AddAttribute(data.
Name
, data.Value, data.Position)
CodeModel\AbstractFileCodeModelTests.vb (2)
74
Dim newAttribute = fileCodeModel.AddAttribute(data.
Name
, data.Value, data.Position)
76
Assert.Equal(data.
Name
, newAttribute.Name)
CodeModel\VisualBasic\FileCodeModelTests.vb (1)
208
Dim newAttribute = fileCodeModel.AddAttribute(data.
Name
, data.Value, data.Position)