361 references to NetFramework
InteractiveHost.UnitTests (2)
InteractiveHostDesktopTests.cs (2)
939new[] { NetFramework.mscorlib, NetFramework.System },
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
ExtractMethod\ExtractMethodTests.cs (1)
11356var document = project.AddMetadataReference(NetFramework.mscorlib)
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
Recommendations\RecommenderTests.cs (1)
67references: [NetFramework.mscorlib]);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenAsyncTests.cs (3)
30IEnumerable<MetadataReference> asyncRefs = new[] { NetFramework.System, NetFramework.SystemCore, NetFramework.MicrosoftCSharp };
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (2)
11065var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { NetFramework.mscorlib }, options: ComSafeDebugDll); 11286var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { NetFramework.mscorlib }, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (39)
InteractiveSessionReferencesTests.cs (39)
377CreateCSharpCompilation(@"[assembly: System.Reflection.AssemblyVersion(""1.0.0.0"")] public class C {}", new[] { NetFramework.mscorlib }, assemblyName: "C").EmitToArray()); 380CreateCSharpCompilation(@"[assembly: System.Reflection.AssemblyVersion(""2.0.0.0"")] public class C {}", new[] { NetFramework.mscorlib }, assemblyName: "C").EmitToArray()); 396CreateCSharpCompilation(@"[assembly: System.Reflection.AssemblyVersion(""1.0.0.0"")] public class C {}", new[] { NetFramework.mscorlib }, assemblyName: "C").EmitToArray()); 399CreateCSharpCompilation(@"[assembly: System.Reflection.AssemblyVersion(""2.0.0.0"")] public class C {}", new[] { NetFramework.mscorlib }, assemblyName: "C").EmitToArray()); 416CreateCSharpCompilation(@"[assembly: System.Reflection.AssemblyVersion(""1.0.0.0"")] public class C {}", new[] { NetFramework.mscorlib }, assemblyName: "C").EmitToArray()); 419CreateCSharpCompilation(@"[assembly: System.Reflection.AssemblyVersion(""2.0.0.0"")] public class C {}", new[] { NetFramework.mscorlib }, assemblyName: "C").EmitToArray()); 568var lib = CreateCSharpCompilation("public class C { public int X = 1, Y = 2; }", new[] { NetFramework.mscorlib }, "HostLib"); 603", new[] { NetFramework.mscorlib }, libBaseName); 610", new MetadataReference[] { NetFramework.mscorlib, libBase.ToMetadataReference() }, lib1Name); 617", new MetadataReference[] { NetFramework.mscorlib, libBase.ToMetadataReference() }, lib2Name); 661", new[] { NetFramework.mscorlib }, libBaseName, s_signedDll); 668", new MetadataReference[] { NetFramework.mscorlib, libBase.ToMetadataReference() }, lib1Name); 675", new MetadataReference[] { NetFramework.mscorlib, libBase.ToMetadataReference() }, lib2Name); 719", new[] { NetFramework.mscorlib }, libBaseName); 726", new[] { NetFramework.mscorlib }, libBaseName); 733", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib1Name); 740", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib2Name); 786", new[] { NetFramework.mscorlib }, libBaseName, s_signedDll); 794", new[] { NetFramework.mscorlib }, libBaseName, s_signedDll); 801", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib1Name); 808", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib2Name); 854", new[] { NetFramework.mscorlib }, libBaseName, s_signedDll); 862", new[] { NetFramework.mscorlib }, libBaseName); 869", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib1Name); 876", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib2Name); 922", new[] { NetFramework.mscorlib }, libBaseName, s_signedDll); 930", new[] { NetFramework.mscorlib }, libBaseName, s_signedDll2); 937", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib1Name); 944", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib2Name); 990", new[] { NetFramework.mscorlib }, libBaseName); 998", new[] { NetFramework.mscorlib }, libBaseName); 1005", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib1Name); 1012", new MetadataReference[] { NetFramework.mscorlib, libBase2.ToMetadataReference() }, lib2Name); 1058", new[] { NetFramework.mscorlib }, libBaseName, s_signedDll); 1066", new[] { NetFramework.mscorlib }, libBaseName, s_signedDll); 1073", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib1Name); 1080", new MetadataReference[] { NetFramework.mscorlib, libBase2.ToMetadataReference() }, lib2Name); 1117new[] { NetFramework.mscorlib, NetFramework.System },
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (4)
CommandLineRunnerTests.cs (4)
798", new[] { NetFramework.mscorlib }, libBaseName); 805", new[] { NetFramework.mscorlib }, libBaseName); 812", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib1Name); 819", new MetadataReference[] { NetFramework.mscorlib, libBase1.ToMetadataReference() }, lib2Name);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (20)
Semantics\ColorColorTests.cs (2)
2106NetFramework.mscorlib 2149NetFramework.mscorlib
Semantics\LambdaTests.cs (1)
371new[] { NetFramework.System });
Semantics\ScriptSemanticsTests.cs (1)
1108var references = new[] { NetFramework.SystemCore };
Semantics\SemanticErrorTests.cs (13)
12902var systemRef = NetFramework.System; 24290CreateCompilationWithMscorlib461(text, new[] { NetFramework.System, NetFramework.SystemCore, NetFramework.MicrosoftCSharp }, options: TestOptions.ReleaseDll).VerifyDiagnostics( 24331CreateCompilationWithMscorlib461(text, new[] { NetFramework.System, NetFramework.SystemCore, NetFramework.MicrosoftCSharp }).VerifyDiagnostics( 24371CreateCompilationWithMscorlib461(text, new[] { NetFramework.System, NetFramework.SystemCore, NetFramework.MicrosoftCSharp }).VerifyDiagnostics( 24399CreateCompilationWithMscorlib461(text, new[] { NetFramework.System, NetFramework.SystemCore, NetFramework.MicrosoftCSharp }).VerifyDiagnostics(
Semantics\UseSiteErrorTests.cs (3)
1032references: [NetFramework.mscorlib], 1046references: [NetFramework.mscorlib, delComp.ToMetadataReference()], 1060references: [NetFramework.mscorlib, lib1Comp.ToMetadataReference()],
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (125)
BadSymbolReference.cs (2)
743NetFramework.SystemData, 744NetFramework.System,
Compilation\CompilationAPITests.cs (28)
357listRef.Add(NetFramework.System.WithEmbedInteropTypes(true)); 490var ref1 = NetFramework.mscorlib; 491var ref2 = NetFramework.System; 592{ @"a.dll", NetFramework.MicrosoftCSharp }, 593{ @"b.dll", NetFramework.MicrosoftVisualBasic }, 599Assert.Same(NetFramework.MicrosoftCSharp, c.GetDirectiveReference(rd1[0])); 600Assert.Same(NetFramework.MicrosoftCSharp, c.GetDirectiveReference(rd1[1])); 601Assert.Same(NetFramework.MicrosoftCSharp, c.GetDirectiveReference(rd2[0])); 602Assert.Same(NetFramework.MicrosoftVisualBasic, c.GetDirectiveReference(rd2[1])); 603Assert.Same(NetFramework.MicrosoftCSharp, c.GetDirectiveReference(rd3[0])); 965var ref1 = NetFramework.mscorlib; 1185var ref1 = NetFramework.mscorlib; 1186var ref2 = NetFramework.System; 1410var ref1 = NetFramework.mscorlib; 1411var ref2 = NetFramework.System; 1412var ref3 = NetFramework.SystemData; 1413var ref4 = NetFramework.SystemXml; 1451var ref1 = NetFramework.mscorlib; 1472var ref1 = NetFramework.mscorlib; 1473var ref2 = NetFramework.SystemXml; 1486comp.ReplaceReference(newReference: NetFramework.System, oldReference: ref2); 1894var alias = NetFramework.System.WithAliases(new[] { "alias" }); 2250NetFramework.mscorlib, 2251NetFramework.System, 2293references: new[] { MscorlibRef, NetFramework.System }, 2303NetFramework.mscorlib, 2304NetFramework.System, 2350var metadata = NetFramework.mscorlib;
Compilation\ReferenceManagerTests.cs (8)
1370{ @"C:\A\lib.dll", NetFramework.MicrosoftCSharp }, 1371{ @"C:\B\lib.dll", NetFramework.MicrosoftVisualBasic }, 1376Assert.Same(NetFramework.MicrosoftCSharp, c.GetDirectiveReference(rd1)); 1377Assert.Same(NetFramework.MicrosoftVisualBasic, c.GetDirectiveReference(rd2)); 2211NetFramework.mscorlib, 2212NetFramework.System, 3181var bRef = CreateEmptyCompilation(@"public interface B { System.Diagnostics.Process PB { get; } }", new[] { MscorlibRef_v4_0_30316_17626, NetFramework.System }, 3187{ "System, 4.0.0.0", NetFramework.System },
Symbols\AssemblyAndNamespaceTests.cs (1)
373var aliasedCorlib = NetFramework.mscorlib.WithAliases(ImmutableArray.Create("Goo"));
Symbols\CompilationCreationTests.cs (49)
109var mscorlibRef = NetFramework.mscorlib; 131NetFramework.mscorlib, 146NetFramework.mscorlib, 175NetFramework.mscorlib, 232NetFramework.mscorlib, 329NetFramework.mscorlib, 338NetFramework.mscorlib, 347NetFramework.mscorlib, 416NetFramework.mscorlib, 432NetFramework.mscorlib, 441NetFramework.mscorlib, 694new[] { NetFramework.mscorlib }); 716new MetadataReference[] { NetFramework.mscorlib, varC_MTTestLib1_V1.ToMetadataReference() }); 727NetFramework.mscorlib, 770new MetadataReference[] { NetFramework.mscorlib }); 805NetFramework.mscorlib, 820NetFramework.mscorlib, 896new MetadataReference[] { NetFramework.mscorlib }); 942new MetadataReference[] { NetFramework.mscorlib, 956NetFramework.mscorlib, 1059new MetadataReference[] { NetFramework.mscorlib, varC_MTTestLib3.ToMetadataReference() }); 1068new MetadataReference[] { NetFramework.mscorlib, varC_MTTestLib2.ToMetadataReference() }); 1077new MetadataReference[] { NetFramework.mscorlib, varC_MTTestLib2.ToMetadataReference(), varC_MTTestLib3.ToMetadataReference(), varC_MTTestLib4.ToMetadataReference() }); 1145new MetadataReference[] { NetFramework.mscorlib, varC_MTTestLib4.ToMetadataReference(), varC_MTTestLib2.ToMetadataReference(), varC_MTTestLib3.ToMetadataReference() }); 1159new MetadataReference[] { NetFramework.mscorlib, varC_MTTestLib4.ToMetadataReference() }); 1169NetFramework.mscorlib, 1423NetFramework.mscorlib, 1433NetFramework.mscorlib, 1472NetFramework.mscorlib, 1489NetFramework.mscorlib, 1557NetFramework.mscorlib, 1576NetFramework.mscorlib, 1681NetFramework.mscorlib, 1693NetFramework.mscorlib, 1705NetFramework.mscorlib, 1782NetFramework.mscorlib, 1801NetFramework.mscorlib, 1813NetFramework.mscorlib, 2085new[] { NetFramework.mscorlib }); 2107new MetadataReference[] { NetFramework.mscorlib }); 2122new MetadataReference[] { NetFramework.mscorlib }); 2137new MetadataReference[] { NetFramework.mscorlib }); 2152new MetadataReference[] { NetFramework.mscorlib }); 2234new MetadataReference[] { NetFramework.mscorlib, 2255NetFramework.mscorlib, 2560NetFramework.mscorlib, 2614var mscorlibRef = NetFramework.mscorlib; 2615var systemCoreRef = NetFramework.SystemCore; 2616var systemRef = NetFramework.System;
Symbols\InterfaceImplementationTests.cs (1)
865NetFramework.mscorlib,
Symbols\Metadata\PE\DynamicTransformsTests.cs (1)
32NetFramework.mscorlib)[0];
Symbols\Metadata\PE\LoadingAttributes.cs (7)
1172NetFramework.SystemCore, 1173NetFramework.System, 1194NetFramework.SystemCore, 1195NetFramework.System, 1254NetFramework.SystemData, 1255NetFramework.SystemCore, 1256NetFramework.System,
Symbols\Metadata\PE\LoadingEvents.cs (11)
26NetFramework.mscorlib, 43NetFramework.mscorlib, 60NetFramework.mscorlib, 125NetFramework.mscorlib, 148NetFramework.mscorlib, 171NetFramework.mscorlib, 189NetFramework.mscorlib, 216NetFramework.mscorlib, 248NetFramework.mscorlib, 284NetFramework.mscorlib, 324NetFramework.mscorlib,
Symbols\Metadata\PE\LoadingMethods.cs (5)
442NetFramework.mscorlib, 478NetFramework.mscorlib, 569NetFramework.mscorlib, 662NetFramework.mscorlib, 696NetFramework.mscorlib,
Symbols\Metadata\PE\LoadingProperties.cs (5)
51NetFramework.mscorlib, 83NetFramework.mscorlib, 119NetFramework.mscorlib, 159NetFramework.mscorlib, 222NetFramework.mscorlib,
Symbols\Retargeting\RetargetCustomAttributes.cs (1)
172return NetFramework.mscorlib;
Symbols\Retargeting\RetargetCustomModifiers.cs (2)
27var newMsCorLib = NetFramework.mscorlib; 134var newMsCorLib = NetFramework.mscorlib;
Symbols\Retargeting\RetargetExplicitInterfaceImplementation.cs (4)
50NetFramework.mscorlib, 115NetFramework.mscorlib, 345NetFramework.mscorlib, 379NetFramework.mscorlib,
Microsoft.CodeAnalysis.CSharp.Test.Utilities (6)
CSharpTestBase.cs (6)
2278references: new List<MetadataReference>() { NetFramework.mscorlib, NetFramework.SystemCore, NetFramework.MicrosoftCSharp }, 2285references: new List<MetadataReference>() { NetFramework.mscorlib, NetFramework.SystemCore, NetFramework.MicrosoftCSharp, reference.EmitToImageReference() },
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (13)
CodeGeneration\AddAttributesTests.cs (1)
34metadataReferences: [NetFramework.mscorlib]));
CodeGeneration\AddImportsTests.cs (3)
38metadataReferences: [NetFramework.mscorlib])); 784metadataReferences: [NetFramework.mscorlib])); 838.AddReferences(NetFramework.mscorlib);
CodeGeneration\SymbolEditorTests.cs (1)
43metadataReferences: [NetFramework.mscorlib]);
CodeGeneration\SyntaxGeneratorTests.cs (8)
30references: [NetFramework.mscorlib, NetFramework.System]); 44.AddReferences(NetFramework.mscorlib, NetFramework.System, NetFramework.SystemCore, NetFramework.SystemRuntime, NetFramework.SystemValueTuple) 3999.AddReferences(NetFramework.mscorlib)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
CodeGeneration\AbstractCodeGenerationTests.cs (1)
35var document = project.AddMetadataReference(NetFramework.mscorlib)
MetadataAsSource\AbstractMetadataAsSourceTests.cs (1)
79.AddMetadataReference(NetFramework.mscorlib)
Preview\PreviewWorkspaceTests.cs (1)
73.AddMetadataReference(NetFramework.mscorlib)
Utilities\SymbolEquivalenceComparerTests.cs (3)
1733var references = new[] { NetFramework.mscorlib }; 1833var c1 = (Compilation)CS.CSharpCompilation.Create("comp1", Array.Empty<SyntaxTree>(), [NetFramework.mscorlib, r1]); 1834var c2 = (Compilation)CS.CSharpCompilation.Create("comp2", Array.Empty<SyntaxTree>(), [NetFramework.mscorlib, r2]);
Microsoft.CodeAnalysis.Test.Utilities (25)
Mocks\TestReferences.cs (1)
693() => StdOle.Build(NetFramework.References), LazyThreadSafetyMode.PublicationOnly);
TargetFrameworkUtil.cs (16)
170public static ImmutableArray<MetadataReference> NetLatest => RuntimeUtilities.IsCoreClrRuntime ? NetCoreApp.References : NetFramework.References; 171public static ImmutableArray<MetadataReference> StandardReferences => RuntimeUtilities.IsCoreClrRuntime ? NetStandard20References : NetFramework.Standard; 172public static MetadataReference StandardCSharpReference => RuntimeUtilities.IsCoreClrRuntime ? NetStandard20.ExtraReferences.MicrosoftCSharp : NetFramework.MicrosoftCSharp; 173public static MetadataReference StandardVisualBasicReference => RuntimeUtilities.IsCoreClrRuntime ? NetStandard20.ExtraReferences.MicrosoftVisualBasic : NetFramework.MicrosoftVisualBasic; 202NetFramework.mscorlib, 203NetFramework.System, 204NetFramework.SystemCore, 205NetFramework.SystemRuntime, 206NetFramework.SystemValueTuple, 239NetFramework.mscorlib 281NetFramework.mscorlib, 282NetFramework.System, 283NetFramework.SystemCore, 284NetFramework.MicrosoftVisualBasic 293Debug.Assert(GetReferences(TargetFramework.NetFramework).SequenceEqual(NetFramework.References)); 309TargetFramework.NetFramework => NetFramework.References,
TestBase.cs (8)
87() => new[] { NetFramework.mscorlib, NetFramework.System, NetFramework.SystemCore, NetFramework.MicrosoftVisualBasic }, 213public static MetadataReference MscorlibRef_v4_0_30316_17626 => NetFramework.mscorlib; 224public static MetadataReference ValueTupleRef => NetFramework.SystemValueTuple; 226public static MetadataReference MsvbRef => NetFramework.MicrosoftVisualBasic; 228public static MetadataReference MsvbRef_v4_0_30319_17929 => NetFramework.MicrosoftVisualBasic;
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (11)
CodeGen\CodeGenTuples.vb (8)
6333references:={ValueTupleRef, NetFramework.SystemRuntime, NetFramework.SystemCore}, 6451references:={ValueTupleRef, NetFramework.SystemRuntime, NetFramework.SystemCore}, 6460allReferences:={ValueTupleRef, NetFramework.mscorlib, NetFramework.SystemCore, NetFramework.SystemRuntime, NetFramework.MicrosoftVisualBasic},
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (1)
9129Dim compilation0 = CompilationUtils.CreateEmptyCompilation({source0.Tree}, {NetFramework.mscorlib}, options:=ComSafeDebugDll)
Emit\NoPiaEmbedTypes.vb (2)
1766references:={NetFramework.mscorlib, NetFramework.System, compilation0.EmitToImageReference(embedInteropTypes:=True)})
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (15)
Compilation\CompilationAPITests.vb (12)
288listRef.Add(NetFramework.System) 533Dim ref1 = NetFramework.mscorlib 534Dim ref2 = NetFramework.System 840Dim ref1 = NetFramework.mscorlib 1056Dim ref1 = NetFramework.mscorlib 1057Dim ref2 = NetFramework.System 1182Assert.Null(comp.GetReferencedAssemblySymbol(NetFramework.System)) 1193Dim ref1 = NetFramework.System 1221Dim ref2 = NetFramework.System 1259Dim ref1 = NetFramework.mscorlib 1260Dim ref2 = NetFramework.System 2488Dim metadata = NetFramework.mscorlib
Compilation\ReferenceManagerTests.vb (2)
659{NetFramework.System, Net20.References.System}, 663Diagnostic(ERRID.ERR_DuplicateReferenceStrong).WithArguments(NetFramework.System.Display, Net20.References.System.Display))
Semantics\QueryExpressions.vb (1)
14074expectedOutput:="CI003.Count", references:={NetFramework.SystemCore})
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (75)
SymbolsTests\AssemblyAndNamespaceTests.vb (1)
518Dim aliasedCorlib = NetFramework.mscorlib.WithAliases(ImmutableArray.Create("Goo"))
SymbolsTests\CompilationCreationTests.vb (39)
242Dim mscorlibRef = NetFramework.mscorlib 670</text>.Value}, {NetFramework.mscorlib}) 683</text>.Value}, {NetFramework.mscorlib, varC_MTTestLib1_V1.ToMetadataReference()}) 690{NetFramework.mscorlib, varC_MTTestLib2.ToMetadataReference(), varC_MTTestLib1_V1.ToMetadataReference()}) 716</text>.Value}, {NetFramework.mscorlib}) 737</text>.Value}, {NetFramework.mscorlib, varC_MTTestLib2.ToMetadataReference(), varC_MTTestLib1_V2.ToMetadataReference()}) 742Dim c3 = CreateEmptyCompilation(New AssemblyIdentity("c3"), Nothing, {NetFramework.mscorlib, varC_MTTestLib2.ToMetadataReference(), varC_MTTestLib1_V2.ToMetadataReference(), varC_MTTestLib3.ToMetadataReference()}) 790</text>.Value}, {NetFramework.mscorlib}) 822</text>.Value}, {NetFramework.mscorlib, varC_MTTestLib2.ToMetadataReference(), varC_MTTestLib1_V3.ToMetadataReference(), varC_MTTestLib3.ToMetadataReference()}) 832{NetFramework.mscorlib, 902Dim c5 = CreateEmptyCompilation(New AssemblyIdentity("c5"), Nothing, {NetFramework.mscorlib, varC_MTTestLib3.ToMetadataReference()}) 906Dim c6 = CreateEmptyCompilation(New AssemblyIdentity("c6"), Nothing, {NetFramework.mscorlib, varC_MTTestLib2.ToMetadataReference()}) 910Dim c7 = CreateEmptyCompilation(New AssemblyIdentity("c6"), Nothing, {NetFramework.mscorlib, varC_MTTestLib2.ToMetadataReference(), varC_MTTestLib3.ToMetadataReference(), varC_MTTestLib4.ToMetadataReference()}) 953{NetFramework.mscorlib, 966Dim c9 = CreateEmptyCompilation(New AssemblyIdentity("c9"), Nothing, {NetFramework.mscorlib, varC_MTTestLib4.ToMetadataReference()}) 972{NetFramework.mscorlib, 1149{NetFramework.mscorlib, 1156{NetFramework.mscorlib, 1181{NetFramework.mscorlib, 1194{NetFramework.mscorlib, 1240{NetFramework.mscorlib, 1256{NetFramework.mscorlib, 1330{NetFramework.mscorlib, 1340{NetFramework.mscorlib, 1350{NetFramework.mscorlib, 1406{NetFramework.mscorlib, 1428{NetFramework.mscorlib, 1438{NetFramework.mscorlib, 1646{NetFramework.mscorlib}) 1654{NetFramework.mscorlib}) 1668{NetFramework.mscorlib}) 1676{NetFramework.mscorlib}) 1691{NetFramework.mscorlib}) 1765{NetFramework.mscorlib, 1783{NetFramework.mscorlib, 2000{NetFramework.mscorlib, 2042Dim mscorlibRef = NetFramework.mscorlib 2043Dim systemCoreRef = NetFramework.SystemCore 2044Dim systemRef = NetFramework.System
SymbolsTests\Metadata\PE\LoadingEvents.vb (11)
20Dim assemblies = MetadataTestHelpers.GetSymbolsForReferences({NetFramework.mscorlib, TestReferences.SymbolsTests.Events}) 29Dim assemblies = MetadataTestHelpers.GetSymbolsForReferences({NetFramework.mscorlib, TestReferences.SymbolsTests.Events}) 38Dim assemblies = MetadataTestHelpers.GetSymbolsForReferences({NetFramework.mscorlib, TestReferences.SymbolsTests.Events}) 128Dim assemblies = MetadataTestHelpers.GetSymbolsForReferences({NetFramework.mscorlib, TestReferences.SymbolsTests.Events}) 139Dim assemblies = MetadataTestHelpers.GetSymbolsForReferences({NetFramework.mscorlib, TestReferences.SymbolsTests.Events}) 150Dim assemblies = MetadataTestHelpers.GetSymbolsForReferences({NetFramework.mscorlib, TestReferences.SymbolsTests.Events}) 159Dim assemblies = MetadataTestHelpers.GetSymbolsForReferences({NetFramework.mscorlib, TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Events.CSharp}) 174Dim assemblies = MetadataTestHelpers.GetSymbolsForReferences({NetFramework.mscorlib, TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Events.CSharp}) 192Dim assemblies = MetadataTestHelpers.GetSymbolsForReferences({NetFramework.mscorlib, TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Events.CSharp}) 210Dim assemblies = MetadataTestHelpers.GetSymbolsForReferences({NetFramework.mscorlib, TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Events.CSharp}) 231Dim assemblies = MetadataTestHelpers.GetSymbolsForReferences({NetFramework.mscorlib, TestReferences.SymbolsTests.ExplicitInterfaceImplementation.Events.CSharp})
SymbolsTests\Metadata\PE\LoadingMethods.vb (4)
433{NetFramework.mscorlib, 465{NetFramework.mscorlib, 528{NetFramework.mscorlib, 557{NetFramework.mscorlib,
SymbolsTests\Retargeting\RetargetCustomModifiers.vb (2)
32Dim newMsCorLib = NetFramework.mscorlib 106Dim newMsCorLib = NetFramework.mscorlib
SymbolsTests\Retargeting\RetargetingCustomAttributes.vb (1)
161Return NetFramework.mscorlib
SymbolsTests\Source\BaseClassTests.vb (14)
727{NetFramework.mscorlib, C1, C2}) 752{NetFramework.mscorlib, C1, C2}) 770{NetFramework.mscorlib, C1, C2, C3}) 795{NetFramework.mscorlib, C1, C2}) 825{NetFramework.mscorlib, ClassAv1}) 845New MetadataReference() {NetFramework.mscorlib, ClassAv2, New VisualBasicCompilationReference(Comp)}) 881NetFramework.mscorlib, 905New MetadataReference() {NetFramework.mscorlib, ClassAv2, New VisualBasicCompilationReference(Comp)}) 947{NetFramework.mscorlib, ClassAv2}) 979New MetadataReference() {NetFramework.mscorlib, ClassAv1, New VisualBasicCompilationReference(Comp)}) 1008NetFramework.mscorlib, 1040NetFramework.mscorlib, 1076{NetFramework.mscorlib, ClassAv2}) 1108New MetadataReference() {NetFramework.mscorlib, ClassAv1, New VisualBasicCompilationReference(Comp)})
SymbolsTests\SymbolErrorTests.vb (3)
8423{NetFramework.mscorlib, C1, C2}) 8455{NetFramework.mscorlib, C1, C2}) 8487{NetFramework.mscorlib, C1, C2})
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (4)
CodeGeneration\AddImportsTests.vb (1)
39metadataReferences:={NetFramework.mscorlib}))
CodeGeneration\SyntaxGeneratorTests.vb (3)
19Private ReadOnly _emptyCompilation As VisualBasicCompilation = VisualBasicCompilation.Create("empty", references:={NetFramework.mscorlib, NetFramework.System}) 38Return VisualBasicCompilation.Create("test").AddReferences(NetFramework.mscorlib).AddSyntaxTrees(SyntaxFactory.ParseSyntaxTree(code))
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestHostProject`1.cs (1)
152MetadataReferences = metadataReferences ?? new MetadataReference[] { NetFramework.mscorlib };
Microsoft.CodeAnalysis.Workspaces.UnitTests (8)
CodeCleanup\AddMissingTokensTests.cs (1)
2732return project.AddMetadataReference(NetFramework.mscorlib)
CodeCleanup\FixIncorrectTokenTests.cs (1)
757return project.AddMetadataReference(NetFramework.mscorlib)
CodeCleanup\ReduceTokenTests.cs (1)
2020return project.AddMetadataReference(NetFramework.mscorlib)
FindReferencesTests.cs (1)
433solution = solution.AddMetadataReferences(solution.ProjectIds.Single(), NetFramework.References);
SolutionTests\SolutionTests.cs (3)
49private static readonly MetadataReference s_mscorlib = NetFramework.mscorlib; 2941var mefReference = NetFramework.SystemCore; 4830.WithProjectMetadataReferences(projectId, [NetFramework.mscorlib])
UtilityTest\DocumentationCommentIdTests.cs (1)
20return CSharpCompilation.Create("goo.exe").AddReferences(NetFramework.mscorlib).AddSyntaxTrees(syntaxTree);