Use more nameof
and use Harmony to access properties rather than methods
#157
Annotations
11 warnings
Builds
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Builds:
Source/Common/Syncing/Logger/LoggingByteWriter.cs#L51
Nullability of type of parameter 'bytes' doesn't match overridden member (possibly because of nullability attributes).
|
Builds:
Source/Common/Syncing/Logger/LoggingByteWriter.cs#L58
Nullability of type of parameter 's' doesn't match overridden member (possibly because of nullability attributes).
|
Builds:
Source/Common/Native.cs#L36
Cannot convert null literal to non-nullable reference type.
|
Builds:
Source/Common/Native.cs#L36
Cannot convert null literal to non-nullable reference type.
|
Builds:
Source/Common/Native.cs#L39
Cannot convert null literal to non-nullable reference type.
|
Builds:
Source/Common/Native.cs#L39
Cannot convert null literal to non-nullable reference type.
|
Builds:
Source/Common/Util/ServerLog.cs#L8
Non-nullable field 'info' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Builds:
Source/Common/Util/ServerLog.cs#L9
Non-nullable field 'error' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Builds:
Source/Common/ChatCommands.cs#L7
Possible null reference return.
|
Builds:
Source/Common/CommandHandler.cs#L82
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Multiplayer.Common.DevModeScope)2' is not covered.
|