Skip to content

Commit 0680c70

Browse files
committed
commented explicit conversions
1 parent 9bec6e4 commit 0680c70

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

src/PolylineAlgorithm/Polyline.cs

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -169,30 +169,30 @@ public static Polyline FromMemory(ReadOnlyMemory<char> polyline) {
169169

170170
#endregion
171171

172-
#region Explicit conversions
173-
174-
/// <summary>
175-
/// Defines an explicit conversion from a Unicode character array to a <see cref="Polyline"/>.
176-
/// </summary>
177-
/// <param name="polyline">The Unicode character array to convert.</param>
178-
/// <returns>The converted <see cref="Polyline"/> instance.</returns>
179-
public static explicit operator Polyline(char[] polyline) => FromCharArray(polyline);
180-
181-
/// <summary>
182-
/// Defines an explicit conversion from a string to a <see cref="Polyline"/>.
183-
/// </summary>
184-
/// <param name="polyline">The string to convert.</param>
185-
/// <returns>The converted <see cref="Polyline"/> instance.</returns>
186-
public static explicit operator Polyline(string polyline) => FromString(polyline);
187-
188-
/// <summary>
189-
/// Defines an explicit conversion from a read-only memory region to a <see cref="Polyline"/>.
190-
/// </summary>
191-
/// <param name="polyline">The read-only memory region to convert.</param>
192-
/// <returns>The converted <see cref="Polyline"/> instance.</returns>
193-
#pragma warning disable CA2225 // Operator overloads have named alternates
194-
public static explicit operator Polyline(ReadOnlyMemory<char> polyline) => FromMemory(polyline);
195-
#pragma warning restore CA2225 // Operator overloads have named alternates
196-
197-
#endregion
172+
// #region Explicit conversions
173+
174+
// /// <summary>
175+
// /// Defines an explicit conversion from a Unicode character array to a <see cref="Polyline"/>.
176+
// /// </summary>
177+
// /// <param name="polyline">The Unicode character array to convert.</param>
178+
// /// <returns>The converted <see cref="Polyline"/> instance.</returns>
179+
// public static explicit operator Polyline(char[] polyline) => FromCharArray(polyline);
180+
181+
// /// <summary>
182+
// /// Defines an explicit conversion from a string to a <see cref="Polyline"/>.
183+
// /// </summary>
184+
// /// <param name="polyline">The string to convert.</param>
185+
// /// <returns>The converted <see cref="Polyline"/> instance.</returns>
186+
// public static explicit operator Polyline(string polyline) => FromString(polyline);
187+
188+
// /// <summary>
189+
// /// Defines an explicit conversion from a read-only memory region to a <see cref="Polyline"/>.
190+
// /// </summary>
191+
// /// <param name="polyline">The read-only memory region to convert.</param>
192+
// /// <returns>The converted <see cref="Polyline"/> instance.</returns>
193+
//#pragma warning disable CA2225 // Operator overloads have named alternates
194+
// public static explicit operator Polyline(ReadOnlyMemory<char> polyline) => FromMemory(polyline);
195+
//#pragma warning restore CA2225 // Operator overloads have named alternates
196+
197+
// #endregion
198198
}

0 commit comments

Comments
 (0)