13 references to NetStandard20References
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
14237references: TargetFrameworkUtil.NetStandard20References.Add(MetadataReference.CreateFromAssemblyInternal(typeof(ISourceGenerator).Assembly)),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
OverloadResolutionPriorityTests.cs (1)
1879var vb = CreateVisualBasicCompilation(GetUniqueName(), vbSource, referencedAssemblies: TargetFrameworkUtil.NetStandard20References, referencedCompilations: [attrRef],
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.Symbol.UnitTests (2)
Symbols\GenericConstraintTests.cs (2)
7328TargetFrameworkUtil.NetStandard20References.ToArray(), 7334TargetFrameworkUtil.NetStandard20References.ToArray(),
Microsoft.CodeAnalysis.Test.Utilities (2)
TargetFrameworkUtil.cs (2)
171public static ImmutableArray<MetadataReference> StandardReferences => RuntimeUtilities.IsCoreClrRuntime ? NetStandard20References : NetFramework.Standard; 303TargetFramework.NetStandard20 => NetStandard20References,
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
915references = [.. TargetFrameworkUtil.NetStandard20References];