diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs
index dde85c86..88bcf5fa 100644
--- a/websocket-sharp/Ext.cs
+++ b/websocket-sharp/Ext.cs
@@ -2062,6 +2062,7 @@ namespace WebSocketSharp
/// , or .
///
///
+ [Obsolete ("This method will be removed.")]
public static byte[] ToByteArray (this T value, ByteOrder order)
where T : struct
{