25 writes to Position
Microsoft.VisualStudio.LanguageServices.UnitTests (25)
CodeModel\CSharp\CodeClassTests.vb (2)
1614
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .
Position
= 1})
1684
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .
Position
= 1})
CodeModel\CSharp\CodeDelegateTests.vb (1)
347
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .
Position
= 1})
CodeModel\CSharp\CodeEnumTests.vb (1)
260
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .
Position
= 1})
CodeModel\CSharp\CodeEventTests.vb (1)
926
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .
Position
= 1})
CodeModel\CSharp\CodeFunctionTests.vb (1)
2634
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .
Position
= 1})
CodeModel\CSharp\CodeInterfaceTests.vb (1)
179
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .
Position
= 1})
CodeModel\CSharp\CodePropertyTests.vb (1)
1629
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .
Position
= 1})
CodeModel\CSharp\CodeStructTests.vb (1)
338
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .
Position
= 1})
CodeModel\CSharp\CodeVariableTests.vb (1)
364
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .
Position
= 1})
CodeModel\CSharp\FileCodeModelTests.vb (4)
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})
CodeModel\VisualBasic\CodeClassTests.vb (2)
1602
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .
Position
= 1})
1678
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .
Position
= 1})
CodeModel\VisualBasic\CodeDelegateTests.vb (1)
567
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "true", .
Position
= 1})
CodeModel\VisualBasic\CodeEnumTests.vb (1)
215
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .
Position
= 1})
CodeModel\VisualBasic\CodeInterfaceTests.vb (1)
132
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .
Position
= 1})
CodeModel\VisualBasic\CodeStructTests.vb (1)
98
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .
Position
= 1})
CodeModel\VisualBasic\CodeVariableTests.vb (1)
892
Await TestAddAttribute(code, expected, New AttributeData With {.Name = "CLSCompliant", .Value = "True", .
Position
= 1})
CodeModel\VisualBasic\FileCodeModelTests.vb (4)
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")
12 references to Position
Microsoft.VisualStudio.LanguageServices.UnitTests (12)
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\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 (1)
74
Dim newAttribute = fileCodeModel.AddAttribute(data.Name, data.Value, data.
Position
)
CodeModel\VisualBasic\FileCodeModelTests.vb (1)
208
Dim newAttribute = fileCodeModel.AddAttribute(data.Name, data.Value, data.
Position
)