225 references to CreateCompilationWithILAndMscorlib40
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (22)
CodeGen\CodeGenDeconstructTests.cs (1)
2149var comp = CreateCompilationWithILAndMscorlib40(source, ilSource, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.ReleaseExe);
CodeGen\CodeGenForEachTests.cs (1)
797var compilation = CreateCompilationWithILAndMscorlib40(csharp, il, TargetFramework.Mscorlib40);
CodeGen\CodeGenInterfaceImplementation.cs (2)
2639var comp = CreateCompilationWithILAndMscorlib40(source, il, options: TestOptions.DebugDll); 2734var comp = CreateCompilationWithILAndMscorlib40(source, il, options: TestOptions.DebugDll);
CodeGen\CodeGenTests.cs (4)
534var compilation = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.Mscorlib461, options: TestOptions.ReleaseDll); 608var compilation = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.Mscorlib461, options: TestOptions.DebugDll); 867var compilation = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.Mscorlib461, options: TestOptions.ReleaseExe); 13079var comp = CreateCompilationWithILAndMscorlib40("", il);
CodeGen\CodeGenTupleTest.cs (6)
772var comp = CreateCompilationWithILAndMscorlib40("", 868var comp = CreateCompilationWithILAndMscorlib40("", 966var comp = CreateCompilationWithILAndMscorlib40("", 21294var compMatching = CreateCompilationWithILAndMscorlib40(sourceWithMatchingNames, ilSource, 21306var compDifferent1 = CreateCompilationWithILAndMscorlib40(sourceWithDifferentNames1, ilSource, 21322var compDifferent2 = CreateCompilationWithILAndMscorlib40(sourceWithDifferentNames2, ilSource,
CodeGen\DestructorTests.cs (1)
669var compilation = CreateCompilationWithILAndMscorlib40("", text);
CodeGen\UnsafeTests.cs (2)
11770var cscomp = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource); 11806var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.ReleaseExe);
Emit\EmitCustomModifiers.cs (4)
600var comp = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.Mscorlib40, options: TestOptions.ReleaseExe); 656var comp = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.Mscorlib40, options: TestOptions.ReleaseExe); 707var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.UnsafeReleaseExe); 741var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.UnsafeReleaseExe);
Emit\OptionalArgumentsTests.cs (1)
108var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource, TargetFramework.Mscorlib461, options: TestOptions.DebugExe);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Attributes\AttributeTests.cs (4)
7999var comp = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource, parseOptions: TestOptions.Regular9); 8009comp = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource, parseOptions: TestOptions.RegularPreview); 9071var comp = CreateCompilationWithILAndMscorlib40(source, il, parseOptions: TestOptions.Regular10); 9091comp = CreateCompilationWithILAndMscorlib40(source, il, parseOptions: TestOptions.RegularPreview);
Attributes\AttributeTests_CallerInfoAttributes.cs (1)
2297var compilation = CreateCompilationWithILAndMscorlib40(source, il, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
Attributes\AttributeTests_WellKnownAttributes.cs (4)
4376var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource); 4408var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource); 4448var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource); 4488var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (48)
Semantics\AmbiguousOverrideTests.cs (9)
514var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 568var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 634var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 701var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 768var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 841var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 926var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 1007var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 1179CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics(
Semantics\ArglistTests.cs (2)
1041var comp = CreateCompilationWithILAndMscorlib40(csharp, il); 1511var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource);
Semantics\DynamicTests.cs (1)
4153var comp = CreateCompilationWithILAndMscorlib40("", il, references: new[] { SystemCoreRef }, appendDefaultHeader: false);
Semantics\HideByNameTests.cs (11)
71CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics( 127CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics( 192var comp = CreateCompilationWithILAndMscorlib40(csharp, il); 262CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics( 317CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics(); 373CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics(); 447CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics( 524var comp = CreateCompilationWithILAndMscorlib40(csharp, il); 610CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics( 679CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics(); 749CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics();
Semantics\MultiDimensionalArrayTests.cs (15)
298var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseExe); 333var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseExe); 381var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseExe); 421var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseDll); 441var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseDll); 472var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseExe); 532var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseExe); 601var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseExe); 626var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseExe); 680var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseExe); 712var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseExe); 746var compilation = CreateCompilationWithILAndMscorlib40(source, s_arraysOfRank1IlSource, options: TestOptions.ReleaseDll); 1090var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 1538var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 1678var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, references: new[] { SystemCoreRef }, options: TestOptions.ReleaseExe);
Semantics\OverloadResolutionTests.cs (4)
1948var comp = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource); 2937var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource); 4554var compilation = CreateCompilationWithILAndMscorlib40(source2, source1, options: TestOptions.ReleaseExe); 5120CreateCompilationWithILAndMscorlib40(source2, source1).VerifyDiagnostics(
Semantics\ReadOnlyStructsTests.cs (2)
1105var comp = CreateCompilationWithILAndMscorlib40(csharp, ilreadonlyStructWithWriteableFieldIL, options: TestOptions.ReleaseExe); 1128var comp = CreateCompilationWithILAndMscorlib40(csharp, ilreadonlyStructWithWriteableFieldIL, options: TestOptions.ReleaseExe);
Semantics\StructsTests.cs (2)
478var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource); 532var comp = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource);
Semantics\UseSiteErrorTests.cs (2)
2070CreateCompilationWithILAndMscorlib40(source, il).VerifyDiagnostics( 2165CreateCompilationWithILAndMscorlib40(source, il).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (145)
Compilation\GetSemanticInfoTests.cs (2)
2924var comp = (Compilation)CreateCompilationWithILAndMscorlib40(text, il); 3016var comp = (Compilation)CreateCompilationWithILAndMscorlib40(text, il);
DocumentationComments\CrefTests.cs (2)
784var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 861var compilation = CreateCompilationWithILAndMscorlib40(csharp, il);
SymbolDisplay\SymbolDisplayTests.cs (1)
5282var comp = CreateCompilationWithILAndMscorlib40(text, il);
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (4)
316var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 346var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 379var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 751var compilation = CreateCompilationWithILAndMscorlib40(csharp, il);
Symbols\ConversionTests.cs (1)
1538CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics(
Symbols\CustomModifiersTests.cs (36)
63var compilation = (Compilation)CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 133var compilation = (Compilation)CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 218var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 288var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 373var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 446var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 519var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 593var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 698var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 808var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 918var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 1028var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 1122var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 1229var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 1304var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 1371var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 1457var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 1514var compilation1 = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseDll); 1564var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseDll); 1603var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseDll); 1642var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseDll); 1674var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseDll); 1713var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseDll); 1755var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseDll); 1830var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Mscorlib40, references: new[] { SystemCoreRef }); 1975var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 2039var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 2110var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 2181var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 2254var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 2387var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 2425var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 2473var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe); 2594var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Standard); 2708var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Standard); 2802var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Standard);
Symbols\DestructorTests.cs (2)
465CreateCompilationWithILAndMscorlib40(source, il).VerifyDiagnostics( 503CreateCompilationWithILAndMscorlib40(source, il).VerifyDiagnostics(
Symbols\EnumTests.cs (2)
79CreateCompilationWithILAndMscorlib40( 136CreateCompilationWithILAndMscorlib40(ExampleSource, ilSource).VerifyDiagnostics(
Symbols\ExtensionMethodTests.cs (1)
115var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, appendDefaultHeader: false);
Symbols\GenericConstraintTests.cs (16)
2045CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 2790CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 2833CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 2868CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 3029CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 3146CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 3345var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource); 3394var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource); 3459var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource); 3590var compilation1 = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource); 3691var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource); 5244var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource); 5287var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource); 5399CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics(); 5468var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics(); 6399CreateCompilationWithILAndMscorlib40(source, ilSource, appendDefaultHeader: false).VerifyDiagnostics();
Symbols\IndexedPropertyTests.cs (2)
2505var comp = CreateCompilationWithILAndMscorlib40(source, il, parseOptions: TestOptions.Regular10); 2585var compilation = CreateCompilationWithILAndMscorlib40(source, il, options: TestOptions.ReleaseExe);
Symbols\IndexerTests.cs (6)
535var compilation = CreateCompilationWithILAndMscorlib40(csharp1, il).VerifyDiagnostics( 563compilation = CreateCompilationWithILAndMscorlib40(csharp2, il).VerifyDiagnostics(); 605var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 729var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 803var compilation = CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics( 2496CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics(
Symbols\InterfaceImplementationTests.cs (13)
1285var comp = CreateCompilationWithILAndMscorlib40(csharp, il); 1341var comp = CreateCompilationWithILAndMscorlib40(csharp, il); 1416var comp = CreateCompilationWithILAndMscorlib40(csharp, il); 1439var comp = CreateCompilationWithILAndMscorlib40(csharp, il); 1535var comp = CreateCompilationWithILAndMscorlib40(csharp, il); 1758var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 1822CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 1955var comp = CreateCompilationWithILAndMscorlib40(source, il); 2018var comp = CreateCompilationWithILAndMscorlib40(source, il); 2052CreateCompilationWithILAndMscorlib40(source2, il).VerifyDiagnostics(); 2205var comp = CreateCompilationWithILAndMscorlib40(source, il, options: TestOptions.ReleaseExe); 2281var comp = CreateCompilationWithILAndMscorlib40(source, il); 2449var comp = CreateCompilationWithILAndMscorlib40(source, il, options: TestOptions.DebugExe);
Symbols\Metadata\MetadataMemberTests.cs (5)
441var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 465var compilation = CreateCompilationWithILAndMscorlib40(csharp, il); 482var comp = CreateCompilationWithILAndMscorlib40(csharp, VTableGapClassIL); 533var comp = CreateCompilationWithILAndMscorlib40(csharp, VTableGapClassIL); 578var comp = CreateCompilationWithILAndMscorlib40(csharp, VTableGapInterfaceIL);
Symbols\Metadata\MetadataTypeTests.cs (2)
512var comp = CreateCompilationWithILAndMscorlib40("", ilSource); 578var comp = CreateCompilationWithILAndMscorlib40("", ilSource);
Symbols\Metadata\PE\DynamicTransformsTests.cs (2)
402var compilation = CreateCompilationWithILAndMscorlib40(String.Empty, il); 554var compilation = CreateCompilationWithILAndMscorlib40(source, il, options: TestOptions.ReleaseExe);
Symbols\Metadata\PE\HasUnsupportedMetadata.cs (2)
158var compilation1 = CreateCompilationWithILAndMscorlib40("", iLSource); 362var compilation1 = CreateCompilationWithILAndMscorlib40("", iLSource);
Symbols\Metadata\PE\LoadingAttributes.cs (3)
1426CompileAndVerify(CreateCompilationWithILAndMscorlib40(csSource, ilSource), symbolValidator: module => 1453CompileAndVerify(CreateCompilationWithILAndMscorlib40(csSource, ilSource), symbolValidator: module => 1507var c = CreateCompilationWithILAndMscorlib40(@"
Symbols\Metadata\PE\LoadingFields.cs (1)
140var compilation = CreateCompilationWithILAndMscorlib40(text, il, options: TestOptions.DebugExe);
Symbols\Metadata\PE\LoadingGenericTypeParameters.cs (1)
243var compilation1 = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource);
Symbols\Metadata\PE\LoadingMethods.cs (2)
1178var compilation = CreateCompilationWithILAndMscorlib40("", ilSource); 1240var compilation = CreateCompilationWithILAndMscorlib40("", ilSource);
Symbols\OverriddenOrHiddenMembersTests.cs (9)
997var comp = CreateCompilationWithILAndMscorlib40(csharp, il); 1066var comp = CreateCompilationWithILAndMscorlib40(csharp, il); 1537CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics(); 1729CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics( 1740CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics( 1753CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics( 1766CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics( 2065CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 2401CompileAndVerify(CreateCompilationWithILAndMscorlib40(csharp, il));
Symbols\Source\BaseClassTests.cs (3)
1706CreateCompilationWithILAndMscorlib40(csharp, il, appendDefaultHeader: false).VerifyDiagnostics( 1751CreateCompilationWithILAndMscorlib40(csharp, il, appendDefaultHeader: false).VerifyDiagnostics( 1805CreateCompilationWithILAndMscorlib40(csharp, il, appendDefaultHeader: false, targetFramework: TargetFramework.Standard).VerifyDiagnostics(
Symbols\Source\ClsComplianceTests.cs (1)
2110var comp = CreateCompilationWithILAndMscorlib40(source, il);
Symbols\Source\CustomModifierCopyTests.cs (2)
880var comp = CreateCompilationWithILAndMscorlib40(source, il, 914var comp = CreateCompilationWithILAndMscorlib40(source, il, targetFramework: TargetFramework.Standard);
Symbols\Source\EventTests.cs (5)
1131CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 1581CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 1668CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 1763CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics( 1849var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource);
Symbols\Source\PropertyTests.cs (14)
875CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics( 1094CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics( 1117CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics( 1140CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics( 1166CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics( 1357CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics(); 1377CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics( 1399CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics( 1422CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics( 1447CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics(); 1488CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics( 1534CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics( 1561CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics( 1624CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics(
Symbols\SymbolErrorTests.cs (5)
72var comp = CreateCompilationWithILAndMscorlib40(source, il); 8401var comp = CreateCompilationWithILAndMscorlib40(text, s_typeWithMixedProperty); 8432var comp = CreateCompilationWithILAndMscorlib40(text, s_typeWithMixedProperty); 20597var compilation = CreateCompilationWithILAndMscorlib40(userCode, forwardingIL, appendDefaultHeader: false); 20660var compilation = CreateCompilationWithILAndMscorlib40(userCode, forwardingIL, appendDefaultHeader: false);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
1138bool appendDefaultHeader = true) => CreateCompilationWithILAndMscorlib40(source, ilSource, targetFramework, references, options, parseOptions, appendDefaultHeader);