[Modify] The default value is false

This commit is contained in:
sta 2019-03-26 21:24:36 +09:00
parent 11f0d2abb4
commit c864f17998

View File

@ -56,6 +56,7 @@ namespace WebSocketSharp.Net
#region Private Fields #region Private Fields
private List<Cookie> _list; private List<Cookie> _list;
private bool _readOnly;
private object _sync; private object _sync;
#endregion #endregion
@ -116,12 +117,16 @@ namespace WebSocketSharp.Net
/// <c>true</c> if the collection is read-only; otherwise, <c>false</c>. /// <c>true</c> if the collection is read-only; otherwise, <c>false</c>.
/// </para> /// </para>
/// <para> /// <para>
/// The default value is <c>true</c>. /// The default value is <c>false</c>.
/// </para> /// </para>
/// </value> /// </value>
public bool IsReadOnly { public bool IsReadOnly {
get { get {
return true; return _readOnly;
}
internal set {
_readOnly = value;
} }
} }