164 references to TargetFrameworkUtil
InteractiveHost.UnitTests (1)
AbstractInteractiveHostTests.cs (1)
200references: TargetFrameworkUtil.GetReferences(TargetFramework.NetStandard20, references),
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
14207references: TargetFrameworkUtil.NetStandard20References.Add(MetadataReference.CreateFromAssemblyInternal(typeof(ISourceGenerator).Assembly)), 15357TargetFrameworkUtil.GetReferences(TargetFramework.Standard, new[] { MetadataReference.CreateFromAssemblyInternal(typeof(ISourceGenerator).Assembly) }),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\CodeGenFunctionPointersTests.cs (4)
54? TargetFrameworkUtil.GetReferences(TargetFramework.Net50) 55: TargetFrameworkUtil.GetReferencesWithout(TargetFramework.Net50, "System.Runtime.InteropServices.dll"); 68? TargetFrameworkUtil.GetReferences(TargetFramework.Net50) 69: TargetFrameworkUtil.GetReferencesWithout(TargetFramework.Net50, "System.Runtime.InteropServices.dll");
CodeGen\CodeGenTupleTest.cs (1)
27416var comp = CreateVisualBasicCompilation(source, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard));
Emit\CompilationEmitTests.cs (1)
4047references: TargetFrameworkUtil.GetReferences(TargetFramework.Standard),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\PDBTests.cs (1)
140var comp = CSharpCompilation.Create("test", new[] { tree1, tree2 }, TargetFrameworkUtil.StandardReferences, TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (25)
Attributes\AttributeTests.cs (1)
11063var comp2 = CreateVisualBasicCompilation(vbSource, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Concat(comp.EmitToImageReference()));
Attributes\AttributeTests_CallerInfoAttributes.cs (1)
23TargetFrameworkUtil.GetReferencesWithout(TargetFramework.Net50, "System.Runtime.InteropServices.dll");
Attributes\AttributeTests_NullableContext.cs (1)
275var comp1 = CreateVisualBasicCompilation(source1, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Concat(ref0));
OverloadResolutionPriorityTests.cs (7)
663var comp1_1 = CreateCompilation(new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true), source1, TargetFrameworkUtil.StandardReferences); 664var comp1_2 = CreateCompilation(new AssemblyIdentity("Ret", new Version(2, 0, 0, 0), isRetargetable: true), source1, TargetFrameworkUtil.StandardReferences); 711var comp1_1 = CreateCompilation(new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true), source1, TargetFrameworkUtil.StandardReferences); 712var comp1_2 = CreateCompilation(new AssemblyIdentity("Ret", new Version(2, 0, 0, 0), isRetargetable: true), source1, TargetFrameworkUtil.StandardReferences); 772var comp1_1 = CreateCompilation(new AssemblyIdentity("Base", new Version(1, 0, 0, 0), isRetargetable: true), source1, TargetFrameworkUtil.StandardReferences); 773var comp1_2 = CreateCompilation(new AssemblyIdentity("Base", new Version(2, 0, 0, 0), isRetargetable: true), source1, TargetFrameworkUtil.StandardReferences); 1787var vb = CreateVisualBasicCompilation(GetUniqueName(), vbSource, referencedAssemblies: TargetFrameworkUtil.NetStandard20References, referencedCompilations: [attrRef]);
Semantics\CollectionExpressionTests.cs (2)
38392var comp = CreateCompilation(new AssemblyIdentity(assemblyName, new Version(1, 0, 0, 0)), sourceA1, references: TargetFrameworkUtil.StandardReferences); 38415comp = CreateCompilation(new AssemblyIdentity(assemblyName, new Version(2, 0, 0, 0)), sourceA2, references: TargetFrameworkUtil.StandardReferences);
Semantics\ExperimentalAttributeTests.cs (8)
924var originalC = CreateCompilation(new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 925var retargetedC = CreateCompilation(new AssemblyIdentity("Ret", new Version(2, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 961var originalC = CreateCompilation(new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 962var retargetedC = CreateCompilation(new AssemblyIdentity("Ret", new Version(2, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 989var originalC = CreateCompilation(new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 990var retargetedC = CreateCompilation(new AssemblyIdentity("Ret", new Version(2, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 1026var originalC = CreateCompilation(new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 1027var retargetedC = CreateCompilation(new AssemblyIdentity("Ret", new Version(2, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences);
Semantics\InlineArrayTests.cs (2)
120var vbComp = CreateVisualBasicCompilation("", referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Net80, null)); 18198var vbComp = CreateVisualBasicCompilation("", referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Net70, null));
Semantics\ParamsCollectionTests.cs (2)
6888var comp2 = CreateVisualBasicCompilation(src2, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Concat(comp1Ref)); 7790var comp2 = CreateVisualBasicCompilation(src2, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Concat(comp1Ref));
Semantics\RecordTests.cs (1)
30163var compA = CreateEmptyCompilation(new[] { sourceA, IsExternalInitTypeDefinition }, references: TargetFrameworkUtil.GetReferences(TargetFramework.NetStandard20));
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (6)
InteractiveSessionReferencesTests.cs (6)
36var libImage = CreateCSharpCompilation(libSource, TargetFrameworkUtil.NetStandard20References, "lib").EmitToArray(); 86var libDImage = CreateCSharpCompilation(libDSource, TargetFrameworkUtil.NetStandard20References, "libD").EmitToArray(); 90var libAImage = CreateCSharpCompilation(libASource, TargetFrameworkUtil.NetStandard20References.Concat(libDRef), "libA").EmitToArray(); 93var libBImage = CreateCSharpCompilation(libBSource, TargetFrameworkUtil.NetStandard20References.Concat(libDRef), "libB").EmitToArray(); 129var libBImage = CreateCSharpCompilation(libBSource, TargetFrameworkUtil.NetStandard20References, "libB").EmitToArray(); 135var libAImage = CreateCSharpCompilation(libASource, TargetFrameworkUtil.NetStandard20References.Concat(libBRef), "libA").EmitToArray();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\AccessCheckTests.cs (1)
963c = CreateEmptyCompilation(source, TargetFrameworkUtil.GetReferences(TargetFramework.Standard).AddRange(new[] { r1, r2 }));
Semantics\InheritanceBindingTests.cs (2)
2996new[] { source1 }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard, null).ToArray(), TestOptions.DebugDll.WithPublicSign(true)); 2999new[] { source1 }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard, null).ToArray(), TestOptions.DebugDll.WithPublicSign(true));
Semantics\NativeIntegerTests.cs (1)
1048var references = TargetFrameworkUtil.GetReferences(TargetFramework.Standard).ToArray();
Semantics\RefFieldTests.cs (2)
9079var references = TargetFrameworkUtil.GetReferences(TargetFramework.Standard, additionalReferences: null); 21333var references = TargetFrameworkUtil.GetReferences(TargetFramework.NetCoreApp, additionalReferences: null);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (32)
Compilation\CompilationAPITests.cs (1)
2368var vbComp = CreateVisualBasicCompilation("", referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard));
Compilation\ReferenceManagerTests.cs (9)
831references = TargetFrameworkUtil.StandardReferences.AddRange(references); 962var c = CreateEmptyCompilation("class C {}", TargetFrameworkUtil.StandardReferences.AddRange(new[] { ref1, ref2 })); 984var c = CreateEmptyCompilation("class C {}", TargetFrameworkUtil.StandardReferences.AddRange(new[] { ref1, ref2 })); 1056CreateEmptyCompilation(source, TargetFrameworkUtil.StandardReferences.AddRange(new[] { ref1, ref2 })).VerifyDiagnostics(); 1133TargetFrameworkUtil.StandardReferences.AddRange(new[] { mdRefLib1, mdRefLib2 })); 1198TargetFrameworkUtil.StandardReferences.AddRange(new[] { mdRefLib1, mdRefLib2 })); 1225var compilation = CreateEmptyCompilation(source, TargetFrameworkUtil.StandardReferences.AddRange(new[] { arSA, enUS })); 2184TargetFrameworkUtil.StandardReferences.AddRange(new[] { refVectors40, refVectors41 }), 2194TargetFrameworkUtil.StandardReferences.AddRange(new[] { refVectors41, refVectors40 }),
Compilation\UsedAssembliesTests.cs (2)
298references: TargetFrameworkUtil.GetReferences(targetFramework).Concat(references), 5227var comp1 = CreateVisualBasicCompilation(source1, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard, new[] { comp0ImageRef }));
SymbolDisplay\SymbolDisplayTests.cs (1)
2857TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Concat(hostReference),
Symbols\DefaultInterfaceImplementationTests.cs (2)
50682IEnumerable<MetadataReference> baseReferences = TargetFrameworkUtil.GetReferencesWithout(TargetFramework.Net50, "System.Runtime.InteropServices.dll"); 50752baseReferences = TargetFrameworkUtil.GetReferencesWithout(TargetFramework.NetLatest, "System.Runtime.InteropServices.dll").Concat(new[] { attributesRef });
Symbols\ExtendedPartialMethodsTests.cs (1)
2592var vbComp = CreateVisualBasicCompilation(vb, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Add(comp.EmitToImageReference()));
Symbols\GenericConstraintTests.cs (2)
7328TargetFrameworkUtil.NetStandard20References.ToArray(), 7334TargetFrameworkUtil.NetStandard20References.ToArray(),
Symbols\RequiredMembersTests.cs (10)
2193var originalC = CreateCompilation(new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 2205var retargetedC = CreateCompilation(new AssemblyIdentity("Ret", new Version(2, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 2242var originalC = CreateCompilation(new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 2270var retargetedC = CreateCompilation(new AssemblyIdentity("Ret", new Version(2, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 2288var originalC = CreateCompilation(new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 2300var retargetedC = CreateCompilation(new AssemblyIdentity("Ret", new Version(2, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 2548var originalC = CreateCompilation(new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 2558var retargetedC = CreateCompilation(new AssemblyIdentity("Ret", new Version(2, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 2579var originalC = CreateCompilation(new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences); 2589var retargetedC = CreateCompilation(new AssemblyIdentity("Ret", new Version(2, 0, 0, 0), isRetargetable: true), retargetedCode, TargetFrameworkUtil.StandardReferences);
Symbols\Retargeting\RetargetingTests.cs (1)
934var standardReference = TargetFrameworkUtil.StandardReferences.ToArray();
Symbols\Source\EventTests.cs (3)
446CompileAndVerify(source: source, references: new[] { TargetFrameworkUtil.StandardCSharpReference, libAssemblyRef }, 492var compilationVerifier = CompileAndVerify(source: source, references: new[] { TargetFrameworkUtil.StandardCSharpReference, libAssemblyRef }, 810var compVerifier = CompileAndVerify(source, new[] { TargetFrameworkUtil.StandardCSharpReference, CompileIL(ilSource) },
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxTreeTests.cs (1)
96var compilation = CSharpCompilation.Create("test", new[] { tree }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard), TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
CSharpTestBase.cs (4)
1136var allReferences = TargetFrameworkUtil.GetReferences(targetFramework, references).Add(ilReference); 1182bool skipUsesIsNullable = false) => CreateCompilationCore(source, TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib461, references), options, parseOptions, assemblyName, sourceFileName, skipUsesIsNullable, experimentalFeature: feature); 1253allReferences = [.. TargetFrameworkUtil.Mscorlib461ExtendedReferences, Net461.ExtraReferences.SystemThreadingTasksExtensions]; 1274return CreateEmptyCompilation(source, TargetFrameworkUtil.GetReferences(targetFramework, references), options, parseOptions, assemblyName, sourceFileName, skipUsesIsNullable);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
EditAndContinue\EditAndContinueLanguageServiceTests.cs (2)
118.AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)) 247AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)).
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
447oldProject = workspace.AddProject(projectInfo).WithMetadataReferences(TargetFrameworkUtil.GetReferences(targetFramework));
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
83.WithMetadataReferences(TargetFrameworkUtil.GetReferences(DefaultTargetFramework));
Microsoft.CodeAnalysis.Features.UnitTests (16)
EditAndContinue\CompileTimeSolutionProviderTests.cs (1)
46WithProjectMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.NetStandard20)).
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (10)
400AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)). 621AddMetadataReferences(TargetFrameworkUtil.GetReferences(DefaultTargetFramework)). 679AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)). 764AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)); 921AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)). 2093AddMetadataReferences(TargetFrameworkUtil.GetReferences(DefaultTargetFramework)). 2181AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)). 2249AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)); 2310AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)). 4154WithMetadataReferences(TargetFrameworkUtil.GetReferences(DefaultTargetFramework));
EditAndContinue\EditSessionActiveStatementsTests.cs (1)
70.WithMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Standard));
EditAndContinue\EmitSolutionUpdateResultsTests.cs (1)
70WithMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
80.AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40))
EditAndContinue\UnitTestingHotReloadServiceTests.cs (1)
39WithMetadataReferences(TargetFrameworkUtil.GetReferences(DefaultTargetFramework));
EditAndContinue\WatchHotReloadServiceTests.cs (1)
51WithMetadataReferences(TargetFrameworkUtil.GetReferences(DefaultTargetFramework));
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\CompilationExtensions.cs (1)
511references: TargetFrameworkUtil.GetReferences(targetFramework),
PDB\DeterministicBuildCompilationTestHelpers.cs (1)
78var frameworkReferences = TargetFrameworkUtil.GetReferences(targetFramework);
Microsoft.CodeAnalysis.UnitTests (2)
Analyzers\AnalyzerFileReferenceTests.cs (1)
486TargetFrameworkUtil.GetReferences(TargetFramework.Standard, new[] { MetadataReference.CreateFromAssemblyInternal(typeof(ISourceGenerator).Assembly) }),
Symbols\DocumentationCommentIdTests.cs (1)
23code, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.NetStandard20));
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
10851TargetFrameworkUtil.GetReferences(Roslyn.Test.Utilities.TargetFramework.Standard, {MetadataReference.CreateFromAssemblyInternal(GetType(ISourceGenerator).Assembly)}),
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (8)
Attributes\AttributeTests_CallerArgumentExpression.vb (1)
193Dim csCompilation = CreateCSharpCompilation("Program2.Log(5 + 2);", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Net50, {compilation.EmitToImageReference()}), compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.ConsoleApplication))
CodeGen\CodeGenTuples.vb (4)
17350referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.StandardAndVBRuntime)) 21327referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.StandardAndVBRuntime)) 21463referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.StandardAndVBRuntime)) 23119Dim comp = CreateCSharpCompilation(source, referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard))
Emit\NoPiaEmbedTypes.vb (2)
2677Dim dispIdDefinition = CreateCSharpCompilation(dispId, assemblyName:="DispId", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib461Extended, Nothing)).EmitToImageReference(aliases:=ImmutableArray.Create("dispId")) 2697Dim piaCompilation = CreateCSharpCompilation(pia, assemblyName:="Pia", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib461Extended, {dispIdDefinition})).
PDB\PDBTests.vb (1)
86Dim comp = VisualBasicCompilation.Create("test", {tree1, tree2}, TargetFrameworkUtil.StandardReferences, TestOptions.DebugDll)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (11)
Compilation\CompilationAPITests.vb (2)
2450Dim references = TargetFrameworkUtil.Mscorlib40References.AddRange({reference, reference}) 2505Dim csComp = CreateCSharpCompilation("", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard))
Compilation\ReferenceManagerTests.vb (6)
683TargetFrameworkUtil.Mscorlib40References.AddRange({r1, r2}), 698TargetFrameworkUtil.Mscorlib40References.AddRange({r1, r2}), 706TargetFrameworkUtil.Mscorlib40References.AddRange({r1, rEmbed}), 720TargetFrameworkUtil.Mscorlib40References.AddRange({rEmbed, r1}), 1984Dim references = TargetFrameworkUtil.Mscorlib40References.AddRange({dRef, eRef, b1Ref, b2Ref}) 2034TargetFrameworkUtil.Mscorlib40References.AddRange({dRef, eRef, b1Ref, b2Ref}),
Semantics\NativeIntegerTests.vb (1)
68Dim comp = VisualBasicCompilation.Create(assemblyName:=GetUniqueName(), references:=TargetFrameworkUtil.GetReferences(TargetFramework.DefaultVb), options:=TestOptions.ReleaseDll)
Semantics\RefFieldTests.vb (2)
27Dim compA = CreateCSharpCompilation(GetUniqueName(), sourceA, referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Net70)) 147Dim compB = CreateCSharpCompilation(GetUniqueName(), sourceB, referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Net70, {refA}))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (28)
DocumentationComments\DocCommentTests.vb (2)
12459Dim references = TargetFrameworkUtil.GetReferences(TargetFramework.StandardAndVBRuntime) 12489Dim references = TargetFrameworkUtil.GetReferences(TargetFramework.StandardAndVBRuntime)
SymbolsTests\AttributeTests_UnmanagedCallersOnly.vb (1)
15Private ReadOnly _csharpReferences As ImmutableArray(Of MetadataReference) = TargetFrameworkUtil.GetReferences(TargetFramework.Net50)
SymbolsTests\CheckedUserDefinedOperatorsTests.vb (3)
184Dim comp3 = CreateCSharpCompilation("", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard, {ilReference})) 371Dim comp3 = CreateCSharpCompilation("", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard, {ilReference})) 550Dim comp3 = CreateCSharpCompilation("", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard, {ilReference}))
SymbolsTests\CompilationCreationTests.vb (3)
2245compilation = VisualBasicCompilation.Create("Compilation", references:=TargetFrameworkUtil.GetReferences(TargetFramework.Net50, Nothing)) 2253compilation = VisualBasicCompilation.Create("Compilation", references:=TargetFrameworkUtil.GetReferences(TargetFramework.Net60, Nothing)) 2261compilation = VisualBasicCompilation.Create("Compilation", references:=TargetFrameworkUtil.GetReferences(TargetFramework.Net70, Nothing))
SymbolsTests\CorLibrary\CorTypes.vb (6)
394referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard), 403referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard), 697referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard), 715referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard), 921referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard), 939referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard),
SymbolsTests\DefaultInterfaceImplementationTests.vb (1)
29referencedAssemblies:=TargetFrameworkUtil.GetReferences(targetFramework, additionalReferences),
SymbolsTests\ParamsCollectionTests.vb (3)
29referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).EmitToImageReference() 75referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)) 114referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).EmitToImageReference()
SymbolsTests\RefStructInterfacesTests.vb (4)
53referencedAssemblies:=TargetFrameworkUtil.GetReferences(s_targetFrameworkSupportingByRefLikeGenerics)).EmitToImageReference() 122referencedAssemblies:=TargetFrameworkUtil.GetReferences(s_targetFrameworkSupportingByRefLikeGenerics)).EmitToImageReference() 164referencedAssemblies:=TargetFrameworkUtil.GetReferences(s_targetFrameworkSupportingByRefLikeGenerics)).EmitToImageReference() 213referencedAssemblies:=TargetFrameworkUtil.GetReferences(s_targetFrameworkSupportingByRefLikeGenerics)).EmitToImageReference(embedInteropTypes:=True)
SymbolsTests\RelaxedShiftOperatorTests.vb (1)
30referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).EmitToImageReference()
SymbolsTests\StaticAbstractMembersInInterfacesTests.vb (1)
25referencedAssemblies:=TargetFrameworkUtil.GetReferences(targetFramework, additionalReferences),
SymbolsTests\UnsignedRightShiftTests.vb (2)
31referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).EmitToImageReference() 70referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).EmitToImageReference()
UsedAssembliesTests.vb (1)
143references:=TargetFrameworkUtil.GetReferences(targetFramework).Concat(references),
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (4)
BasicTestBase.vb (3)
808Dim allReferences = TargetFrameworkUtil.Mscorlib45ExtendedReferences.Add( 885Dim allReferences As IEnumerable(Of MetadataReference) = TargetFrameworkUtil.Mscorlib45ExtendedReferences.Add( 905Dim references As IEnumerable(Of MetadataReference) = TargetFrameworkUtil.Mscorlib45ExtendedReferences.Add(
CompilationTestUtils.vb (1)
32references = TargetFrameworkUtil.GetReferences(targetFramework, references)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (4)
Workspaces\TestWorkspace_XmlConsumption.cs (4)
915references = [.. TargetFrameworkUtil.NetStandard20References]; 923references = [.. TargetFrameworkUtil.GetReferences(TargetFramework.Net60)]; 931references = [.. TargetFrameworkUtil.GetReferences(TargetFramework.Net70)]; 939references = [.. TargetFrameworkUtil.GetReferences(TargetFramework.Net80)];