root / trunk / packages / Hammock.1.2.6 / lib / net40 / Hammock.dll.CodeAnalysisLog.xml @ 5bcf6d70
History | View | Annotate | Download (85.5 kB)
1 |
<?xml version="1.0" encoding="utf-8"?>
|
---|---|
2 |
<?xml-stylesheet type="text/xsl" href="c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\fxcop\Xml\CodeAnalysisReport.xsl"?>
|
3 |
<FxCopReport Version="10.0"> |
4 |
<Targets>
|
5 |
<Target Name="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\bin\lib\net40\Hammock.dll"> |
6 |
<Modules>
|
7 |
<Module Name="hammock.dll"> |
8 |
<Namespaces>
|
9 |
<Namespace Name="Hammock"> |
10 |
<Types>
|
11 |
<Type Name="RestBase" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
12 |
<Members>
|
13 |
<Member Name="#.ctor()" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
14 |
<Messages>
|
15 |
<Message TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="NonBreaking"> |
16 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestBase.cs" Line="90">'RestBase.RestBase()' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

RestBase..ctor()
RestBase.Initialize():Void
RestBase.set_Cookies(WebParameterCollection):Void</Issue> |
17 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestBase.cs" Line="90">'RestBase.RestBase()' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

RestBase..ctor()
RestBase.Initialize():Void
RestBase.set_Headers(NameValueCollection):Void</Issue> |
18 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestBase.cs" Line="90">'RestBase.RestBase()' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

RestBase..ctor()
RestBase.Initialize():Void
RestBase.set_Parameters(WebParameterCollection):Void</Issue> |
19 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestBase.cs" Line="90">'RestBase.RestBase()' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

RestBase..ctor()
RestBase.Initialize():Void
RestBase.set_PostParameters(ICollection<HttpPostParameter>):Void</Issue> |
20 |
</Message>
|
21 |
</Messages>
|
22 |
</Member>
|
23 |
</Members>
|
24 |
</Type>
|
25 |
<Type Name="RestClient" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
26 |
<Members>
|
27 |
<Member Name="#_streamQuery" Kind="Field" Static="False" Accessibility="Private" ExternallyVisible="False"> |
28 |
<Messages>
|
29 |
<Message TypeName="MarkAllNonSerializableFields" Category="Microsoft.Usage" CheckId="CA2235" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="NonBreaking"> |
30 |
<Issue Certainty="95" Level="Error">Field 'RestClient._streamQuery' is a member of type 'RestClient', which is serializable, but is of type 'WebQuery', which is not serializable. Add the NonSerializedAttribute to 'RestClient._streamQuery'.</Issue> |
31 |
</Message>
|
32 |
</Messages>
|
33 |
</Member>
|
34 |
<Member Name="#BeginRequestWithTask(Hammock.RestRequest,Hammock.RestCallback,Hammock.Web.WebQuery,System.String,Hammock.Web.WebQueryAsyncResult&,System.Object)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
35 |
<Messages>
|
36 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
37 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="2070">In method 'RestClient.BeginRequestWithTask(RestRequest, RestCallback, WebQuery, string, out WebQueryAsyncResult, object)', object '<>g__initLocal3d' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal3d' before all references to it are out of scope.</Issue> |
38 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="2038">In method 'RestClient.BeginRequestWithTask(RestRequest, RestCallback, WebQuery, string, out WebQueryAsyncResult, object)', call System.IDisposable.Dispose on object 'task' before all references to it are out of scope.</Issue> |
39 |
</Message>
|
40 |
</Messages>
|
41 |
</Member>
|
42 |
<Member Name="#BeginRequestWithTask`1(Hammock.RestRequest,Hammock.RestCallback`1<!!0>,Hammock.Web.WebQuery,System.String,Hammock.Web.WebQueryAsyncResult&,System.Object)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
43 |
<Messages>
|
44 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
45 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="2132">In method 'RestClient.BeginRequestWithTask<T>(RestRequest, RestCallback<T>, WebQuery, string, out WebQueryAsyncResult, object)', object '<>g__initLocal45' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal45' before all references to it are out of scope.</Issue> |
46 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="2101">In method 'RestClient.BeginRequestWithTask<T>(RestRequest, RestCallback<T>, WebQuery, string, out WebQueryAsyncResult, object)', call System.IDisposable.Dispose on object 'task' before all references to it are out of scope.</Issue> |
47 |
</Message>
|
48 |
</Messages>
|
49 |
</Member>
|
50 |
<Member Name="#BuildBaseResponse(Hammock.Web.WebQueryResult)" Kind="Method" Static="True" Accessibility="Private" ExternallyVisible="False"> |
51 |
<Messages>
|
52 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
53 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="2525">In method 'RestClient.BuildBaseResponse(WebQueryResult)', object 'response' is not disposed along all exception paths. Call System.IDisposable.Dispose on object 'response' before all references to it are out of scope.</Issue> |
54 |
</Message>
|
55 |
</Messages>
|
56 |
</Member>
|
57 |
<Member Name="#BuildBaseResponse`1(Hammock.Web.WebQueryResult)" Kind="Method" Static="True" Accessibility="Private" ExternallyVisible="False"> |
58 |
<Messages>
|
59 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
60 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="2534">In method 'RestClient.BuildBaseResponse<T>(WebQueryResult)', object 'response' is not disposed along all exception paths. Call System.IDisposable.Dispose on object 'response' before all references to it are out of scope.</Issue> |
61 |
</Message>
|
62 |
</Messages>
|
63 |
</Member>
|
64 |
<Member Name="#BuildRateLimitingTask(Hammock.RestRequest,Hammock.Tasks.ITaskOptions,Hammock.RestCallback,Hammock.Web.WebQuery,System.String,System.Object)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
65 |
<Messages>
|
66 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
67 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="2253">In method 'RestClient.BuildRateLimitingTask(RestRequest, ITaskOptions, RestCallback, WebQuery, string, object)', call System.IDisposable.Dispose on object '<>g__initLocal4b' before all references to it are out of scope.</Issue> |
68 |
</Message>
|
69 |
</Messages>
|
70 |
</Member>
|
71 |
<Member Name="#CompleteWithMockWebResponse(System.IAsyncResult,System.IAsyncResult,Hammock.Web.Triplet`3<Hammock.RestRequest,Hammock.RestCallback,System.Object>)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
72 |
<Messages>
|
73 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
74 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="1023">In method 'RestClient.CompleteWithMockWebResponse(IAsyncResult, IAsyncResult, Triplet<RestRequest, RestCallback, object>)', object '<>g__initLocal10' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal10' before all references to it are out of scope.</Issue> |
75 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="1007">In method 'RestClient.CompleteWithMockWebResponse(IAsyncResult, IAsyncResult, Triplet<RestRequest, RestCallback, object>)', object 'm' is not disposed along all exception paths. Call System.IDisposable.Dispose on object 'm' before all references to it are out of scope.</Issue> |
76 |
</Message>
|
77 |
<Message TypeName="Do not dispose objects multiple times" Category="Microsoft.Usage" CheckId="CA2202" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
78 |
<Issue Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="1014">Object 'stream' can be disposed more than once in method 'RestClient.CompleteWithMockWebResponse(IAsyncResult, IAsyncResult, Triplet<RestRequest, RestCallback, object>)'. To avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.: Lines: 1014</Issue> |
79 |
</Message>
|
80 |
</Messages>
|
81 |
</Member>
|
82 |
<Member Name="#CompleteWithMockWebResponse`1(System.IAsyncResult,System.IAsyncResult,Hammock.Web.Triplet`3<Hammock.RestRequest,Hammock.RestCallback`1<!!0>,System.Object>)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
83 |
<Messages>
|
84 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
85 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="959">In method 'RestClient.CompleteWithMockWebResponse<T>(IAsyncResult, IAsyncResult, Triplet<RestRequest, RestCallback<T>, object>)', object '<>g__initLocalf' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocalf' before all references to it are out of scope.</Issue> |
86 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="943">In method 'RestClient.CompleteWithMockWebResponse<T>(IAsyncResult, IAsyncResult, Triplet<RestRequest, RestCallback<T>, object>)', object 'm' is not disposed along all exception paths. Call System.IDisposable.Dispose on object 'm' before all references to it are out of scope.</Issue> |
87 |
</Message>
|
88 |
<Message TypeName="Do not dispose objects multiple times" Category="Microsoft.Usage" CheckId="CA2202" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
89 |
<Issue Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="950">Object 'stream' can be disposed more than once in method 'RestClient.CompleteWithMockWebResponse<T>(IAsyncResult, IAsyncResult, Triplet<RestRequest, RestCallback<T>, object>)'. To avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.: Lines: 950</Issue> |
90 |
</Message>
|
91 |
</Messages>
|
92 |
</Member>
|
93 |
<Member Name="#GetQueryFor(Hammock.RestBase,System.Uri)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
94 |
<Messages>
|
95 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
96 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestClient.cs" Line="2666">In method 'RestClient.GetQueryFor(RestBase, Uri)', object 'new BasicAuthWebQuery(info, traceEnabled)' is not disposed along all exception paths. Call System.IDisposable.Dispose on object 'new BasicAuthWebQuery(info, traceEnabled)' before all references to it are out of scope.</Issue> |
97 |
</Message>
|
98 |
</Messages>
|
99 |
</Member>
|
100 |
</Members>
|
101 |
</Type>
|
102 |
<Type Name="RestRequest" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
103 |
<Members>
|
104 |
<Member Name="#.ctor()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
105 |
<Messages>
|
106 |
<Message TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="NonBreaking"> |
107 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestRequest.cs" Line="27">'RestRequest.RestRequest()' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

