183 references to SystemCoreRef
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (39)
CodeGen\CodeGenAsyncTests.cs (3)
2168
CompileAndVerifyWithMscorlib40(source, new[] { CSharpRef,
SystemCoreRef
});
4534
var references = new[] { MscorlibRef_v4_0_30316_17626,
SystemCoreRef
};
4550
var references = new[] { MscorlibRef_v4_0_30316_17626,
SystemCoreRef
};
CodeGen\CodeGenDynamicTests.cs (12)
38
references = references ?? new[] {
SystemCoreRef
, CSharpRef };
144
return CreateCompilationWithMscorlib40(source, new[] { systemCore ??
SystemCoreRef
}, assemblyName: GetUniqueName()).EmitToImageReference();
246
CreateCompilationWithMscorlib40(source, new[] {
SystemCoreRef
, csrtRef }).VerifyEmitDiagnostics(
271
CreateCompilationWithMscorlib40(source, new[] {
SystemCoreRef
, csrtRef }).VerifyEmitDiagnostics();
1093
CompileAndVerifyWithMscorlib40(source, new[] {
SystemCoreRef
});
7494
new[] { new CSharpCompilationReference(lib),
SystemCoreRef
, CSharpRef });
7592
new[] { new CSharpCompilationReference(lib),
SystemCoreRef
, CSharpRef },
11486
CompileAndVerifyIL(source, "C.M", references: new MetadataReference[] {
SystemCoreRef
, CSharpRef, vbRef }, expectedOptimizedIL: @"
11588
CompileAndVerifyIL(source, "C.M", references: new MetadataReference[] {
SystemCoreRef
, CSharpRef, vbRef }, expectedOptimizedIL: @"
11697
CompileAndVerifyIL(source, "C.M", references: new MetadataReference[] {
SystemCoreRef
, CSharpRef, vbRef }, expectedOptimizedIL: @"
11871
CompileAndVerifyIL(source, "C.M", references: new MetadataReference[] {
SystemCoreRef
, CSharpRef, ilRef }, expectedOptimizedIL: @"
14427
var comp = CompileAndVerifyWithMscorlib40(source, expectedOutput: "hello!", references: new[] { ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef,
SystemCoreRef
});
CodeGen\CodeGenScriptTests.cs (6)
31
references: new[] {
SystemCoreRef
}),
50
references: new[] {
SystemCoreRef
}),
68
references: new[] {
SystemCoreRef
}),
94
references: new[] {
SystemCoreRef
}),
236
MetadataReference[] references = {
SystemCoreRef
, CSharpRef };
547
var references = new[] { MscorlibRef_v4_0_30316_17626,
SystemCoreRef
};
CodeGen\CodeGenTests.cs (6)
10491
references: new[] {
SystemCoreRef
},
14208
CompileAndVerifyWithMscorlib40(source, references: new[] {
SystemCoreRef
, CSharpRef }, expectedOutput: @"0");
15560
var compilation = CompileAndVerifyWithMscorlib40(source, new[] {
SystemCoreRef
, CSharpRef }, expectedOutput: "2");
15631
var compilation = CompileAndVerifyWithMscorlib40(source, new[] {
SystemCoreRef
, CSharpRef }, expectedOutput: "2");
15744
var compilation = CompileAndVerifyWithMscorlib40(source, new[] {
SystemCoreRef
, CSharpRef }, expectedOutput: "long.ex caught");
15790
var compilation = CompileAndVerifyWithMscorlib40(source, new[] {
SystemCoreRef
, CSharpRef }, expectedOutput: "long.ex caught");
CodeGen\CodeGenTupleTest.cs (2)
4106
references: new[] { MscorlibRef, ValueTupleRef, SystemRuntimeFacadeRef,
SystemCoreRef
});
19803
var comp = CreateCompilationWithMscorlib40(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef,
SystemCoreRef
});
CodeGen\GotoTest.cs (9)
932
var compilation = CreateCompilationWithMscorlib461(source, references: new[] {
SystemCoreRef
}, parseOptions: TestOptions.Script, options: TestOptions.DebugExe);
947
var compilation = CreateCompilationWithMscorlib461(source, references: new[] {
SystemCoreRef
}, parseOptions: TestOptions.Script, options: TestOptions.DebugExe);
983
var compilation = CreateCompilationWithMscorlib461(source, references: new[] {
SystemCoreRef
}, parseOptions: TestOptions.Script, options: TestOptions.DebugExe);
990
var references = new[] { MscorlibRef_v4_0_30316_17626,
SystemCoreRef
};
1019
var compilation = CreateCompilationWithMscorlib461(source, references: new[] {
SystemCoreRef
}, parseOptions: TestOptions.Script);
1039
var compilation = CreateCompilationWithMscorlib461(source, references: new[] {
SystemCoreRef
}, parseOptions: TestOptions.Script);
1066
var compilation = CreateCompilationWithMscorlib461(source, references: new[] {
SystemCoreRef
}, parseOptions: TestOptions.Script, options: TestOptions.DebugExe);
1086
var compilation = CreateCompilationWithMscorlib461(source, references: new[] {
SystemCoreRef
}, parseOptions: TestOptions.Script, options: TestOptions.DebugExe);
1096
var references = new[] { MscorlibRef_v4_0_30316_17626,
SystemCoreRef
};
Emit\DeterministicTests.cs (1)
55
var compilation = CreateEmptyCompilation(source, assemblyName: "DeterminismTest", references: new[] { MscorlibRef,
SystemCoreRef
, CSharpRef }, options: options);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (12)
Emit\EditAndContinue\AssemblyReferencesTests.cs (1)
43
var references = new[] { SystemWindowsFormsRef, MscorlibRef,
SystemCoreRef
};
PDB\PDBAsyncTests.cs (5)
1366
var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module =>
1464
var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
, CSharpRef }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module =>
1550
var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module =>
1694
var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module =>
1948
var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module =>
PDB\PDBTests.cs (4)
8407
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] {
SystemCoreRef
});
8452
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] {
SystemCoreRef
});
8507
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] {
SystemCoreRef
});
8559
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] {
SystemCoreRef
});
PDB\PDBUsingTests.cs (2)
2973
var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), references: new[] {
SystemCoreRef
.WithAliases(new[] { "A" }), SystemDataRef });
3317
var c = CreateCompilationWithMscorlib40(sources, new[] {
SystemCoreRef
.WithAliases(ImmutableArray.Create("A")) });
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (37)
Attributes\AttributeTests_Assembly.cs (1)
1783
var netModuleRef = GetNetModuleWithAssemblyAttributesRef(mod, new[] {
SystemCoreRef
});
Attributes\AttributeTests_Dynamic.cs (7)
103
var comp = CreateCompilationWithMscorlib40(s_dynamicTestSource, options: TestOptions.UnsafeReleaseDll, references: new[] {
SystemCoreRef
, ValueTupleRef, SystemRuntimeFacadeRef });
823
references: new[] {
SystemCoreRef
, CSharpDesktopRef });
855
references: new[] {
SystemCoreRef
});
890
references: new[] {
SystemCoreRef
});
912
references: new[] {
SystemCoreRef
});
1192
comp = CreateEmptyCompilation(source1, references: new[] { ref0,
SystemCoreRef
}, parseOptions: parseOptions);
1229
comp = CreateEmptyCompilation(source1, references: new[] { ref0,
SystemCoreRef
}, parseOptions: parseOptions);
Attributes\AttributeTests_Tuples.cs (3)
102
ValueTupleRef, SystemRuntimeFacadeRef,
SystemCoreRef
, CSharpRef
142
references: new[] {
SystemCoreRef
},
657
references: new[] {
SystemCoreRef
},
Attributes\InternalsVisibleToAndStrongNameTests.cs (2)
2093
var comp3 = CreateCompilationWithMscorlib461(source3, new[] {
SystemCoreRef
, ref1, ref2 }, options: TestOptions.SigningReleaseDll, assemblyName: "asm3", parseOptions: parseOptions);
2216
var comp4 = CreateCompilationWithMscorlib461(source4, new[] {
SystemCoreRef
, ref1, ref2, ref3 }, options: TestOptions.SigningReleaseDll, assemblyName: "asm4", parseOptions: parseOptions);
Semantics\OutVarTests.cs (20)
11618
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11932
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12074
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12084
compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
12224
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12234
compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
12344
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12404
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12477
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12622
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12749
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12762
compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
12847
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12914
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12954
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13012
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13052
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
24635
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
24887
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
25170
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
Semantics\PatternMatchingTests_Global.cs (3)
7837
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
8089
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
8366
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
Semantics\PatternSwitchTests.cs (1)
3206
source, options: TestOptions.ReleaseDll.WithOptimizationLevel(OptimizationLevel.Release), references: new[] {
SystemCoreRef
, CSharpRef });
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests.cs (2)
489
var compilation = CreateCompilationWithMscorlib40(sourceCode, new[] { SystemRef,
SystemCoreRef
, ValueTupleRef, SystemRuntimeFacadeRef }, sourceFileName: "file.cs");
523
var compilation = CreateCompilationWithMscorlib40(sourceCode, new[] { SystemRef,
SystemCoreRef
, ValueTupleRef, SystemRuntimeFacadeRef }, sourceFileName: "file.cs");
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (1)
InteractiveSessionReferencesTests.cs (1)
165
files: new Dictionary<string, PortableExecutableReference> { { @"C:\dir\x.dll", (PortableExecutableReference)
SystemCoreRef
} }));
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (2)
ScriptTests.cs (2)
198
, ScriptOptions.WithReferences(MscorlibRef, SystemRef,
SystemCoreRef
, CSharpRef));
213
, ScriptOptions.WithReferences(MscorlibRef, SystemRef,
SystemCoreRef
, CSharpRef));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (30)
Semantics\BindingAsyncTasklikeMoreTests.cs (1)
649
var compilation = CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef,
SystemCoreRef
});
Semantics\BindingAsyncTests.cs (6)
1742
CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef,
SystemCoreRef
}).VerifyDiagnostics(
1902
CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef,
SystemCoreRef
}).VerifyDiagnostics(
1957
CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef,
SystemCoreRef
}).VerifyDiagnostics(
2343
CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef,
SystemCoreRef
}).VerifyDiagnostics(
2532
CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef,
SystemCoreRef
}).VerifyDiagnostics(
2890
CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef,
SystemCoreRef
}).VerifyDiagnostics(
Semantics\BindingAwaitTests.cs (1)
2762
var comp = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
, CSharpRef }, TestOptions.ReleaseExe);
Semantics\DynamicTests.cs (2)
3255
CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
}, options: TestOptions.DebugDll).VerifyEmitDiagnostics(
4153
var comp = CreateCompilationWithILAndMscorlib40("", il, references: new[] {
SystemCoreRef
}, appendDefaultHeader: false);
Semantics\ImportsTests.cs (2)
108
SystemCoreRef
.WithAliases(new[] { "A" }),
146
var comp = CreateCompilation(trees, targetFramework: TargetFramework.Mscorlib40, references: new[] {
SystemCoreRef
.WithAliases(externAliases) });
Semantics\LocalFunctionTests.cs (2)
4986
var comp = CreateCompilationWithMscorlib461(source, references: new[] {
SystemCoreRef
, CSharpRef });
5011
var comp = CreateCompilationWithMscorlib461(source, references: new[] {
SystemCoreRef
, CSharpRef });
Semantics\MultiDimensionalArrayTests.cs (1)
1678
var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, references: new[] {
SystemCoreRef
}, options: TestOptions.ReleaseExe);
Semantics\NameOfTests.cs (1)
419
MetadataReference[] references = new[] {
SystemCoreRef
, CSharpRef };
Semantics\OverloadResolutionTests.cs (1)
6951
TestOverloadResolutionWithDiff(source, new[] { CSharpRef,
SystemCoreRef
});
Semantics\RefLocalsAndReturnsTests.cs (1)
1998
var comp = CreateCompilation(text, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef,
SystemCoreRef
});
Semantics\ScriptSemanticsTests.cs (1)
1058
var c0 = CreateSubmission(source, new[] {
SystemCoreRef
});
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 };
Semantics\SwitchTests.cs (2)
2395
CreateCompilationWithMscorlib461(source, references: new[] {
SystemCoreRef
}, parseOptions: TestOptions.Script).VerifyDiagnostics(
2420
references: new[] { MscorlibRef,
SystemCoreRef
});
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (47)
Compilation\CompilationAPITests.cs (3)
2047
var c3 = c2.WithReferences(new[] { MscorlibRef,
SystemCoreRef
});
2050
c3 = c2.AddReferences(
SystemCoreRef
);
2056
c3 = c2.ReplaceReference(MscorlibRef,
SystemCoreRef
);
Compilation\GetUnusedImportDirectivesTests.cs (1)
145
comp = comp.WithReferences(comp.References.Concat(
SystemCoreRef
));
Compilation\ReferenceManagerTests.cs (1)
1336
references: new[] { MscorlibRef,
SystemCoreRef
, SystemRef });
Compilation\UsedAssembliesTests.cs (2)
403
Compilation comp2 = CreateEmptyCompilation(source2, references: new[] { reference,
SystemCoreRef
, SystemDrawingRef }, parseOptions: parseOptions);
437
Compilation comp2 = CreateEmptyCompilation(source2, references: new[] { reference,
SystemCoreRef
, SystemDrawingRef }, parseOptions: parseOptions);
DocumentationComments\CrefTests.cs (5)
5003
var compilation = (Compilation)CreateCompilationWithMscorlib40AndDocumentationComments(source, new[] {
SystemCoreRef
});
5038
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, new[] {
SystemCoreRef
});
5075
var compilation = (Compilation)CreateCompilationWithMscorlib40AndDocumentationComments(source, new[] {
SystemCoreRef
});
5169
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, new[] {
SystemCoreRef
});
5191
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, new[] {
SystemCoreRef
});
Symbols\CustomModifiersTests.cs (1)
1830
var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Mscorlib40, references: new[] {
SystemCoreRef
});
Symbols\ExtensionMethodTests.cs (2)
3270
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, references: new[] { MscorlibRef,
SystemCoreRef
, MsvbRef });
3808
var references = new[] { MscorlibRef,
SystemCoreRef
};
Symbols\MissingSpecialMember.cs (6)
1624
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
});
2497
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
});
2590
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
});
2612
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
});
2634
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
});
2658
var compilation = CreateCompilationWithMscorlib461(source, new[] {
SystemCoreRef
});
Symbols\Source\CustomModifierCopyTests.cs (22)
958
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
1002
var comp1 = CreateEmptyCompilation(source1, new[] { MscorlibRef,
SystemCoreRef
, ilRef, ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef });
1034
var comp2 = CreateEmptyCompilation(source2, new[] { MscorlibRef,
SystemCoreRef
, ilRef, ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef });
1058
var comp3 = CreateEmptyCompilation(source3, new[] { MscorlibRef,
SystemCoreRef
, ilRef, ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef });
1079
var comp4 = CreateEmptyCompilation(source4, new[] { MscorlibRef,
SystemCoreRef
, ilRef, ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef });
1132
var comp1 = CreateEmptyCompilation(source1, new[] { MscorlibRef,
SystemCoreRef
, ilRef, ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef });
1156
var comp2 = CreateEmptyCompilation(source2, new[] { MscorlibRef,
SystemCoreRef
, ilRef, ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef });
1170
var comp3 = CreateEmptyCompilation(source3, new[] { MscorlibRef,
SystemCoreRef
, ilRef, ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef });
1279
var comp1 = CreateEmptyCompilation(source1, new[] { MscorlibRef,
SystemCoreRef
, ilRef, ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef });
1320
var comp2 = CreateEmptyCompilation(source2, new[] { MscorlibRef,
SystemCoreRef
, ilRef, ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef });
1348
var comp3 = CreateEmptyCompilation(source3, new[] { MscorlibRef,
SystemCoreRef
, ilRef, ValueTupleRef, SystemRuntimeFacadeRef, CSharpRef });
1395
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
1435
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
1480
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
1524
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
1579
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
1633
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
1683
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
1768
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
1885
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
1982
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
2084
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
, ilRef });
Symbols\Source\EventTests.cs (1)
370
var comp = CreateEmptyCompilation(source, new[] { MscorlibRef,
SystemCoreRef
});
Symbols\SymbolErrorTests.cs (3)
14836
var reference =
SystemCoreRef
;
20475
var references = new[] { MscorlibRef_v4_0_30316_17626,
SystemCoreRef
};
20480
var submission = CSharpCompilation.CreateScriptCompilation("s0.dll", SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.Script), new[] { MscorlibRef_v4_0_30316_17626,
SystemCoreRef
});
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\LambdaUtilitiesTests.cs (1)
43
var compilation = CreateCompilationWithMscorlib461(new[] { tree }, new[] {
SystemCoreRef
});
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
2297
references: new List<MetadataReference>() { MscorlibRef_v4_0_30316_17626,
SystemCoreRef
, CSharpRef },
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Semantics\SpeculationAnalyzerTestsBase.cs (1)
25
SystemCoreRef
,
Microsoft.CodeAnalysis.Test.Utilities (4)
CommonTestBase.cs (2)
376
references.Add(
SystemCoreRef
);
463
references.Add(
SystemCoreRef
);
TestBase.cs (2)
140
public static MetadataReference LinqAssemblyRef =>
SystemCoreRef
;
145
public static MetadataReference ExtensionAssemblyRef =>
SystemCoreRef
;
Microsoft.CodeAnalysis.UnitTests (1)
MetadataReferences\MetadataReferenceTests.cs (1)
527
var f2 =
SystemCoreRef
;
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Compilation\CompilationAPITests.vb (3)
2308
Dim c3 = c2.WithReferences({MscorlibRef,
SystemCoreRef
})
2311
c3 = c2.AddReferences(
SystemCoreRef
)
2317
c3 = c2.ReplaceReference(MscorlibRef,
SystemCoreRef
)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
CompilationTestUtils.vb (2)
228
Public ReadOnly XmlReferences As MetadataReference() = {SystemRef,
SystemCoreRef
, SystemXmlRef, SystemXmlLinqRef}
390
references.Add(
SystemCoreRef
)