265 references to CreateCompilationWithIL
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (16)
CodeGen\CodeGenConversionTests.cs (1)
1243
var comp =
CreateCompilationWithIL
(@"
CodeGen\CodeGenFunctionPointersTests.cs (12)
61
var comp =
CreateCompilationWithIL
(source, ilStub, parseOptions: TestOptions.Regular9, options: expectedOutput is null ? TestOptions.UnsafeReleaseDll : TestOptions.UnsafeReleaseExe);
70
return
CreateCompilationWithIL
(source, ilStub, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Empty);
683
var compilation =
CreateCompilationWithIL
(source: "", ilSource, parseOptions: TestOptions.Regular9);
8753
var comp =
CreateCompilationWithIL
(@"
8802
var comp =
CreateCompilationWithIL
(@"
8924
var comp =
CreateCompilationWithIL
(@"
8994
var comp =
CreateCompilationWithIL
(@"
9059
var comp =
CreateCompilationWithIL
(@"
9144
var comp =
CreateCompilationWithIL
(@"
9210
var comp =
CreateCompilationWithIL
(@"
9271
var comp =
CreateCompilationWithIL
(@"
9309
var comp =
CreateCompilationWithIL
(@"
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (2)
899
var compilation =
CreateCompilationWithIL
(csharp, ilSource);
2475
var compilation =
CreateCompilationWithIL
(csharp, ilSource);
CodeGen\CodeGenRefLocalTests.cs (1)
3534
var comp =
CreateCompilationWithIL
(code, unsafeAsPointerIl, options: options);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (10)
Attributes\AttributeTests.cs (3)
10210
var comp =
CreateCompilationWithIL
(source, il, parseOptions: TestOptions.Regular9);
10213
comp =
CreateCompilationWithIL
(source, il);
10456
var comp =
CreateCompilationWithIL
(source, il, options: TestOptions.DebugExe);
Attributes\AttributeTests_CallerInfoAttributes.cs (2)
1393
var compilation =
CreateCompilationWithIL
(source, il, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe);
1913
var compilation =
CreateCompilationWithIL
(source, il, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (2)
6171
var compilation =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.ReleaseExe);
6327
var compilation =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.DebugExe);
Semantics\PatternMatchingTests_ListPatterns.cs (3)
1761
var csCompilation =
CreateCompilationWithIL
(csSource, ilSource);
4694
var compilation =
CreateCompilationWithIL
(new[] { source, TestSources.Index, TestSources.Range }, il);
4921
var compilation =
CreateCompilationWithIL
(source, il);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (7)
IOperation\IOperationTests_IForEachLoopStatement.cs (2)
7150
var comp =
CreateCompilationWithIL
(@"
7267
var comp =
CreateCompilationWithIL
(@"
IOperation\IOperationTests_IUsingStatement.cs (5)
1434
var compilation =
CreateCompilationWithIL
(source, ilSource);
1629
var compilation =
CreateCompilationWithIL
(source, ilSource);
1770
var compilation =
CreateCompilationWithIL
(source, ilSource);
1911
var compilation =
CreateCompilationWithIL
(source, ilSource);
2053
var compilation =
CreateCompilationWithIL
(source, ilSource);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (99)
Semantics\ColorColorTests.cs (1)
2365
var compilation =
CreateCompilationWithIL
(genericTreeDefinitionSource, implementingTreeWithModoptObjectILSource);
Semantics\DelegateTypeTests.cs (2)
10723
var comp =
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics();
10765
var comp =
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics();
Semantics\FunctionPointerTests.cs (4)
1981
var comp =
CreateCompilationWithIL
(source, il, options: TestOptions.UnsafeReleaseDll);
2027
var comp =
CreateCompilationWithIL
(source, il, options: TestOptions.UnsafeReleaseExe);
2060
var comp =
CreateCompilationWithIL
(code, il, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseExe);
2098
var comp =
CreateCompilationWithIL
("", il, references: new[] { cComp.ToMetadataReference() }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll);
Semantics\InterpolationTests.cs (2)
3531
var comp =
CreateCompilationWithIL
(code, ilSource: interpolatedStringBuilder + UnmanagedCallersOnlyIl);
3606
var comp =
CreateCompilationWithIL
(code, ilSource: interpolatedStringBuilder + UnmanagedCallersOnlyIl);
Semantics\NamedAndOptionalTests.cs (1)
2439
var comp =
CreateCompilationWithIL
(csharp, il, options: TestOptions.DebugExe);
Semantics\NullableReferenceTypesTests.cs (6)
36480
var compilation =
CreateCompilationWithIL
(new[] { source }, il, options: WithNullableEnable());
37009
CSharpCompilation c =
CreateCompilationWithIL
(new[] { @"
97590
var comp3 =
CreateCompilationWithIL
(new[] { source3 }, il, options: WithNullableEnable());
103309
var compilation =
CreateCompilationWithIL
(new[] { "" }, il, options: WithNullableEnable());
103380
var compilation =
CreateCompilationWithIL
(new[] { "" }, il, options: WithNullableEnable());
103415
var compilation =
CreateCompilationWithIL
(new[] { "" }, il, options: WithNullableEnable());
Semantics\PrimaryConstructorTests.cs (1)
10892
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.ReleaseDll);
Semantics\RawInterpolationTests_Handler.cs (2)
1923
var comp =
CreateCompilationWithIL
(code, ilSource: interpolatedStringBuilder + UnmanagedCallersOnlyIl);
1997
var comp =
CreateCompilationWithIL
(code, ilSource: interpolatedStringBuilder + UnmanagedCallersOnlyIl);
Semantics\RecordTests.cs (59)
2623
var comp =
CreateCompilationWithIL
(new[] { src, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
2705
var comp =
CreateCompilationWithIL
(new[] { src, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
2718
comp =
CreateCompilationWithIL
(new[] { src, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular10);
3419
var comp =
CreateCompilationWithIL
(src, il, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
3638
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
3741
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
3854
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
3967
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
4079
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
4192
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
4600
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
4703
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
4903
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
6341
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
6410
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
6482
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
6554
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
6626
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
6704
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
6766
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
6850
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
6999
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
7009
comp =
CreateCompilationWithIL
(new[] { source2, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
7087
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
7165
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
7273
var comp =
CreateCompilationWithIL
(
13589
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
13601
var comp2 =
CreateCompilationWithIL
(new[] { source2, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
13674
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
13852
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition },
13931
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition },
15936
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16042
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16142
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16242
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16474
var comp =
CreateCompilationWithIL
(new[] { source1, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16481
comp =
CreateCompilationWithIL
(new[] { source2, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16488
comp =
CreateCompilationWithIL
(new[] { source1 + source3, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16495
comp =
CreateCompilationWithIL
(new[] { source1 + source4, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16502
comp =
CreateCompilationWithIL
(new[] { source2 + source3, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16509
comp =
CreateCompilationWithIL
(new[] { source2 + source4, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16609
var comp =
CreateCompilationWithIL
(new[] { source1, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16620
comp =
CreateCompilationWithIL
(new[] { source2, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16720
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16731
comp =
CreateCompilationWithIL
(new[] { source2, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16968
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
16979
comp =
CreateCompilationWithIL
(new[] { source2, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
17080
var comp =
CreateCompilationWithIL
(new[] { source2, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
17187
var comp =
CreateCompilationWithIL
(new[] { source2, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
17583
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
17683
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
17789
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
17986
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
19466
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
19634
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
19753
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
19963
var comp =
CreateCompilationWithIL
(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9);
20257
var comp =
CreateCompilationWithIL
(src, il);
20270
var comp2 =
CreateCompilationWithIL
(src2, il);
Semantics\UseSiteErrorTests.cs (20)
2808
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
2857
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
2906
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
2954
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3012
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3073
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3131
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3189
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3250
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3308
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3337
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3381
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3430
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3476
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3530
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3590
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3644
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3702
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3766
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3824
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
Semantics\Utf8StringsLiteralsTests.cs (1)
634
var comp =
CreateCompilationWithIL
(source, il);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (132)
Symbols\CheckedUserDefinedOperatorsTests.cs (12)
3614
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
3694
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
3771
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4396
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4478
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4557
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5485
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5574
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5620
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6709
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6962
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7155
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
Symbols\CSharpCompilerFeatureRequiredTests.cs (1)
60
return CSharpTestBase.
CreateCompilationWithIL
(source, ilSource);
Symbols\CustomModifiersTests.cs (2)
2905
var compilation =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.ReleaseExe);
2997
var compilation =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.ReleaseExe);
Symbols\DefaultInterfaceImplementationTests.cs (28)
46897
var compilation3 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
46903
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
46926
var compilation4 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
46935
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
54191
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54264
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54364
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54435
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54503
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54597
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54691
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54779
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
62190
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
62283
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
62522
var comp =
CreateCompilationWithIL
(source, ilSource, options: options, targetFramework: TargetFramework.Net60, references: new[] { windowsRuntimeRef });
62916
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63140
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63306
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63482
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63673
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60);
63854
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64015
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64131
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64252
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64342
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64422
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60);
64493
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64572
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60);
Symbols\ExtendedPartialMethodsTests.cs (2)
2564
var comp =
CreateCompilationWithIL
(source, il, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2628
var comp =
CreateCompilationWithIL
(source, il, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
Symbols\FunctionPointerTypeSymbolTests.cs (2)
1053
var comp =
CreateCompilationWithIL
("", ilSource, parseOptions: TestOptions.Regular9);
1387
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9);
Symbols\ModuleInitializers\ModuleInitializersTests.cs (2)
1070
var comp =
CreateCompilationWithIL
(source1, il, parseOptions: s_parseOptions, options: exeOptions);
1073
comp =
CreateCompilationWithIL
(source2, il, parseOptions: s_parseOptions, options: exeOptions);
Symbols\RequiredMembersTests.cs (1)
5053
var comp =
CreateCompilationWithIL
(code, ilSource: il, references: new[] { attrComp.EmitToImageReference() });
Symbols\StaticAbstractMembersInInterfacesTests.cs (78)
14425
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
14453
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
14520
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
14543
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
16317
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16344
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16378
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16391
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16409
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
16455
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16581
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20294
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20327
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20429
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20462
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20507
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20521
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20539
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
20587
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20601
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20619
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
20677
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20742
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20929
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21040
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21175
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23398
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23439
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23499
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23516
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23537
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
23567
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
23629
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23658
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
23719
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
23799
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
23829
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
23889
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
23919
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
23981
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
24010
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
24071
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
24151
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
24181
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
24241
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
24271
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
24362
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
24599
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26090
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26131
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26192
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26209
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26230
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
26256
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
26311
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26340
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
26369
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
26442
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
26468
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
26495
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
26525
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
26585
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26614
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
26643
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
26716
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
26742
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
26769
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
26799
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
26890
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
27139
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29033
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29066
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29112
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29126
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29144
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
29206
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29387
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
32061
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
Symbols\SymbolErrorTests.cs (1)
21999
var comp2 =
CreateCompilationWithIL
(source2, ilSsource1);
Symbols\SymbolExtensionTests.cs (1)
248
var compilation =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.ReleaseExe);
Symbols\TypeTests.cs (1)
2363
var metadataComp =
CreateCompilationWithIL
("", ilSource: @"
Symbols\UnsignedRightShiftTests.cs (1)
2062
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe,
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
Metadata\WinMdEventTests.cs (1)
3499
var compilation =
CreateCompilationWithIL
("", il, targetFramework: TargetFramework.Empty, references: WinRtRefs);