8 instantiations of RuntimeFallbacks
installer.tasks (1)
GenerateTestSharedFrameworkDepsFile.cs (1)
125yield return new RuntimeFallbacks(rid, ridFallback.Skip(1));
Microsoft.DotNet.Cli.Utils.Tests (4)
GivenAFrameworkDependencyFile.cs (4)
18new RuntimeFallbacks("win-x64", new [] { "win", "any", "base" }), 19new RuntimeFallbacks(ToolsetInfo.LatestWinRuntimeIdentifier, new [] { "win7", "win", "any", "base" }), 20new RuntimeFallbacks(ToolsetInfo.LatestWinRuntimeIdentifier, new [] { "win", "any", "base" }), 21new RuntimeFallbacks("win", new [] { "any", "base" }),
Microsoft.DotNet.SharedFramework.Sdk (1)
src\GenerateSharedFrameworkDepsFile.cs (1)
104.Select(expansion => new RuntimeFallbacks(expansion.First(), expansion.Skip(1))); // ExpandRuntime return runtime itself as first item.
Microsoft.Extensions.DependencyModel (1)
DependencyContextJsonReader.cs (1)
742runtimeFallbacks.Add(new RuntimeFallbacks(runtime, fallbacks));
Microsoft.NET.Build.Tasks (1)
DependencyContextBuilder.cs (1)
499.Select(expansion => new RuntimeFallbacks(expansion.First(), expansion.Skip(1))); // ExpandRuntime return runtime itself as first item.
20 references to RuntimeFallbacks
installer.tasks (1)
GenerateTestSharedFrameworkDepsFile.cs (1)
109private static IEnumerable<RuntimeFallbacks> GetRuntimeFallbacks(string[] runtimeGraphFiles, string runtime)
Microsoft.DotNet.Cli.Utils (3)
FrameworkDependencyFile.cs (3)
56IReadOnlyList<RuntimeFallbacks> runtimeGraph, 61RuntimeFallbacks[] runtimeFallbacksCandidates; 82RuntimeFallbacks runtimeFallbacks = runtimeFallbacksCandidates[0];
Microsoft.DotNet.Cli.Utils.Tests (2)
GivenAFrameworkDependencyFile.cs (2)
12private readonly IReadOnlyList<RuntimeFallbacks> _testRuntimeGraph; 16_testRuntimeGraph = new List<RuntimeFallbacks>
Microsoft.DotNet.SharedFramework.Sdk (2)
src\GenerateSharedFrameworkDepsFile.cs (2)
96IEnumerable<RuntimeFallbacks> runtimeFallbackGraph = Array.Empty<RuntimeFallbacks>();
Microsoft.Extensions.DependencyModel (9)
DependencyContext.cs (2)
23IEnumerable<RuntimeFallbacks> runtimeGraph) 49public IReadOnlyList<RuntimeFallbacks> RuntimeGraph { get; }
DependencyContextExtensions.cs (2)
131RuntimeFallbacks? fallbacks = context.RuntimeGraph.FirstOrDefault(f => f.Runtime == runtimeIdentifier); 141RuntimeFallbacks? fallbacks = context.RuntimeGraph.FirstOrDefault(f => f.Runtime == runtimeIdentifier);
DependencyContextJsonReader.cs (4)
141List<RuntimeFallbacks>? runtimeFallbacks = null; 211runtimeFallbacks ?? Enumerable.Empty<RuntimeFallbacks>()); 726private static List<RuntimeFallbacks> ReadRuntimes(ref Utf8JsonReader reader) 728var runtimeFallbacks = new List<RuntimeFallbacks>();
DependencyContextWriter.cs (1)
62foreach (RuntimeFallbacks runtimeFallback in context.RuntimeGraph)
Microsoft.ML.TestFrameworkCommon (2)
Utility\PathResolver.cs (2)
134private bool AddFallbacks(List<string> fallbacks, string rid, IReadOnlyList<RuntimeFallbacks> allFallbacks) 136foreach (RuntimeFallbacks fb in allFallbacks)
Microsoft.NET.Build.Tasks (1)
DependencyContextBuilder.cs (1)
495new RuntimeFallbacks[] { } :