Skip to content

Commit

Permalink
update csharpier
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed Oct 10, 2024
1 parent 295d2dc commit d8f2b69
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.28.2",
"version": "0.29.2",
"commands": [
"dotnet-csharpier"
]
],
"rollForward": false
}
}
}
4 changes: 2 additions & 2 deletions Speckle.Revit2022.Fakes.Generator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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", []),
Expand All @@ -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
);
Expand Down
4 changes: 2 additions & 2 deletions Speckle.Revit2023.Fakes.Generator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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", []),
Expand All @@ -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
);
Expand Down
4 changes: 2 additions & 2 deletions Speckle.Revit2024.Fakes.Generator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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", []),
Expand All @@ -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
);
Expand Down
2 changes: 1 addition & 1 deletion Speckle.Rhino7.Fakes.Generator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Assembly GetAssembly(string name)
"Rhino.Render",
"Rhino.Display",
"Rhino.Geometry.Collections",
"Rhino.FileIO"
"Rhino.FileIO",
],
[
new("HostUtils", [new("GetCustomComputeEndpoints")]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ public virtual System.Int32 Count
{
get => throw new System.NotImplementedException();
}
Rhino.DocObjects.ConstructionPlane System.Collections.Generic.IList<Rhino.DocObjects.ConstructionPlane>.this[System.Int32 index]
Rhino.DocObjects.ConstructionPlane System.Collections.Generic.IList<Rhino.DocObjects.ConstructionPlane>.this[
System.Int32 index
]
{
get => throw new System.NotImplementedException();
set { }
Expand Down
2 changes: 1 addition & 1 deletion Speckle.Shared/Records.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ public enum GeneratedType
Class,
Struct,
Interface,
Empty
Empty,
}
2 changes: 1 addition & 1 deletion Speckle.Shared/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d8f2b69

Please sign in to comment.