Some analyzer code style changes

This commit is contained in:
Asriel Camora
2023-06-19 10:03:57 -07:00
parent 6d61e022b6
commit 05ead22448
50 changed files with 134 additions and 56 deletions
+8
View File
@@ -7,6 +7,14 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meziantou.Analyzer" Version="2.0.61">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ObjectLayoutInspector" Version="0.1.4" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Simulator\Craftimizer.Simulator.csproj" />
<ProjectReference Include="..\Solver\Craftimizer.Solver.csproj" />
+7 -2
View File
@@ -1,12 +1,17 @@
using Craftimizer.Simulator;
using Craftimizer.Simulator.Actions;
using Craftimizer.Solver.Crafty;
using ObjectLayoutInspector;
namespace Craftimizer.Benchmark;
internal class Program
internal static class Program
{
private static void Main(string[] args)
private static void Main()
{
//TypeLayout.PrintLayout<Solver.Crafty.SimulationNode>(true);
//return;
var input = new SimulationInput()
{
Stats = new CharacterStats { Craftsmanship = 4041, Control = 3905, CP = 609, Level = 90 },