RestRequest..ctor()
RestRequest.Initialize():Void
RestRequest.set_ExpectHeaders(WebHeaderCollection):Void</Issue> |
108 |
</Message>
|
109 |
</Messages>
|
110 |
</Member>
|
111 |
</Members>
|
112 |
</Type>
|
113 |
<Type Name="RestResponseBase" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
114 |
<Messages>
|
115 |
<Message TypeName="ImplementIDisposableCorrectly" Category="Microsoft.Design" CheckId="CA1063" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="Breaking"> |
116 |
<Issue Name="ProvideDisposeBool" Certainty="95" Level="Error">Provide an overridable implementation of Dispose(bool) on 'RestResponseBase' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources.</Issue> |
117 |
</Message>
|
118 |
</Messages>
|
119 |
<Members>
|
120 |
<Member Name="#Dispose()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
121 |
<Messages>
|
122 |
<Message TypeName="ImplementIDisposableCorrectly" Category="Microsoft.Design" CheckId="CA1063" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="Breaking"> |
123 |
<Issue Name="DisposeImplementation" Certainty="95" Level="Error" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestResponse.cs" Line="287">Modify 'RestResponseBase.Dispose()' so that it calls Dispose(true), then calls GC.SuppressFinalize on the current object instance ('this' or 'Me' in Visual Basic), and then returns.</Issue> |
124 |
</Message>
|
125 |
</Messages>
|
126 |
</Member>
|
127 |
<Member Name="#ReplaceContentStreamWithMemoryStream()" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
128 |
<Messages>
|
129 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
130 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock" File="RestResponse.cs" Line="138">In method 'RestResponseBase.ReplaceContentStreamWithMemoryStream()', object 'stream' is not disposed along all exception paths. Call System.IDisposable.Dispose on object 'stream' before all references to it are out of scope.</Issue> |
131 |
</Message>
|
132 |
</Messages>
|
133 |
</Member>
|
134 |
</Members>
|
135 |
</Type>
|
136 |
</Types>
|
137 |
</Namespace>
|
138 |
<Namespace Name="Hammock.Attributes.Specialized"> |
139 |
<Types>
|
140 |
<Type Name="EntityAttribute" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
141 |
<Members>
|
142 |
<Member Name="#.ctor()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
143 |
<Messages>
|
144 |
<Message TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="NonBreaking"> |
145 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Attributes\Specialized" File="EntityAttribute.cs" Line="12">'EntityAttribute.EntityAttribute()' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

EntityAttribute..ctor()
EntityAttribute.set_ContentEncoding(Encoding):Void</Issue> |
146 |
</Message>
|
147 |
</Messages>
|
148 |
</Member>
|
149 |
</Members>
|
150 |
</Type>
|
151 |
</Types>
|
152 |
</Namespace>
|
153 |
<Namespace Name="Hammock.Authentication.OAuth"> |
154 |
<Types>
|
155 |
<Type Name="OAuthTools" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
156 |
<Members>
|
157 |
<Member Name="#GetSignature(Hammock.Authentication.OAuth.OAuthSignatureMethod,Hammock.Authentication.OAuth.OAuthSignatureTreatment,System.String,System.String,System.String)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True"> |
158 |
<Messages>
|
159 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
160 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthTools.cs" Line="292">In method 'OAuthTools.GetSignature(OAuthSignatureMethod, OAuthSignatureTreatment, string, string, string)', call System.IDisposable.Dispose on object 'crypto' before all references to it are out of scope.</Issue> |
161 |
</Message>
|
162 |
</Messages>
|
163 |
</Member>
|
164 |
</Members>
|
165 |
</Type>
|
166 |
<Type Name="OAuthWebQuery" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
167 |
<Members>
|
168 |
<Member Name="#.ctor(Hammock.Authentication.OAuth.OAuthWebQueryInfo,System.Boolean)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
169 |
<Messages>
|
170 |
<Message TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="NonBreaking"> |
171 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWebQuery.cs" Line="26">'OAuthWebQuery.OAuthWebQuery(OAuthWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWebQuery..ctor(OAuthWebQueryInfo, Boolean)
OAuthWebQuery.Initialize(OAuthWebQueryInfo):Void
WebQuery.set_Method(WebMethod):Void</Issue> |
172 |
</Message>
|
173 |
</Messages>
|
174 |
</Member>
|
175 |
</Members>
|
176 |
</Type>
|
177 |
<Type Name="OAuthWorkflow" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
178 |
<Members>
|
179 |
<Member Name="#.ctor(Hammock.Authentication.OAuth.OAuthCredentials)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
180 |
<Messages>
|
181 |
<Message TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="NonBreaking"> |
182 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_CallbackUrl(String):Void</Issue> |
183 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_ClientPassword(String):Void</Issue> |
184 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_ClientUsername(String):Void</Issue> |
185 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_ConsumerKey(String):Void</Issue> |
186 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_ConsumerSecret(String):Void</Issue> |
187 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_ParameterHandling(OAuthParameterHandling):Void</Issue> |
188 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_SessionHandle(String):Void</Issue> |
189 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_SignatureMethod(OAuthSignatureMethod):Void</Issue> |
190 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_SignatureTreatment(OAuthSignatureTreatment):Void</Issue> |
191 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_Token(String):Void</Issue> |
192 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_TokenSecret(String):Void</Issue> |
193 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_Verifier(String):Void</Issue> |
194 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Authentication\OAuth" File="OAuthWorkflow.cs" Line="69">'OAuthWorkflow.OAuthWorkflow(OAuthCredentials)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

