Skip to content

lint using resharper #4352

lint using resharper

lint using resharper #4352

Triggered via pull request May 19, 2024 07:28
Status Success
Total duration 4m 11s
Artifacts

build-test.yml

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

Annotations

24 warnings
build (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, space-wizards/[email protected], actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, space-wizards/[email protected], actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest): DMCompiler/Compiler/CompilerError.cs#L139
'CompileErrorException' is obsolete: 'This is not a desirable way for the compiler to emit an error. Use CompileAbortException or ForceError() if it needs to be fatal, or an DMCompiler.Emit() otherwise.'
build (ubuntu-latest): DMCompiler/Compiler/CompilerError.cs#L150
'CompileErrorException' is obsolete: 'This is not a desirable way for the compiler to emit an error. Use CompileAbortException or ForceError() if it needs to be fatal, or an DMCompiler.Emit() otherwise.'
build (ubuntu-latest): DMCompiler/Program.cs#L104
Dereference of a possibly null reference.
build (ubuntu-latest): DMCompiler/Compiler/Lexer.cs#L17
Non-nullable field '_current' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamProcJson.cs#L32
Non-nullable property 'Add' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamProcJson.cs#L25
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (ubuntu-latest): DMCompiler/Compiler/DM/DMPath.cs#L6
Non-nullable field 'VarName' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamProcJson.cs#L8
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamProcJson.cs#L12
Non-nullable property 'Locals' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamProcJson.cs#L14
Non-nullable property 'SourceInfo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, space-wizards/[email protected], actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, space-wizards/[email protected], actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (windows-latest): DMCompiler/Compiler/CompilerError.cs#L139
'CompileErrorException' is obsolete: 'This is not a desirable way for the compiler to emit an error. Use CompileAbortException or ForceError() if it needs to be fatal, or an DMCompiler.Emit() otherwise.'
build (windows-latest): DMCompiler/Compiler/CompilerError.cs#L150
'CompileErrorException' is obsolete: 'This is not a desirable way for the compiler to emit an error. Use CompileAbortException or ForceError() if it needs to be fatal, or an DMCompiler.Emit() otherwise.'
build (windows-latest): DMCompiler/DMCompiler.cs#L54
Possible null reference argument for parameter 'files' in 'DMPreprocessor? DMCompiler.Preprocess(List<string> files, Dictionary<string, string>? macroDefines)'.
build (windows-latest): DMCompiler/DMCompiler.cs#L54
Converting null literal or possible null value to non-nullable type.
build (windows-latest): DMCompiler/DMCompiler.cs#L60
Dereference of a possibly null reference.
build (windows-latest): DMCompiler/DMCompiler.cs#L65
Possible null reference argument for parameter 'interfaceFile' in 'string DMCompiler.SaveJson(List<DreamMapJson> maps, string interfaceFile, string outputFile)'.
build (windows-latest): DMCompiler/DMCompiler.cs#L136
Dereference of a possibly null reference.
build (windows-latest): DMCompiler/DMCompiler.cs#L140
Dereference of a possibly null reference.
build (windows-latest): DMCompiler/DMCompiler.cs#L140
Converting null literal or possible null value to non-nullable type.
build (windows-latest): DMCompiler/DMCompiler.cs#L141
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.