20 references to VerifyValue
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (13)
Attributes\AttributeTests.vb (10)
652attrs(0).VerifyValue(Of Object)(0, "O", TypedConstantKind.Primitive, Nothing) 770attrs(0).VerifyValue(0, "TypeField", TypedConstantKind.Type, GetType(FileStream)) 777attrs(1).VerifyValue(Of UShort)(0, "UShortField", TypedConstantKind.Primitive, 1234) 781attrs(4).VerifyValue(Of UShort)(0, "UShortField", TypedConstantKind.Primitive, 1234) 793attrs(0).VerifyValue(0, "UIntField", TypedConstantKind.Primitive, 1230) 806attrs(0).VerifyValue(Of ULong())(0, "AryField", TypedConstantKind.Array, New ULong() {0, 1, 12345657}) 855attrs(0).VerifyValue(Of Object())(0, "AryProp", TypedConstantKind.Array, New Object() {New Object() {"", GetType(IList(Of String))}}) 906attrs(0).VerifyValue(Of Object)(0, "ObjectField", TypedConstantKind.Primitive, 2) 1171attrs(2).VerifyValue(Of Object)(0, "X", TypedConstantKind.Primitive, 1) 1172attrs(3).VerifyValue(Of Object)(0, "X", TypedConstantKind.Array, New String() {"a", "b"})
Attributes\AttributeTests_WellKnownAttributes.vb (3)
419attrSym.VerifyValue(0, "Size", TypedConstantKind.Primitive, 16) 420attrSym.VerifyValue(1, "Pack", TypedConstantKind.Primitive, 8) 421attrSym.VerifyValue(2, "CharSet", TypedConstantKind.Enum, CInt(CharSet.Unicode))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (7)
SymbolsTests\Metadata\PE\LoadingAttributes.vb (5)
393a.VerifyValue(0, "IA", TypedConstantKind.Array, {1, 2}) 397a.VerifyValue(0, "EA", TypedConstantKind.Array, {0, 1}) 401a.VerifyValue(0, "SA", TypedConstantKind.Array, {"Yes", "No"}) 405a.VerifyValue(0, "OA", TypedConstantKind.Array, {"Yes", "No"}) 411a.VerifyValue(0, "TA", TypedConstantKind.Array, {c1, c3})
SymbolsTests\Retargeting\RetargetingCustomAttributes.vb (2)
146attribute.VerifyValue(0, "Target", TypedConstantKind.Type, GetType(Integer())) 147attribute.VerifyValue(1, "TargetTypeName", TypedConstantKind.Primitive, "IntArrayType")