15 references to ValueAsString
xunit.console (15)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContextJsonReader.cs (15)
144runtimeTargetName = runtimeTargetJson?.ValueAsString(DependencyContextStrings.RuntimeTargetNamePropertyName); 145runtimeSignature = runtimeTargetJson?.ValueAsString(DependencyContextStrings.RuntimeTargetSignaturePropertyName); 169var languageVersion = compilationOptionsJson.ValueAsString(DependencyContextStrings.LanguageVersionPropertyName); 170var platform = compilationOptionsJson.ValueAsString(DependencyContextStrings.PlatformPropertyName); 174var keyFile = compilationOptionsJson.ValueAsString(DependencyContextStrings.KeyFilePropertyName); 177var debugType = compilationOptionsJson.ValueAsString(DependencyContextStrings.DebugTypePropertyName); 250dependencies.Add(new Dependency(Pool(key), Pool(targetLibraryDependenciesJson.ValueAsString(key)))); 270Rid = Pool(runtimeTargetJson?.ValueAsString(DependencyContextStrings.RidPropertyName)), 271Type = Pool(runtimeTargetJson?.ValueAsString(DependencyContextStrings.AssetTypePropertyName)) 289string locale = targetLibraryResourcesJson.ValueAsJsonObject(key)?.ValueAsString(DependencyContextStrings.LocalePropertyName); 323string hash = libraryJson.ValueAsString(DependencyContextStrings.Sha512PropertyName); 324string type = libraryJson.ValueAsString(DependencyContextStrings.TypePropertyName); 326string path = libraryJson.ValueAsString(DependencyContextStrings.PathPropertyName); 327string hashPath = libraryJson.ValueAsString(DependencyContextStrings.HashPathPropertyName); 328string runtimeStoreManifestName = libraryJson.ValueAsString(DependencyContextStrings.RuntimeStoreManifestPropertyName);