Skip to content

Update dotnet.yml

Update dotnet.yml #9

Triggered via push April 10, 2024 03:15
Status Success
Total duration 1m 57s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: EconomicsAPI/Utils/Helper.cs#L39
Possible null reference assignment.
build: EconomicsAPI/Utils/Helper.cs#L43
Argument of type '(object? instance, T attribute)' cannot be used for parameter 'value' of type '(object, T)' in 'void Dictionary<MethodInfo, (object, T)>.Add(MethodInfo key, (object, T) value)' due to differences in the nullability of reference types.
build: ChattyBridge/EnumConveter.cs#L32
Dereference of a possibly null reference.
build: EconomicsAPI/Utils/Helper.cs#L48
Argument of type '(object?, T attribute)' cannot be used for parameter 'value' of type '(object, T)' in 'void Dictionary<MethodInfo, (object, T)>.Add(MethodInfo key, (object, T) value)' due to differences in the nullability of reference types.
build: EconomicsAPI/Events/PlayerHandler.cs#L9
Non-nullable event 'OnPlayerKillNpc' must contain a non-null value when exiting constructor. Consider declaring the event as nullable.
build: ChattyBridge/EnumConveter.cs#L32
Possible null reference argument for parameter 'name' in 'FieldInfo? Type.GetField(string name)'.
build: EconomicsAPI/Economics.cs#L34
Non-nullable field 'CurrencyManager' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: ChattyBridge/EnumConveter.cs#L33
Possible null reference argument for parameter 'element' in 'DescriptionAttribute? CustomAttributeExtensions.GetCustomAttribute<DescriptionAttribute>(MemberInfo element)'.
build: ChattyBridge/Message/PlayerChatMessage.cs#L20
Non-nullable property 'Text' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: ChattyBridge/Message/PlayerMessage.cs#L39
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.