diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index a2717841..aabb059c 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,10 +3,11 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.28.2", + "version": "0.29.2", "commands": [ "dotnet-csharpier" - ] + ], + "rollForward": false } } } \ No newline at end of file diff --git a/Speckle.Revit2022.Fakes.Generator/Program.cs b/Speckle.Revit2022.Fakes.Generator/Program.cs index 35b3949d..556377cd 100644 --- a/Speckle.Revit2022.Fakes.Generator/Program.cs +++ b/Speckle.Revit2022.Fakes.Generator/Program.cs @@ -27,7 +27,7 @@ Assembly GetAssembly(string name) "Autodesk.Revit.DB.Mechanical", "Autodesk.Revit.DB.Analysis", "Autodesk.Revit.DB.PointClouds", - "Autodesk.Revit.Exceptions" + "Autodesk.Revit.Exceptions", ], [ new("WallSweepInfo", []), @@ -40,7 +40,7 @@ Assembly GetAssembly(string name) new("ProjectInfo", [new("Name")]), new("Dimension", [new("Name")]), new("ReferencePlane", [new("Name")]), - new("ImageView", [new("Create")]) + new("ImageView", [new("Create")]), ], GeneratorOptions.ExplicitProperties ); diff --git a/Speckle.Revit2023.Fakes.Generator/Program.cs b/Speckle.Revit2023.Fakes.Generator/Program.cs index b8f1f3b8..a558bfa4 100644 --- a/Speckle.Revit2023.Fakes.Generator/Program.cs +++ b/Speckle.Revit2023.Fakes.Generator/Program.cs @@ -27,7 +27,7 @@ Assembly GetAssembly(string name) "Autodesk.Revit.DB.Mechanical", "Autodesk.Revit.DB.Analysis", "Autodesk.Revit.DB.PointClouds", - "Autodesk.Revit.Exceptions" + "Autodesk.Revit.Exceptions", ], [ new("WallSweepInfo", []), @@ -40,7 +40,7 @@ Assembly GetAssembly(string name) new("ProjectInfo", [new("Name")]), new("Dimension", [new("Name")]), new("ReferencePlane", [new("Name")]), - new("ImageView", [new("Create")]) + new("ImageView", [new("Create")]), ], GeneratorOptions.ExplicitProperties ); diff --git a/Speckle.Revit2024.Fakes.Generator/Program.cs b/Speckle.Revit2024.Fakes.Generator/Program.cs index db51ca6b..6f71c3f6 100644 --- a/Speckle.Revit2024.Fakes.Generator/Program.cs +++ b/Speckle.Revit2024.Fakes.Generator/Program.cs @@ -27,7 +27,7 @@ Assembly GetAssembly(string name) "Autodesk.Revit.DB.Mechanical", "Autodesk.Revit.DB.Analysis", "Autodesk.Revit.DB.PointClouds", - "Autodesk.Revit.Exceptions" + "Autodesk.Revit.Exceptions", ], [ new("WallSweepInfo", []), @@ -40,7 +40,7 @@ Assembly GetAssembly(string name) new("ProjectInfo", [new("Name")]), new("Dimension", [new("Name")]), new("ReferencePlane", [new("Name")]), - new("ImageView", [new("Create")]) + new("ImageView", [new("Create")]), ], GeneratorOptions.ExplicitProperties ); diff --git a/Speckle.Rhino7.Fakes.Generator/Program.cs b/Speckle.Rhino7.Fakes.Generator/Program.cs index 4361aebe..ed43f500 100644 --- a/Speckle.Rhino7.Fakes.Generator/Program.cs +++ b/Speckle.Rhino7.Fakes.Generator/Program.cs @@ -22,7 +22,7 @@ Assembly GetAssembly(string name) "Rhino.Render", "Rhino.Display", "Rhino.Geometry.Collections", - "Rhino.FileIO" + "Rhino.FileIO", ], [ new("HostUtils", [new("GetCustomComputeEndpoints")]), diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmNamedConstructionPlanes.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmNamedConstructionPlanes.s.cs index 42264760..4f2fea07 100644 --- a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmNamedConstructionPlanes.s.cs +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmNamedConstructionPlanes.s.cs @@ -59,7 +59,9 @@ public virtual System.Int32 Count { get => throw new System.NotImplementedException(); } - Rhino.DocObjects.ConstructionPlane System.Collections.Generic.IList.this[System.Int32 index] + Rhino.DocObjects.ConstructionPlane System.Collections.Generic.IList.this[ + System.Int32 index + ] { get => throw new System.NotImplementedException(); set { } diff --git a/Speckle.Shared/Records.cs b/Speckle.Shared/Records.cs index 583bbd3c..72d43518 100644 --- a/Speckle.Shared/Records.cs +++ b/Speckle.Shared/Records.cs @@ -22,5 +22,5 @@ public enum GeneratedType Class, Struct, Interface, - Empty + Empty, } diff --git a/Speckle.Shared/Utility.cs b/Speckle.Shared/Utility.cs index 9ac20b92..7c2591fe 100644 --- a/Speckle.Shared/Utility.cs +++ b/Speckle.Shared/Utility.cs @@ -130,7 +130,7 @@ private string FixName(string name) => name switch { "lock" or "params" or "string" or "override" => "@" + name, - _ => name + _ => name, }; private string GetName(Type type)