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)
10510
var comp =
CreateCompilationWithIL
(source, il, parseOptions: TestOptions.Regular9);
10513
comp =
CreateCompilationWithIL
(source, il);
10756
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();
961
CreateCompilationWithIL
(source, ilSource, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
966
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.UnsafeDebugDll);
1025
CreateCompilationWithIL
(new[] { source, RequiresLocationAttributeDefinition }, ilSource, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1048
var comp =
CreateCompilationWithIL
(new[] { source, RequiresLocationAttributeDefinition }, ilSource, options: TestOptions.UnsafeDebugDll);
1112
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.UnsafeDebugDll);
1166
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1214
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.UnsafeDebugDll);
5193
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)
11906
var comp =
CreateCompilationWithIL
(source, ilSource, options: TestOptions.ReleaseDll);
Semantics\RecordTests.cs (2)
20361
var comp =
CreateCompilationWithIL
(src, il);
20374
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)
47088
var compilation3 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
47094
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
47117
var compilation4 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
47126
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
54382
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54455
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54555
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54626
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54694
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54788
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54882
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
54970
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
62381
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
62474
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
62713
var comp =
CreateCompilationWithIL
(source, ilSource, options: options, targetFramework: TargetFramework.Net60, references: new[] { windowsRuntimeRef });
63107
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63331
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63497
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63673
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
63864
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60);
64045
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64206
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64322
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64443
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64533
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64613
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60);
64684
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
64763
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)
14383
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
14411
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
14478
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
14501
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
16275
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16302
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16336
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16349
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16367
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
16413
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
16539
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20252
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20285
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20387
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20420
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20465
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20479
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20497
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
20545
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20559
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20577
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
20635
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20700
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20887
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20998
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21133
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23356
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23397
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23457
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23474
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23495
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
23525
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
23587
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23616
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
23677
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
23757
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
23787
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
23847
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
23877
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
23939
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23968
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
24029
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
24109
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
24139
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
24199
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
24229
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
24320
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
24557
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26048
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26089
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26150
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26167
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26188
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
26214
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
26269
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26298
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
26327
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
26400
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
26426
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
26453
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
26483
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
26543
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26572
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
26601
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
26674
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
26700
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
26727
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
26757
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
26848
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
27097
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
28991
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29024
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29070
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29084
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29102
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
29164
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29345
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
32019
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);