Skip to content

Disable the PreferConcreteValueOverDefault notice #5527

Disable the PreferConcreteValueOverDefault notice

Disable the PreferConcreteValueOverDefault notice #5527

Triggered via pull request January 14, 2025 04:11
Status Success
Total duration 4m 49s
Artifacts

build-test.yml

on: pull_request
Matrix: build
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest): RobustToolbox/NetSerializer/NetSerializer/TypeSerializers/GenericSerializer.cs#L24
'Type.IsSerializable' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): RobustToolbox/NetSerializer/NetSerializer/Helpers.cs#L24
'Type.IsSerializable' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): RobustToolbox/NetSerializer/NetSerializer/Helpers.cs#L27
'FieldAttributes.NotSerialized' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): RobustToolbox/NetSerializer/NetSerializer/TypeSerializers/GenericSerializer.cs#L146
'FormatterServices' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): RobustToolbox/Robust.Serialization.Generator/Generator.cs#L11
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
build (ubuntu-latest): RobustToolbox/Robust.Serialization.Generator/ComponentPauseGenerator.cs#L13
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
build (ubuntu-latest): DMCompiler/Compiler/Lexer.cs#L29
Non-nullable field '_current' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (ubuntu-latest): DMCompiler/DM/Expressions/Procs.cs#L112
Dereference of a possibly null reference.
build (ubuntu-latest): DMCompiler/Compiler/DMM/DMMParser.cs#L77
Possible null reference argument for parameter 'type' in 'ExpressionContext.ExpressionContext(DMCompiler compiler, DMObject type, DMProc proc)'.
build (ubuntu-latest): DMCompiler/Compiler/DMM/DMMParser.cs#L77
Cannot convert null literal to non-nullable reference type.