310 references to CreateCompilationWithIL
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (16)
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\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 (106)
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\ExtensionTests.cs (17)
4868
comp2 =
CreateCompilationWithIL
(src2, expectedTypeIL, options: TestOptions.DebugExe);
4877
comp2 =
CreateCompilationWithIL
(src2, expectedTypeIL.Remove(expectedTypeIL.IndexOf(remove), remove.Length));
7789
comp2 =
CreateCompilationWithIL
(src2, expectedTypeIL, options: TestOptions.DebugExe);
7798
comp2 =
CreateCompilationWithIL
(src2, expectedTypeIL.Remove(expectedTypeIL.IndexOf(remove), remove.Length));
9278
comp3 =
CreateCompilationWithIL
(src3, expectedTypeIL, options: TestOptions.DebugExe);
9287
comp3 =
CreateCompilationWithIL
(src3, expectedTypeIL.Remove(expectedTypeIL.IndexOf(remove), remove.Length));
9562
comp3 =
CreateCompilationWithIL
(src3, expectedTypeIL, options: TestOptions.DebugExe);
9571
comp3 =
CreateCompilationWithIL
(src3, expectedTypeIL.Remove(expectedTypeIL.IndexOf(remove), remove.Length));
30608
var comp =
CreateCompilationWithIL
(src, ilSrc);
30616
comp =
CreateCompilationWithIL
(src, ilSrc);
30626
comp =
CreateCompilationWithIL
(src, ilSrc);
30680
var comp =
CreateCompilationWithIL
(src, ilSrc);
30688
comp =
CreateCompilationWithIL
(src, ilSrc);
30698
comp =
CreateCompilationWithIL
(src, ilSrc);
35117
var comp =
CreateCompilationWithIL
(source, ilSrc);
39642
var comp =
CreateCompilationWithIL
(source, ilSrc);
39731
var comp =
CreateCompilationWithIL
(source, ilSrc);
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)
20351
var comp =
CreateCompilationWithIL
(src, il);
20364
var comp2 =
CreateCompilationWithIL
(src2, il);
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (11)
5875
var compilation1 =
CreateCompilationWithIL
(source1, ilSource);
5896
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe);
5962
var compilation1 =
CreateCompilationWithIL
(source1, ilSource);
5983
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe);
7676
var compilation1 =
CreateCompilationWithIL
([source1, CompilerFeatureRequiredAttribute], ilSource, options: TestOptions.DebugExe);
17466
var compilation1 =
CreateCompilationWithIL
(source1, ilSource);
17487
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe);
17553
var compilation1 =
CreateCompilationWithIL
(source1, ilSource);
17574
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe);
19706
var compilation1 =
CreateCompilationWithIL
([source1, CompilerFeatureRequiredAttribute], ilSource, options: TestOptions.DebugExe);
19768
var compilation1 =
CreateCompilationWithIL
([source1, CompilerFeatureRequiredAttribute], ilSource, options: TestOptions.DebugExe);
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)
7479
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics(
14127
var comp =
CreateCompilationWithIL
(source, ilSource).VerifyDiagnostics();
14169
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[] { @"
101360
var comp3 =
CreateCompilationWithIL
(new[] { source3 }, il, options: WithNullableEnable());
107079
var compilation =
CreateCompilationWithIL
(new[] { "" }, il, options: WithNullableEnable());
107150
var compilation =
CreateCompilationWithIL
(new[] { "" }, il, options: WithNullableEnable());
107185
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)
3639
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
3719
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
3796
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4421
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4503
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4582
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5510
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5599
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5645
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6734
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6987
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7180
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)
2972
var comp =
CreateCompilationWithIL
(source, il, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3036
var comp =
CreateCompilationWithIL
(source, il, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
Symbols\FunctionPointerTypeSymbolTests.cs (2)
1053
var comp =
CreateCompilationWithIL
("", ilSource, parseOptions: TestOptions.Regular9);
1389
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,
20808
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20841
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20943
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
20976
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21021
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21035
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21053
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
21101
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21115
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21133
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
21191
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21256
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21443
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21554
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
21689
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23912
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
23953
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
24013
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
24030
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
24051
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
24081
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
24143
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
24172
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
24233
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
24313
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
24343
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
24403
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
24433
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
24495
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
24524
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
24585
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
24665
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
24695
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
24755
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
24785
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
24876
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
25113
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26604
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26645
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26706
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26723
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26744
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
26770
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
26825
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
26854
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
26883
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
26956
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
26982
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
27009
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
27039
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
27099
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
27128
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
27157
var compilation3 =
CreateCompilationWithIL
(source3, ilSource, options: TestOptions.DebugDll,
27230
var compilation4 =
CreateCompilationWithIL
(source4, ilSource, options: TestOptions.DebugDll,
27256
var compilation5 =
CreateCompilationWithIL
(source5, ilSource, options: TestOptions.DebugDll,
27283
var compilation6 =
CreateCompilationWithIL
(source6, ilSource, options: TestOptions.DebugDll,
27313
var compilation7 =
CreateCompilationWithIL
(source7, ilSource, options: TestOptions.DebugDll,
27404
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
27653
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29547
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29580
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29626
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29640
compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29658
var compilation2 =
CreateCompilationWithIL
(source2, ilSource, options: TestOptions.DebugDll,
29720
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
29901
var compilation1 =
CreateCompilationWithIL
(source1, ilSource, options: TestOptions.DebugDll,
32575
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);