OAuthWorkflow..ctor(OAuthCredentials)
OAuthWorkflow.InitializeFromCredentials(OAuthCredentials):Void
OAuthWorkflow.set_Version(String):Void</Issue> |
195 |
</Message>
|
196 |
</Messages>
|
197 |
</Member>
|
198 |
</Members>
|
199 |
</Type>
|
200 |
</Types>
|
201 |
</Namespace>
|
202 |
<Namespace Name="Hammock.Retries"> |
203 |
<Types>
|
204 |
<Type Name="RetryPolicy" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
205 |
<Members>
|
206 |
<Member Name="#.ctor()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
207 |
<Messages>
|
208 |
<Message TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="NonBreaking"> |
209 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Retries" File="RetryPolicy.cs" Line="17">'RetryPolicy.RetryPolicy()' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

RetryPolicy..ctor()
RetryPolicy.Initialize():Void
RetryPolicy.set_RetryConditions(ICollection<IRetryCondition>):Void</Issue> |
210 |
</Message>
|
211 |
</Messages>
|
212 |
</Member>
|
213 |
</Members>
|
214 |
</Type>
|
215 |
</Types>
|
216 |
</Namespace>
|
217 |
<Namespace Name="Hammock.Serialization"> |
218 |
<Types>
|
219 |
<Type Name="HammockDataContractSerializer" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
220 |
<Members>
|
221 |
<Member Name="#Serialize(System.Object,System.Type)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
222 |
<Messages>
|
223 |
<Message TypeName="Do not dispose objects multiple times" Category="Microsoft.Usage" CheckId="CA2202" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
224 |
<Issue Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Serialization" File="HammockDataContractSerializer.cs" Line="90">Object 'stream' can be disposed more than once in method 'HammockDataContractSerializer.Serialize(object, Type)'. To avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.: Lines: 90</Issue> |
225 |
</Message>
|
226 |
</Messages>
|
227 |
</Member>
|
228 |
</Members>
|
229 |
</Type>
|
230 |
<Type Name="HammockXmlSerializer" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
231 |
<Members>
|
232 |
<Member Name="#Serialize(System.Object,System.Type)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
233 |
<Messages>
|
234 |
<Message TypeName="Do not dispose objects multiple times" Category="Microsoft.Usage" CheckId="CA2202" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
235 |
<Issue Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Serialization" File="HammockXmlSerializer.cs" Line="58">Object 'stream' can be disposed more than once in method 'HammockXmlSerializer.Serialize(object, Type)'. To avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.: Lines: 58</Issue> |
236 |
</Message>
|
237 |
</Messages>
|
238 |
</Member>
|
239 |
</Members>
|
240 |
</Type>
|
241 |
<Type Name="InvalidJsonException" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
242 |
<Messages>
|
243 |
<Message TypeName="MarkISerializableTypesWithSerializable" Category="Microsoft.Usage" CheckId="CA2237" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="NonBreaking"> |
244 |
<Issue Certainty="95" Level="Error">Add [Serializable] to 'InvalidJsonException' as this type implements ISerializable.</Issue> |
245 |
</Message>
|
246 |
</Messages>
|
247 |
</Type>
|
248 |
</Types>
|
249 |
</Namespace>
|
250 |
<Namespace Name="Hammock.Tasks"> |
251 |
<Types>
|
252 |
<Type Name="TimedTask" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
253 |
<Messages>
|
254 |
<Message TypeName="ImplementIDisposableCorrectly" Category="Microsoft.Design" CheckId="CA1063" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="Breaking"> |
255 |
<Issue Name="ProvideDisposeBool" Certainty="95" Level="Error">Provide an overridable implementation of Dispose(bool) on 'TimedTask' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources.</Issue> |
256 |
</Message>
|
257 |
</Messages>
|
258 |
<Members>
|
259 |
<Member Name="#Dispose()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
260 |
<Messages>
|
261 |
<Message TypeName="ImplementIDisposableCorrectly" Category="Microsoft.Design" CheckId="CA1063" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="Breaking"> |
262 |
<Issue Name="DisposeImplementation" Certainty="95" Level="Error" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Tasks" File="TimedTask.cs" Line="140">Modify 'TimedTask.Dispose()' so that it calls Dispose(true), then calls GC.SuppressFinalize on the current object instance ('this' or 'Me' in Visual Basic), and then returns.</Issue> |
263 |
<Issue Name="DisposeSignature" Certainty="95" Level="Error" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Tasks" File="TimedTask.cs" Line="140">Ensure that 'TimedTask.Dispose()' is declared as public and sealed.</Issue> |
264 |
</Message>
|
265 |
</Messages>
|
266 |
</Member>
|
267 |
<Member Name="#Stopped" Kind="Event" Static="False" Accessibility="Public" ExternallyVisible="True"> |
268 |
<Messages>
|
269 |
<Message TypeName="DeclareEventHandlersCorrectly" Category="Microsoft.Design" CheckId="CA1009" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="Breaking"> |
270 |
<Issue Name="First" Certainty="95" Level="Error">Declare the first parameter of 'Action<TimedTask, EventArgs>' as an object named 'sender'.</Issue> |
271 |
<Issue Name="Second" Certainty="95" Level="Error">Declare the second parameter of 'Action<TimedTask, EventArgs>' as an EventArgs, or an instance of a type that extends EventArgs, named 'e'.</Issue> |
272 |
</Message>
|
273 |
</Messages>
|
274 |
</Member>
|
275 |
</Members>
|
276 |
</Type>
|
277 |
<Type Name="TimedTask`1" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
278 |
<Members>
|
279 |
<Member Name="#Dispose()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
280 |
<Messages>
|
281 |
<Message TypeName="ImplementIDisposableCorrectly" Category="Microsoft.Design" CheckId="CA1063" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="Breaking"> |
282 |
<Issue Name="DisposeImplementation" Certainty="95" Level="Error" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Tasks" File="TimedTask.cs" Line="239">Modify 'TimedTask<T>.Dispose()' so that it calls Dispose(true), then calls GC.SuppressFinalize on the current object instance ('this' or 'Me' in Visual Basic), and then returns.</Issue> |
283 |
<Issue Name="DisposeSignature" Certainty="95" Level="Error" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Tasks" File="TimedTask.cs" Line="239">Ensure that 'TimedTask<T>.Dispose()' is declared as public and sealed.</Issue> |
284 |
</Message>
|
285 |
</Messages>
|
286 |
</Member>
|
287 |
</Members>
|
288 |
</Type>
|
289 |
</Types>
|
290 |
</Namespace>
|
291 |
<Namespace Name="Hammock.Web"> |
292 |
<Types>
|
293 |
<Type Name="WebQuery" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
294 |
<Members>
|
295 |
<Member Name="#.ctor(Hammock.Web.IWebQueryInfo,System.Boolean)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
296 |
<Messages>
|
297 |
<Message TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="NonBreaking"> |
298 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.InitializeResult():Void
WebQuery.add_QueryRequest(EventHandler<WebQueryRequestEventArgs>):Void</Issue> |
299 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.InitializeResult():Void
WebQuery.add_QueryResponse(EventHandler<WebQueryResponseEventArgs>):Void</Issue> |
300 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.InitializeResult():Void
WebQuery.set_Result(WebQueryResult):Void</Issue> |
301 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.SetQueryMeta(IWebQueryInfo):Void
WebQuery.ParseInfoHeaders(IEnumerable<PropertyInfo>, IDictionary<String,String>):WebHeaderCollection</Issue> |
302 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.SetQueryMeta(IWebQueryInfo):Void
WebQuery.ParseInfoParameters(IEnumerable<PropertyInfo>, IDictionary<String,String>):WebParameterCollection</Issue> |
303 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.SetQueryMeta(IWebQueryInfo):Void
WebQuery.ParseTransforms(IEnumerable<PropertyInfo>&, IDictionary<String,String>&):Void
WebQuery.get_Info():IWebQueryInfo</Issue> |
304 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.SetQueryMeta(IWebQueryInfo):Void
WebQuery.ParseUserAgent(IEnumerable<PropertyInfo>):Void
WebQuery.get_UserAgent():String</Issue> |
305 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.SetQueryMeta(IWebQueryInfo):Void
WebQuery.ParseWebEntity(IEnumerable<PropertyInfo>):Void
WebQuery.get_Entity():WebEntity</Issue> |
306 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.SetQueryMeta(IWebQueryInfo):Void
WebQuery.set_Cookies(WebParameterCollection):Void</Issue> |
307 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.SetQueryMeta(IWebQueryInfo):Void
WebQuery.set_Headers(WebHeaderCollection):Void</Issue> |
308 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.SetQueryMeta(IWebQueryInfo):Void
WebQuery.set_Info(IWebQueryInfo):Void</Issue> |
309 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="175">'WebQuery.WebQuery(IWebQueryInfo, bool)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

