300 references to CreateCompilationWithCustomILSource
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (15)
Attributes\AttributeTests.vb (1)
4036
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
Attributes\AttributeTests_CallerArgumentExpression.vb (3)
257
Dim compilation =
CreateCompilationWithCustomILSource
(source, il, options:=TestOptions.ReleaseExe, includeVbRuntime:=True, parseOptions:=TestOptions.RegularLatest)
918
Dim compilation =
CreateCompilationWithCustomILSource
(source, il, options:=TestOptions.ReleaseExe, includeVbRuntime:=True, parseOptions:=TestOptions.RegularLatest)
1476
Dim compilation =
CreateCompilationWithCustomILSource
(source, il, options:=TestOptions.ReleaseExe, includeVbRuntime:=True, parseOptions:=TestOptions.RegularLatest)
CodeGen\CodeGenTuples.vb (8)
9868
Dim comp =
CreateCompilationWithCustomILSource
(<compilation>
9968
Dim comp =
CreateCompilationWithCustomILSource
(<compilation>
10069
Dim comp =
CreateCompilationWithCustomILSource
(<compilation>
18188
Dim compMatching =
CreateCompilationWithCustomILSource
(
18205
Dim compDifferent1 =
CreateCompilationWithCustomILSource
(
18227
Dim compDifferent2 =
CreateCompilationWithCustomILSource
(
18732
Dim comp1 =
CreateCompilationWithCustomILSource
(source1, il, appendDefaultHeader:=False, additionalReferences:={ValueTupleRef, SystemRuntimeFacadeRef})
19901
Dim comp1 =
CreateCompilationWithCustomILSource
(source1, il, appendDefaultHeader:=False)
CodeGen\CodeGenWithEvents.vb (1)
1365
Dim compilation =
CreateCompilationWithCustomILSource
(
Emit\EmitCustomModifiers.vb (1)
100
Dim comp =
CreateCompilationWithCustomILSource
(source, il.Value, TestOptions.ReleaseExe)
Emit\OptionalArgumentsTests.vb (1)
816
Dim comp =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.DebugExe)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ResultProvider.UnitTests (1)
VisualBasicResultProviderTestBase.vb (1)
36
Dim comp = CompilationUtils.
CreateCompilationWithCustomILSource
(sources:=<compilation/>, ilSource:=ilSource, options:=TestOptions.ReleaseDll, ilImage:=ilImage)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (165)
Binding\BadSymbolReference.vb (2)
1418
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compDef, ilSource1.Value, TestOptions.ReleaseDll)
1452
compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compDef, ilSource2.Value, TestOptions.ReleaseDll)
Binding\Binder_Statements_Tests.vb (16)
3958
Dim compilation =
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True)
4056
Dim compilation =
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True)
4121
Dim compilation =
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True)
4195
Dim compilation1 =
CreateCompilationWithCustomILSource
(compilationDef1, ilSource.Value, includeVbRuntime:=True)
4231
Dim compilation2 =
CreateCompilationWithCustomILSource
(compilationDef2, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
4295
Dim compilation1 =
CreateCompilationWithCustomILSource
(compilationDef1, ilSource.Value, includeVbRuntime:=True)
4331
Dim compilation2 =
CreateCompilationWithCustomILSource
(compilationDef2, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
4395
Dim compilation1 =
CreateCompilationWithCustomILSource
(compilationDef1, ilSource.Value, includeVbRuntime:=True)
4431
Dim compilation2 =
CreateCompilationWithCustomILSource
(compilationDef2, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
4495
Dim compilation1 =
CreateCompilationWithCustomILSource
(compilationDef1, ilSource.Value, includeVbRuntime:=True)
4531
Dim compilation2 =
CreateCompilationWithCustomILSource
(compilationDef2, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
4595
Dim compilation1 =
CreateCompilationWithCustomILSource
(compilationDef1, ilSource.Value, includeVbRuntime:=True)
4631
Dim compilation2 =
CreateCompilationWithCustomILSource
(compilationDef2, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
4695
Dim compilation1 =
CreateCompilationWithCustomILSource
(compilationDef1, ilSource.Value, includeVbRuntime:=True)
4731
Dim compilation2 =
CreateCompilationWithCustomILSource
(compilationDef2, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
4796
Dim compilation1 =
CreateCompilationWithCustomILSource
(compilationDef1, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
Binding\BindingErrorTests.vb (1)
14228
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
Semantics\InitOnlyMemberTests.vb (19)
2119
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
2206
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
2294
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
2388
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
2614
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
2927
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
3010
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
4350
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
4427
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
4491
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
4546
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
4607
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
4681
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
4758
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
4846
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
4939
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
5031
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
5112
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
5179
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, parseOptions:=TestOptions.RegularLatest, options:=TestOptions.ReleaseDll)
Semantics\Lambda_Relaxation.vb (1)
2873
Dim compilation =
CreateCompilationWithCustomILSource
(compilationDef,
Semantics\MultiDimensionalTest.vb (28)
484
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe)
524
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe)
576
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe)
622
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseDll)
648
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseDll)
683
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
792
Dim compilation =
CreateCompilationWithCustomILSource
(source, ilSource, options:=TestOptions.ReleaseExe.WithOptionStrict(OptionStrict.On))
869
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe)
942
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe)
1028
Dim compilation =
CreateCompilationWithCustomILSource
(source, ilSource, options:=TestOptions.ReleaseExe)
1130
Dim compilation =
CreateCompilationWithCustomILSource
(source, ilSource, options:=TestOptions.ReleaseExe)
1157
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe, includeVbRuntime:=True)
1216
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe)
1253
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe)
1292
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseDll)
1326
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe)
1383
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe, includeVbRuntime:=True)
1447
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseDll)
1481
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe, includeVbRuntime:=True)
1533
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe, includeVbRuntime:=True)
1591
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseDll)
1619
Dim compilation =
CreateCompilationWithCustomILSource
(source, s_arraysOfRank1IlSource, options:=TestOptions.ReleaseExe)
1672
Dim compilation =
CreateCompilationWithCustomILSource
(source, ilSource, options:=TestOptions.ReleaseExe)
1734
Dim compilation =
CreateCompilationWithCustomILSource
(source, ilSource, options:=TestOptions.ReleaseExe)
1803
Dim compilation =
CreateCompilationWithCustomILSource
(source, ilSource, options:=TestOptions.ReleaseExe)
2133
Dim compilation =
CreateCompilationWithCustomILSource
(source, ilSource, options:=TestOptions.ReleaseExe)
2571
Dim compilation =
CreateCompilationWithCustomILSource
(source, ilSource, options:=TestOptions.ReleaseExe)
2706
Dim compilation =
CreateCompilationWithCustomILSource
(source, ilSource, includeVbRuntime:=True,
Semantics\NoncompliantOverloadingInMetadata.vb (60)
83
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
193
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
261
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
280
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
377
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
487
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
555
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
574
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
716
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
859
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
960
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
979
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
1066
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
1102
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
1184
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
1253
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
1271
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
1360
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
1376
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
2649
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
3279
Dim compilation9 = CompilationUtils.
CreateCompilationWithCustomILSource
(
4472
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
4602
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
4688
Dim compilation3 = CompilationUtils.
CreateCompilationWithCustomILSource
(
4740
Dim compilation4 = CompilationUtils.
CreateCompilationWithCustomILSource
(
5209
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
5236
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
5257
Dim compilation3 = CompilationUtils.
CreateCompilationWithCustomILSource
(
5284
Dim compilation4 = CompilationUtils.
CreateCompilationWithCustomILSource
(
5715
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
5742
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
5763
Dim compilation3 = CompilationUtils.
CreateCompilationWithCustomILSource
(
5790
Dim compilation4 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6061
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6108
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6205
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6235
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6318
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6406
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6508
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6598
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6701
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6718
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6853
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
6996
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
7095
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
7116
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
7187
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
7279
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
7300
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
7390
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
7412
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
8272
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
8365
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
8448
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
8467
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
8545
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
8564
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
8673
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(compDef1, ilSource.Value, TestOptions.ReleaseExe, appendDefaultHeader:=False)
8712
Dim compilation2 = CompilationUtils.
CreateCompilationWithCustomILSource
(compDef2, ilSource.Value, TestOptions.ReleaseExe, appendDefaultHeader:=False)
Semantics\QueryExpressions.vb (5)
1098
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, customIL.Value, includeVbRuntime:=True)
1735
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, customIL.Value, includeVbRuntime:=True)
1810
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, customIL.Value, options:=TestOptions.ReleaseExe, includeVbRuntime:=True)
1865
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, customIL.Value, includeVbRuntime:=True)
1940
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, customIL.Value, TestOptions.ReleaseExe, includeVbRuntime:=True)
Semantics\UserDefinedBinaryOperators.vb (6)
741
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
898
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1038
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1175
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1842
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True,
1932
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True,
Semantics\UserDefinedConversions.vb (5)
2136
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
2318
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
2452
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
2527
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
2596
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
Semantics\UserDefinedUnaryOperators.vb (4)
265
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
365
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
428
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
510
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
Semantics\UseSiteErrorTests.vb (18)
794
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
853
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
912
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
969
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1038
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1110
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1178
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1248
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1288
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1333
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1381
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1425
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1478
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1534
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1587
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1645
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1706
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1764
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (118)
SymbolsTests\AttributeTests_UnmanagedCallersOnly.vb (5)
192
Dim comp =
CreateCompilationWithCustomILSource
(source, il)
243
Dim comp =
CreateCompilationWithCustomILSource
(source, il)
322
Dim comp =
CreateCompilationWithCustomILSource
(source, il)
376
Dim comp =
CreateCompilationWithCustomILSource
(source, il)
424
Dim comp =
CreateCompilationWithCustomILSource
(source, il)
SymbolsTests\CustomModifiersTests.vb (38)
59
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
127
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
212
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
279
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
357
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
428
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
499
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
570
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
659
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
754
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
849
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
944
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
1046
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
1120
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
1187
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
1273
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
1329
Dim compilation1 =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1383
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1426
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1469
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1506
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1549
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1595
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseDll)
1728
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
1792
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
1863
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
1934
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
2007
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
2145
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
2195
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, options:=TestOptions.ReleaseExe)
2251
Dim comp1 =
CreateCompilationWithCustomILSource
(source1, il, appendDefaultHeader:=False, additionalReferences:={ValueTupleRef, SystemRuntimeFacadeRef})
2286
Dim comp2 =
CreateCompilationWithCustomILSource
(source2, il, appendDefaultHeader:=False, additionalReferences:={ValueTupleRef, SystemRuntimeFacadeRef})
2316
Dim comp3 =
CreateCompilationWithCustomILSource
(source3, il, appendDefaultHeader:=False, additionalReferences:={ValueTupleRef, SystemRuntimeFacadeRef})
2382
Dim comp1 =
CreateCompilationWithCustomILSource
(source1, il, appendDefaultHeader:=False, additionalReferences:={ValueTupleRef, SystemRuntimeFacadeRef})
2411
Dim comp2 =
CreateCompilationWithCustomILSource
(source2, il, appendDefaultHeader:=False, additionalReferences:={ValueTupleRef, SystemRuntimeFacadeRef})
2529
Dim comp1 =
CreateCompilationWithCustomILSource
(source1, il, appendDefaultHeader:=False, additionalReferences:={ValueTupleRef, SystemRuntimeFacadeRef})
2577
Dim comp2 =
CreateCompilationWithCustomILSource
(source2, il, appendDefaultHeader:=False, additionalReferences:={ValueTupleRef, SystemRuntimeFacadeRef})
2615
Dim comp3 =
CreateCompilationWithCustomILSource
(source3, il, appendDefaultHeader:=False, additionalReferences:={ValueTupleRef, SystemRuntimeFacadeRef})
SymbolsTests\GenericConstraintTests.vb (15)
2700
Dim comp =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
2766
Dim comp =
CreateCompilationWithCustomILSource
(vbSource, ilSource, includeVbRuntime:=True)
2943
Dim comp =
CreateCompilationWithCustomILSource
(vbSource, ilSource, includeVbRuntime:=True)
3057
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
3130
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
3173
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
3314
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
3471
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
3537
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
3615
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
3668
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
3739
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
3787
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
3913
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
3990
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
SymbolsTests\Metadata\MetadataMemberTests.vb (5)
537
Dim compilation =
CreateCompilationWithCustomILSource
(source,
613
compilation =
CreateCompilationWithCustomILSource
(source,
749
Dim comp =
CreateCompilationWithCustomILSource
(vb, _VTableGapClassIL, includeVbRuntime:=True)
798
Dim comp =
CreateCompilationWithCustomILSource
(vb, _VTableGapClassIL, includeVbRuntime:=True)
851
Dim comp =
CreateCompilationWithCustomILSource
(vb, _VTableGapInterfaceIL, includeVbRuntime:=True)
SymbolsTests\Metadata\MetadataTypeTests.vb (2)
1108
Dim comp =
CreateCompilationWithCustomILSource
(<compilation/>, ilSource)
1178
Dim comp =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
SymbolsTests\Metadata\PE\LoadingAttributes.vb (3)
1516
Dim c1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
1545
Dim c2 = CompilationUtils.
CreateCompilationWithCustomILSource
(
1605
Dim c = CompilationUtils.
CreateCompilationWithCustomILSource
(
SymbolsTests\Metadata\PE\LoadingFields.vb (1)
273
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, includeVbRuntime:=True, options:=TestOptions.DebugExe)
SymbolsTests\Metadata\PE\LoadingGenericTypeParameters.vb (1)
246
Dim comp =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
SymbolsTests\Metadata\PE\LoadingMethods.vb (4)
769
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
857
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
890
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1061
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
SymbolsTests\Metadata\PE\LoadingOperators.vb (13)
545
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
1141
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
1360
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
1903
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
2064
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(
2188
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2288
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2386
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2466
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2545
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2624
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2688
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2777
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
SymbolsTests\Metadata\PE\NoPia.vb (3)
1081
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1152
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
1237
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(compilationDef, ilSource.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
SymbolsTests\Metadata\PE\VisualBasicCompilerFeatureRequiredTests.vb (1)
74
Return
CreateCompilationWithCustomILSource
(source, ilSource)
SymbolsTests\Source\EventTests.vb (4)
72
Dim comp1 =
CreateCompilationWithCustomILSource
(vbSource, ilSource.Value, TestOptions.DebugDll)
935
Dim comp2 =
CreateCompilationWithCustomILSource
(vbSource, ilSource.Value, TestOptions.ReleaseDll)
1073
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource.Value, TestOptions.ReleaseDll)
1482
Dim vbCompilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource, includeVbRuntime:=True)
SymbolsTests\Source\OverridesTests.vb (2)
2151
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(source, customIL.Value, includeVbRuntime:=True)
6899
Dim compilation =
CreateCompilationWithCustomILSource
(source, il.Value, options:=TestOptions.DebugDll)
SymbolsTests\Source\PropertyTests.vb (17)
2117
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(source, customIL.Value, includeVbRuntime:=True)
2174
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(source, customIL.Value, includeVbRuntime:=True)
2278
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(source, customIL.Value, includeVbRuntime:=True)
2391
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(source, customIL.Value, includeVbRuntime:=True, options:=TestOptions.ReleaseExe)
2459
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(source, customIL.Value, includeVbRuntime:=True)
2522
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(source, customIL.Value, includeVbRuntime:=True)
2577
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(source, customIL.Value, includeVbRuntime:=True)
3742
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(source, customIL.Value, TestOptions.ReleaseExe, includeVbRuntime:=True)
4885
CreateCompilationWithCustomILSource
(vbSource, ilSource).AssertTheseDiagnostics(
4909
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource)
4931
Dim compilation =
CreateCompilationWithCustomILSource
(vbSource, ilSource).VerifyDiagnostics()
4955
CreateCompilationWithCustomILSource
(vbSource, ilSource).VerifyDiagnostics()
5127
CreateCompilationWithCustomILSource
(vbSource, ilSource).AssertTheseDiagnostics(
5154
CreateCompilationWithCustomILSource
(vbSource, ilSource).AssertTheseDiagnostics(
5179
Dim compilation = CompilationUtils.
CreateCompilationWithCustomILSource
(vbSource, ilSource)
5233
CreateCompilationWithCustomILSource
(vbSource, ilSource).VerifyDiagnostics(
5283
CreateCompilationWithCustomILSource
(vbSource, ilSource).VerifyDiagnostics(
SymbolsTests\SymbolErrorTests.vb (4)
10553
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
10613
Dim compilation1 = CompilationUtils.
CreateCompilationWithCustomILSource
(
24093
Dim compilation =
CreateCompilationWithCustomILSource
(userCode, forwardingIL, appendDefaultHeader:=False)
24161
Dim compilation =
CreateCompilationWithCustomILSource
(userCode, forwardingIL, appendDefaultHeader:=False)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
CompilationTestUtils.vb (1)
344
Return
CreateCompilationWithCustomILSource
(sources, ilSource.Value)