Base:
method
TestAddAttribute
Microsoft.VisualStudio.LanguageServices.UnitTests.CodeModel.AbstractCodeModelObjectTests(Of TCodeModelObject).TestAddAttribute(System.Xml.Linq.XElement, System.Xml.Linq.XElement, Microsoft.VisualStudio.LanguageServices.UnitTests.CodeModel.AbstractCodeModelObjectTests(Of TCodeModelObject).AttributeData)
80 references to TestAddAttribute
Microsoft.VisualStudio.LanguageServices.UnitTests (80)
CodeModel\CSharp\CodeClassTests.vb (5)
1593Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1614Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .Position = 1}) 1636Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"}) 1660Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"}) 1684Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .Position = 1})
CodeModel\CSharp\CodeDelegateTests.vb (3)
326Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 347Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .Position = 1}) 369Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeEnumTests.vb (3)
231Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Flags"}) 260Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .Position = 1}) 290Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Flags"})
CodeModel\CSharp\CodeEventTests.vb (3)
899Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 926Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .Position = 1}) 954Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeFunctionTests.vb (3)
2607Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 2634Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .Position = 1}) 2662Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeInterfaceTests.vb (3)
158Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 179Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .Position = 1}) 201Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeParameterTests.vb (2)
38Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Out"}) 62Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Goo"})
CodeModel\CSharp\CodePropertyTests.vb (3)
1594Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1629Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .Position = 1}) 1665Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeStructTests.vb (3)
317Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 338Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .Position = 1}) 360Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"})
CodeModel\CSharp\CodeVariableTests.vb (3)
337Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 364Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .Position = 1}) 392Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"})
CodeModel\VisualBasic\CodeClassTests.vb (5)
1579Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1602Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .Position = 1}) 1626Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True"}) 1652Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True"}) 1678Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .Position = 1})
CodeModel\VisualBasic\CodeDelegateTests.vb (3)
546Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 567Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .Position = 1}) 589Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"})
CodeModel\VisualBasic\CodeEnumTests.vb (3)
188Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Flags"}) 215Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .Position = 1}) 243Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Flags"})
CodeModel\VisualBasic\CodeEventTests.vb (4)
711Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 748Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 774Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"}) 814Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true"})
CodeModel\VisualBasic\CodeFunctionTests.vb (18)
1340Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1365Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1388Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1411Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1434Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1457Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1482Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1507Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1532Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1560Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1588Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1614Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1640Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1666Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1692Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1720Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1748Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1776Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"})
CodeModel\VisualBasic\CodeInterfaceTests.vb (3)
109Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 132Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .Position = 1}) 156Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True"})
CodeModel\VisualBasic\CodeParameterTests.vb (3)
462Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Out"}) 482Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Goo"}) 504Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Out"})
CodeModel\VisualBasic\CodePropertyTests.vb (4)
984Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1007Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1043Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 1069Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"})
CodeModel\VisualBasic\CodeStructTests.vb (3)
75Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 98Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .Position = 1}) 122Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True"})
CodeModel\VisualBasic\CodeVariableTests.vb (3)
866Await TestAddAttribute(code, expected, New AttributeData With {.Name = "Serializable"}) 892Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .Position = 1}) 918Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True"})