284 references to CreateCompilationWithIL
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (18)
CodeGen\CodeGenAwaitUsingTests.cs (1)
3653
var comp =
CreateCompilationWithIL
(source, ilSrc);
CodeGen\CodeGenConditionalOperatorTests.cs (1)
568
var comp =
CreateCompilationWithIL
(source2, source1, options: TestOptions.ReleaseExe);
CodeGen\CodeGenConversionTests.cs (1)
1243
var comp =
CreateCompilationWithIL
(@"
CodeGen\CodeGenFunctionPointersTests.cs (12)
61
var comp =
CreateCompilationWithIL
(source, ilStub, parseOptions: TestOptions.RegularPreview, options: expectedOutput is null ? TestOptions.UnsafeReleaseDll : TestOptions.UnsafeReleaseExe);
70
return
CreateCompilationWithIL
(source, ilStub, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Empty);
683
var compilation =
CreateCompilationWithIL
(source: "", ilSource, parseOptions: TestOptions.RegularPreview);
8766
var comp =
CreateCompilationWithIL
(@"
8815
var comp =
CreateCompilationWithIL
(@"
8937
var comp =
CreateCompilationWithIL
(@"
9007
var comp =
CreateCompilationWithIL
(@"
9072
var comp =
CreateCompilationWithIL
(@"
9157
var comp =
CreateCompilationWithIL
(@"
9223
var comp =
CreateCompilationWithIL
(@"
9284
var comp =
CreateCompilationWithIL
(@"
9322
var comp =
CreateCompilationWithIL
(@"
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (2)
898
var compilation =
CreateCompilationWithIL
(csharp, ilSource);
2513
var compilation =
CreateCompilationWithIL
(csharp, ilSource);
CodeGen\CodeGenRefLocalTests.cs (1)
4310
var comp =
CreateCompilationWithIL
(code, unsafeAsPointerIl, options: options);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (2)
6169
var compilation =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.ReleaseExe);
6325
var compilation =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.DebugExe);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (78)
Attributes\AttributeTests.cs (3)
10508
var comp =
CreateCompilationWithIL
(source, il, parseOptions: TestOptions.Regular9);
10511
comp =
CreateCompilationWithIL
(source, il);
10754
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);
FirstClassSpanTests.cs (2)
1735
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics(
1782
var comp =
CreateCompilationWithIL
(source, ilSource);
RefReadonlyParameterTests.cs (11)
439
var comp =
CreateCompilationWithIL
("", ilSource).VerifyDiagnostics();
480
var comp =
CreateCompilationWithIL
("", ilSource).VerifyDiagnostics();
527
var comp =
CreateCompilationWithIL
("", ilSource).VerifyDiagnostics();
964
CreateCompilationWithIL
(source, ilSource, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
969
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.UnsafeDebugDll);
1028
CreateCompilationWithIL
(new[] { source, RequiresLocationAttributeDefinition }, ilSource, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1051
var comp =
CreateCompilationWithIL
(new[] { source, RequiresLocationAttributeDefinition }, ilSource, options: TestOptions.UnsafeDebugDll);
1115
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.UnsafeDebugDll);
1169
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1217
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.UnsafeDebugDll);
5196
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics(
Semantics\ExperimentalAttributeTests.cs (2)
1663
var comp =
CreateCompilationWithIL
("C.M();", il);
1675
comp =
CreateCompilationWithIL
(src, il);
Semantics\InlineArrayTests.cs (14)
294
comp =
CreateCompilationWithIL
("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
360
comp =
CreateCompilationWithIL
("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
426
comp =
CreateCompilationWithIL
("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
492
comp =
CreateCompilationWithIL
("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
556
comp =
CreateCompilationWithIL
("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
648
comp =
CreateCompilationWithIL
("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
737
comp =
CreateCompilationWithIL
("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
819
comp =
CreateCompilationWithIL
("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
922
comp =
CreateCompilationWithIL
("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1046
comp =
CreateCompilationWithIL
(consumer, ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1136
comp =
CreateCompilationWithIL
(consumer, ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1497
var comp =
CreateCompilationWithIL
(src, ilSource, targetFramework: TargetFramework.Net80);
1956
var comp =
CreateCompilationWithIL
(src, ilSource, targetFramework: TargetFramework.Net80);
2095
var comp =
CreateCompilationWithIL
(src, ilSource, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
Semantics\LockTests.cs (3)
4678
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics(
4764
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics(
4849
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics(
Semantics\ParamsCollectionTests.cs (35)
2894
CreateCompilationWithIL
(src, il).VerifyEmitDiagnostics();
10390
var comp =
CreateCompilationWithIL
("", il);
10407
comp =
CreateCompilationWithIL
("", il);
10431
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
10513
var comp =
CreateCompilationWithIL
("", il);
10531
comp =
CreateCompilationWithIL
("", il);
10555
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
10637
var comp =
CreateCompilationWithIL
("", il);
10655
comp =
CreateCompilationWithIL
("", il);
10679
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
10755
var comp =
CreateCompilationWithIL
("", il);
10772
comp =
CreateCompilationWithIL
("", il);
10796
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
10927
var comp =
CreateCompilationWithIL
("", il);
10945
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
11075
var comp =
CreateCompilationWithIL
("", il);
11093
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
11223
var comp =
CreateCompilationWithIL
("", il);
11241
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
11365
var comp =
CreateCompilationWithIL
("", il);
11383
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
11513
var comp =
CreateCompilationWithIL
("", il);
11531
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
11660
var comp =
CreateCompilationWithIL
("", il);
11678
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
11807
var comp =
CreateCompilationWithIL
("", il);
11825
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
11948
var comp =
CreateCompilationWithIL
("", il);
11966
comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
12187
var comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
12320
var comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
12437
var comp =
CreateCompilationWithIL
(src, il, options: TestOptions.ReleaseExe);
12725
CreateCompilationWithIL
(source, il).VerifyDiagnostics();
15786
CreateCompilationWithIL
(src, ilSource).VerifyEmitDiagnostics(
15923
CreateCompilationWithIL
(src, ilSource).VerifyEmitDiagnostics(
Semantics\PatternMatchingTests_ListPatterns.cs (3)
1760
var csCompilation =
CreateCompilationWithIL
(csSource, ilSource);
4691
var compilation =
CreateCompilationWithIL
(new[] { source, TestSources.Index, TestSources.Range }, il);
4918
var compilation =
CreateCompilationWithIL
(source, il);
Semantics\PrimaryConstructorTests.cs (1)
11905
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.ReleaseDll);
Semantics\RecordTests.cs (2)
20291
var comp =
CreateCompilationWithIL
(src, il);
20304
var comp2 =
CreateCompilationWithIL
(src2, il);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (7)
IOperation\IOperationTests_IForEachLoopStatement.cs (2)
7142
var comp =
CreateCompilationWithIL
(@"
7259
var comp =
CreateCompilationWithIL
(@"
IOperation\IOperationTests_IUsingStatement.cs (5)
1758
var compilation =
CreateCompilationWithIL
(source, ilSource);
1950
var compilation =
CreateCompilationWithIL
(source, ilSource);
2084
var compilation =
CreateCompilationWithIL
(source, ilSource);
2218
var compilation =
CreateCompilationWithIL
(source, ilSource);
2353
var compilation =
CreateCompilationWithIL
(source, ilSource);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (41)
Semantics\ColorColorTests.cs (1)
2366
var compilation =
CreateCompilationWithIL
(genericTreeDefinitionSource, implementingTreeWithModoptObjectILSource);
Semantics\DelegateTypeTests.cs (3)
7381
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics(
14029
var comp =
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics();
14071
var comp =
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics();
Semantics\FunctionPointerTests.cs (4)
2003
var comp =
CreateCompilationWithIL
(source, il, options: TestOptions.UnsafeReleaseDll);
2049
var comp =
CreateCompilationWithIL
(source, il, options: TestOptions.UnsafeReleaseExe);
2082
var comp =
CreateCompilationWithIL
(code, il, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseExe);
2120
var comp =
CreateCompilationWithIL
("", il, references: new[] { cComp.ToMetadataReference() }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll);
Semantics\InterpolationTests.cs (2)
3558
var comp =
CreateCompilationWithIL
(code, ilSource: interpolatedStringBuilder + UnmanagedCallersOnlyIl);
3633
var comp =
CreateCompilationWithIL
(code, ilSource: interpolatedStringBuilder + UnmanagedCallersOnlyIl);
Semantics\NamedAndOptionalTests.cs (1)
2439
var comp =
CreateCompilationWithIL
(csharp, il, options: TestOptions.DebugExe);
Semantics\NullableReferenceTypesTests.cs (6)
38455
var compilation =
CreateCompilationWithIL
(new[] { source }, il, options: WithNullableEnable());
39075
CSharpCompilation c =
CreateCompilationWithIL
(new[] { @"
101318
var comp3 =
CreateCompilationWithIL
(new[] { source3 }, il, options: WithNullableEnable());
107037
var compilation =
CreateCompilationWithIL
(new[] { "" }, il, options: WithNullableEnable());
107108
var compilation =
CreateCompilationWithIL
(new[] { "" }, il, options: WithNullableEnable());
107143
var compilation =
CreateCompilationWithIL
(new[] { "" }, il, options: WithNullableEnable());
Semantics\RawInterpolationTests_Handler.cs (2)
1923
var comp =
CreateCompilationWithIL
(code, ilSource: interpolatedStringBuilder + UnmanagedCallersOnlyIl);
1997
var comp =
CreateCompilationWithIL
(code, ilSource: interpolatedStringBuilder + UnmanagedCallersOnlyIl);
Semantics\RefEscapingTests.cs (1)
9793
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics(
Semantics\UseSiteErrorTests.cs (20)
2820
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
2869
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
2918
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
2966
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3024
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3085
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3143
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3201
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3262
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3320
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3349
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3393
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3442
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3488
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3542
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3602
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3656
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3714
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3778
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
3836
CreateCompilationWithIL
(source, il).VerifyDiagnostics(
Semantics\Utf8StringsLiteralsTests.cs (1)
635
var comp =
CreateCompilationWithIL
(source, il);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (137)
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)
47082
var compilation3 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
47088
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
47111
var compilation4 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
47120
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
54376
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54449
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54549
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54620
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54688
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54782
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54876
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54964
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
62375
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
62468
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
62707
var comp =
CreateCompilationWithIL
(source, ilSource, options: options, targetFramework: TargetFramework.Net60, references: new[] { windowsRuntimeRef });
63101
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63325
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63491
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63667
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63858
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60);
64039
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64200
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64316
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64437
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64527
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64607
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60);
64678
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64757
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60);
Symbols\ExtendedPartialMethodsTests.cs (2)
2632
var comp =
CreateCompilationWithIL
(source, il, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2696
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 (6)
5682
var comp =
CreateCompilationWithIL
(code, ilSource: il, references: new[] { attrComp.EmitToImageReference() });
6792
var comp =
CreateCompilationWithIL
(code, badIl, targetFramework: TargetFramework.Net70);
7407
var comp =
CreateCompilationWithIL
("_ = new S();", il, targetFramework: TargetFramework.Net70);
7721
var comp =
CreateCompilationWithIL
("_ = new C();", il, targetFramework: TargetFramework.Net70);
7822
var comp =
CreateCompilationWithIL
("_ = new C();", il, targetFramework: TargetFramework.Net70);
7837
var comp =
CreateCompilationWithIL
("_ = new C() { P1 = 1 };", il, targetFramework: TargetFramework.Net70);
Symbols\StaticAbstractMembersInInterfacesTests.cs (78)
14401
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
14429
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
14496
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
14519
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
16293
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16320
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16354
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16367
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16385
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
16431
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16557
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20270
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20303
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20405
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20438
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20483
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20497
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20515
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
20563
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20577
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20595
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
20653
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20718
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20905
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21016
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21151
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23374
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23415
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23475
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23492
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23513
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
23543
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
23605
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23634
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
23695
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
23775
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
23805
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
23865
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
23895
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
23957
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23986
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
24047
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
24127
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
24157
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
24217
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
24247
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
24338
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
24575
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26066
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26107
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26168
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26185
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26206
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
26232
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
26287
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26316
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
26345
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
26418
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
26444
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
26471
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
26501
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
26561
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26590
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
26619
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
26692
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
26718
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
26745
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
26775
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
26866
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
27115
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29009
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29042
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29088
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29102
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29120
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
29182
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29363
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
32037
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
Symbols\SymbolErrorTests.cs (1)
22104
var comp2 =
CreateCompilationWithIL
(source2, ilSsource1);
Symbols\SymbolExtensionTests.cs (1)
248
var compilation =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.ReleaseExe);
Symbols\TypeTests.cs (1)
2366
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);