WebQuery..ctor(IWebQueryInfo, Boolean)
WebQuery.SetQueryMeta(IWebQueryInfo):Void
WebQuery.set_Parameters(WebParameterCollection):Void</Issue> |
310 |
</Message>
|
311 |
</Messages>
|
312 |
</Member>
|
313 |
<Member Name="#Dispose()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
314 |
<Messages>
|
315 |
<Message TypeName="ImplementIDisposableCorrectly" Category="Microsoft.Design" CheckId="CA1063" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="Breaking"> |
316 |
<Issue Name="DisposeImplementation" Certainty="95" Level="Error" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.cs" Line="1847">Modify 'WebQuery.Dispose()' so that it calls Dispose(true), then calls GC.SuppressFinalize on the current object instance ('this' or 'Me' in Visual Basic), and then returns.</Issue> |
317 |
</Message>
|
318 |
</Messages>
|
319 |
</Member>
|
320 |
<Member Name="#ExecuteGetOrDeleteAsync(Hammock.Caching.ICache,System.String,System.String,System.DateTime,System.Net.WebRequest,System.Object)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
321 |
<Messages>
|
322 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
323 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="94">In method 'WebQuery.ExecuteGetOrDeleteAsync(ICache, string, string, DateTime, WebRequest, object)', object '<>g__initLocal6' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal6' before all references to it are out of scope.</Issue> |
324 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="123">In method 'WebQuery.ExecuteGetOrDeleteAsync(ICache, string, string, DateTime, WebRequest, object)', object '<>g__initLocala' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocala' before all references to it are out of scope.</Issue> |
325 |
</Message>
|
326 |
</Messages>
|
327 |
</Member>
|
328 |
<Member Name="#ExecuteGetOrDeleteAsync(Hammock.Caching.ICache,System.String,System.String,System.Net.WebRequest,System.Object)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
329 |
<Messages>
|
330 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
331 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="52">In method 'WebQuery.ExecuteGetOrDeleteAsync(ICache, string, string, WebRequest, object)', object '<>g__initLocal2' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal2' before all references to it are out of scope.</Issue> |
332 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="76">In method 'WebQuery.ExecuteGetOrDeleteAsync(ICache, string, string, WebRequest, object)', object '<>g__initLocal5' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal5' before all references to it are out of scope.</Issue> |
333 |
</Message>
|
334 |
</Messages>
|
335 |
</Member>
|
336 |
<Member Name="#ExecuteGetOrDeleteAsync(Hammock.Caching.ICache,System.String,System.String,System.TimeSpan,System.Net.WebRequest,System.Object)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
337 |
<Messages>
|
338 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
339 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="141">In method 'WebQuery.ExecuteGetOrDeleteAsync(ICache, string, string, TimeSpan, WebRequest, object)', object '<>g__initLocalb' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocalb' before all references to it are out of scope.</Issue> |
340 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="169">In method 'WebQuery.ExecuteGetOrDeleteAsync(ICache, string, string, TimeSpan, WebRequest, object)', object '<>g__initLocalf' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocalf' before all references to it are out of scope.</Issue> |
341 |
</Message>
|
342 |
</Messages>
|
343 |
</Member>
|
344 |
<Member Name="#ExecuteGetOrDeleteAsync(Hammock.Web.GetDeleteHeadOptions,System.String,System.Object)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
345 |
<Messages>
|
346 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
347 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="36">In method 'WebQuery.ExecuteGetOrDeleteAsync(GetDeleteHeadOptions, string, object)', object '<>g__initLocal1' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal1' before all references to it are out of scope.</Issue> |
348 |
</Message>
|
349 |
</Messages>
|
350 |
</Member>
|
351 |
<Member Name="#ExecutePostOrPut(Hammock.Web.PostOrPut,System.String,System.Net.WebException&)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
352 |
<Messages>
|
353 |
<Message TypeName="Do not dispose objects multiple times" Category="Microsoft.Usage" CheckId="CA2202" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
354 |
<Issue Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.cs" Line="1150">Object 'stream' can be disposed more than once in method 'WebQuery.ExecutePostOrPut(PostOrPut, string, out WebException)'. To avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.: Lines: 1150</Issue> |
355 |
</Message>
|
356 |
</Messages>
|
357 |
</Member>
|
358 |
<Member Name="#ExecutePostOrPutAsync(Hammock.Web.PostOrPut,System.String,System.Collections.Generic.IEnumerable`1<Hammock.Web.HttpPostParameter>,System.Object)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
359 |
<Messages>
|
360 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
361 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="1074">In method 'WebQuery.ExecutePostOrPutAsync(PostOrPut, string, IEnumerable<HttpPostParameter>, object)', object '<>g__initLocal23' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal23' before all references to it are out of scope.</Issue> |
362 |
</Message>
|
363 |
</Messages>
|
364 |
</Member>
|
365 |
<Member Name="#ExecutePostOrPutAsync(Hammock.Web.PostOrPut,System.String,System.Object)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
366 |
<Messages>
|
367 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
368 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="1044">In method 'WebQuery.ExecutePostOrPutAsync(PostOrPut, string, object)', object '<>g__initLocal20' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal20' before all references to it are out of scope.</Issue> |
369 |
</Message>
|
370 |
</Messages>
|
371 |
</Member>
|
372 |
<Member Name="#ExecutePostOrPutAsync(Hammock.Web.PostOrPut,System.String,System.String,Hammock.Caching.ICache,System.DateTime,System.Object)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
373 |
<Messages>
|
374 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
375 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="1143">In method 'WebQuery.ExecutePostOrPutAsync(PostOrPut, string, string, ICache, DateTime, object)', object '<>g__initLocal2a' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal2a' before all references to it are out of scope.</Issue> |
376 |
</Message>
|
377 |
</Messages>
|
378 |
</Member>
|
379 |
<Member Name="#ExecutePostOrPutAsync(Hammock.Web.PostOrPut,System.String,System.String,Hammock.Caching.ICache,System.Object)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
380 |
<Messages>
|
381 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
382 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="1106">In method 'WebQuery.ExecutePostOrPutAsync(PostOrPut, string, string, ICache, object)', object '<>g__initLocal26' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal26' before all references to it are out of scope.</Issue> |
383 |
</Message>
|
384 |
</Messages>
|
385 |
</Member>
|
386 |
<Member Name="#ExecutePostOrPutAsync(Hammock.Web.PostOrPut,System.String,System.String,Hammock.Caching.ICache,System.TimeSpan,System.Object)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
387 |
<Messages>
|
388 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
389 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="1180">In method 'WebQuery.ExecutePostOrPutAsync(PostOrPut, string, string, ICache, TimeSpan, object)', object '<>g__initLocal2e' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal2e' before all references to it are out of scope.</Issue> |
390 |
</Message>
|
391 |
</Messages>
|
392 |
</Member>
|
393 |
<Member Name="#ExecuteStreamGetAsync(System.String,System.TimeSpan,System.Int32)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
394 |
<Messages>
|
395 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
396 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="1203">In method 'WebQuery.ExecuteStreamGetAsync(string, TimeSpan, int)', object '<>g__initLocal2f' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal2f' before all references to it are out of scope.</Issue> |
397 |
</Message>
|
398 |
</Messages>
|
399 |
</Member>
|
400 |
<Member Name="#ExecuteStreamPostAsync(System.String,System.TimeSpan,System.Int32)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
401 |
<Messages>
|
402 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
403 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="1261">In method 'WebQuery.ExecuteStreamPostAsync(string, TimeSpan, int)', object '<>g__initLocal34' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal34' before all references to it are out of scope.</Issue> |
404 |
</Message>
|
405 |
</Messages>
|
406 |
</Member>
|
407 |
<Member Name="#PostAsyncRequestCallback(System.IAsyncResult)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
408 |
<Messages>
|
409 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
410 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="778">In method 'WebQuery.PostAsyncRequestCallback(IAsyncResult)', call System.IDisposable.Dispose on object '<>g__initLocal19' before all references to it are out of scope.</Issue> |
411 |
</Message>
|
412 |
</Messages>
|
413 |
</Member>
|
414 |
<Member Name="#PostAsyncRequestCallbackMultiPart(System.IAsyncResult)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
415 |
<Messages>
|
416 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
417 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="949">In method 'WebQuery.PostAsyncRequestCallbackMultiPart(IAsyncResult)', call System.IDisposable.Dispose on object '<>g__initLocal1e' before all references to it are out of scope.</Issue> |
418 |
</Message>
|
419 |
</Messages>
|
420 |
</Member>
|
421 |
<Member Name="#PostAsyncResponseCallback(System.IAsyncResult)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
422 |
<Messages>
|
423 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
424 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="973">In method 'WebQuery.PostAsyncResponseCallback(IAsyncResult)', call System.IDisposable.Dispose on object 'new MemoryStream()' before all references to it are out of scope.</Issue> |
425 |
</Message>
|
426 |
</Messages>
|
427 |
</Member>
|
428 |
<Member Name="#PostAsyncStreamRequestCallback(System.IAsyncResult)" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> |
429 |
<Messages>
|
430 |
<Message TypeName="Do not dispose objects multiple times" Category="Microsoft.Usage" CheckId="CA2202" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
431 |
<Issue Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="642">Object 'stream' can be disposed more than once in method 'WebQuery.PostAsyncStreamRequestCallback(IAsyncResult)'. To avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.: Lines: 642</Issue> |
432 |
</Message>
|
433 |
</Messages>
|
434 |
</Member>
|
435 |
<Member Name="#ProcessBuffer(System.String)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
436 |
<Messages>
|
437 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
438 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="601">In method 'WebQuery.ProcessBuffer(string)', call System.IDisposable.Dispose on object 'new MemoryStream(messageBytes)' before all references to it are out of scope.</Issue> |
439 |
</Message>
|
440 |
</Messages>
|
441 |
</Member>
|
442 |
<Member Name="#TimedOutCallback(System.Object,System.Boolean)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
443 |
<Messages>
|
444 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
445 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.Async.cs" Line="234">In method 'WebQuery.TimedOutCallback(object, bool)', call System.IDisposable.Dispose on object '<>g__initLocal11' before all references to it are out of scope.</Issue> |
446 |
</Message>
|
447 |
</Messages>
|
448 |
</Member>
|
449 |
<Member Name="#WriteMultiPartImpl(System.Boolean,System.Collections.Generic.IEnumerable`1<Hammock.Web.HttpPostParameter>,System.String,System.Text.Encoding,System.IO.Stream)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
450 |
<Messages>
|
451 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
452 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.cs" Line="1286">In method 'WebQuery.WriteMultiPartImpl(bool, IEnumerable<HttpPostParameter>, string, Encoding, Stream)', call System.IDisposable.Dispose on object 'new FileStream(parameter.FilePath, FileMode.Open, FileAccess.Read)' before all references to it are out of scope.</Issue> |
453 |
</Message>
|
454 |
<Message TypeName="Do not dispose objects multiple times" Category="Microsoft.Usage" CheckId="CA2202" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
455 |
<Issue Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.cs" Line="1361">Object 'new FileStream(parameter.FilePath, FileMode.Open, FileAccess.Read)' can be disposed more than once in method 'WebQuery.WriteMultiPartImpl(bool, IEnumerable<HttpPostParameter>, string, Encoding, Stream)'. To avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.: Lines: 1361</Issue> |
456 |
<Issue Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQuery.cs" Line="1361">Object 'parameter.FileStream' can be disposed more than once in method 'WebQuery.WriteMultiPartImpl(bool, IEnumerable<HttpPostParameter>, string, Encoding, Stream)'. To avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.: Lines: 1361</Issue> |
457 |
</Message>
|
458 |
</Messages>
|
459 |
</Member>
|
460 |
<Member Name="#NewStreamMessageEvent" Kind="Event" Static="False" Accessibility="Public" ExternallyVisible="True"> |
461 |
<Messages>
|
462 |
<Message TypeName="DeclareEventHandlersCorrectly" Category="Microsoft.Design" CheckId="CA1009" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="Breaking"> |
463 |
<Issue Name="First" Certainty="95" Level="Error">Declare the first parameter of 'WebQuery.NewStreamMessage' as an object named 'sender'.</Issue> |
464 |
<Issue Name="Second" Certainty="95" Level="Error">Declare the second parameter of 'WebQuery.NewStreamMessage' as an EventArgs, or an instance of a type that extends EventArgs, named 'e'.</Issue> |
465 |
</Message>
|
466 |
</Messages>
|
467 |
</Member>
|
468 |
</Members>
|
469 |
</Type>
|
470 |
<Type Name="WebQueryAsyncResult" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
471 |
<Messages>
|
472 |
<Message TypeName="ImplementIDisposableCorrectly" Category="Microsoft.Design" CheckId="CA1063" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="Breaking"> |
473 |
<Issue Name="ProvideDisposeBool" Certainty="95" Level="Error">Provide an overridable implementation of Dispose(bool) on 'WebQueryAsyncResult' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources.</Issue> |
474 |
</Message>
|
475 |
</Messages>
|
476 |
<Members>
|
477 |
<Member Name="#Dispose()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
478 |
<Messages>
|
479 |
<Message Id="_block" TypeName="DisposableFieldsShouldBeDisposed" Category="Microsoft.Usage" CheckId="CA2213" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="NonBreaking"> |
480 |
<Issue Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQueryAsyncResult.cs" Line="43">'WebQueryAsyncResult' contains field 'WebQueryAsyncResult._block' that is of IDisposable type: 'AutoResetEvent'. Change the Dispose method on 'WebQueryAsyncResult' to call Dispose or Close on this field.</Issue> |
481 |
</Message>
|
482 |
<Message TypeName="ImplementIDisposableCorrectly" Category="Microsoft.Design" CheckId="CA1063" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="Breaking"> |
483 |
<Issue Name="DisposeImplementation" Certainty="95" Level="Error" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web" File="WebQueryAsyncResult.cs" Line="43">Modify 'WebQueryAsyncResult.Dispose()' so that it calls Dispose(true), then calls GC.SuppressFinalize on the current object instance ('this' or 'Me' in Visual Basic), and then returns.</Issue> |
484 |
</Message>
|
485 |
</Messages>
|
486 |
</Member>
|
487 |
</Members>
|
488 |
</Type>
|
489 |
</Types>
|
490 |
</Namespace>
|
491 |
<Namespace Name="Hammock.Web.Mocks"> |
492 |
<Types>
|
493 |
<Type Name="MockHttpWebRequest" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
494 |
<Members>
|
495 |
<Member Name="#.ctor(System.Uri)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
496 |
<Messages>
|
497 |
<Message TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="NonBreaking"> |
498 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web\Mocks" File="MockHttpWebRequest.cs" Line="32">'MockHttpWebRequest.MockHttpWebRequest(Uri)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

