[WIP] Copy-make with readonly Position struct #5016
Annotations
10 errors and 10 warnings
Build:
src/Lynx.Dev/Program.cs#L534
'Position' does not contain a definition for 'UnmakeMove' and no accessible extension method 'UnmakeMove' accepting a first argument of type 'Position' could be found (are you missing a using directive or an assembly reference?)
|
Build:
src/Lynx.Dev/Program.cs#L550
'Position' does not contain a definition for 'UnmakeMove' and no accessible extension method 'UnmakeMove' accepting a first argument of type 'Position' could be found (are you missing a using directive or an assembly reference?)
|
Build:
src/Lynx.Dev/Program.cs#L1127
'Position' does not contain a definition for 'MakeMove' and no accessible extension method 'MakeMove' accepting a first argument of type 'Position' could be found (are you missing a using directive or an assembly reference?)
|
Build:
src/Lynx.Dev/Program.cs#L1128
'Position' does not contain a definition for 'MakeMove' and no accessible extension method 'MakeMove' accepting a first argument of type 'Position' could be found (are you missing a using directive or an assembly reference?)
|
Build:
src/Lynx.Benchmark/TryParseFromUCIString_Benchmark.cs#L230
'Position' does not contain a definition for 'MakeMove' and no accessible extension method 'MakeMove' accepting a first argument of type 'Position' could be found (are you missing a using directive or an assembly reference?)
|
Build:
src/Lynx.Benchmark/TryParseFromUCIString_Benchmark.cs#L241
'Position' does not contain a definition for 'UnmakeMove' and no accessible extension method 'UnmakeMove' accepting a first argument of type 'Position' could be found (are you missing a using directive or an assembly reference?)
|
Build:
src/Lynx.Benchmark/TryParseFromUCIString_Benchmark.cs#L247
Nullability of reference types in value of type '?' doesn't match target type 'GameState'.
|
Build:
src/Lynx.Benchmark/PositionIdGeneration_Benchmark.cs#L77
'Position' does not contain a definition for 'MakeMove' and no accessible extension method 'MakeMove' accepting a first argument of type 'Position' could be found (are you missing a using directive or an assembly reference?)
|
Build:
src/Lynx.Benchmark/ParseGame_Benchmark.cs#L658
An expression cannot be used in this context because it may not be passed or returned by reference
|
Build:
src/Lynx.Benchmark/ParseGame_Benchmark.cs#L684
An expression cannot be used in this context because it may not be passed or returned by reference
|
Build:
src/Lynx/Model/Position.cs#L14
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build:
src/Lynx/Model/Position.cs#L19
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build:
src/Lynx/Model/Position.cs#L19
Use an immutable collection or reduce the accessibility of the non-private readonly field 'PieceBitBoards'. (https://rules.sonarsource.com/csharp/RSPEC-3887)
|
Build:
src/Lynx/Model/Position.cs#L24
Use an immutable collection or reduce the accessibility of the non-private readonly field 'OccupancyBitBoards'. (https://rules.sonarsource.com/csharp/RSPEC-3887)
|
Build:
src/Lynx/Model/Position.cs#L24
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build:
src/Lynx/Model/Position.cs#L29
Use an immutable collection or reduce the accessibility of the non-private readonly field 'Board'. (https://rules.sonarsource.com/csharp/RSPEC-3887)
|
Build:
src/Lynx/Model/Position.cs#L29
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build:
src/Lynx/Model/Position.cs#L31
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build:
src/Lynx/Model/Position.cs#L33
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build:
src/Lynx/Model/Position.cs#L38
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Loading