40 references to DependencyContextStrings
xunit.console (40)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContextJsonReader.cs (40)
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));
76
var seperatorIndex = runtimeTargetName.IndexOf(
DependencyContextStrings
.VersionSeperator);
135
=> name.Contains(
DependencyContextStrings
.VersionSeperator);
144
runtimeTargetName = runtimeTargetJson?.ValueAsString(
DependencyContextStrings
.RuntimeTargetNamePropertyName);
145
runtimeSignature = runtimeTargetJson?.ValueAsString(
DependencyContextStrings
.RuntimeTargetSignaturePropertyName);
168
var defines = compilationOptionsJson.ValueAsStringArray(
DependencyContextStrings
.DefinesPropertyName) ?? EmptyStringArray;
169
var languageVersion = compilationOptionsJson.ValueAsString(
DependencyContextStrings
.LanguageVersionPropertyName);
170
var platform = compilationOptionsJson.ValueAsString(
DependencyContextStrings
.PlatformPropertyName);
171
var allowUnsafe = compilationOptionsJson.ValueAsNullableBoolean(
DependencyContextStrings
.AllowUnsafePropertyName);
172
var warningsAsErrors = compilationOptionsJson.ValueAsNullableBoolean(
DependencyContextStrings
.WarningsAsErrorsPropertyName);
173
var optimize = compilationOptionsJson.ValueAsNullableBoolean(
DependencyContextStrings
.OptimizePropertyName);
174
var keyFile = compilationOptionsJson.ValueAsString(
DependencyContextStrings
.KeyFilePropertyName);
175
var delaySign = compilationOptionsJson.ValueAsNullableBoolean(
DependencyContextStrings
.DelaySignPropertyName);
176
var publicSign = compilationOptionsJson.ValueAsNullableBoolean(
DependencyContextStrings
.PublicSignPropertyName);
177
var debugType = compilationOptionsJson.ValueAsString(
DependencyContextStrings
.DebugTypePropertyName);
178
var emitEntryPoint = compilationOptionsJson.ValueAsNullableBoolean(
DependencyContextStrings
.EmitEntryPointPropertyName);
179
var generateXmlDocumentation = compilationOptionsJson.ValueAsNullableBoolean(
DependencyContextStrings
.GenerateXmlDocumentationPropertyName);
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));
227
var compileOnly = targetLibraryJson.ValueAsNullableBoolean(
DependencyContextStrings
.CompilationOnlyPropertyName);
270
Rid = Pool(runtimeTargetJson?.ValueAsString(
DependencyContextStrings
.RidPropertyName)),
271
Type = Pool(runtimeTargetJson?.ValueAsString(
DependencyContextStrings
.AssetTypePropertyName))
289
string locale = targetLibraryResourcesJson.ValueAsJsonObject(key)?.ValueAsString(
DependencyContextStrings
.LocalePropertyName);
323
string hash = libraryJson.ValueAsString(
DependencyContextStrings
.Sha512PropertyName);
324
string type = libraryJson.ValueAsString(
DependencyContextStrings
.TypePropertyName);
325
bool serviceable = libraryJson.ValueAsBoolean(
DependencyContextStrings
.ServiceablePropertyName);
326
string path = libraryJson.ValueAsString(
DependencyContextStrings
.PathPropertyName);
327
string hashPath = libraryJson.ValueAsString(
DependencyContextStrings
.HashPathPropertyName);
328
string runtimeStoreManifestName = libraryJson.ValueAsString(
DependencyContextStrings
.RuntimeStoreManifestPropertyName);
373
var seperatorPosition = nameWithVersion.IndexOf(
DependencyContextStrings
.VersionSeperator);
394
.Where(e => e.Type ==
DependencyContextStrings
.RuntimeAssetType)
406
.Where(e => e.Type ==
DependencyContextStrings
.NativeAssetType)