89 references to MscorlibRef_v4_0_30316_17626
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
CodeGen\CodeGenAsyncEHTests.cs (1)
20private static readonly MetadataReference[] s_asyncRefs = new[] { MscorlibRef_v4_0_30316_17626, SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929 };
CodeGen\CodeGenAsyncLocalsTests.cs (1)
21private static readonly MetadataReference[] s_asyncRefs = new[] { MscorlibRef_v4_0_30316_17626, SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929 };
CodeGen\CodeGenAsyncTests.cs (2)
4530var references = new[] { MscorlibRef_v4_0_30316_17626, SystemCoreRef }; 4546var references = new[] { MscorlibRef_v4_0_30316_17626, SystemCoreRef };
CodeGen\CodeGenScriptTests.cs (1)
547var references = new[] { MscorlibRef_v4_0_30316_17626, SystemCoreRef };
CodeGen\CodeGenShortCircuitOperatorTests.cs (2)
2016var comp = CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef_v4_0_30316_17626 }, expectedOutput: @"print0 2073var comp = CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef_v4_0_30316_17626 }, expectedOutput: @"print0
CodeGen\ForeachTest.cs (1)
694", references: new[] { MscorlibRef_v4_0_30316_17626 }, TestOptions.ReleaseExe);
CodeGen\GotoTest.cs (2)
990var references = new[] { MscorlibRef_v4_0_30316_17626, SystemCoreRef }; 1096var references = new[] { MscorlibRef_v4_0_30316_17626, SystemCoreRef };
CodeGen\WinMdDelegateTests.cs (1)
138MscorlibRef_v4_0_30316_17626,
Emit\NoPiaEmbedTypes.cs (3)
1951var piaCompilation = CreateEmptyCompilation(pia, new MetadataReference[] { MscorlibRef_v4_0_30316_17626 }, options: TestOptions.DebugDll); 2000new MetadataReference[] { MscorlibRef_v4_0_30316_17626, new CSharpCompilationReference(piaCompilation, embedInteropTypes: true) }, 2008new MetadataReference[] { MscorlibRef_v4_0_30316_17626, piaCompilation.EmitToImageReference(embedInteropTypes: true) },
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Attributes\AttributeTests_Assembly.cs (3)
713", options: TestOptions.ReleaseDll, references: new[] { MscorlibRef_v4_0_30316_17626, hash_module }); 742", options: TestOptions.ReleaseDll, references: new[] { MscorlibRef_v4_0_30316_17626, hash_module }); 775", options: TestOptions.ReleaseDll, references: new[] { MscorlibRef_v4_0_30316_17626, hash_module });
Attributes\InternalsVisibleToAndStrongNameTests.cs (8)
1054references: new[] { MscorlibRef_v4_0_30316_17626 }, 2512references: new[] { MscorlibRef_v4_0_30316_17626 }, 2540options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_keyPairFile), references: new[] { MscorlibRef_v4_0_30316_17626 }, parseOptions: parseOptions); 2571var other = CreateEmptyCompilation(source, options: options, references: new[] { MscorlibRef_v4_0_30316_17626 }, parseOptions: parseOptions); 2600references: new[] { MscorlibRef_v4_0_30316_17626 }, 2631options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_publicKeyFile).WithDelaySign(true), references: new[] { MscorlibRef_v4_0_30316_17626 }, parseOptions: parseOptions); 2656options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_publicKeyFile).WithDelaySign(true), references: new[] { MscorlibRef_v4_0_30316_17626 }, parseOptions: parseOptions); 2686options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_publicKeyFile).WithDelaySign(true), references: new[] { MscorlibRef_v4_0_30316_17626 }, parseOptions: parseOptions);
Semantics\PatternMatchingTests.cs (1)
3959references: new[] { MscorlibRef_v4_0_30316_17626, SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929 });
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (15)
Semantics\BindingAsyncTasklikeTests.cs (3)
194CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef_v4_0_30316_17626 }, expectedOutput: "better"); 516CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef_v4_0_30316_17626 }, expectedOutput: "1"); 567CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef_v4_0_30316_17626 }, expectedOutput: "bbbb");
Semantics\BindingAsyncTests.cs (1)
3164references: new[] { MscorlibRef_v4_0_30316_17626 });
Semantics\InterpolationTests.cs (1)
906source, references: new[] { MscorlibRef_v4_0_30316_17626, SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929 }, expectedOutput: "Hello, world!", targetFramework: TargetFramework.Empty);
Semantics\RawInterpolationTests.cs (1)
919source, references: new[] { MscorlibRef_v4_0_30316_17626, SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929 }, expectedOutput: "Hello, world!", targetFramework: TargetFramework.Empty);
Semantics\SpanStackSafetyTests.cs (8)
1929references: new List<MetadataReference>() { MscorlibRef_v4_0_30316_17626, SystemCoreRef, CSharpRef }, 1946references: new List<MetadataReference>() { MscorlibRef_v4_0_30316_17626, SystemCoreRef, CSharpRef, reference.EmitToImageReference() }, 1963references: new List<MetadataReference>() { MscorlibRef_v4_0_30316_17626, SystemCoreRef, CSharpRef }, 1980references: new List<MetadataReference>() { MscorlibRef_v4_0_30316_17626, SystemCoreRef, CSharpRef, reference.EmitToImageReference() }, 2007references: new List<MetadataReference>() { MscorlibRef_v4_0_30316_17626, SystemCoreRef, CSharpRef }, 2024references: new List<MetadataReference>() { MscorlibRef_v4_0_30316_17626, SystemCoreRef, CSharpRef, reference.EmitToImageReference() }, 2048references: new List<MetadataReference>() { MscorlibRef_v4_0_30316_17626, SystemCoreRef, CSharpRef }, 2065references: new List<MetadataReference>() { MscorlibRef_v4_0_30316_17626, SystemCoreRef, CSharpRef, reference.EmitToImageReference() },
Semantics\StackAllocSpanExpressionsTests.cs (1)
779var references = new List<MetadataReference>() { MscorlibRef_v4_0_30316_17626, SystemCoreRef, CSharpRef };
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (25)
Compilation\GetUnusedImportDirectivesTests.cs (1)
390var comp = CSharpCompilation.CreateScriptCompilation("sub1", tree, new[] { MscorlibRef_v4_0_30316_17626 });
Compilation\ReferenceManagerTests.cs (15)
868references: new MetadataReference[] { MscorlibRef_v4_0_30316_17626, r1, r2 }, 880Assert.Equal(MscorlibRef_v4_0_30316_17626, refs[0]); 2229MscorlibRef_v4_0_30316_17626, 2247MscorlibRef_v4_0_30316_17626, 2265MscorlibRef_v4_0_30316_17626, 2290MscorlibRef_v4_0_30316_17626, 2326new[] { MscorlibRef_v4_0_30316_17626, bRef.WithAliases(ImmutableArray.Create("X")), aRef }, 2355var c = CreateSubmissionWithExactReferences(source, new[] { MscorlibRef_v4_0_30316_17626, bRef.WithAliases(ImmutableArray.Create("X")), aRef }, 2645var c = CreateSubmissionWithExactReferences(@"public interface C : A, D { }", new[] { MscorlibRef_v4_0_30316_17626, aRef, dRef }, 2681var c = CreateSubmissionWithExactReferences(@"public interface C : A, D { }", new[] { MscorlibRef_v4_0_30316_17626, aRef, dRef }, 3016var c = CreateSubmissionWithExactReferences("public class C : A { }", new[] { MscorlibRef_v4_0_30316_17626, aRef }, 3128var c = CreateSubmissionWithExactReferences("public class C : A { }", new[] { MscorlibRef_v4_0_30316_17626, aRef }, 3181var bRef = CreateEmptyCompilation(@"public interface B { System.Diagnostics.Process PB { get; } }", new[] { MscorlibRef_v4_0_30316_17626, NetFramework.System }, 3190var c = CreateSubmissionWithExactReferences("public interface C : A, B { System.Diagnostics.Process PC { get; } }", new[] { MscorlibRef_v4_0_30316_17626, aRef, bRef }, 3230var c = CreateSubmissionWithExactReferences("public interface D : A, B { C CC { get; } }", new[] { MscorlibRef_v4_0_30316_17626, aRef, bRef },
CrossLanguageTests.cs (1)
28new[] { MscorlibRef_v4_0_30316_17626 },
Symbols\CompilationCreationTests.cs (1)
72var c1 = CSharpCompilation.Create("Test", references: new MetadataReference[] { MscorlibRef_v4_0_30316_17626, mdTestLib1 });
Symbols\MissingSpecialMember.cs (3)
526var comp = CreateEmptyCompilation("", new[] { MscorlibRef_v4_0_30316_17626 }); 587MscorlibRef_v4_0_30316_17626, 928MscorlibRef_v4_0_30316_17626,
Symbols\Retargeting\RetargetingTests.cs (1)
735var comp2 = CreateEmptyCompilation("", new[] { MscorlibRef_v4_0_30316_17626, new CSharpCompilationReference(comp1) }, TestOptions.ReleaseDll);
Symbols\SymbolErrorTests.cs (3)
16435new[] { MscorlibRef_v4_0_30316_17626 }, 20475var references = new[] { MscorlibRef_v4_0_30316_17626, SystemCoreRef }; 20480var submission = CSharpCompilation.CreateScriptCompilation("s0.dll", SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.Script), new[] { MscorlibRef_v4_0_30316_17626, SystemCoreRef });
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
1474private static readonly ImmutableArray<MetadataReference> s_scriptRefs = ImmutableArray.Create(MscorlibRef_v4_0_30316_17626); 2297references: new List<MetadataReference>() { MscorlibRef_v4_0_30316_17626, SystemCoreRef, CSharpRef },
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (5)
Metadata\WinMdDumpTest.cs (1)
437IEnumerable<MetadataReference> references = new[] { MscorlibRef_v4_0_30316_17626, _systemRuntimeRef, _systemObjectModelRef, _windowsRuntimeUIXamlRef, _interopServicesWindowsRuntimeRef, winmd };
Metadata\WinMdEventTests.cs (4)
240references: new[] { MscorlibRef_v4_0_30316_17626, SystemCoreRef_v4_0_30319_17929 }, 310MscorlibRef_v4_0_30316_17626, 332MscorlibRef_v4_0_30316_17626, 2445MscorlibRef_v4_0_30316_17626,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (12)
Attributes\AssemblyAttributes.vb (3)
908</compilation>, options:=TestOptions.ReleaseDll, references:={MscorlibRef_v4_0_30316_17626, hash_module}) 939</compilation>, options:=TestOptions.ReleaseDll, references:={MscorlibRef_v4_0_30316_17626, hash_module}) 973</compilation>, options:=TestOptions.ReleaseDll, references:={MscorlibRef_v4_0_30316_17626, hash_module})
Attributes\InternalsVisibleToAndStrongNameTests.vb (9)
839references:={MscorlibRef_v4_0_30316_17626}, 1363</compilation>, {MscorlibRef_v4_0_30316_17626}, TestOptions.SigningReleaseDll.WithDelaySign(True).WithCryptoKeyFile(s_keyPairFile), parseOptions:=parseOptions) 1755</compilation>, {MscorlibRef_v4_0_30316_17626}, 1778</compilation>, {MscorlibRef_v4_0_30316_17626}, 1810</compilation>, {MscorlibRef_v4_0_30316_17626}, 1847</compilation>, {MscorlibRef_v4_0_30316_17626}, 1879</compilation>, {MscorlibRef_v4_0_30316_17626}, 1901</compilation>, {MscorlibRef_v4_0_30316_17626}, 1933</compilation>, {MscorlibRef_v4_0_30316_17626},
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (3)
BasicTestBase.vb (2)
434references:=If(references Is Nothing, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}, {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}.Concat(references)),
CompilationTestUtils.vb (1)
275Dim allReferences = {MscorlibRef_v4_0_30316_17626, MsvbRef_v4_0_30319_17929}.Concat(If(references, {}))
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
847references = [TestBase.MscorlibRef_v4_0_30316_17626, TestBase.SystemRef_v4_0_30319_17929, TestBase.SystemCoreRef_v4_0_30319_17929, TestBase.SystemRuntimeSerializationRef_v4_0_30319_17929];