Skip to content

Commit 2edb885

Browse files
committed
removed explicit operators
1 parent 0680c70 commit 2edb885

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

src/PolylineAlgorithm/Polyline.cs

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -168,31 +168,4 @@ public static Polyline FromMemory(ReadOnlyMemory<char> polyline) {
168168
}
169169

170170
#endregion
171-
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
198171
}

0 commit comments

Comments
 (0)