22 instantiations of ExpectedInitializer
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (22)
Semantics\FieldInitializerBindingTests.vb (22)
49New ExpectedInitializer() {New ExpectedInitializer("i1", "1", lineNumber:=2)}
67New ExpectedInitializer() {New ExpectedInitializer("s1", """1""", lineNumber:=1)}
92New ExpectedInitializer() {New ExpectedInitializer("i1", "1 + Goo()", lineNumber:=2),
93New ExpectedInitializer("i2", "As New C()", lineNumber:=3)}
115New ExpectedInitializer() {New ExpectedInitializer("s1", "1 + Goo()", lineNumber:=1)}
138New ExpectedInitializer() {New ExpectedInitializer("s1", "1", lineNumber:=1),
139New ExpectedInitializer("s2", "2", lineNumber:=2),
140New ExpectedInitializer("s3", "3", lineNumber:=3)}
143New ExpectedInitializer() {New ExpectedInitializer("i1", "1", lineNumber:=4),
144New ExpectedInitializer("i2", "2", lineNumber:=5),
145New ExpectedInitializer("i3", "3", lineNumber:=6)}
167New ExpectedInitializer() {New ExpectedInitializer("s1", "1", lineNumber:=1),
168New ExpectedInitializer("s2", "2", lineNumber:=5)}
171New ExpectedInitializer() {New ExpectedInitializer("i1", "1", lineNumber:=2),
172New ExpectedInitializer("i2", "2", lineNumber:=6)}
198New ExpectedInitializer() {New ExpectedInitializer("s1", "1", lineNumber:=1),
199New ExpectedInitializer("s2", "2", lineNumber:=5)}
202New ExpectedInitializer() {New ExpectedInitializer("i1", "1", lineNumber:=2),
203New ExpectedInitializer("i2", "2", lineNumber:=6)}
532New ExpectedInitializer() {New ExpectedInitializer("field01", "New Double()", lineNumber:=2)}
538New ExpectedInitializer("field04", "F(Nothing)", lineNumber:=4),
539New ExpectedInitializer("field05", "New Func(Of String, ULong)(Function(s) s.Length)", lineNumber:=4)}
32 references to ExpectedInitializer
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (32)
Semantics\FieldInitializerBindingTests.vb (32)
30Dim expectedStaticInitializers As IEnumerable(Of ExpectedInitializer) = Nothing
31Dim expectedInstanceInitializers As IEnumerable(Of ExpectedInitializer) = Nothing
47Dim expectedStaticInitializers As IEnumerable(Of ExpectedInitializer) = Nothing
48Dim expectedInstanceInitializers As IEnumerable(Of ExpectedInitializer) =
49New ExpectedInitializer() {New ExpectedInitializer("i1", "1", lineNumber:=2)}
66Dim expectedStaticInitializers As IEnumerable(Of ExpectedInitializer) =
67New ExpectedInitializer() {New ExpectedInitializer("s1", """1""", lineNumber:=1)}
68Dim expectedInstanceInitializers As IEnumerable(Of ExpectedInitializer) = Nothing
90Dim expectedStaticInitializers As IEnumerable(Of ExpectedInitializer) = Nothing
91Dim expectedInstanceInitializers As IEnumerable(Of ExpectedInitializer) =
92New ExpectedInitializer() {New ExpectedInitializer("i1", "1 + Goo()", lineNumber:=2),
114Dim expectedStaticInitializers As IEnumerable(Of ExpectedInitializer) =
115New ExpectedInitializer() {New ExpectedInitializer("s1", "1 + Goo()", lineNumber:=1)}
116Dim expectedInstanceInitializers As IEnumerable(Of ExpectedInitializer) = Nothing
137Dim expectedStaticInitializers As IEnumerable(Of ExpectedInitializer) =
138New ExpectedInitializer() {New ExpectedInitializer("s1", "1", lineNumber:=1),
142Dim expectedInstanceInitializers As IEnumerable(Of ExpectedInitializer) =
143New ExpectedInitializer() {New ExpectedInitializer("i1", "1", lineNumber:=4),
166Dim expectedStaticInitializers As IEnumerable(Of ExpectedInitializer) =
167New ExpectedInitializer() {New ExpectedInitializer("s1", "1", lineNumber:=1),
170Dim expectedInstanceInitializers As IEnumerable(Of ExpectedInitializer) =
171New ExpectedInitializer() {New ExpectedInitializer("i1", "1", lineNumber:=2),
197Dim expectedStaticInitializers As IEnumerable(Of ExpectedInitializer) =
198New ExpectedInitializer() {New ExpectedInitializer("s1", "1", lineNumber:=1),
201Dim expectedInstanceInitializers As IEnumerable(Of ExpectedInitializer) =
202New ExpectedInitializer() {New ExpectedInitializer("i1", "1", lineNumber:=2),
531Dim expectedInitializers As IEnumerable(Of ExpectedInitializer) =
532New ExpectedInitializer() {New ExpectedInitializer("field01", "New Double()", lineNumber:=2)}
537expectedInitializers = New ExpectedInitializer() {
1518Private Shared Sub CompileAndCheckInitializers(sources As Xml.Linq.XElement, expectedInstanceInitializers As IEnumerable(Of ExpectedInitializer), expectedStaticInitializers As IEnumerable(Of ExpectedInitializer))
1530Private Shared Sub CheckBoundInitializers(expectedInitializers As IEnumerable(Of ExpectedInitializer), syntaxTree As SyntaxTree, boundInitializers As ImmutableArray(Of BoundInitializer), isStatic As Boolean)