MockHttpWebRequest..ctor(Uri)
MockHttpWebRequest.Initialize():Void
WebRequest.set_Headers(WebHeaderCollection):Void</Issue> |
499 |
<Issue Certainty="95" Level="CriticalWarning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web\Mocks" File="MockHttpWebRequest.cs" Line="32">'MockHttpWebRequest.MockHttpWebRequest(Uri)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: 

MockHttpWebRequest..ctor(Uri)
MockHttpWebRequest.Initialize():Void
WebRequest.set_Headers(WebHeaderCollection):Void
MockHttpWebRequest.set_ExpectHeaders(WebHeaderCollection):Void</Issue> |
500 |
</Message>
|
501 |
</Messages>
|
502 |
</Member>
|
503 |
<Member Name="#BeginGetResponse(System.AsyncCallback,System.Object)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
504 |
<Messages>
|
505 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
506 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web\Mocks" File="MockHttpWebRequest.cs" Line="94">In method 'MockHttpWebRequest.BeginGetResponse(AsyncCallback, object)', call System.IDisposable.Dispose on object '<>g__initLocal1' before all references to it are out of scope.</Issue> |
507 |
</Message>
|
508 |
</Messages>
|
509 |
</Member>
|
510 |
<Member Name="#CreateResponse()" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> |
511 |
<Messages>
|
512 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
513 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web\Mocks" File="MockHttpWebRequest.cs" Line="57">In method 'MockHttpWebRequest.CreateResponse()', object '<>g__initLocal0' is not disposed along all exception paths. Call System.IDisposable.Dispose on object '<>g__initLocal0' before all references to it are out of scope.</Issue> |
514 |
</Message>
|
515 |
</Messages>
|
516 |
</Member>
|
517 |
</Members>
|
518 |
</Type>
|
519 |
<Type Name="MockHttpWebResponse" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
520 |
<Members>
|
521 |
<Member Name="#GetResponseStream()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> |
522 |
<Messages>
|
523 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
524 |
<Issue Name="ExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net35\Hammock\Web\Mocks" File="MockHttpWebResponse.cs" Line="45">In method 'MockHttpWebResponse.GetResponseStream()', object 'stream' is not disposed along all exception paths. Call System.IDisposable.Dispose on object 'stream' before all references to it are out of scope.</Issue> |
525 |
</Message>
|
526 |
</Messages>
|
527 |
</Member>
|
528 |
</Members>
|
529 |
</Type>
|
530 |
</Types>
|
531 |
</Namespace>
|
532 |
<Namespace Name="Mono.Net"> |
533 |
<Types>
|
534 |
<Type Name="WebHeaderCollection" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
535 |
<Messages>
|
536 |
<Message TypeName="ComVisibleTypeBaseTypesShouldBeComVisible" Category="Microsoft.Interoperability" CheckId="CA1405" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
537 |
<Issue Certainty="90" Level="Error">'WebHeaderCollection' is marked ComVisible(true) but has the following ComVisible(false) types in its object hierarchy: 'NameValueCollection', 'NameObjectCollectionBase'</Issue> |
538 |
</Message>
|
539 |
</Messages>
|
540 |
</Type>
|
541 |
</Types>
|
542 |
</Namespace>
|
543 |
<Namespace Name="System.Compat.Web"> |
544 |
<Types>
|
545 |
<Type Name="HttpUtility" Kind="Class" Accessibility="Public" ExternallyVisible="True"> |
546 |
<Members>
|
547 |
<Member Name="#UrlDecode(System.Byte[],System.Int32,System.Int32,System.Text.Encoding)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True"> |
548 |
<Messages>
|
549 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
550 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net40\Hammock\Mono" File="HttpUtility.cs" Line="570">In method 'HttpUtility.UrlDecode(byte[], int, int, Encoding)', call System.IDisposable.Dispose on object 'acc' before all references to it are out of scope.</Issue> |
551 |
</Message>
|
552 |
</Messages>
|
553 |
</Member>
|
554 |
<Member Name="#UrlDecode(System.String,System.Text.Encoding)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True"> |
555 |
<Messages>
|
556 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
557 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net40\Hammock\Mono" File="HttpUtility.cs" Line="415">In method 'HttpUtility.UrlDecode(string, Encoding)', call System.IDisposable.Dispose on object 'bytes' before all references to it are out of scope.</Issue> |
558 |
</Message>
|
559 |
</Messages>
|
560 |
</Member>
|
561 |
<Member Name="#UrlDecodeToBytes(System.Byte[],System.Int32,System.Int32)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True"> |
562 |
<Messages>
|
563 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
564 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net40\Hammock\Mono" File="HttpUtility.cs" Line="672">In method 'HttpUtility.UrlDecodeToBytes(byte[], int, int)', call System.IDisposable.Dispose on object 'result' before all references to it are out of scope.</Issue> |
565 |
</Message>
|
566 |
</Messages>
|
567 |
</Member>
|
568 |
<Member Name="#UrlEncodeToBytes(System.Byte[],System.Int32,System.Int32)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True"> |
569 |
<Messages>
|
570 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
571 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net40\Hammock\Mono" File="HttpUtility.cs" Line="895">In method 'HttpUtility.UrlEncodeToBytes(byte[], int, int)', call System.IDisposable.Dispose on object 'result' before all references to it are out of scope.</Issue> |
572 |
</Message>
|
573 |
</Messages>
|
574 |
</Member>
|
575 |
<Member Name="#UrlEncodeUnicodeToBytes(System.String)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True"> |
576 |
<Messages>
|
577 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
578 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net40\Hammock\Mono" File="HttpUtility.cs" Line="928">In method 'HttpUtility.UrlEncodeUnicodeToBytes(string)', call System.IDisposable.Dispose on object 'result' before all references to it are out of scope.</Issue> |
579 |
</Message>
|
580 |
</Messages>
|
581 |
</Member>
|
582 |
<Member Name="#UrlPathEncode(System.String)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True"> |
583 |
<Messages>
|
584 |
<Message TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000" Status="Active" Created="2011-07-11 03:19:29Z" FixCategory="DependsOnFix"> |
585 |
<Issue Name="NonExceptionEdge" Certainty="75" Level="Warning" Path="L:\My Dropbox\_7_Source_Code\_1_Projects\hammock\src\net40\Hammock\Mono" File="HttpUtility.cs" Line="1177">In method 'HttpUtility.UrlPathEncode(string)', call System.IDisposable.Dispose on object 'result' before all references to it are out of scope.</Issue> |
586 |
</Message>
|
587 |
</Messages>
|
588 |
</Member>
|
589 |
</Members>
|
590 |
</Type>
|
591 |
</Types>
|
592 |
</Namespace>
|
593 |
</Namespaces>
|
594 |
</Module>
|
595 |
</Modules>
|
596 |
</Target>
|
597 |
</Targets>
|
598 |
<Rules>
|
599 |
<Rule TypeName="ComVisibleTypeBaseTypesShouldBeComVisible" Category="Microsoft.Interoperability" CheckId="CA1405"> |
600 |
<Name>COM visible type base types should be COM visible</Name> |
601 |
<Description>COM visible types should have an object hierarchy that is uniformly COM visible.</Description> |
602 |
<Resolution Name="Default">{0} is marked ComVisible(true) but has the following ComVisible(false) types in its object hierarchy: {1}</Resolution> |
603 |
<Owner /> |
604 |
<Url>http://msdn.microsoft.com/library/ms182202(VS.100).aspx</Url> |
605 |
<Email>[none]</Email> |
606 |
<MessageLevel Certainty="90">Error</MessageLevel> |
607 |
<File Name="interoperabilityrules.dll" Version="10.0.0.0" /> |
608 |
</Rule>
|
609 |
<Rule TypeName="DeclareEventHandlersCorrectly" Category="Microsoft.Design" CheckId="CA1009"> |
610 |
<Name>Declare event handlers correctly</Name> |
611 |
<Description>By convention, .NET events have two parameters that specify the event sender and event data. Event handler signatures should follow this form: void MyEventHandler(object sender, EventArgs e). The 'sender' parameter is always of type System.Object, even if it is possible to employ a more specific type. The 'e' parameter is always of type System.EventArgs. Events that do not provide event data should use the System.EventHandler delegate type. Event handlers return void so that they can send each event to multiple target methods. Any value returned by a target would be lost after the first call.</Description> |
612 |
<Resolution Name="First">Declare the first parameter of {0} as an object named 'sender'.</Resolution> |
613 |
<Resolution Name="Second">Declare the second parameter of {0} as an EventArgs, or an instance of a type that extends EventArgs, named 'e'.</Resolution> |
614 |
<Owner /> |
615 |
<Url>http://msdn.microsoft.com/library/ms182133(VS.100).aspx</Url> |
616 |
<Email>[none]</Email> |
617 |
<MessageLevel Certainty="95">Error</MessageLevel> |
618 |
<File Name="designrules.dll" Version="10.0.0.0" /> |
619 |
</Rule>
|
620 |
<Rule TypeName="DisposableFieldsShouldBeDisposed" Category="Microsoft.Usage" CheckId="CA2213"> |
621 |
<Name>Disposable fields should be disposed</Name> |
622 |
<Description>If a type that implements IDisposable owns fields that also implement IDisposable, the encapsulating type's Dispose() implementation should call Dispose() on each disposable field.</Description> |
623 |
<Resolution Name="Default">{0} contains field {1} that is of IDisposable type: {2}. Change the Dispose method on {0} to call Dispose or Close on this field.</Resolution> |
624 |
<Owner /> |
625 |
<Url>http://msdn.microsoft.com/library/ms182328(VS.100).aspx</Url> |
626 |
<Email>[none]</Email> |
627 |
<MessageLevel Certainty="75">Warning</MessageLevel> |
628 |
<File Name="usagerules.dll" Version="10.0.0.0" /> |
629 |
</Rule>
|
630 |
<Rule TypeName="Dispose objects before losing scope" Category="Microsoft.Reliability" CheckId="CA2000"> |
631 |
<Name>Dispose objects before losing scope</Name> |
632 |
<Description>If a disposable object is not explicitly disposed before all references to it are out of scope, the object will be disposed at some indeterminate time when the garbage collector runs the finalizer of the object. Because an exceptional event might occur that will prevent the finalizer of the object from running, the object should be explicitly disposed instead.</Description> |
633 |
<Resolution Name="ExceptionEdge">In method {0}, object {1} is not disposed along all exception paths. Call System.IDisposable.Dispose on object {1} before all references to it are out of scope.</Resolution> |
634 |
<Resolution Name="NonExceptionEdge">In method {0}, call System.IDisposable.Dispose on object {1} before all references to it are out of scope.</Resolution> |
635 |
<Owner>RuleOwner</Owner> |
636 |
<Url>http://msdn.microsoft.com/library/ms182289(VS.100).aspx</Url> |
637 |
<Email /> |
638 |
<MessageLevel Certainty="75">Warning</MessageLevel> |
639 |
<File Name="dataflowrules.dll" Version="10.0.0.0" /> |
640 |
</Rule>
|
641 |
<Rule TypeName="Do not dispose objects multiple times" Category="Microsoft.Usage" CheckId="CA2202"> |
642 |
<Name>Do not dispose objects multiple times</Name> |
643 |
<Description>A correctly implemented Dispose method can be called multiple times without throwing an exception. However, this is not guaranteed and to avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.</Description> |
644 |
<Resolution Name="Default">Object {0} can be disposed more than once in method {1}. To avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.: Lines: 58</Resolution> |
645 |
<Owner>RuleOwner</Owner> |
646 |
<Url>http://msdn.microsoft.com/library/ms182334(VS.100).aspx</Url> |
647 |
<Email /> |
648 |
<MessageLevel Certainty="75">Warning</MessageLevel> |
649 |
<File Name="dataflowrules.dll" Version="10.0.0.0" /> |
650 |
</Rule>
|
651 |
<Rule TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214"> |
652 |
<Name>Do not call overridable methods in constructors</Name> |
653 |
<Description>Virtual methods defined on the class should not be called from constructors. If a derived class has overridden the method, the derived class version will be called (before the derived class constructor is called).</Description> |
654 |
<Resolution Name="Default">{0} contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: {1}</Resolution> |
655 |
<Owner /> |
656 |
<Url>http://msdn.microsoft.com/library/ms182331(VS.100).aspx</Url> |
657 |
<Email>[none]</Email> |
658 |
<MessageLevel Certainty="95">CriticalWarning</MessageLevel> |
659 |
<File Name="usagerules.dll" Version="10.0.0.0" /> |
660 |
</Rule>
|
661 |
<Rule TypeName="ImplementIDisposableCorrectly" Category="Microsoft.Design" CheckId="CA1063"> |
662 |
<Name>Implement IDisposable correctly</Name> |
663 |
<Description>All IDisposable types should implement the Dispose pattern correctly.</Description> |
664 |
<Resolution Name="DisposeImplementation">Modify {0} so that it calls Dispose(true), then calls GC.SuppressFinalize on the current object instance ('this' or 'Me' in Visual Basic), and then returns.</Resolution> |
665 |
<Resolution Name="DisposeSignature">Ensure that {0} is declared as public and sealed.</Resolution> |
666 |
<Resolution Name="ProvideDisposeBool">Provide an overridable implementation of Dispose(bool) on {0} or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources.</Resolution> |
667 |
<Owner /> |
668 |
<Url>http://msdn.microsoft.com/library/ms244737(VS.100).aspx</Url> |
669 |
<Email>[none]</Email> |
670 |
<MessageLevel Certainty="95">Error</MessageLevel> |
671 |
<File Name="designrules.dll" Version="10.0.0.0" /> |
672 |
</Rule>
|
673 |
<Rule TypeName="MarkAllNonSerializableFields" Category="Microsoft.Usage" CheckId="CA2235"> |
674 |
<Name>Mark all non-serializable fields</Name> |
675 |
<Description>All fields that cannot be serialized directly should have the NonSerializedAttribute. Types that have the SerializableAttribute should not have fields of types that do not have the SerializableAttribute unless the fields are marked with the NonSerializedAttribute.</Description> |
676 |
<Resolution Name="Default">Field {0} is a member of type {1}, which is serializable, but is of type {2}, which is not serializable. Add the NonSerializedAttribute to {0}.</Resolution> |
677 |
<Owner /> |
678 |
<Url>http://msdn.microsoft.com/library/ms182349(VS.100).aspx</Url> |
679 |
<Email>[none]</Email> |
680 |
<MessageLevel Certainty="95">Error</MessageLevel> |
681 |
<File Name="usagerules.dll" Version="10.0.0.0" /> |
682 |
</Rule>
|
683 |
<Rule TypeName="MarkISerializableTypesWithSerializable" Category="Microsoft.Usage" CheckId="CA2237"> |
684 |
<Name>Mark ISerializable types with SerializableAttribute</Name> |
685 |
<Description>The System.Runtime.Serialization.ISerializable interface allows the type to customize its serialization, while the Serializable attribute enables the runtime to recognize the type as being serializable.</Description> |
686 |
<Resolution Name="Default">Add [Serializable] to {0} as this type implements ISerializable.</Resolution> |
687 |
<Owner /> |
688 |
<Url>http://msdn.microsoft.com/library/ms182350(VS.100).aspx</Url> |
689 |
<Email>[none]</Email> |
690 |
<MessageLevel Certainty="75">Warning</MessageLevel> |
691 |
<File Name="usagerules.dll" Version="10.0.0.0" /> |
692 |
</Rule>
|
693 |
</Rules>
|
694 |
<Localized>
|
695 |
<String Key="Category">Category</String> |
696 |
<String Key="Certainty">Certainty</String> |
697 |
<String Key="CollapseAll">Collapse All</String> |
698 |
<String Key="CheckId">Check Id</String> |
699 |
<String Key="Error">Error</String> |
700 |
<String Key="Errors">error(s)</String> |
701 |
<String Key="ExpandAll">Expand All</String> |
702 |
<String Key="Help">Help</String> |
703 |
<String Key="Line">Line</String> |
704 |
<String Key="Messages">message(s)</String> |
705 |
<String Key="LocationNotStoredInPdb">[Location not stored in Pdb]</String> |
706 |
<String Key="Project">Project</String> |
707 |
<String Key="Resolution">Resolution</String> |
708 |
<String Key="Rule">Rule</String> |
709 |
<String Key="RuleFile">Rule File</String> |
710 |
<String Key="RuleDescription">Rule Description</String> |
711 |
<String Key="Source">Source</String> |
712 |
<String Key="Status">Status</String> |
713 |
<String Key="Target">Target</String> |
714 |
<String Key="Warning">Warning</String> |
715 |
<String Key="Warnings">warning(s)</String> |
716 |
<String Key="ReportTitle">Code Analysis Report</String> |
717 |
</Localized>
|
718 |
</FxCopReport>
|