diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index a271784..33e923c 100644
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"csharpier": {
- "version": "0.28.2",
+ "version": "0.29.1",
"commands": [
"dotnet-csharpier"
]
diff --git a/src/SharpProp/Enums/FluidsList.cs b/src/SharpProp/Enums/FluidsList.cs
index 5af3ed9..8dc26be 100644
--- a/src/SharpProp/Enums/FluidsList.cs
+++ b/src/SharpProp/Enums/FluidsList.cs
@@ -1088,5 +1088,5 @@ public enum FluidsList
R513A,
[FluidInfo("TypicalNaturalGas.mix")]
- TypicalNaturalGas
+ TypicalNaturalGas,
}
diff --git a/src/SharpProp/Enums/InputPairs.cs b/src/SharpProp/Enums/InputPairs.cs
index bdc04ab..a8753ac 100644
--- a/src/SharpProp/Enums/InputPairs.cs
+++ b/src/SharpProp/Enums/InputPairs.cs
@@ -42,5 +42,5 @@ public enum InputPairs
DmassSmass_INPUTS,
DmolarSmolar_INPUTS,
DmassUmass_INPUTS,
- DmolarUmolar_INPUTS
+ DmolarUmolar_INPUTS,
}
diff --git a/src/SharpProp/Enums/Mix.cs b/src/SharpProp/Enums/Mix.cs
index e0fc6d1..f8d09ca 100644
--- a/src/SharpProp/Enums/Mix.cs
+++ b/src/SharpProp/Enums/Mix.cs
@@ -13,5 +13,5 @@ public enum Mix
///
/// Volume-based mixture.
///
- Volume
+ Volume,
}
diff --git a/src/SharpProp/Enums/Parameters.cs b/src/SharpProp/Enums/Parameters.cs
index 791f2c1..dfa2702 100644
--- a/src/SharpProp/Enums/Parameters.cs
+++ b/src/SharpProp/Enums/Parameters.cs
@@ -86,5 +86,5 @@ public enum Parameters
iPH,
iODP,
iPhase,
- iundefined_parameter
+ iundefined_parameter,
}
diff --git a/src/SharpProp/Enums/Phases.cs b/src/SharpProp/Enums/Phases.cs
index 1afab47..7a3d723 100644
--- a/src/SharpProp/Enums/Phases.cs
+++ b/src/SharpProp/Enums/Phases.cs
@@ -15,5 +15,5 @@ public enum Phases
Gas,
TwoPhase,
Unknown,
- NotImposed
+ NotImposed,
}
diff --git a/src/SharpProp/Extensions/JsonExtensions.cs b/src/SharpProp/Extensions/JsonExtensions.cs
index a882555..14c1210 100644
--- a/src/SharpProp/Extensions/JsonExtensions.cs
+++ b/src/SharpProp/Extensions/JsonExtensions.cs
@@ -8,8 +8,8 @@ internal static class JsonExtensions
Converters = new List
{
new StringEnumConverter(),
- new UnitsNetIQuantityJsonConverter()
- }
+ new UnitsNetIQuantityJsonConverter(),
+ },
};
public static string ConvertToJson(this object? instance, bool indented)
diff --git a/src/SharpProp/Fluids/IFluid.cs b/src/SharpProp/Fluids/IFluid.cs
index a8fc38e..220fbc1 100644
--- a/src/SharpProp/Fluids/IFluid.cs
+++ b/src/SharpProp/Fluids/IFluid.cs
@@ -36,7 +36,7 @@ IKeyedInput secondInput
);
///
- /// The process of isentropic compression to a given pressure.
+ /// The process of isentropic compression to given pressure.
///
/// Pressure.
///
@@ -48,7 +48,7 @@ IKeyedInput secondInput
IFluid IsentropicCompressionTo(Pressure pressure);
///
- /// The process of compression to a given pressure.
+ /// The process of compression to given pressure.
///
/// Pressure.
///
@@ -64,7 +64,7 @@ IKeyedInput secondInput
IFluid CompressionTo(Pressure pressure, Ratio isentropicEfficiency);
///
- /// The process of isenthalpic expansion to a given pressure.
+ /// The process of isenthalpic expansion to given pressure.
///
/// Pressure.
/// The state of the fluid at the end of the process.
@@ -74,7 +74,7 @@ IKeyedInput secondInput
IFluid IsenthalpicExpansionTo(Pressure pressure);
///
- /// The process of isentropic expansion to a given pressure.
+ /// The process of isentropic expansion to given pressure.
///
/// Pressure.
/// The state of the fluid at the end of the process.
@@ -84,7 +84,7 @@ IKeyedInput secondInput
IFluid IsentropicExpansionTo(Pressure pressure);
///
- /// The process of expansion to a given pressure.
+ /// The process of expansion to given pressure.
///
/// Pressure.
///
@@ -164,10 +164,10 @@ IKeyedInput secondInput
IFluid HeatingTo(SpecificEnergy enthalpy, Pressure? pressureDrop = null);
///
- /// Returns a bubble point at a given pressure.
+ /// Returns a bubble point at given pressure.
///
/// Pressure.
- /// A bubble point at a given pressure.
+ /// A bubble point at given pressure.
IFluid BubblePointAt(Pressure pressure);
///
@@ -178,10 +178,10 @@ IKeyedInput secondInput
IFluid BubblePointAt(Temperature temperature);
///
- /// Returns a dew point at a given pressure.
+ /// Returns a dew point at given pressure.
///
/// Pressure.
- /// A dew point at a given pressure.
+ /// A dew point at given pressure.
IFluid DewPointAt(Pressure pressure);
///
@@ -192,11 +192,11 @@ IKeyedInput secondInput
IFluid DewPointAt(Temperature temperature);
///
- /// Returns a two-phase point at a given pressure.
+ /// Returns a two-phase point at given pressure.
///
/// Pressure.
/// Vapor quality.
- /// Two-phase point at a given pressure.
+ /// Two-phase point at given pressure.
IFluid TwoPhasePointAt(Pressure pressure, Ratio quality);
///
diff --git a/src/SharpProp/Fluids/IMixture.cs b/src/SharpProp/Fluids/IMixture.cs
index d85aabb..7e33b81 100644
--- a/src/SharpProp/Fluids/IMixture.cs
+++ b/src/SharpProp/Fluids/IMixture.cs
@@ -11,7 +11,7 @@ public interface IMixture
IJsonable
{
///
- /// List of selected names of pure fluids.
+ /// List of selected pure fluid names.
///
IReadOnlyList Fluids { get; }
diff --git a/src/SharpProp/Fluids/Mixture.cs b/src/SharpProp/Fluids/Mixture.cs
index 46a26b2..2d6e3c9 100644
--- a/src/SharpProp/Fluids/Mixture.cs
+++ b/src/SharpProp/Fluids/Mixture.cs
@@ -6,7 +6,7 @@ public class Mixture : AbstractFluid, IMixture
private const string AvailableBackend = "HEOS";
///
- /// List of selected names of pure fluids.
+ /// List of selected pure fluid names.
/// List of mass-based fractions.
///
/// Invalid input! Fluids and Fractions should be of the same length.
diff --git a/src/SharpProp/HumidAir/HumidAir.cs b/src/SharpProp/HumidAir/HumidAir.cs
index 77d6bc4..d2a083f 100644
--- a/src/SharpProp/HumidAir/HumidAir.cs
+++ b/src/SharpProp/HumidAir/HumidAir.cs
@@ -18,7 +18,7 @@ IKeyedInput thirdInput
{
firstInput,
secondInput,
- thirdInput
+ thirdInput,
};
CheckInputs();
}
diff --git a/src/SharpProp/SharpProp.csproj b/src/SharpProp/SharpProp.csproj
index 382ca28..3032df4 100644
--- a/src/SharpProp/SharpProp.csproj
+++ b/src/SharpProp/SharpProp.csproj
@@ -1,9 +1,9 @@
- A simple, full-featured, lightweight, cross-platform CoolProp wrapper for C#
+ Simple, full-featured, lightweight, cross-platform CoolProp wrapper for C#$(NoWarn);1591;NU5129;CA2101;SYSLIB1054
- A simple, full-featured, lightweight, cross-platform CoolProp wrapper for C#
+ Simple, full-featured, lightweight, cross-platform CoolProp wrapper for C#SharpProp
diff --git a/tests/SharpProp.Tests/Fluids/FluidTests.cs b/tests/SharpProp.Tests/Fluids/FluidTests.cs
index 97904eb..ada9536 100644
--- a/tests/SharpProp.Tests/Fluids/FluidTests.cs
+++ b/tests/SharpProp.Tests/Fluids/FluidTests.cs
@@ -107,7 +107,7 @@ public void Update_VariousFluids_MatchesWithCoolProp(FluidsList name)
fluid.SurfaceTension?.NewtonsPerMeter,
fluid.Temperature.Kelvins,
fluid.TriplePressure?.Pascals,
- fluid.TripleTemperature?.Kelvins
+ fluid.TripleTemperature?.Kelvins,
};
var expected = new[]
{
@@ -134,7 +134,7 @@ public void Update_VariousFluids_MatchesWithCoolProp(FluidsList name)
"I",
"T",
"p_triple",
- "T_triple"
+ "T_triple",
}
.Select(CoolPropInterface)
.ToList();
@@ -260,11 +260,11 @@ public void AsJson_IndentedOrNot_ReturnsProperlyFormattedJson(bool indented)
Converters = new List
{
new StringEnumConverter(),
- new UnitsNetIQuantityJsonConverter()
+ new UnitsNetIQuantityJsonConverter(),
},
Formatting = indented
? Formatting.Indented
- : Formatting.None
+ : Formatting.None,
}
)
);
diff --git a/tests/SharpProp.Tests/Fluids/MixtureTests.cs b/tests/SharpProp.Tests/Fluids/MixtureTests.cs
index 676a19c..bba69ba 100644
--- a/tests/SharpProp.Tests/Fluids/MixtureTests.cs
+++ b/tests/SharpProp.Tests/Fluids/MixtureTests.cs
@@ -122,11 +122,11 @@ public void AsJson_IndentedOrNot_ReturnsProperlyFormattedJson(bool indented)
Converters = new List
{
new StringEnumConverter(),
- new UnitsNetIQuantityJsonConverter()
+ new UnitsNetIQuantityJsonConverter(),
},
Formatting = indented
? Formatting.Indented
- : Formatting.None
+ : Formatting.None,
}
)
);
@@ -201,35 +201,35 @@ public static IEnumerable