57 references to WarningLevel
NuGet.Common (7)
Errors\ILogMessage.cs (1)
19WarningLevel WarningLevel { get; set; }
Errors\LogMessage.cs (2)
14public WarningLevel WarningLevel { get; set; } = WarningLevel.Severe; //setting default to Severe as 0 implies show no warnings
Errors\PackagingLogMessage.cs (2)
16public WarningLevel WarningLevel { get; set; } = WarningLevel.Severe; //setting default to Severe as 0 implies show no warnings
Errors\RestoreLogMessage.cs (2)
16public WarningLevel WarningLevel { get; set; } = WarningLevel.Severe; //setting default to Severe as 0 implies show no warnings
NuGet.Packaging (2)
Signing\SignatureLog.cs (2)
21public WarningLevel WarningLevel { get; set; } = WarningLevel.Severe; //setting default to Severe as 0 implies show no warnings
NuGet.ProjectModel (48)
_generated\12\CacheFileSourceGen.GetJsonTypeInfo.g.cs (1)
36if (type == typeof(global::NuGet.Common.WarningLevel))
_generated\16\AssetsLogMessageSourceGen.WarningLevel.g.cs (9)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel>? _WarningLevel; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel> WarningLevel 24get => _WarningLevel ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel>)Options.GetTypeInfo(typeof(global::NuGet.Common.WarningLevel)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel> Create_WarningLevel(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Common.WarningLevel>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel> jsonTypeInfo)) 31jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::NuGet.Common.WarningLevel>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter<global::NuGet.Common.WarningLevel>(options));
_generated\17\AssetsLogMessageSourceGen.NullableWarningLevel.g.cs (9)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel?>? _NullableWarningLevel; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel?> NullableWarningLevel 24get => _NullableWarningLevel ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel?>)Options.GetTypeInfo(typeof(global::NuGet.Common.WarningLevel?)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel?> Create_NullableWarningLevel(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Common.WarningLevel?>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel?> jsonTypeInfo)) 31global::System.Text.Json.Serialization.JsonConverter converter = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter<global::NuGet.Common.WarningLevel>(options); 32jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::NuGet.Common.WarningLevel?>(options, converter);
_generated\18\AssetsLogMessageSourceGen.AssetsLogMessage.g.cs (6)
133var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::NuGet.Common.WarningLevel> 148AttributeProviderFactory = static () => typeof(global::NuGet.ProjectModel.AssetsLogMessage).GetProperty("WarningLevel", InstanceMemberBindingFlags, null, typeof(global::NuGet.Common.WarningLevel), global::System.Array.Empty<global::System.Type>(), null), 151properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::NuGet.Common.WarningLevel>(options, info4); 153var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::NuGet.Common.WarningLevel?> 168AttributeProviderFactory = static () => typeof(global::NuGet.ProjectModel.AssetsLogMessage).GetProperty("WarningLevelJson", InstanceMemberBindingFlags, null, typeof(global::NuGet.Common.WarningLevel?), global::System.Array.Empty<global::System.Type>(), null), 171properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::NuGet.Common.WarningLevel?>(options, info5);
_generated\23\AssetsLogMessageSourceGen.GetJsonTypeInfo.g.cs (2)
32if (type == typeof(global::NuGet.Common.WarningLevel)) 36if (type == typeof(global::NuGet.Common.WarningLevel?))
_generated\3\CacheFileSourceGen.WarningLevel.g.cs (9)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel>? _WarningLevel; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel> WarningLevel 24get => _WarningLevel ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel>)Options.GetTypeInfo(typeof(global::NuGet.Common.WarningLevel)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel> Create_WarningLevel(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Common.WarningLevel>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Common.WarningLevel> jsonTypeInfo)) 31jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::NuGet.Common.WarningLevel>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter<global::NuGet.Common.WarningLevel>(options));
_generated\5\CacheFileSourceGen.IAssetsLogMessage.g.cs (3)
133var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::NuGet.Common.WarningLevel> 148AttributeProviderFactory = static () => typeof(global::NuGet.ProjectModel.IAssetsLogMessage).GetProperty("WarningLevel", InstanceMemberBindingFlags, null, typeof(global::NuGet.Common.WarningLevel), global::System.Array.Empty<global::System.Type>(), null), 151properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::NuGet.Common.WarningLevel>(options, info4);
LockFile\AssetsLogMessage.cs (3)
26public WarningLevel WarningLevel { get; set; } = WarningLevel.Severe; //setting default to Severe as 0 implies show no warnings 31internal WarningLevel? WarningLevelJson
LockFile\IAssetsLogMessage.cs (1)
37WarningLevel WarningLevel { get; }
LockFile\Utf8JsonStreamIAssetsLogMessageConverter.cs (5)
23/// "warningLevel": <see cref="WarningLevel"/>, 60WarningLevel warningLevel = WarningLevel.Severe; 89warningLevel = (WarningLevel)Enum.ToObject(typeof(WarningLevel), reader.GetInt32());