92 instantiations of AttributeData
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")
15 references to AttributeData
Microsoft.VisualStudio.LanguageServices.UnitTests (15)
CodeModel\AbstractCodeClassTests.vb (1)
132
Protected Overrides Function AddAttribute(codeElement As EnvDTE80.CodeClass2, data As
AttributeData
) As EnvDTE.CodeAttribute
CodeModel\AbstractCodeDelegateTests.vb (1)
75
Protected Overrides Function AddAttribute(codeElement As EnvDTE80.CodeDelegate2, data As
AttributeData
) As EnvDTE.CodeAttribute
CodeModel\AbstractCodeElementTests`1.vb (2)
328
Protected Overridable Function AddAttribute(codeElement As TCodeElement, data As
AttributeData
) As EnvDTE.CodeAttribute
719
Protected Overrides Async Function TestAddAttribute(code As XElement, expectedCode As XElement, data As
AttributeData
) As Task
CodeModel\AbstractCodeEnumTests.vb (1)
59
Protected Overrides Function AddAttribute(codeElement As EnvDTE.CodeEnum, data As
AttributeData
) As EnvDTE.CodeAttribute
CodeModel\AbstractCodeEventTests.vb (1)
80
Protected Overrides Function AddAttribute(codeElement As EnvDTE80.CodeEvent, data As
AttributeData
) As EnvDTE.CodeAttribute
CodeModel\AbstractCodeFunctionTests.vb (1)
103
Protected Overrides Function AddAttribute(codeElement As EnvDTE80.CodeFunction2, data As
AttributeData
) As EnvDTE.CodeAttribute
CodeModel\AbstractCodeInterfaceTests.vb (1)
61
Protected Overrides Function AddAttribute(codeElement As EnvDTE80.CodeInterface2, data As
AttributeData
) As EnvDTE.CodeAttribute
CodeModel\AbstractCodeModelObjectTests.vb (1)
27
Protected Overridable Function TestAddAttribute(code As XElement, expectedCode As XElement, data As
AttributeData
) As Task
CodeModel\AbstractCodeParameterTests.vb (1)
66
Protected Overrides Function AddAttribute(codeElement As EnvDTE80.CodeParameter2, data As
AttributeData
) As EnvDTE.CodeAttribute
CodeModel\AbstractCodePropertyTests.vb (1)
87
Protected Overrides Function AddAttribute(codeElement As EnvDTE80.CodeProperty2, data As
AttributeData
) As EnvDTE.CodeAttribute
CodeModel\AbstractCodeStructTests.vb (1)
69
Protected Overrides Function AddAttribute(codeElement As EnvDTE80.CodeStruct2, data As
AttributeData
) As EnvDTE.CodeAttribute
CodeModel\AbstractCodeVariableTests.vb (1)
84
Protected Overrides Function AddAttribute(codeElement As EnvDTE80.CodeVariable2, data As
AttributeData
) As EnvDTE.CodeAttribute
CodeModel\AbstractFileCodeModelTests.vb (1)
71
Protected Overrides Async Function TestAddAttribute(code As XElement, expectedCode As XElement, data As
AttributeData
) As Task
CodeModel\VisualBasic\FileCodeModelTests.vb (1)
205
code As XElement, expectedCode As XElement, data As
AttributeData
, expectedUnsimplifiedName As String, expectedSimplifiedName As String) As Task