73 references to MscorlibRef_v4_0_30316_17626
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
CodeGen\CodeGenAsyncEHTests.cs (1)
21
private 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)
22
private 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)
6130
var references = new[] {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef };
6146
var references = new[] {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef };
CodeGen\CodeGenScriptTests.cs (1)
547
var references = new[] {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef };
CodeGen\CodeGenShortCircuitOperatorTests.cs (2)
2016
var comp = CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] {
MscorlibRef_v4_0_30316_17626
}, expectedOutput: @"print0
2073
var 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)
991
var references = new[] {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef };
1097
var references = new[] {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef };
CodeGen\WinMdDelegateTests.cs (1)
138
MscorlibRef_v4_0_30316_17626
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
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\AttributeTests_CallerInfoAttributes.cs (2)
5651
var vbReference = BasicCompilationUtils.CompileToMetadata(vbSource, references: new[] {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef });
5741
var vbReference = BasicCompilationUtils.CompileToMetadata(vbSource, references: new[] {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef });
Attributes\InternalsVisibleToAndStrongNameTests.cs (8)
1054
references: new[] {
MscorlibRef_v4_0_30316_17626
},
2512
references: new[] {
MscorlibRef_v4_0_30316_17626
},
2540
options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_keyPairFile), references: new[] {
MscorlibRef_v4_0_30316_17626
}, parseOptions: parseOptions);
2571
var other = CreateEmptyCompilation(source, options: options, references: new[] {
MscorlibRef_v4_0_30316_17626
}, parseOptions: parseOptions);
2600
references: new[] {
MscorlibRef_v4_0_30316_17626
},
2631
options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_publicKeyFile).WithDelaySign(true), references: new[] {
MscorlibRef_v4_0_30316_17626
}, parseOptions: parseOptions);
2656
options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_publicKeyFile).WithDelaySign(true), references: new[] {
MscorlibRef_v4_0_30316_17626
}, parseOptions: parseOptions);
2686
options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_publicKeyFile).WithDelaySign(true), references: new[] {
MscorlibRef_v4_0_30316_17626
}, parseOptions: parseOptions);
Semantics\PatternMatchingTests.cs (1)
3959
references: 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)
194
CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] {
MscorlibRef_v4_0_30316_17626
}, expectedOutput: "better");
516
CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] {
MscorlibRef_v4_0_30316_17626
}, expectedOutput: "1");
567
CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] {
MscorlibRef_v4_0_30316_17626
}, expectedOutput: "bbbb");
Semantics\BindingAsyncTests.cs (1)
3164
references: new[] {
MscorlibRef_v4_0_30316_17626
});
Semantics\InterpolationTests.cs (1)
906
source, 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)
919
source, 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)
1929
references: new List<MetadataReference>() {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef, CSharpRef },
1946
references: new List<MetadataReference>() {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef, CSharpRef, reference.EmitToImageReference() },
1963
references: new List<MetadataReference>() {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef, CSharpRef },
1980
references: new List<MetadataReference>() {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef, CSharpRef, reference.EmitToImageReference() },
2007
references: new List<MetadataReference>() {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef, CSharpRef },
2024
references: new List<MetadataReference>() {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef, CSharpRef, reference.EmitToImageReference() },
2048
references: new List<MetadataReference>() {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef, CSharpRef },
2065
references: new List<MetadataReference>() {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef, CSharpRef, reference.EmitToImageReference() },
Semantics\StackAllocSpanExpressionsTests.cs (1)
779
var references = new List<MetadataReference>() {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef, CSharpRef };
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (25)
Compilation\GetUnusedImportDirectivesTests.cs (1)
390
var comp = CSharpCompilation.CreateScriptCompilation("sub1", tree, new[] {
MscorlibRef_v4_0_30316_17626
});
Compilation\ReferenceManagerTests.cs (15)
868
references: new MetadataReference[] {
MscorlibRef_v4_0_30316_17626
, r1, r2 },
880
Assert.Equal(
MscorlibRef_v4_0_30316_17626
, refs[0]);
2229
MscorlibRef_v4_0_30316_17626
,
2247
MscorlibRef_v4_0_30316_17626
,
2265
MscorlibRef_v4_0_30316_17626
,
2290
MscorlibRef_v4_0_30316_17626
,
2326
new[] {
MscorlibRef_v4_0_30316_17626
, bRef.WithAliases(ImmutableArray.Create("X")), aRef },
2355
var c = CreateSubmissionWithExactReferences(source, new[] {
MscorlibRef_v4_0_30316_17626
, bRef.WithAliases(ImmutableArray.Create("X")), aRef },
2645
var c = CreateSubmissionWithExactReferences(@"public interface C : A, D { }", new[] {
MscorlibRef_v4_0_30316_17626
, aRef, dRef },
2681
var c = CreateSubmissionWithExactReferences(@"public interface C : A, D { }", new[] {
MscorlibRef_v4_0_30316_17626
, aRef, dRef },
3016
var c = CreateSubmissionWithExactReferences("public class C : A { }", new[] {
MscorlibRef_v4_0_30316_17626
, aRef },
3128
var c = CreateSubmissionWithExactReferences("public class C : A { }", new[] {
MscorlibRef_v4_0_30316_17626
, aRef },
3181
var bRef = CreateEmptyCompilation(@"public interface B { System.Diagnostics.Process PB { get; } }", new[] {
MscorlibRef_v4_0_30316_17626
, NetFramework.System },
3190
var c = CreateSubmissionWithExactReferences("public interface C : A, B { System.Diagnostics.Process PC { get; } }", new[] {
MscorlibRef_v4_0_30316_17626
, aRef, bRef },
3230
var c = CreateSubmissionWithExactReferences("public interface D : A, B { C CC { get; } }", new[] {
MscorlibRef_v4_0_30316_17626
, aRef, bRef },
CrossLanguageTests.cs (1)
28
new[] {
MscorlibRef_v4_0_30316_17626
},
Symbols\CompilationCreationTests.cs (1)
72
var c1 = CSharpCompilation.Create("Test", references: new MetadataReference[] {
MscorlibRef_v4_0_30316_17626
, mdTestLib1 });
Symbols\MissingSpecialMember.cs (3)
526
var comp = CreateEmptyCompilation("", new[] {
MscorlibRef_v4_0_30316_17626
});
590
MscorlibRef_v4_0_30316_17626
,
933
MscorlibRef_v4_0_30316_17626
,
Symbols\Retargeting\RetargetingTests.cs (1)
735
var comp2 = CreateEmptyCompilation("", new[] {
MscorlibRef_v4_0_30316_17626
, new CSharpCompilationReference(comp1) }, TestOptions.ReleaseDll);
Symbols\SymbolErrorTests.cs (3)
16499
new[] {
MscorlibRef_v4_0_30316_17626
},
20539
var references = new[] {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef };
20544
var 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)
1981
private static readonly ImmutableArray<MetadataReference> s_scriptRefs = ImmutableArray.Create(
MscorlibRef_v4_0_30316_17626
);
2844
references: new List<MetadataReference>() {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef, CSharpRef },
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (5)
Metadata\WinMdDumpTest.cs (1)
437
IEnumerable<MetadataReference> references = new[] {
MscorlibRef_v4_0_30316_17626
, _systemRuntimeRef, _systemObjectModelRef, _windowsRuntimeUIXamlRef, _interopServicesWindowsRuntimeRef, winmd };
Metadata\WinMdEventTests.cs (4)
240
references: new[] {
MscorlibRef_v4_0_30316_17626
, SystemCoreRef_v4_0_30319_17929 },
310
MscorlibRef_v4_0_30316_17626
,
332
MscorlibRef_v4_0_30316_17626
,
2445
MscorlibRef_v4_0_30316_17626
,
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
844
references = [TestBase.
MscorlibRef_v4_0_30316_17626
, TestBase.SystemRef_v4_0_30319_17929, TestBase.SystemCoreRef_v4_0_30319_17929, TestBase.SystemRuntimeSerializationRef_v4_0_30319_17929];