1281 references to CompileAndVerify
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (686)
Attributes\AssemblyAttributes.vb (18)
556CompileAndVerify(compilation).VerifyDiagnostics() 569CompileAndVerify(compilation, 589CompileAndVerify(compilation).VerifyDiagnostics() 602CompileAndVerify(compilation, 772CompileAndVerify(compilation, 803CompileAndVerify(compilation, 834CompileAndVerify(compilation, 865CompileAndVerify(compilation, 896CompileAndVerify(compilation, verify:=Verification.Fails, 927CompileAndVerify(compilation, verify:=Verification.Fails, 961CompileAndVerify(compilation, verify:=Verification.Fails, 1005CompileAndVerify(compilation, 1656CompileAndVerify(comp) 1915CompileAndVerify(assembly, symbolValidator:= 2068CompileAndVerify(appCompilation, symbolValidator:=Sub(m As ModuleSymbol) 2123CompileAndVerify(appCompilation, symbolValidator:=Sub(m As ModuleSymbol) 2172CompileAndVerify(appCompilation, symbolValidator:=Sub(m As ModuleSymbol) 2220CompileAndVerify(appCompilation, symbolValidator:=Sub(m As ModuleSymbol)
Attributes\AttributeTests.vb (20)
666CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 816CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator(True), symbolValidator:=attributeValidator(False)) 870CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 910CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 956CompileAndVerify(compilation, sourceSymbolValidator:=sourceAttributeValidator, symbolValidator:=mdAttributeValidator) 1029CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 1073CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 1127CompileAndVerify(compilation) 1174CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 1224CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 1263CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 1373CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 1432CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 1461CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 2215CompileAndVerify(compilation, sourceSymbolValidator:=attributeValidator, symbolValidator:=attributeValidator) 2978CompileAndVerify(compilation, sourceSymbolValidator:= 3397CompileAndVerify(vbCompilation).VerifyDiagnostics() 4521CompileAndVerify(compilation2, symbolValidator:=validator) 4541CompileAndVerify(compilation3, symbolValidator:=validator) 4808CompileAndVerify(compilation, expectedOutput:="3")
Attributes\AttributeTests_CallerArgumentExpression.vb (45)
34CompileAndVerify(compilation, expectedOutput:="123").VerifyDiagnostics() 55CompileAndVerify(compilation, expectedOutput:="123").VerifyDiagnostics() 92CompileAndVerify(compilation, expectedOutput:="456").VerifyDiagnostics() 129CompileAndVerify(compilation, expectedOutput:="<default-arg>").VerifyDiagnostics() 150CompileAndVerify(compilation, expectedOutput:="123").VerifyDiagnostics().VerifyTypeIL("Program2", " 195CompileAndVerify(csCompilation, expectedOutput:="5 + 2").VerifyDiagnostics() 258CompileAndVerify(compilation, expectedOutput:="0 + 1").VerifyDiagnostics() 282CompileAndVerify(compilation, expectedOutput:="123 + _ 304CompileAndVerify(compilation, expectedOutput:="124, 123, 124").VerifyDiagnostics() 333CompileAndVerify(compilation, expectedOutput:="2 + 2").VerifyDiagnostics() 356CompileAndVerify(compilation, expectedOutput:="myIntegerExpression").VerifyDiagnostics() 379CompileAndVerify(compilation, expectedOutput:="myIntegerExpression * 2").VerifyDiagnostics() 402CompileAndVerify(compilation, expectedOutput:="<default-arg>") 429CompileAndVerify(compilation, expectedOutput:="<default>") 456CompileAndVerify(compilation, expectedOutput:="Main").VerifyDiagnostics() 477CompileAndVerify(compilation, expectedOutput:="Main").VerifyDiagnostics() 498CompileAndVerify(compilation, expectedOutput:="C:\\Program.cs").VerifyDiagnostics() 519CompileAndVerify(compilation, expectedOutput:="C:\\Program.cs").VerifyDiagnostics() 540CompileAndVerify(compilation, expectedOutput:="6").VerifyDiagnostics() 561CompileAndVerify(compilation, expectedOutput:="6").VerifyDiagnostics() 582CompileAndVerify(compilation, expectedOutput:="6").VerifyDiagnostics() 603CompileAndVerify(compilation, expectedOutput:="6").VerifyDiagnostics() 694CompileAndVerify(compilation, expectedOutput:="5 + 4 730CompileAndVerify(compilation, expectedOutput:="True").VerifyDiagnostics() 754CompileAndVerify(compilation, expectedOutput:="target default value 784CompileAndVerify(compilation, expectedOutput:="target default value 817CompileAndVerify(compilation, expectedOutput:="param1: param1_default, param2: param2_default 842CompileAndVerify(compilation, expectedOutput:="Main 863CompileAndVerify(compilation, expectedOutput:="<default> 919CompileAndVerify(compilation, expectedOutput:="<default> 956CompileAndVerify(compilation, expectedOutput:="1 + 1").VerifyDiagnostics() 982CompileAndVerify(compilation, expectedOutput:="123").VerifyDiagnostics() 1008CompileAndVerify(compilation, expectedOutput:="123 _ ' comment 1039CompileAndVerify(compilation, expectedOutput:="2 + 2").VerifyDiagnostics() 1063CompileAndVerify(compilation, expectedOutput:="<default-arg>") 1098CompileAndVerify(compilation, expectedOutput:="target default value 1129CompileAndVerify(compilation, expectedOutput:="default 1166CompileAndVerify(compilation, expectedOutput:="'<default1>', '<default0>'").VerifyDiagnostics() 1197CompileAndVerify(compilation, expectedOutput:="2, 1+ 1 1222CompileAndVerify(compilation).VerifyDiagnostics().VerifyIL("Program.Main", " 1355CompileAndVerify(comp2, expectedOutput:="1 + 2").VerifyDiagnostics() 1409CompileAndVerify(compilation, expectedOutput:="1 + 2").VerifyDiagnostics() 1503CompileAndVerify(compilation, expectedOutput:="New value") 1535CompileAndVerify(compilation, expectedOutput:="New value") 1666CompileAndVerify(compilation, expectedOutput:="New value").VerifyDiagnostics()
Attributes\AttributeTests_Conditional.vb (7)
279CompileAndVerify(compilation, sourceSymbolValidator:=_commonValidatorForCondAttrType(True), symbolValidator:=_commonValidatorForCondAttrType(False), expectedOutput:="") 307CompileAndVerify(comp, sourceSymbolValidator:=_commonValidatorForCondAttrType(True), symbolValidator:=_commonValidatorForCondAttrType(False), expectedOutput:="") 312CompileAndVerify(comp2, sourceSymbolValidator:=_commonValidatorForCondAttrType(True), symbolValidator:=_commonValidatorForCondAttrType(False), expectedOutput:="") 570CompileAndVerify(comp, expectedOutput:=s_commonExpectedOutput_ConditionalMethodsTest) 594CompileAndVerify(comp, expectedOutput:=s_commonExpectedOutput_ConditionalMethodsTest) 599CompileAndVerify(comp2, expectedOutput:=s_commonExpectedOutput_ConditionalMethodsTest) 803CompileAndVerify(comp, verify:=Verification.Fails).VerifyIL("C.M", "
Attributes\AttributeTests_Synthesized.vb (25)
97CompileAndVerify(comp, symbolValidator:=Sub(m As ModuleSymbol) 154CompileAndVerify(comp, symbolValidator:=Sub(m As ModuleSymbol) 222CompileAndVerify(comp, symbolValidator:=Sub(m As ModuleSymbol) 276CompileAndVerify(comp, symbolValidator:=Sub(m As ModuleSymbol) 332CompileAndVerify(comp, symbolValidator:=Sub(m As ModuleSymbol) 368CompileAndVerify(comp, symbolValidator:=Sub(m As ModuleSymbol) 419CompileAndVerify(comp, symbolValidator:=Sub(m As ModuleSymbol) 477CompileAndVerify(comp, expectedSignatures:= 507CompileAndVerify(comp) 526CompileAndVerify(comp, symbolValidator:= 593CompileAndVerify(comp, symbolValidator:= 761CompileAndVerify( 800CompileAndVerify( 842CompileAndVerify( 885CompileAndVerify( 954CompileAndVerify( 1024CompileAndVerify( 1090CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator) 1128CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator) 1165CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator) 1209CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator) 1284CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator) 1336CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator) 1383CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator) 1432CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.Passes, Verification.Skipped), symbolValidator:=validator)
Attributes\AttributeTests_Tuples.vb (4)
112CompileAndVerify(comp) 118CompileAndVerify(comp, symbolValidator:=Sub(m As ModuleSymbol) TupleAttributeValidator.ValidateTupleAttributes(m.ContainingAssembly)) 135CompileAndVerify(comp, symbolValidator:=Sub(m As ModuleSymbol) TupleAttributeValidator.ValidateTupleAttributes(m.ContainingAssembly)) 227CompileAndVerify(comp,
Attributes\AttributeTests_WellKnownAttributes.vb (9)
2455CompileAndVerify(c, validator:= 4739CompileAndVerify(compilation, sourceSymbolValidator:=validator, symbolValidator:=validator) 5517CompileAndVerify(compilation, symbolValidator:=validator, expectedOutput:="") 5548CompileAndVerify(compilation, symbolValidator:=validator) 5591CompileAndVerify(compilation, sourceSymbolValidator:=sourceValidator, symbolValidator:=peValidator) 5625CompileAndVerify(compilation, symbolValidator:=validator) 6772CompileAndVerify(CreateCompilationWithMscorlib45AndVBRuntime(source), symbolValidator:=attributeValidator) 6888CompileAndVerify(CreateCompilationWithMscorlib45AndVBRuntime(source), symbolValidator:=attributeValidator) 7049CompileAndVerify(
Attributes\InternalsVisibleToAndStrongNameTests.vb (13)
1127CompileAndVerify(comp2, expectedOutput:="Called M") 1134CompileAndVerify(comp3, expectedOutput:="Called M") 1219CompileAndVerify(other) 1656CompileAndVerify(other.WithReferences({other.References(0), New VisualBasicCompilationReference(unsigned)})).VerifyDiagnostics() 1658CompileAndVerify(other.WithReferences({other.References(0), MetadataReference.CreateFromImage(unsigned.EmitToArray)})).VerifyDiagnostics() 1850CompileAndVerify(other) 1904CompileAndVerify(other) 2170CompileAndVerify(ca) 2183CompileAndVerify(cb, verify:=Verification.Fails).Diagnostics.Verify() 2212CompileAndVerify(ca) 2215CompileAndVerify(cb, expectedOutput:="42").Diagnostics.Verify() 2244CompileAndVerify(ca) 2247CompileAndVerify(cb, expectedOutput:="42").Diagnostics.Verify()
BreakingChanges.vb (1)
552Dim verifier = CompileAndVerify(comp, expectedSignatures:=
CodeGen\CodeGenAsyncTests.vb (21)
47CompileAndVerify(compilation.WithOptions(options), 57CompileAndVerify(compilation.WithOptions(options), 8285Dim vbexeVerifier = CompileAndVerify(vbexeCompilation, expectedOutput:="12") 9180CompileAndVerify(compilation, expectedOutput:=expectedOutput) 9181CompileAndVerify(compilation.WithOptions(TestOptions.ReleaseExe), expectedOutput:=expectedOutput) 9215CompileAndVerify(compilation, expectedOutput:="StructAwaitable") 9246CompileAndVerify(compilation, expectedOutput:="StructAwaitable") 9317CompileAndVerify(comp, expectedOutput:="TestPropertyAccessThrows 9525CompileAndVerify(comp, expectedOutput:="TestIndexerThrows 9732CompileAndVerify(comp, expectedOutput:="TestIndexerThrows 9913CompileAndVerify(comp, expectedOutput:="TestIndexerThrows 10092CompileAndVerify(comp, expectedOutput:="TestAIsNull 10297CompileAndVerify(comp, expectedOutput:="TestAIsNull 10470CompileAndVerify(comp, expectedOutput:="TestAIsNull 10664CompileAndVerify(comp, expectedOutput:="TestAIsNull 10881CompileAndVerify(comp, expectedOutput:="TestAIsNull 11039CompileAndVerify(comp, expectedOutput:="Before Assignment A.b.x is: 0 11191CompileAndVerify(comp, expectedOutput:="TestAIsNull 11345CompileAndVerify(comp, expectedOutput:="TestAIsNull 11470CompileAndVerify(compilation, expectedOutput:="1") 11499CompileAndVerify(compilation, expectedOutput:="1")
CodeGen\CodeGenCallTests.vb (10)
7789CompileAndVerify(libUser).VerifyIL("C.M", <![CDATA[ 7827CompileAndVerify(comp, expectedOutput:="RAN 00") 7889CompileAndVerify(libUser).VerifyIL("C.M", <![CDATA[ 7922CompileAndVerify(comp, expectedOutput:="RAN 01") 7978CompileAndVerify(libUser).VerifyIL("C.M", <![CDATA[ 8009CompileAndVerify(comp, expectedOutput:="RAN 01") 8066CompileAndVerify(comp, expectedOutput:="00") 8068CompileAndVerify(comp).VerifyIL("D.M", <![CDATA[ 8173CompileAndVerify(comp, expectedOutput:="00") 8175CompileAndVerify(comp).VerifyIL("D.M", <![CDATA[
CodeGen\CodeGenCollectionInitializer.vb (2)
892CompileAndVerify(comp, expectedOutput:="12") 929CompileAndVerify(comp, expectedOutput:="12")
CodeGen\CodeGenDelegateCreation.vb (4)
46CompileAndVerify(c1, symbolValidator:= 2112CompileAndVerify(comp1, expectedOutput:="23") 2526CompileAndVerify(c, expectedOutput:="passpass") 2586CompileAndVerify(c, expectedOutput:="passpass")
CodeGen\CodeGenEvents.vb (6)
2020Dim verifier = CompileAndVerify(compilation, expectedOutput:= 2220CompileAndVerify(compilation2, expectedOutput:= 2228CompileAndVerify(compilation2, expectedOutput:= 2236CompileAndVerify(compilation2, expectedOutput:= 2324CompileAndVerify(compilation, expectedOutput:= 2716Dim verifier = CompileAndVerify(compilation, expectedOutput:=
CodeGen\CodeGenIterators.vb (2)
1583Dim verifier = Me.CompileAndVerify(comp) 1697Dim verifier = CompileAndVerify(compilation, verify:=Verification.Fails)
CodeGen\CodeGenLateBound.vb (1)
3793CompileAndVerify(compilation)
CodeGen\CodeGenNullable.vb (2)
1760CompileAndVerify(compilation, 6692CompileAndVerify(compilation2, expectedOutput:="Done")
CodeGen\CodeGenOverridingAndHiding.vb (9)
178Dim vb1Verifier = CompileAndVerify(vb1Compilation) 203Dim vb2Verifier = CompileAndVerify(vb2Compilation) 250Dim vb1Verifier = CompileAndVerify(vb1Compilation) 276Dim vb2Verifier = CompileAndVerify(vb2Compilation) 317Dim vb1Verifier = CompileAndVerify(vb1Compilation) 339Dim vb2Verifier = CompileAndVerify(vb2Compilation) 382Dim vb1Verifier = CompileAndVerify(vb1Compilation) 405CompileAndVerify(vb2Compilation).VerifyDiagnostics() 439CompileAndVerify(vb2Compilation).VerifyDiagnostics()
CodeGen\CodeGenRefReturnTests.vb (25)
74Dim verifier = CompileAndVerify(comp2, expectedOutput:="1 2 6") 161Dim verifier = CompileAndVerify(comp2, expectedOutput:="2") 216Dim verifier = CompileAndVerify(comp2, expectedOutput:="2 3") 272Dim verifier = CompileAndVerify(comp2, expectedOutput:="3.5") 327Dim verifier = CompileAndVerify(comp2, expectedOutput:="3") 388Dim verifier = CompileAndVerify(comp2, expectedOutput:="3") 465Dim verifier = CompileAndVerify(comp2, expectedOutput:="2 4") 568Dim verifier = CompileAndVerify(comp, expectedOutput:="1, 3") 677Dim verifier = CompileAndVerify(comp, expectedOutput:="1, 2") 1036Dim verifier = CompileAndVerify(comp2, expectedOutput:="aefd") 1110Dim verifier = CompileAndVerify(comp2, expectedOutput:="ABCdef") 1248Dim verifier = CompileAndVerify(comp2, expectedOutput:="Public member 'G' on type 'A' not found.") 1328Dim verifier = CompileAndVerify(comp2, expectedOutput:="3") 1453Dim verifier = CompileAndVerify(comp2, expectedOutput:= 1502Dim verifier = CompileAndVerify(comp2, expectedOutput:= 1553Dim verifier = CompileAndVerify(comp2, expectedOutput:= 1612Dim verifier = CompileAndVerify(comp2, expectedOutput:= 1655Dim verifier = CompileAndVerify(comp2, expectedOutput:="23") 2151Dim verifier = CompileAndVerify(comp2, expectedOutput:="Base") 2195Dim verifier = CompileAndVerify(comp2, expectedOutput:="RefFunc1`2[Derived2,Base] 2240Dim verifier = CompileAndVerify(comp2, expectedOutput:="RefFunc1`2[Derived2,Derived1]") 2284Dim verifier = CompileAndVerify(comp2, expectedOutput:="System.Func`2[Derived1,Base]") 2389Dim verifier = CompileAndVerify(comp2, expectedOutput:= 2510Dim verifier = CompileAndVerify(comp2, expectedOutput:= 2573Dim verifier = CompileAndVerify(comp2, expectedOutput:=
CodeGen\CodeGenScriptTests.vb (6)
49CompileAndVerify(c, expectedOutput:="2") 132CompileAndVerify(c, expectedOutput:="2") 162CompileAndVerify(c, expectedOutput:="3") 176CompileAndVerify(c, expectedOutput:="012") 304Dim verifier = CompileAndVerify(comp, expectedOutput:="complete") 363Dim verifier = CompileAndVerify(s0, verify:=Verification.FailsPEVerify)
CodeGen\CodeGenStopOrEnd.vb (5)
36Dim compilationVerifier = CompileAndVerify(compilation).VerifyIL("Module1.Main", 73Dim compilationVerifier = CompileAndVerify(compilation).VerifyIL("Module1.Goo", 171Dim compilationVerifier = CompileAndVerify(compilation).VerifyIL("Module1.Main", 201Dim compilationVerifier = CompileAndVerify(compilation).VerifyIL("Module1.Main", 213compilationVerifier = CompileAndVerify(compilation).VerifyIL("Module1.Main",
CodeGen\CodeGenSyncLock.vb (2)
1298CompileAndVerify(compilation, expectedOutput:="Inside SyncLock.") 1323CompileAndVerify(compilation, expectedOutput:="Inside SyncLock.")
CodeGen\CodeGenTests.vb (20)
7223CompileAndVerify(CreateCompilationWithMscorlib45AndVBRuntime( 8041Dim vbexeVerifier = CompileAndVerify(vbCompilation, 8074Dim vbexeVerifier = CompileAndVerify(vbCompilationB, 8107Dim vbexeVerifier = CompileAndVerify(vbCompilationB, 8258Dim vbexeVerifier = CompileAndVerify(vbCompilation, 10360CompileAndVerify(comp) 10428Dim compilationVerifier = CompileAndVerify(comp) 10606Dim vbVerifier = CompileAndVerify(vbCompilation, expectedSignatures:= 11155Dim vbVerifier = CompileAndVerify(vbCompilation, expectedOutput:="UInteger") 11618CompileAndVerify(compilation, sourceSymbolValidator:=validator, symbolValidator:=validator, verify:=Verification.Passes) 11699CompileAndVerify(compilation, sourceSymbolValidator:=sourceValidator, expectedOutput:="PASS1, PASS2") 11725Dim verifier = CompileAndVerify(compilation) 11766Dim verifier = CompileAndVerify(compilation) 11808Dim verifier = CompileAndVerify(compilation) 12372Dim compilationVerifier = CompileAndVerify(compilation) 12457CompileAndVerify(compRelease).VerifyIL("C.Main", 12470CompileAndVerify(compDebug).VerifyIL("C.Main", 13547CompileAndVerify(compilation, expectedOutput:="True") 13589CompileAndVerify(compilation, expectedOutput:="11461640193") 13719CompileAndVerify(compilation, expectedOutput:="5180801
CodeGen\CodeGenTryCatchThrow.vb (4)
990CompileAndVerify(compilation, expectedOutput:="Exited Try") 992CompileAndVerify(compilation.WithOptions(TestOptions.ReleaseExe), expectedOutput:="Exited Try") 1018CompileAndVerify(compilation, expectedOutput:="Exited Try") 1020CompileAndVerify(compilation.WithOptions(TestOptions.ReleaseExe), expectedOutput:="Exited Try")
CodeGen\CodeGenTuples.vb (105)
2891CompileAndVerify(comp, expectedOutput:= 2986CompileAndVerify(comp, expectedOutput:= 3072CompileAndVerify(comp, expectedOutput:= 3157CompileAndVerify(comp, expectedOutput:= 3217CompileAndVerify(comp, expectedOutput:= 3286CompileAndVerify(comp, expectedOutput:= 3608CompileAndVerify(comp, expectedOutput:= 3648CompileAndVerify(comp, expectedOutput:= 8285CompileAndVerify(comp, expectedOutput:="(1, )") 8338CompileAndVerify(comp, expectedOutput:="(1, )") 8441CompileAndVerify(comp, expectedOutput:="(1, )") 9381Dim vbexeVerifier = CompileAndVerify(vbCompilation, 9503Dim vbexeVerifier = CompileAndVerify(vbCompilation, 9575Dim vbexeVerifier = CompileAndVerify(vbCompilation, 9650Dim vbexeVerifier = CompileAndVerify(vbCompilation, 9732Dim vbexeVerifier = CompileAndVerify(vbCompilation, 11392CompileAndVerify(consumer1, expectedOutput:=expectedOutput).VerifyDiagnostics() 11395CompileAndVerify(consumer2, expectedOutput:=expectedOutput).VerifyDiagnostics() 11632CompileAndVerify(consumer1, expectedOutput:=expectedOutput).VerifyDiagnostics() 11635CompileAndVerify(consumer2, expectedOutput:=expectedOutput).VerifyDiagnostics() 11902CompileAndVerify(comp) 12512CompileAndVerify(comp, expectedOutput:="{1, qq1}") 12602CompileAndVerify(comp, expectedOutput:="{1, qq1}") 12647CompileAndVerify(comp, expectedOutput:="{1, qq}") 12694CompileAndVerify(comp, expectedOutput:="(1, qq)") 12809CompileAndVerify(comp, expectedOutput:="{1, qq}") 12881CompileAndVerify(comp, expectedOutput:="VT {1, qq}") 12953CompileAndVerify(comp, expectedOutput:="VT {1, }") 12995CompileAndVerify(comp, expectedOutput:="C1 C+C1") 13072CompileAndVerify(comp, expectedOutput:=" 13134CompileAndVerify(comp, expectedOutput:=" 13181CompileAndVerify(comp, expectedOutput:=" 13234CompileAndVerify(comp, expectedOutput:=" 13266CompileAndVerify(comp) 13314CompileAndVerify(comp) 13368CompileAndVerify(comp) 13414CompileAndVerify(comp) 13452CompileAndVerify(comp) 13490CompileAndVerify(comp) 13528CompileAndVerify(comp) 13576CompileAndVerify(comp, expectedOutput:=" 13627CompileAndVerify(comp, expectedOutput:=" 13670CompileAndVerify(comp, expectedOutput:=" 13716CompileAndVerify(comp, expectedOutput:=" 13763CompileAndVerify(comp, expectedOutput:=" 13806CompileAndVerify(comp, expectedOutput:=" 13871CompileAndVerify(comp, expectedOutput:=" 13901CompileAndVerify(comp, expectedOutput:=" 13936CompileAndVerify(comp, expectedOutput:="first 13980CompileAndVerify(comp, expectedOutput:=" 14030CompileAndVerify(comp, expectedOutput:=" 14063CompileAndVerify(comp, expectedOutput:="System.ValueType") 14168CompileAndVerify(comp, expectedOutput:=" 14206CompileAndVerify(comp, expectedOutput:=" 14276CompileAndVerify(comp, expectedOutput:=" 14307CompileAndVerify(comp, expectedOutput:=" 14341CompileAndVerify(comp, expectedOutput:=" 14748CompileAndVerify(comp, expectedOutput:="(1, hello)") 14780CompileAndVerify(comp, expectedOutput:="((1, Australia), (2, Brazil))") 14893CompileAndVerify(comp, expectedOutput:=" 15319CompileAndVerify(comp, expectedOutput:=" 15463CompileAndVerify(comp, expectedOutput:=" 15712CompileAndVerify(comp, expectedOutput:=" 16239CompileAndVerify(comp, expectedOutput:=" 17328CompileAndVerify(comp, sourceSymbolValidator:=validate, symbolValidator:=validate, expectedOutput:="C2.M") 17370CompileAndVerify(comp, expectedOutput:="C2.M") 20107CompileAndVerify(comp, expectedOutput:="(1, 2)") 20170CompileAndVerify(comp, expectedOutput:=" 20209CompileAndVerify(comp, expectedOutput:=" 20252CompileAndVerify(comp, expectedOutput:=" 20286CompileAndVerify(comp, expectedOutput:="(1, 2)") 20315CompileAndVerify(comp, expectedOutput:="(1, 2)") 20356CompileAndVerify(comp, expectedOutput:=" 20493CompileAndVerify(comp, symbolValidator:=Sub(m) 20659CompileAndVerify(comp, expectedOutput:="(42, 42)") 20689CompileAndVerify(comp, expectedOutput:="(42, 42)") 20719CompileAndVerify(comp, expectedOutput:="(42, 42)") 21190CompileAndVerify(compilation, expectedOutput:="42") 21546CompileAndVerify(comp, expectedOutput:="3") 22317CompileAndVerify(comp, expectedOutput:="1") 22396CompileAndVerify(comp, expectedOutput:="1") 22804CompileAndVerify(executableComp, expectedOutput:="ran") 22888CompileAndVerify(comp1, expectedOutput:="123") 22895CompileAndVerify(comp4, expectedOutput:="123") 22898CompileAndVerify(comp5, expectedOutput:="123") 22902CompileAndVerify(comp6, expectedOutput:="123") 22906CompileAndVerify(comp7, expectedOutput:="123") 22958CompileAndVerify(comp1, expectedOutput:="123") 22965CompileAndVerify(comp4, expectedOutput:="123") 22968CompileAndVerify(comp5, expectedOutput:="123") 22972CompileAndVerify(comp6, expectedOutput:="123") 22976CompileAndVerify(comp7, expectedOutput:="123") 23020CompileAndVerify(comp1, expectedOutput:="9") 23027CompileAndVerify(comp4, expectedOutput:="9") 23030CompileAndVerify(comp5, expectedOutput:="9") 23034CompileAndVerify(comp6, expectedOutput:="9") 23038CompileAndVerify(comp7, expectedOutput:="9") 23086CompileAndVerify(comp1, expectedOutput:="9") 23093CompileAndVerify(comp4, expectedOutput:="9") 23096CompileAndVerify(comp5, expectedOutput:="9") 23100CompileAndVerify(comp6, expectedOutput:="9") 23104CompileAndVerify(comp7, expectedOutput:="9") 23262CompileAndVerify(comp1, expectedOutput:="Done") 23289CompileAndVerify(comp1, expectedOutput:="Done") 23330Dim verifier = CompileAndVerify(compilation, expectedOutput:=
CodeGen\CodeGenUnstructuredErrorHandling.vb (1)
1240CompileAndVerify(compilation)
CodeGen\CodeGenWinMdEvents.vb (10)
32Assert.Throws(Of EmitException)(Sub() CompileAndVerify(comp)) 60Assert.Throws(Of EmitException)(Sub() CompileAndVerify(comp)) 88Assert.Throws(Of EmitException)(Sub() CompileAndVerify(comp)) 116Assert.Throws(Of EmitException)(Sub() CompileAndVerify(comp)) 164Assert.Throws(Of EmitException)(Sub() CompileAndVerify(comp)) 206Assert.Throws(Of EmitException)(Sub() CompileAndVerify(comp)) 604Dim verifier = CompileAndVerify(comp) 926Dim verifier = CompileAndVerify(comp) 973Dim verifier = CompileAndVerify(comp) 1090Dim verifier = CompileAndVerify(comp)
CodeGen\CodeGenWithEvents.vb (5)
1110Dim assembly1Verifier = CompileAndVerify(assembly1Compilation, expectedSignatures:= 1153Dim verifier = CompileAndVerify(comp, expectedSignatures:= 1186Dim verifier = CompileAndVerify(comp) 1386CompileAndVerify(compilation, expectedOutput:="True").VerifyDiagnostics() 1624Dim assembly1Verifier = CompileAndVerify(assembly1Compilation)
Emit\CompilationEmitTests.vb (30)
694CompileAndVerify(comp, emitOptions:=emitRefAssembly, verify:=Verification.FailsILVerify, validator:=assemblyValidator) 855CompileAndVerify(pia) 928CompileAndVerify(pia) 1470Dim verifier = CompileAndVerify(comp, emitOptions:=EmitOptions.Default.WithEmitMetadataOnly(True), verify:=Verification.Passes) 1503CompileAndVerify(comp, emitOptions:=emitMetadataOnly, verify:=Verification.Passes) 1537CompileAndVerify(comp, emitOptions:=emitRefOnly, verify:=Verification.Passes) 1587Dim verifier = CompileAndVerify(comp, emitOptions:=EmitOptions.Default.WithEmitMetadataOnly(True), verify:=Verification.Passes) 1605CompileAndVerify(comp, emitOptions:=emitMetadataOnly, verify:=Verification.Passes) 1624CompileAndVerify(comp, emitOptions:=emitRefOnly, verify:=Verification.Passes) 1665Dim verifier = CompileAndVerify(comp, emitOptions:=EmitOptions.Default.WithEmitMetadataOnly(True), verify:=Verification.Passes) 1684CompileAndVerify(comp, emitOptions:=emitMetadataOnly, verify:=Verification.Passes) 1704CompileAndVerify(comp, emitOptions:=emitRefOnly, verify:=Verification.Passes) 1732Dim verifier = CompileAndVerify(comp, emitOptions:=EmitOptions.Default.WithEmitMetadataOnly(True), verify:=Verification.Passes) 1736CompileAndVerify(comp, emitOptions:=emitRefOnly, verify:=Verification.Passes) 1823CompileAndVerify(compilation) 2660CompileAndVerify(compilation, symbolValidator:= 2718CompileAndVerify(compilation, symbolValidator:= 2764CompileAndVerify(compilation, symbolValidator:= 2825CompileAndVerify(compilation, symbolValidator:= 2884CompileAndVerify(compilation, symbolValidator:= 2950CompileAndVerify(compilation, symbolValidator:= 3022CompileAndVerify(compilation, symbolValidator:= 3089CompileAndVerify(compilation, symbolValidator:= 3160CompileAndVerify(compilation, symbolValidator:= 3609CompileAndVerify(comp, symbolValidator:= 3687CompileAndVerify(comp) 3706CompileAndVerify(comp) 3727CompileAndVerify(comp) 3821CompileAndVerify(comp, symbolValidator:=metadataValidator) 4280CompileAndVerify(compilation, verify:=Verification.Fails)
Emit\DeterministicTests.vb (1)
227CompileAndVerify(forwardingCompilation, symbolValidator:=metadataValidator, sourceSymbolValidator:=metadataValidator, verify:=Verification.Skipped)
Emit\DynamicAnalysis\DynamicInstrumentationTests.vb (2)
2345Dim verifier = CompileAndVerify(c, emitOptions:=EmitOptions.Default.WithInstrumentationKinds(ImmutableArray.Create(InstrumentationKind.TestCoverage))) 2382Dim verifier = CompileAndVerify(c, emitOptions:=EmitOptions.Default.WithInstrumentationKinds(ImmutableArray.Create(InstrumentationKind.TestCoverage)))
Emit\EditAndContinue\AssemblyReferencesTests.vb (11)
68Dim v0 = CompileAndVerify(compilation0) 69Dim v1 = CompileAndVerify(compilation1) 70Dim v2 = CompileAndVerify(compilation2) 173Dim v0 = CompileAndVerify(compilation0) 174Dim v1 = CompileAndVerify(compilation1) 175Dim v2 = CompileAndVerify(compilation2) 258Dim v0 = CompileAndVerify(compilation0) 259Dim v1 = CompileAndVerify(compilation1) 260Dim v2 = CompileAndVerify(compilation2) 333Dim v0 = CompileAndVerify(compilation0, verify:=Verification.FailsILVerify) 452Dim v0 = CompileAndVerify(compilation0, verify:=Verification.Passes)
Emit\EditAndContinue\EditAndContinueClosureTests.vb (23)
98Dim v0 = CompileAndVerify(compilation0) 149Dim v0 = CompileAndVerify(compilation0) 201Dim v0 = CompileAndVerify(compilation0) 254Dim v0 = CompileAndVerify(compilation0) 333Dim v0 = CompileAndVerify(compilation0) 417Dim v0 = CompileAndVerify(compilation0) 518Dim v0 = CompileAndVerify(compilation0) 614Dim v0 = CompileAndVerify(compilation0) 683Dim v0 = CompileAndVerify(compilation0) 756Dim v0 = CompileAndVerify(compilation0) 820Dim v0 = CompileAndVerify(compilation0) 886Dim v0 = CompileAndVerify(compilation0) 967Dim v0 = CompileAndVerify(compilation0) 1081Dim v0 = CompileAndVerify(compilation0) 1325Dim v0 = CompileAndVerify(compilation0) 1455Dim v0 = CompileAndVerify(compilation0) 1537Dim v0 = CompileAndVerify(compilation0) 1652Dim v0 = CompileAndVerify(compilation0) 1752Dim v0 = CompileAndVerify(compilation0) 1808Dim v0 = CompileAndVerify(compilation0) 1970Dim v0 = CompileAndVerify(compilation0) 2088Dim v0 = CompileAndVerify(compilation0) 2166Dim v0 = CompileAndVerify(compilation0)
Emit\EditAndContinue\EditAndContinuePdbTests.vb (1)
133Dim v0 = CompileAndVerify(compilation0, emitOptions:=EmitOptions.Default.WithDebugInformationFormat(format))
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (46)
721Dim v0 = CompileAndVerify(compilation:=compilation0) 829Dim v0 = CompileAndVerify(compilation:=compilation0) 908Dim v0 = CompileAndVerify(compilation:=compilation0) 956Dim v0 = CompileAndVerify(compilation:=compilation0) 1017Dim v0 = CompileAndVerify(compilation:=compilation0) 1096Dim v0 = CompileAndVerify(compilation:=compilation0) 1246Dim v0 = CompileAndVerify(compilation:=compilation0) 1521Dim v0 = CompileAndVerify(compilation:=compilation0).VerifyDiagnostics() 1971Dim v0 = CompileAndVerify(compilation:=compilation0).VerifyDiagnostics() 2562Dim v0 = CompileAndVerify(compilation0) 3028Dim v0 = CompileAndVerify(compilation:=compilation0).VerifyDiagnostics() 3197Dim v0 = CompileAndVerify(compilation:=compilation0).VerifyDiagnostics() 3581Dim v0 = CompileAndVerify(compilation:=compilation0) 3686Dim v0 = CompileAndVerify(compilation:=compilation0) 3796Dim v0 = CompileAndVerify(compilation:=compilation0) 3902Dim v0 = CompileAndVerify(compilation:=compilation0) 4010Dim v0 = CompileAndVerify(compilation:=compilation0, symbolValidator:=Sub([module] As ModuleSymbol) 4023Dim v1 = CompileAndVerify(compilation:=compilation1, symbolValidator:=Sub([module] As ModuleSymbol) 4206Dim v0 = CompileAndVerify(compilation:=compilation0).VerifyDiagnostics() 4467Dim v0 = CompileAndVerify(compilation:=compilation0).VerifyDiagnostics() 4627Dim v0 = CompileAndVerify(compilation0) 4960Dim v0 = CompileAndVerify(compilation:=compilation0).VerifyDiagnostics() 5462Dim v0 = CompileAndVerify(compilation:=compilation0).VerifyDiagnostics() 5901Dim v0 = CompileAndVerify(compilation:=compilation0).VerifyDiagnostics() 6354Dim v0 = CompileAndVerify(compilation:=compilation0) 6507Dim v0 = CompileAndVerify(compilation:=compilation0) 6665Dim v0 = CompileAndVerify(compilation:=compilation0) 6819Dim v0 = CompileAndVerify(compilation:=compilation0) 7069Dim v0 = CompileAndVerify(compilation:=compilation0, symbolValidator:=Sub([module] As ModuleSymbol) 7416CompileAndVerify(compilation:=compilation0, symbolValidator:=Sub([module] As ModuleSymbol) 7569Dim v0 = CompileAndVerify(compilation:=compilation0, symbolValidator:= 8049Dim v0 = CompileAndVerify(compilation:=compilation0) 8173Dim v0 = CompileAndVerify(compilation0, symbolValidator:= 8259Dim v0 = CompileAndVerify(compilation0) 8377Dim v0 = CompileAndVerify(compilation0) 8483Dim v0 = CompileAndVerify(compilation0) 8615Dim v0 = CompileAndVerify(compilation0) 8751Dim v0 = CompileAndVerify(compilation0) 8853Dim v0 = CompileAndVerify(compilation0, verify:=Verification.Passes) 8912Dim v0 = CompileAndVerify(compilation0, verify:=Verification.Passes) 8967Dim v0 = CompileAndVerify(compilation0, verify:=Verification.Passes) 9030Dim v0 = CompileAndVerify(compilation0, verify:=Verification.Passes) 9082Dim v0 = CompileAndVerify(compilation0, verify:=Verification.FailsPEVerify) 9120Dim v0 = CompileAndVerify(compilation0, verify:=Verification.Passes) 9159Dim v0 = CompileAndVerify(compilation0, verify:=Verification.FailsPEVerify) 9199Dim v0 = CompileAndVerify(compilation0, verify:=Verification.Passes)
Emit\EditAndContinue\EditAndContinueTests.vb (13)
57Dim v0 = CompileAndVerify(compilation0) 112Dim v0 = CompileAndVerify(compilation0) 908Dim v0 = CompileAndVerify(compilation0) 1469Dim v0 = CompileAndVerify(compilation0) 4052Dim v0 = CompileAndVerify(compilation0) 4139Dim v0 = CompileAndVerify(compilation0) 4357Dim v0 = CompileAndVerify(compilation0) 4787Dim v0 = CompileAndVerify(compilation0) 4905Dim v0 = CompileAndVerify(compilation0) 5464Dim v0 = CompileAndVerify(compilation0) 5607Dim v0 = CompileAndVerify(compilation0) 5754Dim v0 = CompileAndVerify(compilation0) 5811Dim v0 = CompileAndVerify(compilation0)
Emit\EditAndContinue\LocalSlotMappingTests.vb (7)
36Dim v0 = CompileAndVerify(compilation:=compilation0) 185CompileAndVerify(debug).VerifyPdb("C.M", 211CompileAndVerify(release).VerifyPdb("C.M", 485Dim v0 = CompileAndVerify(compilation:=compilation0) 590Dim v0 = CompileAndVerify(compilation:=compilation0) 766Dim v0 = CompileAndVerify(compilation:=compilation0) 962Dim v0 = CompileAndVerify(compilation0)
Emit\EmitErrorTests.vb (6)
250CompileAndVerify(comp1) 282CompileAndVerify(comp1) 418CompileAndVerify(comp1) 465CompileAndVerify(comp1) 510CompileAndVerify(comp) 540CompileAndVerify(compilation1)
Emit\EmitMetadata.vb (10)
24CompileAndVerify(VisualBasicCompilation.Create("Goo", syntaxTrees:={Parse(source)}, references:={MscorlibRef, SystemCoreRef, MsvbRef})) 97CompileAndVerify(c1, symbolValidator:= 223CompileAndVerify(comp, 247Dim dllImage = CompileAndVerify(c1).EmittedAssemblyData 273dllImage = CompileAndVerify(c2, verify:=Verification.FailsILVerify).EmittedAssemblyData 311Dim manifestModule = CompileAndVerify(c1, verify:=Verification.FailsILVerify).EmittedAssemblyData 380CompileAndVerify(c1, symbolValidator:= 549CompileAndVerify(c1, symbolValidator:=validator(False), sourceSymbolValidator:=validator(True)) 566CompileAndVerify(c1, symbolValidator:= 974CompileAndVerify(comp.WithOptions(options))
Emit\EntryPointTests.vb (8)
32Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 54Dim verifier = CompileAndVerify(compilation) 282CompileAndVerify(compilation, expectedOutput:="5") 555CompileAndVerify(compilation, expectedOutput:="1") 576CompileAndVerify(compilation, expectedOutput:="1") 603CompileAndVerify(compilation, expectedOutput:="1") 626CompileAndVerify(compilation, expectedOutput:="1") 629CompileAndVerify(compilation, expectedOutput:="2")
Emit\NoPiaEmbedTypes.vb (100)
695Dim verifier = CompileAndVerify(compilation0) 738Dim verifier = CompileAndVerify(compilation0) 993Dim verifier = CompileAndVerify(compilation0) 1491verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 1501verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 1537Dim verifier = CompileAndVerify(compilation0, verify:=Verification.FailsPEVerify) 1607verifier = CompileAndVerify(compilation1, symbolValidator:=validator, verify:=Verification.FailsPEVerify) 1613verifier = CompileAndVerify(compilation1, symbolValidator:=validator, verify:=Verification.FailsPEVerify) 1735Dim verifier = CompileAndVerify(compilation0) 1747verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 1767verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 1815Dim verifier = CompileAndVerify(compilation0) 1991Dim verifier = CompileAndVerify(compilation0) 2058verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2066verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2107Dim verifier = CompileAndVerify(compilation0) 2136verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2142verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2394Dim verifier = CompileAndVerify(compilation0) 2410verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2415verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2448Dim verifier = CompileAndVerify(compilation0) 2464verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2469verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2496Dim verifier = CompileAndVerify(compilation0) 2509verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2514verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2544Dim verifier = CompileAndVerify(compilation0) 2557verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2562verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2593Dim verifier = CompileAndVerify(compilation0) 2607verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2612verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2641Dim verifier = CompileAndVerify(compilation0) 2655verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2660verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2688Dim verifier = CompileAndVerify(compilation0) 2703verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2708verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2738Dim verifier = CompileAndVerify(compilation0) 2759verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2791Dim verifier = CompileAndVerify(compilation0) 2817verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2849Dim verifier = CompileAndVerify(compilation0) 2871verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2897Dim verifier = CompileAndVerify(compilation0) 2910verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2915verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2946Dim verifier = CompileAndVerify(compilation0) 2959verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 2964verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 3154Dim verifier = CompileAndVerify(compilation0) 3164verifier = CompileAndVerify(compilation1) 3170verifier = CompileAndVerify(compilation2) 3176verifier = CompileAndVerify(compilation2, symbolValidator:=validator) 3181verifier = CompileAndVerify(compilation2, symbolValidator:=validator) 3186verifier = CompileAndVerify(compilation2, symbolValidator:=validator) 3191verifier = CompileAndVerify(compilation2, symbolValidator:=validator) 3231Dim verifier = CompileAndVerify(compilation0) 3242verifier = CompileAndVerify(compilation1) 3248verifier = CompileAndVerify(compilation2) 3254verifier = CompileAndVerify(compilation2, symbolValidator:=validator) 3259verifier = CompileAndVerify(compilation2, symbolValidator:=validator) 3264verifier = CompileAndVerify(compilation2, symbolValidator:=validator) 3269verifier = CompileAndVerify(compilation2, symbolValidator:=validator) 3307CompileAndVerify(compilation0) 3322CompileAndVerify(compilation1, symbolValidator:=validator) 3326CompileAndVerify(compilation2, symbolValidator:=validator) 3367CompileAndVerify(compilation0) 3382CompileAndVerify(compilation1, symbolValidator:=validator) 3386CompileAndVerify(compilation2, symbolValidator:=validator) 3424CompileAndVerify(compilation0) 3439CompileAndVerify(compilation1, symbolValidator:=validator) 3443CompileAndVerify(compilation2, symbolValidator:=validator) 3472Dim verifier = CompileAndVerify(compilation0) 3488verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 3493verifier = CompileAndVerify(compilation1, symbolValidator:=validator) 3535CompileAndVerify(piaCompilation1) 3540CompileAndVerify(piaCompilation2) 3593CompileAndVerify(piaCompilation1) 3598CompileAndVerify(piaCompilation2) 3630CompileAndVerify(compilation3) 3640CompileAndVerify(compilation4) 3693CompileAndVerify(piaCompilation1) 3715CompileAndVerify(compilation3, verify:=Verification.FailsPEVerify) 3720CompileAndVerify(compilation4, verify:=Verification.FailsPEVerify) 3762CompileAndVerify(piaCompilation1) 3767CompileAndVerify(piaCompilation2) 3826CompileAndVerify(piaCompilation1) 3956CompileAndVerify(piaCompilation1) 3961CompileAndVerify(piaCompilation2) 3978CompileAndVerify(compilation3) 3983CompileAndVerify(compilation4) 4004CompileAndVerify(piaCompilation1) 4026CompileAndVerify(piaCompilation2) 4113CompileAndVerify(piaCompilation1) 4136CompileAndVerify(compilation3, verify:=Verification.FailsPEVerify) 4142CompileAndVerify(compilation4, verify:=Verification.FailsPEVerify) 4184Dim verifier = CompileAndVerify(compilation0) 4374CompileAndVerify(compilation,
Emit\OptionalArgumentsTests.vb (4)
702CompileAndVerify(comp, symbolValidator:=Sub([module]) 879CompileAndVerify(comp1, symbolValidator:=Sub([module]) 983CompileAndVerify(comp, symbolValidator:=Sub([module]) 1448CompileAndVerify(comp, symbolValidator:=Sub([module] As ModuleSymbol)
ErrorHandling.vb (6)
42CompileAndVerify(compilation) 65CompileAndVerify(compilation) 88CompileAndVerify(compilation) 110CompileAndVerify(compilation) 142CompileAndVerify(compilation) 243Dim compilationVerifier = CompileAndVerify(compilation)
PDB\ChecksumTests.vb (4)
71CompileAndVerify(other).VerifyDiagnostics( 105CompileAndVerify(other).VerifyDiagnostics( 149CompileAndVerify(other).VerifyDiagnostics( 176CompileAndVerify(other).VerifyDiagnostics(
PDB\PDBAsyncTests.vb (1)
936Dim v = CompileAndVerify(compilation)
PDB\PDBNamespaceScopes.vb (2)
468Dim v = CompileAndVerify(compilation) 541Dim v = CompileAndVerify(compilation)
PDB\PDBSyncLockTests.vb (1)
42Dim v = CompileAndVerify(compilation)
PDB\PDBTests.vb (20)
727Dim v = CompileAndVerify(CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe), verify:=Verification.FailsILVerify) 900Dim v = CompileAndVerify(CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.ReleaseExe)) 1130Dim v = CompileAndVerify(compilation) 1217Dim v = CompileAndVerify(compilation) 1293Dim v = CompileAndVerify(compilation) 1368Dim v = CompileAndVerify(compilation) 1588Dim v = CompileAndVerify(compilation) 2171CompileAndVerify(compilation).VerifyIL("MyMod.Main", " 2633CompileAndVerify(compilation, expectedOutput:="") 2692CompileAndVerify(compilation, expectedOutput:="") 2717CompileAndVerify(compilation).VerifyIL("Module1.Main", " 2805CompileAndVerify(compilation, expectedOutput:="") 2869CompileAndVerify(compilation, expectedOutput:="") 2936CompileAndVerify(compilation, expectedOutput:="") 3004CompileAndVerify(compilation, expectedOutput:="") 3074CompileAndVerify(compilation, expectedOutput:="") 3139CompileAndVerify(compilation, expectedOutput:="") 3201CompileAndVerify(compilation, expectedOutput:="00") 3267CompileAndVerify(compilation, expectedOutput:="00") 4023CompileAndVerify(compilation).VerifyIL("IntervalUpdate.Update", "
PDB\PDBTupleTests.vb (1)
82Dim v = CompileAndVerify(c)
PDB\PDBUsingTests.vb (3)
324Dim v = CompileAndVerify(comp) 380CompileAndVerify(comp, validator:= 427CompileAndVerify(comp)
XmlLiteralTests.vb (4)
3555CompileAndVerify(comp, expectedOutput:="[[" & NormalizeValue(str) & "]]") 4264CompileAndVerify(comp, expectedOutput:="1" & Environment.NewLine & "2" & Environment.NewLine & 4972CompileAndVerify( 4981CompileAndVerify(
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (299)
Binding\BadSymbolReference.vb (3)
961CompileAndVerify(lib4) 1345CompileAndVerify(lib4) 1428CompileAndVerify(compilation)
Binding\Binder_Expressions_Tests.vb (9)
2322Dim baseBuffer = CompileAndVerify(c1).EmittedAssemblyData 2350Dim derivedBuffer = CompileAndVerify(c2).EmittedAssemblyData 2376Dim image = CompileAndVerify(c1_without).EmittedAssemblyData 2701CompileAndVerify(compilation, expectedOutput:="42") 3017CompileAndVerify(compilation, expectedOutput:="42") 3212CompileAndVerify(compilation, expectedOutput:="42") 3304CompileAndVerify(compilation, expectedOutput:="42") 3403CompileAndVerify(compilation, expectedOutput:="42") 3447CompileAndVerify(compilation, expectedOutput:="42")
Binding\Binder_Statements_Tests.vb (10)
1468CompileAndVerify(comp, expectedOutput:="True") 3588Dim compilationVerifier = CompileAndVerify(compilation, 4233CompileAndVerify(compilation2, expectedOutput:="remove_Test") 4333CompileAndVerify(compilation2, expectedOutput:="remove_Test") 4433CompileAndVerify(compilation2, expectedOutput:="remove_Test") 4533CompileAndVerify(compilation2, expectedOutput:="add_Test") 4633CompileAndVerify(compilation2, expectedOutput:="add_Test") 4733CompileAndVerify(compilation2, expectedOutput:="add_Test") 4798CompileAndVerify(compilation1, expectedOutput:="add_Test 4898CompileAndVerify(compilation, expectedOutput:=<![CDATA[
Binding\BindingDelegateCreationTests.vb (2)
1274CompileAndVerify(compilation, expectedOutput:="2") 1370CompileAndVerify(compilation, expectedOutput:="1")
Binding\BindingErrorTests.vb (2)
24079CompileAndVerify(compilation) 24329CompileAndVerify(compilation)
Binding\BindingObjectInitializerTests.vb (1)
2073CompileAndVerify(compilation)
Binding\GenericsTests.vb (1)
398CompileAndVerify(vbCompilation).VerifyDiagnostics(
Binding\LookupTests.vb (3)
2815CompileAndVerify(vbCompilation, expectedOutput:="2") 2844CompileAndVerify(vbCompilation, expectedOutput:="2") 3019CompileAndVerify(vbCompilation, expectedOutput:="2")
Compilation\CompilationAPITests.vb (3)
903CompileAndVerify(assembly, verify:=Verification.FailsILVerify) 2699CompileAndVerify(compilation2, expectedOutput:="1") 2722CompileAndVerify(compilation2, expectedOutput:="1")
Compilation\MyTemplateTests.vb (2)
130CompileAndVerify(compilation, expectedOutput:="False") 207CompileAndVerify(compilation, expectedOutput:="HelloWinform")
Compilation\ReferenceManagerTests.vb (4)
561CompileAndVerify(main, verify:=Verification.Fails, validator:= 1406Dim vb1Verifier = CompileAndVerify(vb1Compilation) 1414Dim vb2Verifier = CompileAndVerify(vb2Compilation) 1422Dim vb3Verifier = CompileAndVerify(vb3Compilation)
Semantics\AccessCheckTests.vb (5)
492CompileAndVerify(compilation, expectedOutput:="abc") 2078Dim compilationVerifier = CompileAndVerify(compilation1) 2095compilationVerifier = CompileAndVerify(compilation2) 2130Dim compilationVerifier = CompileAndVerify(compilation1) 2147compilationVerifier = CompileAndVerify(compilation2)
Semantics\AnonymousTypesTests.vb (3)
1373Dim verifier = CompileAndVerify(compilation, expectedOutput:="{ x2 = 0 }") 1440Dim verifier = CompileAndVerify(compilation, expectedOutput:="{ x2 = 0 }") 1471Dim verifier = CompileAndVerify(compilation, expectedOutput:="{ x2 = 0 }")
Semantics\ArrayLiteralTests.vb (1)
1842CompileAndVerify(comp)
Semantics\AsyncAwait.vb (2)
2229Dim verifier = CompileAndVerify(compilation) 5507CompileAndVerify(compilation, expectedOutput:="")
Semantics\BinaryOperators.vb (6)
46CompileAndVerify(compilation, expectedOutput:=SemanticResourceUtil.BinaryOperatorsTestBaseline1) 52CompileAndVerify(compilation, expectedOutput:=SemanticResourceUtil.BinaryOperatorsTestBaseline1) 357CompileAndVerify(compilation, expectedOutput:=SemanticResourceUtil.BinaryOperatorsTestBaseline4) 376CompileAndVerify(compilation, expectedOutput:=SemanticResourceUtil.BinaryOperatorsTestBaseline5) 380CompileAndVerify(compilation, expectedOutput:=SemanticResourceUtil.BinaryOperatorsTestBaseline5) 1547CompileAndVerify(compilation, expectedOutput:="58430604")
Semantics\CompoundAssignment.vb (3)
70Dim verifier = CompileAndVerify(compilation, expectedOutput:="2" & Environment.NewLine & "4" & Environment.NewLine & "6" & Environment.NewLine & "7") 507Dim verifier = CompileAndVerify(compilation, expectedOutput:="DRRR") 566Dim verifier = CompileAndVerify(compilation, expectedOutput:="123" & Environment.NewLine & "123")
Semantics\ConditionalAccessTests.vb (5)
4307Dim verifier = CompileAndVerify(compilation) 5075Dim verifier = CompileAndVerify(compilation) 5130Dim verifier = CompileAndVerify(compilation) 10243Dim verifier = CompileAndVerify( 10316Dim verifier = CompileAndVerify(
Semantics\Conversions.vb (22)
4014CompileAndVerify(vbCompilation, expectedOutput:="A").VerifyDiagnostics() 4241CompileAndVerify(compilation) 4424CompileAndVerify(compilation, expectedOutput:= 4527CompileAndVerify(compilation, expectedOutput:="-1").VerifyDiagnostics() 4530CompileAndVerify(compilation, expectedOutput:="-1").VerifyDiagnostics() 4533CompileAndVerify(compilation, expectedOutput:="-1").VerifyDiagnostics() 4584Dim verifier = CompileAndVerify(compilation, expectedOutput:="-1").VerifyDiagnostics() 4589verifier = CompileAndVerify(compilation, expectedOutput:="-1").VerifyDiagnostics() 4594verifier = CompileAndVerify(compilation, expectedOutput:="-1").VerifyDiagnostics() 4629CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4632CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4635CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4638CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4641CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4644CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4663CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4666CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4669CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4672CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4675CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4678CompileAndVerify(compilation, expectedOutput:="32767").VerifyDiagnostics() 4872Dim verifier = CompileAndVerify(compilation, expectedOutput:=
Semantics\Conversions_AnonymousDelegates.vb (22)
59Dim verifier = CompileAndVerify(compilation, expectedOutput:="System.Int32[]") 207Dim verifier = CompileAndVerify(compilation, expectedOutput:="System.Int32[]") 292Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 373CompileAndVerify(compilation, expectedOutput:="2") 397CompileAndVerify(compilation, expectedOutput:="2") 441Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 522CompileAndVerify(compilation, expectedOutput:="2") 587Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 679Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 767Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 855Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 959Dim verifier = CompileAndVerify(compilation, expectedOutput:="System.Int32[]") 1098Dim verifier = CompileAndVerify(compilation, expectedOutput:="x2") 1248Dim verifier = CompileAndVerify(compilation, expectedOutput:="1") 1327CompileAndVerify(compilation, expectedOutput:="1") 1410Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 1514Dim verifier = CompileAndVerify(compilation, expectedOutput:="System.Int32[]") 1648Dim verifier = CompileAndVerify(compilation, expectedOutput:="1") 1726CompileAndVerify(compilation, expectedOutput:="1") 1900Dim verifier = CompileAndVerify(compilation, expectedOutput:="1" & Environment.NewLine & "2" & Environment.NewLine) 1997CompileAndVerify(compilation, expectedOutput:="1" & Environment.NewLine & "2" & Environment.NewLine) 2530Dim verifier = CompileAndVerify(compilation, expectedOutput:="True")
Semantics\GetSemanticInfoTests.vb (1)
5601CompileAndVerify(compilation)
Semantics\InitOnlyMemberTests.vb (21)
73CompileAndVerify(comp1, expectedOutput:="41 0 44 3 45 4 46 5 47 6 48 7 42 1 43 2 ").VerifyDiagnostics() 346CompileAndVerify(comp1, expectedOutput:="41 42 43 44 45 46 47 48 49").VerifyDiagnostics() 567CompileAndVerify(comp1, expectedOutput:="40 41 42 43 44 45 ").VerifyDiagnostics() 859CompileAndVerify(comp1, expectedOutput:="40 41 42 43 44 45 46 47 48 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0").VerifyDiagnostics() 1116CompileAndVerify(comp1, expectedOutput:="41 0 44 3 45 4 46 5 47 6 ").VerifyDiagnostics() 1304CompileAndVerify(comp1, expectedOutput:="40 41 42 43 44 45 ").VerifyDiagnostics() 1520CompileAndVerify(comp1, expectedOutput:="42 1 43 2 ").VerifyDiagnostics() 1639CompileAndVerify(comp1, expectedOutput:="42 1 ").VerifyDiagnostics() 1777CompileAndVerify(comp1, expectedOutput:="42 2 ").VerifyDiagnostics() 2120CompileAndVerify(compilation).VerifyDiagnostics() 2208CompileAndVerify(compilation).VerifyDiagnostics() 3116CompileAndVerify(comp1, expectedOutput:=expectedOutput).VerifyDiagnostics() 3119CompileAndVerify(comp2, expectedOutput:=expectedOutput).VerifyDiagnostics() 3200CompileAndVerify(comp1, expectedOutput:=expectedOutput).VerifyDiagnostics() 3203CompileAndVerify(comp2, expectedOutput:=expectedOutput).VerifyDiagnostics() 3259CompileAndVerify(comp1, expectedOutput:="42 45 46 47 48").VerifyDiagnostics() 3452CompileAndVerify(comp1, expectedOutput:="41 42 43 44 45 46").VerifyDiagnostics() 3668CompileAndVerify(comp1, expectedOutput:="True True True True True").VerifyDiagnostics() 3861CompileAndVerify(comp1, expectedOutput:="True True True True True True ").VerifyDiagnostics() 4142CompileAndVerify(comp1, expectedOutput:="0 41 0 0 0 45 0 47 48 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0").VerifyDiagnostics() 5113CompileAndVerify(compilation).VerifyDiagnostics()
Semantics\IteratorTests.vb (1)
1023CompileAndVerify(compilation, expectedOutput:="123")
Semantics\Lambda_AnonymousDelegateInference.vb (3)
475Dim verifier = CompileAndVerify(compilation, expectedOutput:="1" & Environment.NewLine & "2" & Environment.NewLine & "3") 555Dim verifier = CompileAndVerify(compilation, expectedOutput:="3" & Environment.NewLine & "5" & Environment.NewLine & "7") 618Dim verifier = CompileAndVerify(compilation, expectedOutput:="0")
Semantics\Lambda_Relaxation.vb (26)
52Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 113CompileAndVerify(compilation, expectedOutput:="2") 122CompileAndVerify(compilation, expectedOutput:="2") 167Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 265Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 363Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 459Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 536CompileAndVerify(compilation, expectedOutput:="2") 597Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 681Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 765Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 864Dim verifier = CompileAndVerify(compilation, expectedOutput:="System.Int32[]") 1053Dim verifier = CompileAndVerify(compilation, expectedOutput:="x2") 1321Dim verifier = CompileAndVerify(compilation, expectedOutput:="1" & Environment.NewLine & "2" & Environment.NewLine) 1434CompileAndVerify(compilation, expectedOutput:="1" & Environment.NewLine & "2" & Environment.NewLine) 1532Dim verifier = CompileAndVerify(compilation, expectedOutput:="2") 1631Dim verifier = CompileAndVerify(compilation, expectedOutput:="System.Int32[]") 1774Dim verifier = CompileAndVerify(compilation, expectedOutput:="1" & Environment.NewLine & "2" & Environment.NewLine) 2067Dim verifier = CompileAndVerify(compilation, expectedOutput:="1" & Environment.NewLine & "2" & Environment.NewLine) 2159CompileAndVerify(compilation, expectedOutput:="1" & Environment.NewLine & "2" & Environment.NewLine) 2242Dim verifier = CompileAndVerify(compilation, expectedOutput:="1" & Environment.NewLine & "2" & Environment.NewLine) 2785Dim verifier = CompileAndVerify(compilation, expectedOutput:="12") 2908CompileAndVerify(compilation, expectedOutput:="F1" & Environment.NewLine & "L1" & Environment.NewLine & "L2") 2953Dim verifier = CompileAndVerify(compilation, expectedOutput:="Base Method") 2982Dim verifier = CompileAndVerify(compilation) 3006Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics()
Semantics\LambdaTests.vb (13)
1357CompileAndVerify(compilation, expectedOutput:="abc") 1385CompileAndVerify(compilation, expectedOutput:="12") 1670CompileAndVerify(comp1, expectedOutput:="C") 1672CompileAndVerify(comp2, expectedOutput:="C") 1694CompileAndVerify(comp1, expectedOutput:="123") 1696CompileAndVerify(comp2, expectedOutput:="123") 2000Dim verifier = CompileAndVerify(compilation) 2193Dim verifier = CompileAndVerify(compilation, expectedOutput:="22") 2225Dim verifier = CompileAndVerify(compilation, expectedOutput:="22") 2269Dim verifier = CompileAndVerify(compilation, expectedOutput:="2222") 2303Dim verifier = CompileAndVerify(compilation, expectedOutput:="22") 2343Dim verifier = CompileAndVerify(compilation, expectedOutput:="22") 2377Dim verifier = CompileAndVerify(compilation, expectedOutput:="22")
Semantics\MethodCalls.vb (3)
5376Dim verifier = CompileAndVerify(compilation) 5429CompileAndVerify(library) 5445Dim verifier = CompileAndVerify(compilation)
Semantics\NameOfTests.vb (2)
3566CompileAndVerify(comp, expectedOutput:="x").VerifyDiagnostics() 3590CompileAndVerify(comp, expectedOutput:="xxx").VerifyDiagnostics()
Semantics\NewOnInterfaceTests.vb (4)
639CompileAndVerify(compilation, expectedOutput:="") 734CompileAndVerify(compilation, expectedOutput:="").VerifyIL("EmailHelpers.SaveHtmlAsMht", <![CDATA[ 1327CompileAndVerify(compilation, expectedOutput:="Unable to cast object of type 'CoClassImplementation' to type 'IComplicated'.") 1874CompileAndVerify(compilation, sourceSymbolValidator:=validator, symbolValidator:=validator)
Semantics\NoncompliantOverloadingInMetadata.vb (3)
278CompileAndVerify(compilation1, expectedOutput:="3" & Environment.NewLine & "3") 572CompileAndVerify(compilation1, expectedOutput:="3" & Environment.NewLine & "3") 8714CompileAndVerify(compilation2, expectedOutput:="1
Semantics\NonTrailingNamedArgumentsTests.vb (2)
1108CompileAndVerify(compilation, expectedOutput:="1 2. 3 -1. 4 5. 6 7.") 1161CompileAndVerify(compilation, expectedOutput:="1 2 3. 1 2 4. 1 2 5. 1 6 7.")
Semantics\OptionalArgumentTests.vb (3)
1682CompileAndVerify(attributeCompilation) 2031CompileAndVerify(compilation, expectedOutput:=" 2118CompileAndVerify(compilation, expectedOutput:=$"
Semantics\OverloadResolution.vb (12)
4127CompileAndVerify(compilation, expectedOutput:="abc") 4131CompileAndVerify(compilation, expectedOutput:="abc") 4158CompileAndVerify(compilation, expectedOutput:="abc") 4193CompileAndVerify(compilation, expectedOutput:="B.Goo") 4756CompileAndVerify(Compilation, expectedOutput:="1qq") 4792CompileAndVerify(compilation, expectedOutput:="1qq") 5010CompileAndVerify(compilation, expectedOutput:="CType2CType4") 5045CompileAndVerify(compilation, expectedOutput:="1") 5189CompileAndVerify(compilation, expectedOutput:="A.Test") 5249CompileAndVerify(compilation, expectedOutput:="IDerived_X") 5311CompileAndVerify(compilation, expectedOutput:= 5357CompileAndVerify(compilation)
Semantics\Parenthesized.vb (5)
30CompileAndVerify(compilation, expectedOutput:="[]") 255Dim verifier = CompileAndVerify(compilation, expectedOutput:= 481Dim verifier = CompileAndVerify(compilation, expectedOutput:= 631Dim verifier = CompileAndVerify(compilation, expectedOutput:="L1") 717Dim verifier = CompileAndVerify(compilation, expectedOutput:=
Semantics\QueryExpressions.vb (2)
1812CompileAndVerify(compilation, expectedOutput:="Where") 1942CompileAndVerify(compilation, expectedOutput:="Where")
Semantics\ScriptSemanticsTests.vb (2)
81CompileAndVerify(compilation, expectedOutput:="1").VerifyDiagnostics() 90CompileAndVerify(compilation, expectedOutput:="1").VerifyDiagnostics()
Semantics\TypeArgumentInference.vb (3)
587CompileAndVerify(compilation, expectedOutput:= 979CompileAndVerify(compilation, expectedOutput:="1") 1815CompileAndVerify(compilation)
Semantics\UnstructuredExceptionHandling.vb (73)
1330Dim compilationVerifier = CompileAndVerify(compilation) 1925Dim compilationVerifier = CompileAndVerify(compilation) 2466compilationVerifier = CompileAndVerify(compilation) 3274Dim compilationVerifier = CompileAndVerify(compilation) 3385compilationVerifier = CompileAndVerify(compilation) 3655Dim compilationVerifier = CompileAndVerify(compilation) 3753compilationVerifier = CompileAndVerify(compilation) 4057Dim compilationVerifier = CompileAndVerify(compilation) 4166compilationVerifier = CompileAndVerify(compilation) 4426Dim compilationVerifier = CompileAndVerify(compilation) 4578compilationVerifier = CompileAndVerify(compilation) 4724Dim compilationVerifier = CompileAndVerify(compilation) 4816compilationVerifier = CompileAndVerify(compilation) 4975Dim compilationVerifier = CompileAndVerify(compilation) 5067compilationVerifier = CompileAndVerify(compilation) 5226Dim compilationVerifier = CompileAndVerify(compilation) 5318compilationVerifier = CompileAndVerify(compilation) 5491Dim compilationVerifier = CompileAndVerify(compilation) 5632compilationVerifier = CompileAndVerify(compilation) 5775Dim compilationVerifier = CompileAndVerify(compilation) 5865compilationVerifier = CompileAndVerify(compilation) 6023Dim compilationVerifier = CompileAndVerify(compilation) 6156Dim compilationVerifier = CompileAndVerify(compilation) 6327Dim compilationVerifier = CompileAndVerify(compilation) 6457compilationVerifier = CompileAndVerify(compilation) 6593Dim compilationVerifier = CompileAndVerify(compilation) 6680compilationVerifier = CompileAndVerify(compilation) 6897CompileAndVerify(compilation). 7032CompileAndVerify(compilation). 7229Dim compilationVerifier = CompileAndVerify(compilation) 7340compilationVerifier = CompileAndVerify(compilation) 7587Dim compilationVerifier = CompileAndVerify(compilation) 7782compilationVerifier = CompileAndVerify(compilation) 7940Dim compilationVerifier = CompileAndVerify(compilation) 8046compilationVerifier = CompileAndVerify(compilation) 8281Dim compilationVerifier = CompileAndVerify(compilation) 8591compilationVerifier = CompileAndVerify(compilation) 8823Dim compilationVerifier = CompileAndVerify(compilation) 8947compilationVerifier = CompileAndVerify(compilation) 9205Dim compilationVerifier = CompileAndVerify(compilation) 9515compilationVerifier = CompileAndVerify(compilation) 9716Dim compilationVerifier = CompileAndVerify(compilation) 9825compilationVerifier = CompileAndVerify(compilation) 10037Dim compilationVerifier = CompileAndVerify(compilation) 10234compilationVerifier = CompileAndVerify(compilation) 10418Dim compilationVerifier = CompileAndVerify(compilation) 10527compilationVerifier = CompileAndVerify(compilation) 10738CompileAndVerify(compilation) 10742CompileAndVerify(compilation) 10790Dim compilationVerifier = CompileAndVerify(compilation) 10900compilationVerifier = CompileAndVerify(compilation) 12658Dim compilationVerifier = CompileAndVerify(compilation) 12842compilationVerifier = CompileAndVerify(compilation) 14609CompileAndVerify(compilation, expectedOutput:="Test2goo") 14612CompileAndVerify(compilation, expectedOutput:="Test2goo") 14647CompileAndVerify(compilation, expectedOutput:="Test3googooReturn") 14650CompileAndVerify(compilation, expectedOutput:="Test3googooReturn") 14724Dim compilationVerifier = CompileAndVerify(compilation) 14809Dim compilationVerifier = CompileAndVerify(compilation) 14956Dim compilationVerifier = CompileAndVerify(compilation) 15077Dim compilationVerifier = CompileAndVerify(compilation) 15175CompileAndVerify(compilation, expectedOutput:="StartHandler") 15202CompileAndVerify(compilation, expectedOutput:="StartHandler") 15229CompileAndVerify(compilation, expectedOutput:="Start") 15651Dim compilationVerifier = CompileAndVerify(compilation) 16132Dim compilationVerifier = CompileAndVerify(compilation) 16258Dim compilationVerifier = CompileAndVerify(compilation) 16926Dim compilationVerifier = CompileAndVerify(compilation, expectedOutput:="Before Exception" & Environment.NewLine & "Before Exception") 17096Dim compilationVerifier = CompileAndVerify(compilation) 17243Dim CompilationVerifier = CompileAndVerify(compilation, expectedOutput:="Before Exception") 18250CompileAndVerify(compilation, expectedOutput:="2") 18278CompileAndVerify(compilation, expectedOutput:="Nothing") 18307CompileAndVerify(compilation, expectedOutput:="Nothing")
Semantics\UserDefinedBinaryOperators.vb (3)
2852CompileAndVerify(compilation, expectedOutput:="23") 2902CompileAndVerify(compilation, expectedOutput:="13") 2941CompileAndVerify(compilation, expectedOutput:="Run")
Semantics\UserDefinedConversions.vb (3)
4521CompileAndVerify(compilation, expectedOutput:="0") 4579CompileAndVerify(compilation, expectedOutput:="Run") 4618CompileAndVerify(compilation, expectedOutput:="Run")
Semantics\UserDefinedUnaryOperators.vb (1)
775CompileAndVerify(compilation, expectedOutput:="Run")
Semantics\UseSiteErrorTests.vb (4)
616CompileAndVerify(compilation2) 627CompileAndVerify(compilation3) 669CompileAndVerify(compilation5, verify:=Verification.FailsILVerify) 710CompileAndVerify(compilation7)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (283)
DocumentationComments\DocCommentTests.vb (3)
11789CompileAndVerify(comp1, symbolValidator:=validator) 11790CompileAndVerify(comp2, symbolValidator:=validator) 12345AssertTheseDiagnostics(CompileAndVerify(compilation, expectedOutput:="Here").Diagnostics, <![CDATA[
SymbolsTests\AnonymousDelegates\AnonymousDelegates_CreationAndEmit.vb (3)
44CompileAndVerify(comp, symbolValidator:=validator) 59CompileAndVerify(comp, symbolValidator:=validator) 502CompileAndVerify(comp, symbolValidator:=validator, expectedOutput:="VB$AnonymousDelegate_0`2[System.Object,System.Object]")
SymbolsTests\AnonymousTypes\AnonymousTypesEmittedSymbolsTests.vb (1)
817CompileAndVerify(comp3, expectedOutput:="Hello, world!", symbolValidator:=
SymbolsTests\AnonymousTypes\AnonymousTypesSemanticsTests.vb (1)
2070CompileAndVerify(comp, symbolValidator:=validator, expectedOutput:="VB$AnonymousType_0`1[System.Int32]")
SymbolsTests\CheckedUserDefinedOperatorsTests.vb (9)
170CompileAndVerify(comp2, expectedOutput:=" 247CompileAndVerify(comp1, expectedOutput:="regular C0").VerifyDiagnostics() 250CompileAndVerify(comp2, expectedOutput:="regular C0").VerifyDiagnostics() 361CompileAndVerify(comp2, expectedOutput:="checked C0").VerifyDiagnostics() 430CompileAndVerify(comp1, expectedOutput:="regular C0").VerifyDiagnostics() 433CompileAndVerify(comp2, expectedOutput:="regular C0").VerifyDiagnostics() 541CompileAndVerify(comp2, expectedOutput:="checked C0").VerifyDiagnostics() 605CompileAndVerify(comp1, expectedOutput:="regular C0").VerifyDiagnostics() 608CompileAndVerify(comp2, expectedOutput:="regular C0").VerifyDiagnostics()
SymbolsTests\CustomModifiersTests.vb (24)
84CompileAndVerify(compilation, expectedOutput:="Test") 156CompileAndVerify(compilation, expectedOutput:="Test") 214CompileAndVerify(compilation, expectedOutput:="Test") 292CompileAndVerify(compilation, expectedOutput:="Overridden") 363CompileAndVerify(compilation, expectedOutput:="Overridden") 434CompileAndVerify(compilation, expectedOutput:="Overridden") 505CompileAndVerify(compilation, expectedOutput:="Overridden") 576CompileAndVerify(compilation, expectedOutput:="Overridden") 669CompileAndVerify(compilation, expectedOutput:= 764CompileAndVerify(compilation, expectedOutput:= 859CompileAndVerify(compilation, expectedOutput:= 954CompileAndVerify(compilation, expectedOutput:= 1054CompileAndVerify(compilation, expectedOutput:="Set Overridden 1126CompileAndVerify(compilation, expectedOutput:="Overridden") 1192CompileAndVerify(compilation, expectedOutput:="123") 1331CompileAndVerify(compilation1) 1730CompileAndVerify(compilation, expectedOutput:="Test 1 1794CompileAndVerify(compilation, expectedOutput:="Test 1865CompileAndVerify(compilation, expectedOutput:="Test 1936CompileAndVerify(compilation, expectedOutput:="Test 2009CompileAndVerify(compilation, expectedOutput:="Test 2046CompileAndVerify(compilation, expectedOutput:="Overridden") 2094CompileAndVerify(compilation, expectedOutput:= 2147CompileAndVerify(compilation, expectedOutput:="Implemented A
SymbolsTests\DefaultInterfaceImplementationTests.vb (96)
117CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 202CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 279CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 357CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 398CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 464CompileAndVerify(comp1, expectedOutput:="I1.M1") 538CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 570CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 756CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 842CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 881CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 1393CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 1462CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 1491CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 1790CompileAndVerify(comp1, verify:=VerifyPassesOnMonoOrCoreClr).VerifyDiagnostics() 1880CompileAndVerify(comp1, verify:=VerifyPassesOnMonoOrCoreClr).VerifyDiagnostics() 2102CompileAndVerify(comp1, expectedOutput:= 2165CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 2389CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 2859CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 2928CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 3153CompileAndVerify(comp1, verify:=VerifyPassesOnMonoOrCoreClr).VerifyDiagnostics() 3307CompileAndVerify(comp1, verify:=VerifyPassesOnMonoOrCoreClr).VerifyDiagnostics() 3450CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 3533CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 3618CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 3811CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 3860CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 3909CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 3958CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 4007CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 4056CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 4266CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator) 4269CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator) 4327CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator) 4330CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator) 4394CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator) 4397CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator) 4457CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator) 4460CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator) 4497CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 4500CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 4538CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 4541CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 4578CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 4581CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 4609CompileAndVerify(comp1, expectedOutput:="100") 4768CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 4798CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 4828CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 4858CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 4888CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 4918CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 5419CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 5596CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 5638CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 5680CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 5722CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 5764CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 5806CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 7101CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 7179CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 7259CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 7349CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 7393CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 7466CompileAndVerify(comp1, expectedOutput:="100") 7535CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 7564CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 7744CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 7828CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.P1.Get", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 7867CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.P1.Get", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 8362CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 8439CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 8518CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 8607CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 8650CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 8725CompileAndVerify(comp1, expectedOutput:="100") 8797CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 8829CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 9009CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 9093CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.P1.Set", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 9132CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "I1.P1.Set", Nothing), verify:=VerifyFailsOnMonoOrCoreClr) 9633CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 9718CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 9805CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 9905CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 9956CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 10047CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 10138CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 10181CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 10388CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 10483CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 10526CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, 11048CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 11130CompileAndVerify(comp1, expectedOutput:=If(ExecutionConditionUtil.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr) 11519CompileAndVerify(comp1, verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator)
SymbolsTests\ExtensionMethods\ExtensionMethodTests.vb (6)
1714CompileAndVerify(compilation1, expectedOutput:="345") 1769CompileAndVerify(compilation1_2, expectedOutput:="345") 1838CompileAndVerify(compilation1_4, expectedOutput:="345") 1953CompileAndVerify(compilation, 2506CompileAndVerify(vb, expectedOutput:="5") 2535CompileAndVerify(vb, expectedOutput:="5")
SymbolsTests\ExtensionMethods\LookupAndInvocation.vb (1)
2624CompileAndVerify(compilation, expectedOutput:="456")
SymbolsTests\GenericConstraintTests.vb (1)
4756Dim compilationVerifier = CompileAndVerify(compilation)
SymbolsTests\InterfaceImplementationTests.vb (1)
102CompileAndVerify(comp, expectedOutput:=expectedOutput)
SymbolsTests\Metadata\MetadataMemberTests.vb (5)
989CompileAndVerify(compilation) 996CompileAndVerify(compilation) 1003CompileAndVerify(compilation) 1054CompileAndVerify(compilation) 1061CompileAndVerify(compilation)
SymbolsTests\Metadata\MetadataTypeTests.vb (6)
74CompileAndVerify(compilation, 411CompileAndVerify(compilation) 448CompileAndVerify(compilation) 485CompileAndVerify(compilation) 522CompileAndVerify(compilation) 981CompileAndVerify(compilation)
SymbolsTests\Metadata\PE\LoadingAttributes.vb (4)
1396CompileAndVerify(c1, symbolValidator:=Sub(m As ModuleSymbol) 1525CompileAndVerify(c1, symbolValidator:=Sub(m As ModuleSymbol) 1556CompileAndVerify(c2, symbolValidator:=Sub(m As ModuleSymbol) 1617CompileAndVerify(c, symbolValidator:=Sub(m)
SymbolsTests\Metadata\PE\LoadingFields.vb (1)
275CompileAndVerify(compilation, expectedOutput:="Value1
SymbolsTests\Metadata\PE\LoadingMetadataTokens.vb (1)
37CompileAndVerify(compilation, symbolValidator:=Sub([module] As ModuleSymbol)
SymbolsTests\Metadata\PE\TypeForwarders.vb (5)
935Dim verifier = CompileAndVerify(compilation, 992CompileAndVerify(appCompilation, 1047CompileAndVerify(appCompilation, verify:=Verification.FailsPEVerify, 1106CompileAndVerify(appCompilation, 1225CompileAndVerify(appCompilation, verify:=Verification.FailsPEVerify,
SymbolsTests\Metadata\PE\VisualBasicCompilerFeatureRequiredTests.vb (1)
82Return _testBase.CompileAndVerify(compilation)
SymbolsTests\Metadata\WinMdEventTest.vb (3)
770CompileAndVerify(compilation, verify:=Verification.FailsILVerify).VerifyIL("abcdef.goo", expectedIL.Value()) 852CompileAndVerify(compilation, verify:=If(OSVersion.IsWin8, Verification.Passes, Verification.Skipped)).VerifyIL("abcdef.goo", expectedIL.Value()) 1456Dim v = CompileAndVerify(comp)
SymbolsTests\Metadata\WinMdTypeTests.vb (1)
70CompileAndVerify(comp, symbolValidator:=Sub(m)
SymbolsTests\RelaxedShiftOperatorTests.vb (1)
66CompileAndVerify(comp2, expectedOutput:="<<").VerifyDiagnostics()
SymbolsTests\Retargeting\NoPia.vb (30)
222CompileAndVerify(compilation1) 224CompileAndVerify(compilation2) 288CompileAndVerify(compilation1) 290CompileAndVerify(compilation2) 299CompileAndVerify(compilation1) 303CompileAndVerify(compilation2) 310CompileAndVerify(compilation0) 314CompileAndVerify(compilation1) 318CompileAndVerify(compilation2) 541CompileAndVerify(compilation1) 552CompileAndVerify(compilation1) 560CompileAndVerify(pia1) 565CompileAndVerify(compilation1) 585CompileAndVerify(compilation3) 616CompileAndVerify(comp) 1022CompileAndVerify(compilation3) 1029CompileAndVerify(pia1) 1033CompileAndVerify(compilation3) 1083CompileAndVerify(pia) 1109CompileAndVerify(localTypes2) 1175CompileAndVerify(pia) 1200CompileAndVerify(localTypes2) 1266CompileAndVerify(pia) 1357CompileAndVerify(pia) 1417CompileAndVerify(pia) 1593CompileAndVerify(pia1) 1618CompileAndVerify(multiModule) 1636CompileAndVerify(consumer, verify:=Verification.FailsILVerify) 1681CompileAndVerify(comp2, expectedOutput:="Y").Diagnostics.Verify() 1688CompileAndVerify(comp3, expectedOutput:="Y").Diagnostics.Verify()
SymbolsTests\Source\EventTests.vb (4)
1969Dim verifier = CompileAndVerify(compilation, expectedOutput:="TrueFalseTrue", 2066Dim verifier = CompileAndVerify(compilation, expectedOutput:="TrueFalseTrue", 2165Dim verifier = CompileAndVerify(compilation, expectedOutput:="TrueFalseTrue", 2234Dim verifier = CompileAndVerify(compilation, expectedOutput:="TrueFalseTrue",
SymbolsTests\Source\GroupClassTests.vb (27)
275Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 325Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 509Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 552Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 595Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 652Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 709Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 762Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 815Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 865Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 915Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 966Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 1009Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 1055Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 1104Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 1149Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 1209Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 1272Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 1633Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 1681Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 1723Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 1869Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 2597Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 3467CompileAndVerify(compilation).VerifyDiagnostics() 3605Dim verifier = CompileAndVerify(compilation, expectedOutput:="1 Never").VerifyDiagnostics() 3652Dim verifier = CompileAndVerify(compilation, expectedOutput:="disposed").VerifyDiagnostics() 3712Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics()
SymbolsTests\Source\OverridesTests.vb (8)
2555CompileAndVerify(compilation) 6769CompileAndVerify(comp).VerifyDiagnostics() 6791CompileAndVerify(comp1).VerifyDiagnostics() 6901CompileAndVerify(compilation) 6968CompileAndVerify(compilation, expectedOutput:="void Validator<T>.DoValidate(object objectToValidate) 7085CompileAndVerify(compilation, expectedOutput:="void Validator<T>.DoValidate(object objectToValidate) 7139CompileAndVerify(compilation, expectedOutput:="void ValidatorBase<T>.DoValidate(object objectToValidate) 7207CompileAndVerify(compilation, expectedOutput:="void Validator<T>.DoValidate(object objectToValidate)
SymbolsTests\Source\PropertyTests.vb (8)
2689CompileAndVerify(compilation, symbolValidator:= 3198Dim compilationVerifier = CompileAndVerify(compilation3) 3498Dim compilationVerifier = CompileAndVerify(compilation) 3744CompileAndVerify(compilation, expectedOutput:="9") 4021CompileAndVerify(compilation, expectedOutput:="234") 6066Dim compilationVerifier = CompileAndVerify(compilation2) 6378Dim compilationVerifier = CompileAndVerify(compilation2) 7762Dim compilationVerifier = CompileAndVerify(compilation)
SymbolsTests\Source\StaticLocals.vb (4)
485Dim verifier = CompileAndVerify(compilation) 589Dim verifier = CompileAndVerify(compilation) 856Dim v = CompileAndVerify(compilation, expectedOutput:=" 924CompileAndVerify(compilation)
SymbolsTests\Source\SyntheticEntryPoint.vb (5)
71Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 118Dim verifier = CompileAndVerify(compilation, 200Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 251Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics() 482Dim verifier = CompileAndVerify(compilation).VerifyDiagnostics()
SymbolsTests\Source\TypeTests.vb (3)
2582CompileAndVerify(compilation) 2706CompileAndVerify(compilation) 3199CompileAndVerify(compilation, verify:=Verification.FailsPEVerify).VerifyDiagnostics()
SymbolsTests\SymbolErrorTests.vb (9)
2889CompileAndVerify(compilation1, 2918CompileAndVerify(compilation1, 2947CompileAndVerify(compilation1, 2976CompileAndVerify(compilation1, 3026CompileAndVerify(compilation1, 3055CompileAndVerify(compilation1, 10602CompileAndVerify(compilation1, expectedOutput:= 10662CompileAndVerify(compilation1, expectedOutput:= 23914CompileAndVerify(compilation).VerifyDiagnostics()
SymbolsTests\UnsignedRightShiftTests.vb (2)
45CompileAndVerify(comp1, expectedOutput:=">>>").VerifyDiagnostics() 84CompileAndVerify(comp1, expectedOutput:=">>").VerifyDiagnostics()
UsedAssembliesTests.vb (9)
30CompileAndVerify(comp1, verify:=Verification.FailsILVerify) 35CompileAndVerify(comp2) 52CompileAndVerify(comp1, verify:=Verification.FailsILVerify) 97CompileAndVerify(comp2, verify:=Verification.Skipped).Diagnostics.AssertTheseDiagnostics(after, suppressInfos:=False) 104CompileAndVerify(comp3, verify:=Verification.Skipped).Diagnostics.AssertTheseDiagnostics(after, suppressInfos:=False) 151CompileAndVerify(comp, verify:=Verification.Skipped, expectedOutput:=expectedOutput).VerifyDiagnostics() 161CompileAndVerify(comp3, verify:=Verification.Skipped, expectedOutput:=expectedOutput).VerifyDiagnostics() 168CompileAndVerify(comp2, verify:=Verification.Skipped, expectedOutput:=expectedOutput).VerifyDiagnostics() 239CompileAndVerify(comp1, verify:=Verification.FailsILVerify)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
Parser\ParseStatements.vb (4)
4168CompileAndVerify(compilation) 4199CompileAndVerify(Compilation) 4229CompileAndVerify(Compilation) 9147CompileAndVerify(compilation, expectedOutput:=
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
BasicTestBase.vb (2)
108Return CompileAndVerify( 389Return CompileAndVerify(compilation, expectedOutput:=expectedOutput)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (7)
IOperation\IOperationTests_INoPiaObjectCreationOperation.vb (7)
41CompileAndVerify(piaCompilation) 98CompileAndVerify(piaCompilation) 152CompileAndVerify(piaCompilation) 201CompileAndVerify(piaCompilation) 291CompileAndVerify(piaCompilation) 378CompileAndVerify(piaCompilation) 446CompileAndVerify(piaCompilation)