92 writes to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (92)
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\CSharp\FileCodeModelTests.vb (6)
143Await TestAddAttribute(code, expected, New AttributeData With {.Name = "System.CLSCompliant", .Value = "true"}) 163Await TestAddAttribute(code, expected, New AttributeData With {.Name = "System.CLSCompliant", .Value = "true", .Position = "C"}) 180Await TestAddAttribute(code, expected, New AttributeData With {.Name = "System.CLSCompliant", .Value = "true", .Position = -1}) 200Await TestAddAttribute(code, expected, New AttributeData With {.Name = "System.CLSCompliant", .Value = "true", .Position = -1}) 222Await TestAddAttribute(code, expected, New AttributeData With {.Name = "System.CLSCompliant", .Value = "true", .Position = -1}) 240Await TestAddAttribute(code, expected, New AttributeData With {.Name = "System.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"})
CodeModel\VisualBasic\FileCodeModelTests.vb (6)
259Await TestAddAttributeWithSimplificationAsync(code, expected, New AttributeData With {.Name = "System.CLSCompliant", .Value = "True"}, "System.CLSCompliant", "CLSCompliant") 276Await TestAddAttributeWithSimplificationAsync(code, expected, New AttributeData With {.Name = "System.CLSCompliant", .Value = "True", .Position = "C"}, "System.CLSCompliant", "CLSCompliant") 293Await TestAddAttributeWithSimplificationAsync(code, expected, New AttributeData With {.Name = "System.CLSCompliant", .Value = "True", .Position = -1}, "System.CLSCompliant", "CLSCompliant") 314Await TestAddAttributeWithSimplificationAsync(code, expected, New AttributeData With {.Name = "System.CLSCompliant", .Value = "True", .Position = -1}, "System.CLSCompliant", "CLSCompliant") 336Await TestAddAttributeWithSimplificationAsync(code, expected, New AttributeData With {.Name = "System.CLSCompliant", .Value = "True", .Position = -1}, "System.CLSCompliant", "CLSCompliant") 357Await 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)
133Return codeElement.AddAttribute(data.Name, data.Value, data.Position)
CodeModel\AbstractCodeDelegateTests.vb (1)
76Return codeElement.AddAttribute(data.Name, data.Value, data.Position)
CodeModel\AbstractCodeElementTests`1.vb (1)
724Assert.Equal(data.Name, attribute.Name)
CodeModel\AbstractCodeEnumTests.vb (1)
60Return codeElement.AddAttribute(data.Name, data.Value, data.Position)
CodeModel\AbstractCodeEventTests.vb (1)
81Return codeElement.AddAttribute(data.Name, data.Value, data.Position)
CodeModel\AbstractCodeFunctionTests.vb (1)
104Return codeElement.AddAttribute(data.Name, data.Value, data.Position)
CodeModel\AbstractCodeInterfaceTests.vb (1)
62Return codeElement.AddAttribute(data.Name, data.Value, data.Position)
CodeModel\AbstractCodeParameterTests.vb (1)
67Return codeElement.AddAttribute(data.Name, data.Value, data.Position)
CodeModel\AbstractCodePropertyTests.vb (1)
88Return codeElement.AddAttribute(data.Name, data.Value, data.Position)
CodeModel\AbstractCodeStructTests.vb (1)
70Return codeElement.AddAttribute(data.Name, data.Value, data.Position)
CodeModel\AbstractCodeVariableTests.vb (1)
85Return codeElement.AddAttribute(data.Name, data.Value, data.Position)
CodeModel\AbstractFileCodeModelTests.vb (2)
74Dim newAttribute = fileCodeModel.AddAttribute(data.Name, data.Value, data.Position) 76Assert.Equal(data.Name, newAttribute.Name)
CodeModel\VisualBasic\FileCodeModelTests.vb (1)
208Dim newAttribute = fileCodeModel.AddAttribute(data.Name, data.Value, data.Position)