@@ -95,7 +95,7 @@ public static double Denormalize(int value, ValueType type) {
9595 /// <param name="type">The type of value to validate, such as <see cref="ValueType.Latitude"/> or <see cref="ValueType.Longitude"/>.</param>
9696 /// <returns><see langword="true"/> if the normalized value is within the valid range for the specified value type;
9797 /// otherwise, <see langword="false"/>.</returns>
98- public static bool ValidateNormalizedValue ( int value , ValueType type ) => ( type , value ) switch {
98+ private static bool ValidateNormalizedValue ( int value , ValueType type ) => ( type , value ) switch {
9999 ( ValueType . Latitude , int normalized ) when normalized >= Defaults . Coordinate . Latitude . Normalized . Min && normalized <= Defaults . Coordinate . Latitude . Normalized . Max => true ,
100100 ( ValueType . Longitude , int normalized ) when normalized >= Defaults . Coordinate . Longitude . Normalized . Min && normalized <= Defaults . Coordinate . Longitude . Normalized . Max => true ,
101101 _ => false ,
@@ -111,7 +111,7 @@ public static double Denormalize(int value, ValueType type) {
111111 /// <param name="type">The type of value to validate, such as latitude or longitude.</param>
112112 /// <returns><see langword="true"/> if the <paramref name="value"/> is within the valid range for the specified <paramref
113113 /// name="type"/>; otherwise, <see langword="false"/>.</returns>
114- public static bool ValidateDenormalizedValue ( double value , ValueType type ) => ( type , value ) switch {
114+ private static bool ValidateDenormalizedValue ( double value , ValueType type ) => ( type , value ) switch {
115115 ( ValueType . Latitude , double denormalized ) when denormalized >= Defaults . Coordinate . Latitude . Min && denormalized <= Defaults . Coordinate . Latitude . Max => true ,
116116 ( ValueType . Longitude , double denormalized ) when denormalized >= Defaults . Coordinate . Longitude . Min && denormalized <= Defaults . Coordinate . Longitude . Max => true ,
117117 _ => false ,
0 commit comments