Fix for pull request #57 - Removed checkDisposed from property getters
This commit is contained in:
parent
11b26040b8
commit
e03bdeeb19
@ -128,7 +128,6 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public Encoding ContentEncoding {
|
public Encoding ContentEncoding {
|
||||||
get {
|
get {
|
||||||
checkDisposed ();
|
|
||||||
return _contentEncoding;
|
return _contentEncoding;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -156,7 +155,6 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public long ContentLength64 {
|
public long ContentLength64 {
|
||||||
get {
|
get {
|
||||||
checkDisposed ();
|
|
||||||
return _contentLength;
|
return _contentLength;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -190,7 +188,6 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public string ContentType {
|
public string ContentType {
|
||||||
get {
|
get {
|
||||||
checkDisposed ();
|
|
||||||
return _contentType;
|
return _contentType;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -220,7 +217,6 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public CookieCollection Cookies {
|
public CookieCollection Cookies {
|
||||||
get {
|
get {
|
||||||
checkDisposed ();
|
|
||||||
return _cookies ?? (_cookies = new CookieCollection ());
|
return _cookies ?? (_cookies = new CookieCollection ());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -247,7 +243,6 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public WebHeaderCollection Headers {
|
public WebHeaderCollection Headers {
|
||||||
get {
|
get {
|
||||||
checkDisposed ();
|
|
||||||
return _headers;
|
return _headers;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -285,7 +280,6 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public bool KeepAlive {
|
public bool KeepAlive {
|
||||||
get {
|
get {
|
||||||
checkDisposed ();
|
|
||||||
return _keepAlive;
|
return _keepAlive;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -332,7 +326,6 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public Version ProtocolVersion {
|
public Version ProtocolVersion {
|
||||||
get {
|
get {
|
||||||
checkDisposed ();
|
|
||||||
return _version;
|
return _version;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -365,7 +358,6 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public string RedirectLocation {
|
public string RedirectLocation {
|
||||||
get {
|
get {
|
||||||
checkDisposed ();
|
|
||||||
return _location;
|
return _location;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -419,7 +411,6 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public int StatusCode {
|
public int StatusCode {
|
||||||
get {
|
get {
|
||||||
checkDisposed ();
|
|
||||||
return _statusCode;
|
return _statusCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -448,7 +439,6 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public string StatusDescription {
|
public string StatusDescription {
|
||||||
get {
|
get {
|
||||||
checkDisposed ();
|
|
||||||
return _statusDescription;
|
return _statusDescription;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user