16 references to ValueAsJsonObject
xunit.console (16)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContextJsonReader.cs (16)
62
ReadRuntimeTarget(root.
ValueAsJsonObject
(DependencyContextStrings.RuntimeTargetPropertyName), out var runtimeTargetName, out var runtimeSignature);
63
var compilationOptions = ReadCompilationOptions(root.
ValueAsJsonObject
(DependencyContextStrings.CompilationOptionsPropertName));
64
var targets = ReadTargets(root.
ValueAsJsonObject
(DependencyContextStrings.TargetsPropertyName));
65
var libraryStubs = ReadLibraries(root.
ValueAsJsonObject
(DependencyContextStrings.LibrariesPropertyName));
66
var runtimeFallbacks = ReadRuntimes(root.
ValueAsJsonObject
(DependencyContextStrings.RuntimesPropertyName));
192
targets.Add(ReadTarget(key, targetsJson.
ValueAsJsonObject
(key)));
204
libraries.Add(ReadTargetLibrary(key, targetJson.
ValueAsJsonObject
(key)));
221
var dependencies = ReadTargetLibraryDependencies(targetLibraryJson.
ValueAsJsonObject
(DependencyContextStrings.DependenciesPropertyName));
222
var runtimes = targetLibraryJson.
ValueAsJsonObject
(DependencyContextStrings.RuntimeAssembliesKey)?.Keys;
223
var natives = targetLibraryJson.
ValueAsJsonObject
(DependencyContextStrings.NativeLibrariesKey)?.Keys;
224
var compilations = targetLibraryJson.
ValueAsJsonObject
(DependencyContextStrings.CompileTimeAssembliesKey)?.Keys;
225
var runtimeTargets = ReadTargetLibraryRuntimeTargets(targetLibraryJson.
ValueAsJsonObject
(DependencyContextStrings.RuntimeTargetsPropertyName));
226
var resources = ReadTargetLibraryResources(targetLibraryJson.
ValueAsJsonObject
(DependencyContextStrings.ResourceAssembliesPropertyName));
265
var runtimeTargetJson = targetLibraryRuntimeTargetsJson.
ValueAsJsonObject
(key);
289
string locale = targetLibraryResourcesJson.
ValueAsJsonObject
(key)?.ValueAsString(DependencyContextStrings.LocalePropertyName);
307
libraries.Add(Pool(key), ReadLibrary(librariesJson.
ValueAsJsonObject
(key)));