2 writes to Runtime
Microsoft.Extensions.DependencyModel (2)
RuntimeAssetGroup.cs (2)
18Runtime = runtime; 24Runtime = runtime;
13 references to Runtime
dotnet (1)
CommandFactory\CommandResolution\DepsJsonCommandResolver.cs (1)
133.Where(r => r.Runtime == string.Empty)
Microsoft.Extensions.DependencyModel (9)
CollectionExtensions.cs (3)
24return groups.FirstOrDefault(g => g.Runtime == runtime); 41if (group.Runtime == runtime) 65if (group.Runtime == runtime)
DependencyContextExtensions.cs (2)
150RuntimeAssetGroup? group = groups.FirstOrDefault(g => g.Runtime == rid); 165RuntimeAssetGroup? group = groups.FirstOrDefault(g => g.Runtime == rid);
DependencyContextWriter.cs (4)
313using IEnumerator<RuntimeAssetGroup> groups = assetGroups.Where(g => !string.IsNullOrEmpty(g.Runtime)).GetEnumerator(); 329AddRuntimeSpecificAssets(group.RuntimeFiles, group.Runtime, assetType, jsonWriter); 340jsonWriter.WriteStartObject($"runtime/{group.Runtime}/{pseudoPathFolder}/_._"); 341jsonWriter.WriteString(DependencyContextStrings.RidPropertyName, group.Runtime);
Microsoft.NET.Build.Tasks (2)
GenerateDepsFile.cs (2)
274var warnOnRids = lib.RuntimeAssemblyGroups.Select(g => g.Runtime).Where(ShouldWarnOnRuntimeIdentifer) 275.Concat(lib.NativeLibraryGroups.Select(g => g.Runtime).Where(ShouldWarnOnRuntimeIdentifer));
Microsoft.NET.Publish.Tests (1)
GivenThatWeWantToPublishAProjectWithAllFeatures.cs (1)
228library.RuntimeAssemblyGroups[0].Runtime.Should().Be(string.Empty);