Fix for pull request #57 - Removed checkDisposed from property getters

This commit is contained in:
sta 2014-08-26 19:53:48 +09:00
parent 11b26040b8
commit e03bdeeb19

View File

@ -128,7 +128,6 @@ namespace WebSocketSharp.Net
/// </exception>
public Encoding ContentEncoding {
get {
checkDisposed ();
return _contentEncoding;
}
@ -156,7 +155,6 @@ namespace WebSocketSharp.Net
/// </exception>
public long ContentLength64 {
get {
checkDisposed ();
return _contentLength;
}
@ -190,7 +188,6 @@ namespace WebSocketSharp.Net
/// </exception>
public string ContentType {
get {
checkDisposed ();
return _contentType;
}
@ -220,7 +217,6 @@ namespace WebSocketSharp.Net
/// </exception>
public CookieCollection Cookies {
get {
checkDisposed ();
return _cookies ?? (_cookies = new CookieCollection ());
}
@ -247,7 +243,6 @@ namespace WebSocketSharp.Net
/// </exception>
public WebHeaderCollection Headers {
get {
checkDisposed ();
return _headers;
}
@ -285,7 +280,6 @@ namespace WebSocketSharp.Net
/// </exception>
public bool KeepAlive {
get {
checkDisposed ();
return _keepAlive;
}
@ -332,7 +326,6 @@ namespace WebSocketSharp.Net
/// </exception>
public Version ProtocolVersion {
get {
checkDisposed ();
return _version;
}
@ -365,7 +358,6 @@ namespace WebSocketSharp.Net
/// </exception>
public string RedirectLocation {
get {
checkDisposed ();
return _location;
}
@ -419,7 +411,6 @@ namespace WebSocketSharp.Net
/// </exception>
public int StatusCode {
get {
checkDisposed ();
return _statusCode;
}
@ -448,7 +439,6 @@ namespace WebSocketSharp.Net
/// </exception>
public string StatusDescription {
get {
checkDisposed ();
return _statusDescription;
}