PaintDotNet.SystemLayer.dll.CodeAnalysisLog.xml 60 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <?xml-stylesheet type="text/xsl" href="c:\program files (x86)\microsoft visual studio\2019\community\team tools\static analysis tools\fxcop\Xml\CodeAnalysisReport.xsl"?>
  3. <FxCopReport Version="16.0">
  4. <Targets>
  5. <Target Name="E:\图形处理\最新版程序\winform210526\SystemLayer\bin\Release\PaintDotNet.SystemLayer.dll">
  6. <Modules>
  7. <Module Name="paintdotnet.systemlayer.dll">
  8. <Messages>
  9. <Message TypeName="MarkAssembliesWithNeutralResourcesLanguage" Category="Microsoft.Performance" CheckId="CA1824" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  10. <Issue Certainty="95" Level="Warning">由于程序集 'PaintDotNet.SystemLayer.dll' 包含基于 ResX 的资源文件,因此请使用 NeutralResourcesLanguage 特性来标记它,并指定该程序集内的资源所采用的语言。这会改进首次检索资源时的查找性能。</Issue>
  11. </Message>
  12. </Messages>
  13. <Namespaces>
  14. <Namespace Name="PaintDotNet.SystemLayer">
  15. <Types>
  16. <Type Name="FileSystem" Kind="Class" Accessibility="Public" ExternallyVisible="True">
  17. <Members>
  18. <Member Name="#WriteToStream(System.IO.FileStream,System.Void*,System.UInt32)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  19. <Messages>
  20. <Message Id="System.Runtime.InteropServices.SafeHandle.DangerousGetHandle" TypeName="AvoidCallingProblematicMethods" Category="Microsoft.Reliability" CheckId="CA2001" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  21. <Issue Name="System.Runtime.InteropServices.SafeHandle.DangerousGetHandle" Certainty="75" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="FileSystem.cs" Line="150">从 'FileSystem.WriteToStream(FileStream, void*, uint)' 中移除对 SafeHandle.DangerousGetHandle 的调用。</Issue>
  22. </Message>
  23. </Messages>
  24. </Member>
  25. <Member Name="#WriteToStreamingFileGather(System.IO.FileStream,System.Void*[],System.UInt32[])" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  26. <Messages>
  27. <Message Id="System.Runtime.InteropServices.SafeHandle.DangerousGetHandle" TypeName="AvoidCallingProblematicMethods" Category="Microsoft.Reliability" CheckId="CA2001" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  28. <Issue Name="System.Runtime.InteropServices.SafeHandle.DangerousGetHandle" Certainty="75" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="FileSystem.cs" Line="368">从 'FileSystem.WriteToStreamingFileGather(FileStream, void*[], uint[])' 中移除对 SafeHandle.DangerousGetHandle 的调用。</Issue>
  29. </Message>
  30. </Messages>
  31. </Member>
  32. </Members>
  33. </Type>
  34. <Type Name="FormEx" Kind="Class" Accessibility="Public" ExternallyVisible="True">
  35. <Members>
  36. <Member Name="#HandleParentWndProc(System.Windows.Forms.Message&amp;)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True">
  37. <Messages>
  38. <Message Id="m" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  39. <Issue Name="MemberParameterMoreMeaningfulName" Certainty="75" Level="CriticalWarning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="FormEx.cs" Line="124">在方法 'FormEx.HandleParentWndProc(ref Message)' 中,考虑将参数名称 'm' 改为一个更能体现其意义的名称。</Issue>
  40. </Message>
  41. </Messages>
  42. </Member>
  43. </Members>
  44. </Type>
  45. <Type Name="NativeConstants" Kind="Class" Accessibility="Assembly" ExternallyVisible="False">
  46. <Members>
  47. <Member Name="#BHID_Stream" Kind="Property" Static="True" Accessibility="Public" ExternallyVisible="False">
  48. <Accessors>
  49. <Accessor Name="#get_BHID_Stream()" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="False">
  50. <Messages>
  51. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  52. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="NativeConstants.cs" Line="100">'NativeConstants.BHID_Stream.get()' 似乎没有上游 public 或 protected 调用方。</Issue>
  53. </Message>
  54. </Messages>
  55. </Accessor>
  56. </Accessors>
  57. </Member>
  58. </Members>
  59. </Type>
  60. <Type Name="NativeMethods" Kind="Class" Accessibility="Assembly" ExternallyVisible="False">
  61. <Members>
  62. <Member Name="#CloseClipboard()" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="False">
  63. <Messages>
  64. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  65. <Issue Certainty="75" Level="Warning">'NativeMethods.CloseClipboard()' 似乎没有上游 public 或 protected 调用方。</Issue>
  66. </Message>
  67. </Messages>
  68. </Member>
  69. <Member Name="#EnumWindows(PaintDotNet.SystemLayer.NativeDelegates+EnumWindowsProc,System.IntPtr)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="False">
  70. <Messages>
  71. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  72. <Issue Certainty="75" Level="Warning">'NativeMethods.EnumWindows(NativeDelegates.EnumWindowsProc, IntPtr)' 似乎没有上游 public 或 protected 调用方。</Issue>
  73. </Message>
  74. </Messages>
  75. </Member>
  76. <Member Name="#GetClipboardData(System.UInt32)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="False">
  77. <Messages>
  78. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  79. <Issue Certainty="75" Level="Warning">'NativeMethods.GetClipboardData(uint)' 似乎没有上游 public 或 protected 调用方。</Issue>
  80. </Message>
  81. </Messages>
  82. </Member>
  83. <Member Name="#IsClipboardFormatAvailable(System.UInt32)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="False">
  84. <Messages>
  85. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  86. <Issue Certainty="75" Level="Warning">'NativeMethods.IsClipboardFormatAvailable(uint)' 似乎没有上游 public 或 protected 调用方。</Issue>
  87. </Message>
  88. </Messages>
  89. </Member>
  90. <Member Name="#OpenClipboard(System.IntPtr)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="False">
  91. <Messages>
  92. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  93. <Issue Certainty="75" Level="Warning">'NativeMethods.OpenClipboard(IntPtr)' 似乎没有上游 public 或 protected 调用方。</Issue>
  94. </Message>
  95. </Messages>
  96. </Member>
  97. <Member Name="#SHCreateItemFromParsingName(System.String,System.IntPtr,System.Guid&amp;,System.IntPtr&amp;)" Kind="Method" Static="True" Accessibility="Assembly" ExternallyVisible="False">
  98. <Messages>
  99. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  100. <Issue Certainty="75" Level="Warning">'NativeMethods.SHCreateItemFromParsingName(string, IntPtr, ref Guid, out IntPtr)' 似乎没有上游 public 或 protected 调用方。</Issue>
  101. </Message>
  102. </Messages>
  103. </Member>
  104. <Member Name="#SUCCEEDED(System.Int32)" Kind="Method" Static="True" Accessibility="Assembly" ExternallyVisible="False">
  105. <Messages>
  106. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  107. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="NativeMethods.cs" Line="12">'NativeMethods.SUCCEEDED(int)' 似乎没有上游 public 或 protected 调用方。</Issue>
  108. </Message>
  109. </Messages>
  110. </Member>
  111. <Member Name="#WaitForInputIdle(System.IntPtr,System.UInt32)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="False">
  112. <Messages>
  113. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  114. <Issue Certainty="75" Level="Warning">'NativeMethods.WaitForInputIdle(IntPtr, uint)' 似乎没有上游 public 或 protected 调用方。</Issue>
  115. </Message>
  116. </Messages>
  117. </Member>
  118. </Members>
  119. </Type>
  120. <Type Name="PdnGraphics" Kind="Class" Accessibility="Public" ExternallyVisible="True">
  121. <Members>
  122. <Member Name="#DrawPolyLine(System.Drawing.Graphics,System.Drawing.Color,System.Drawing.Point[])" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  123. <Messages>
  124. <Message Id="g" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  125. <Issue Name="MemberParameterMoreMeaningfulName" Certainty="75" Level="CriticalWarning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="PdnGraphics.cs" Line="308">在方法 'PdnGraphics.DrawPolyLine(Graphics, Color, Point[])' 中,考虑将参数名称 'g' 改为一个更能体现其意义的名称。</Issue>
  126. </Message>
  127. </Messages>
  128. </Member>
  129. <Member Name="#FillRectangles(System.Drawing.Graphics,System.Drawing.Color,System.Drawing.Rectangle[])" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  130. <Messages>
  131. <Message Id="g" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  132. <Issue Name="MemberParameterMoreMeaningfulName" Certainty="75" Level="CriticalWarning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="PdnGraphics.cs" Line="400">在方法 'PdnGraphics.FillRectangles(Graphics, Color, Rectangle[])' 中,考虑将参数名称 'g' 改为一个更能体现其意义的名称。</Issue>
  133. </Message>
  134. </Messages>
  135. </Member>
  136. </Members>
  137. </Type>
  138. <Type Name="PropertyItem2" Kind="Class" Accessibility="Assembly" ExternallyVisible="False">
  139. <Members>
  140. <Member Name="#GetProperty(System.String,System.String)" Kind="Method" Static="True" Accessibility="Private" ExternallyVisible="False">
  141. <Messages>
  142. <Message Id="System.String.IndexOf(System.String)" TypeName="SpecifyStringComparison" Category="Microsoft.Globalization" CheckId="CA1307" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  143. <Issue Certainty="95" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="PropertyItem2.cs" Line="115">由于 'string.IndexOf(string)' 的行为可能会因当前用户的区域设置不同而不同,请将 'PropertyItem2.GetProperty(string, string)' 中的此调用替换为对 'string.IndexOf(string, StringComparison)' 的调用。如果要向用户显示 'string.IndexOf(string, StringComparison)' 的结果(例如,在对一个项列表进行排序以便在列表框中显示时),请指定“StringComparison.CurrentCulture”或“StringComparison.CurrentCultureIgnoreCase”作为“StringComparison”参数。如果比较不区分大小写的标识符(例如,文件路径、环境变量或注册表项和值),则指定“StringComparison.OrdinalIgnoreCase”。或者,如果比较区分大小写的标识符,则指定“StringComparison.Ordinal”。</Issue>
  144. </Message>
  145. <Message Id="System.String.IndexOf(System.String,System.Int32)" TypeName="SpecifyStringComparison" Category="Microsoft.Globalization" CheckId="CA1307" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  146. <Issue Certainty="95" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="PropertyItem2.cs" Line="116">由于 'string.IndexOf(string, int)' 的行为可能会因当前用户的区域设置不同而不同,请将 'PropertyItem2.GetProperty(string, string)' 中的此调用替换为对 'string.IndexOf(string, int, StringComparison)' 的调用。如果要向用户显示 'string.IndexOf(string, int, StringComparison)' 的结果(例如,在对一个项列表进行排序以便在列表框中显示时),请指定“StringComparison.CurrentCulture”或“StringComparison.CurrentCultureIgnoreCase”作为“StringComparison”参数。如果比较不区分大小写的标识符(例如,文件路径、环境变量或注册表项和值),则指定“StringComparison.OrdinalIgnoreCase”。或者,如果比较区分大小写的标识符,则指定“StringComparison.Ordinal”。</Issue>
  147. </Message>
  148. </Messages>
  149. </Member>
  150. </Members>
  151. </Type>
  152. <Type Name="RealParentWndProcDelegate" Kind="Delegate" Accessibility="Public" ExternallyVisible="True">
  153. <Messages>
  154. <Message Id="m" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  155. <Issue Name="DelegateParameterMoreMeaningfulName" Certainty="75" Level="CriticalWarning">在委托 'RealParentWndProcDelegate' 中,考虑将参数名称 'm' 改为一个更能体现其意义的名称。</Issue>
  156. </Message>
  157. </Messages>
  158. </Type>
  159. <Type Name="SafeNativeMethods" Kind="Class" Accessibility="Public" ExternallyVisible="True">
  160. <Members>
  161. <Member Name="#BitBlt(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.Int32,System.Int32,System.Int32)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  162. <Messages>
  163. <Message TypeName="PInvokesShouldNotBeVisible" Category="Microsoft.Interoperability" CheckId="CA1401" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  164. <Issue Certainty="50" Level="CriticalError">更改 P/Invoke 'SafeNativeMethods.BitBlt(IntPtr, int, int, int, int, IntPtr, int, int, int)' 的可访问性,使它在自己的程序集外部不再是可见的。</Issue>
  165. </Message>
  166. </Messages>
  167. </Member>
  168. <Member Name="#CreateCompatibleBitmap(System.IntPtr,System.Int32,System.Int32)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  169. <Messages>
  170. <Message TypeName="PInvokesShouldNotBeVisible" Category="Microsoft.Interoperability" CheckId="CA1401" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  171. <Issue Certainty="50" Level="CriticalError">更改 P/Invoke 'SafeNativeMethods.CreateCompatibleBitmap(IntPtr, int, int)' 的可访问性,使它在自己的程序集外部不再是可见的。</Issue>
  172. </Message>
  173. </Messages>
  174. </Member>
  175. <Member Name="#CreateCompatibleDC(System.IntPtr)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  176. <Messages>
  177. <Message TypeName="PInvokesShouldNotBeVisible" Category="Microsoft.Interoperability" CheckId="CA1401" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  178. <Issue Certainty="50" Level="CriticalError">更改 P/Invoke 'SafeNativeMethods.CreateCompatibleDC(IntPtr)' 的可访问性,使它在自己的程序集外部不再是可见的。</Issue>
  179. </Message>
  180. </Messages>
  181. </Member>
  182. <Member Name="#CreateFontW(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.String)" Kind="Method" Static="True" Accessibility="Assembly" ExternallyVisible="False">
  183. <Messages>
  184. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  185. <Issue Certainty="75" Level="Warning">'SafeNativeMethods.CreateFontW(int, int, int, int, int, uint, uint, uint, uint, uint, uint, uint, uint, string)' 似乎没有上游 public 或 protected 调用方。</Issue>
  186. </Message>
  187. </Messages>
  188. </Member>
  189. <Member Name="#DeleteDC(System.IntPtr)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  190. <Messages>
  191. <Message TypeName="PInvokesShouldNotBeVisible" Category="Microsoft.Interoperability" CheckId="CA1401" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  192. <Issue Certainty="50" Level="CriticalError">更改 P/Invoke 'SafeNativeMethods.DeleteDC(IntPtr)' 的可访问性,使它在自己的程序集外部不再是可见的。</Issue>
  193. </Message>
  194. </Messages>
  195. </Member>
  196. <Member Name="#DeleteObject(System.IntPtr)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  197. <Messages>
  198. <Message TypeName="PInvokesShouldNotBeVisible" Category="Microsoft.Interoperability" CheckId="CA1401" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  199. <Issue Certainty="50" Level="CriticalError">更改 P/Invoke 'SafeNativeMethods.DeleteObject(IntPtr)' 的可访问性,使它在自己的程序集外部不再是可见的。</Issue>
  200. </Message>
  201. </Messages>
  202. </Member>
  203. <Member Name="#DrawTextW(System.IntPtr,System.String,System.Int32,PaintDotNet.SystemLayer.NativeStructs+RECT&amp;,System.UInt32)" Kind="Method" Static="True" Accessibility="Assembly" ExternallyVisible="False">
  204. <Messages>
  205. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  206. <Issue Certainty="75" Level="Warning">'SafeNativeMethods.DrawTextW(IntPtr, string, int, ref NativeStructs.RECT, uint)' 似乎没有上游 public 或 protected 调用方。</Issue>
  207. </Message>
  208. </Messages>
  209. </Member>
  210. <Member Name="#GetCurrentThread()" Kind="Method" Static="True" Accessibility="Assembly" ExternallyVisible="False">
  211. <Messages>
  212. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  213. <Issue Certainty="75" Level="Warning">'SafeNativeMethods.GetCurrentThread()' 似乎没有上游 public 或 protected 调用方。</Issue>
  214. </Message>
  215. </Messages>
  216. </Member>
  217. <Member Name="#GetDesktopWindow()" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  218. <Messages>
  219. <Message TypeName="PInvokesShouldNotBeVisible" Category="Microsoft.Interoperability" CheckId="CA1401" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  220. <Issue Certainty="50" Level="CriticalError">更改 P/Invoke 'SafeNativeMethods.GetDesktopWindow()' 的可访问性,使它在自己的程序集外部不再是可见的。</Issue>
  221. </Message>
  222. </Messages>
  223. </Member>
  224. <Member Name="#GetWindowDC(System.IntPtr)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  225. <Messages>
  226. <Message TypeName="PInvokesShouldNotBeVisible" Category="Microsoft.Interoperability" CheckId="CA1401" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  227. <Issue Certainty="50" Level="CriticalError">更改 P/Invoke 'SafeNativeMethods.GetWindowDC(IntPtr)' 的可访问性,使它在自己的程序集外部不再是可见的。</Issue>
  228. </Message>
  229. </Messages>
  230. </Member>
  231. <Member Name="#GetWindowRect(System.IntPtr,PaintDotNet.SystemLayer.SafeNativeMethods+RECT&amp;)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  232. <Messages>
  233. <Message Id="return" TypeName="PInvokeDeclarationsShouldBePortable" Category="Microsoft.Portability" CheckId="CA1901" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  234. <Issue Name="Return" Certainty="95" Level="Error">如代码中所声明的,P/Invoke 'SafeNativeMethods.GetWindowRect(IntPtr, ref SafeNativeMethods.RECT)' 的返回类型在 64 位 平台上的字节宽度将为 8。这是不正确的,因为此 API 的实际本机声明表明该返回类型在 64 位 平台上的字节宽度应为 4。请参考 MSDN Platform SDK 文档来获取帮助,确定应使用哪种数据类型来代替 'IntPtr'。</Issue>
  235. </Message>
  236. <Message TypeName="PInvokesShouldNotBeVisible" Category="Microsoft.Interoperability" CheckId="CA1401" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  237. <Issue Certainty="50" Level="CriticalError">更改 P/Invoke 'SafeNativeMethods.GetWindowRect(IntPtr, ref SafeNativeMethods.RECT)' 的可访问性,使它在自己的程序集外部不再是可见的。</Issue>
  238. </Message>
  239. </Messages>
  240. </Member>
  241. <Member Name="#GlobalFree(System.IntPtr)" Kind="Method" Static="True" Accessibility="Assembly" ExternallyVisible="False">
  242. <Messages>
  243. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  244. <Issue Certainty="75" Level="Warning">'SafeNativeMethods.GlobalFree(IntPtr)' 似乎没有上游 public 或 protected 调用方。</Issue>
  245. </Message>
  246. </Messages>
  247. </Member>
  248. <Member Name="#ReleaseDC(System.IntPtr,System.IntPtr)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  249. <Messages>
  250. <Message Id="return" TypeName="PInvokeDeclarationsShouldBePortable" Category="Microsoft.Portability" CheckId="CA1901" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  251. <Issue Name="Return" Certainty="95" Level="Error">如代码中所声明的,P/Invoke 'SafeNativeMethods.ReleaseDC(IntPtr, IntPtr)' 的返回类型在 64 位 平台上的字节宽度将为 8。这是不正确的,因为此 API 的实际本机声明表明该返回类型在 64 位 平台上的字节宽度应为 4。请参考 MSDN Platform SDK 文档来获取帮助,确定应使用哪种数据类型来代替 'IntPtr'。</Issue>
  252. </Message>
  253. <Message TypeName="PInvokesShouldNotBeVisible" Category="Microsoft.Interoperability" CheckId="CA1401" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  254. <Issue Certainty="50" Level="CriticalError">更改 P/Invoke 'SafeNativeMethods.ReleaseDC(IntPtr, IntPtr)' 的可访问性,使它在自己的程序集外部不再是可见的。</Issue>
  255. </Message>
  256. </Messages>
  257. </Member>
  258. <Member Name="#SelectObject(System.IntPtr,System.IntPtr)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  259. <Messages>
  260. <Message TypeName="PInvokesShouldNotBeVisible" Category="Microsoft.Interoperability" CheckId="CA1401" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  261. <Issue Certainty="50" Level="CriticalError">更改 P/Invoke 'SafeNativeMethods.SelectObject(IntPtr, IntPtr)' 的可访问性,使它在自己的程序集外部不再是可见的。</Issue>
  262. </Message>
  263. </Messages>
  264. </Member>
  265. <Member Name="#SendMessage(System.IntPtr,System.Int32,System.Int32,System.String)" Kind="Method" Static="True" Accessibility="Private" ExternallyVisible="False">
  266. <Messages>
  267. <Message Id="2" TypeName="PInvokeDeclarationsShouldBePortable" Category="Microsoft.Portability" CheckId="CA1901" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  268. <Issue Name="Parameter" Certainty="95" Level="Error">如代码中所声明的,P/Invoke 'SafeNativeMethods.SendMessage(IntPtr, int, int, string)' 的参数 'wParam' 在 64 位 平台上的字节宽度将为 4。这是不正确的,因为此 API 的实际本机声明表明该参数在 64 位 平台上的字节宽度应为 8。请参考 MSDN Platform SDK 文档来获取帮助,确定应使用哪种数据类型来代替 'int'。</Issue>
  269. </Message>
  270. <Message Id="return" TypeName="PInvokeDeclarationsShouldBePortable" Category="Microsoft.Portability" CheckId="CA1901" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  271. <Issue Name="Return" Certainty="95" Level="Error">如代码中所声明的,P/Invoke 'SafeNativeMethods.SendMessage(IntPtr, int, int, string)' 的返回类型在 64 位 平台上的字节宽度将为 4。这是不正确的,因为此 API 的实际本机声明表明该返回类型在 64 位 平台上的字节宽度应为 8。请参考 MSDN Platform SDK 文档来获取帮助,确定应使用哪种数据类型来代替 'int'。</Issue>
  272. </Message>
  273. </Messages>
  274. </Member>
  275. <Member Name="#SendMessage(System.IntPtr,System.Int32,System.Int32,System.Text.StringBuilder)" Kind="Method" Static="True" Accessibility="Private" ExternallyVisible="False">
  276. <Messages>
  277. <Message Id="2" TypeName="PInvokeDeclarationsShouldBePortable" Category="Microsoft.Portability" CheckId="CA1901" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  278. <Issue Name="Parameter" Certainty="95" Level="Error">如代码中所声明的,P/Invoke 'SafeNativeMethods.SendMessage(IntPtr, int, int, StringBuilder)' 的参数 'wParam' 在 64 位 平台上的字节宽度将为 4。这是不正确的,因为此 API 的实际本机声明表明该参数在 64 位 平台上的字节宽度应为 8。请参考 MSDN Platform SDK 文档来获取帮助,确定应使用哪种数据类型来代替 'int'。</Issue>
  279. </Message>
  280. <Message Id="return" TypeName="PInvokeDeclarationsShouldBePortable" Category="Microsoft.Portability" CheckId="CA1901" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  281. <Issue Name="Return" Certainty="95" Level="Error">如代码中所声明的,P/Invoke 'SafeNativeMethods.SendMessage(IntPtr, int, int, StringBuilder)' 的返回类型在 64 位 平台上的字节宽度将为 4。这是不正确的,因为此 API 的实际本机声明表明该返回类型在 64 位 平台上的字节宽度应为 8。请参考 MSDN Platform SDK 文档来获取帮助,确定应使用哪种数据类型来代替 'bool'。</Issue>
  282. </Message>
  283. </Messages>
  284. </Member>
  285. <Member Name="#SetThreadPriority(System.IntPtr,System.Int32)" Kind="Method" Static="True" Accessibility="Assembly" ExternallyVisible="False">
  286. <Messages>
  287. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  288. <Issue Certainty="75" Level="Warning">'SafeNativeMethods.SetThreadPriority(IntPtr, int)' 似乎没有上游 public 或 protected 调用方。</Issue>
  289. </Message>
  290. </Messages>
  291. </Member>
  292. <Member Name="#StretchBlt(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32)" Kind="Method" Static="True" Accessibility="Assembly" ExternallyVisible="False">
  293. <Messages>
  294. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  295. <Issue Certainty="75" Level="Warning">'SafeNativeMethods.StretchBlt(IntPtr, int, int, int, int, IntPtr, int, int, int, int, uint)' 似乎没有上游 public 或 protected 调用方。</Issue>
  296. </Message>
  297. </Messages>
  298. </Member>
  299. <Member Name="#WinHttpGetIEProxyConfigForCurrentUser(PaintDotNet.SystemLayer.NativeStructs+WINHTTP_CURRENT_USER_IE_PROXY_CONFIG&amp;)" Kind="Method" Static="True" Accessibility="Assembly" ExternallyVisible="False">
  300. <Messages>
  301. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  302. <Issue Certainty="75" Level="Warning">'SafeNativeMethods.WinHttpGetIEProxyConfigForCurrentUser(ref NativeStructs.WINHTTP_CURRENT_USER_IE_PROXY_CONFIG)' 似乎没有上游 public 或 protected 调用方。</Issue>
  303. </Message>
  304. </Messages>
  305. </Member>
  306. </Members>
  307. </Type>
  308. <Type Name="SingleInstanceManager" Kind="Class" Accessibility="Public" ExternallyVisible="True">
  309. <Members>
  310. <Member Name="#FilterMessage(System.Windows.Forms.Message&amp;)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True">
  311. <Messages>
  312. <Message Id="m" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  313. <Issue Name="MemberParameterMoreMeaningfulName" Certainty="75" Level="CriticalWarning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="SingleInstaceManager.cs" Line="193">在方法 'SingleInstanceManager.FilterMessage(ref Message)' 中,考虑将参数名称 'm' 改为一个更能体现其意义的名称。</Issue>
  314. </Message>
  315. </Messages>
  316. </Member>
  317. </Members>
  318. </Type>
  319. <Type Name="ToolStripEx" Kind="Class" Accessibility="Public" ExternallyVisible="True">
  320. <Members>
  321. <Member Name="#TextBox_Leave(System.Object,System.EventArgs)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False">
  322. <Messages>
  323. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  324. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="ToolStripEx.cs" Line="167">'ToolStripEx.TextBox_Leave(object, EventArgs)' 似乎没有上游 public 或 protected 调用方。</Issue>
  325. </Message>
  326. </Messages>
  327. </Member>
  328. </Members>
  329. </Type>
  330. <Type Name="Tracing" Kind="Class" Accessibility="Public" ExternallyVisible="True">
  331. <Members>
  332. <Member Name="#WriteLine(System.String)" Kind="Method" Static="True" Accessibility="Private" ExternallyVisible="False">
  333. <Messages>
  334. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  335. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="Tracing.cs" Line="21">'Tracing.WriteLine(string)' 似乎没有上游 public 或 protected 调用方。</Issue>
  336. </Message>
  337. </Messages>
  338. </Member>
  339. </Members>
  340. </Type>
  341. <Type Name="UI" Kind="Class" Accessibility="Public" ExternallyVisible="True">
  342. <Members>
  343. <Member Name="#DetermineVisualStyleClassImpl()" Kind="Method" Static="True" Accessibility="Private" ExternallyVisible="False">
  344. <Messages>
  345. <Message Id="System.String.Compare(System.String,System.String,System.StringComparison)" TypeName="UseOrdinalStringComparison" Category="Microsoft.Globalization" CheckId="CA1309" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  346. <Issue Name="StringComparison" Certainty="75" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="UI.cs" Line="539">'UI.DetermineVisualStyleClassImpl()' 将“StringComparison.InvariantCulture”作为“StringComparison”参数传递给 'string.Compare(string, string, StringComparison)'。若要执行非语义比较,请改为指定“StringComparison.Ordinal”或“StringComparison.OrdinalIgnoreCase”。</Issue>
  347. <Issue Name="StringComparison" Certainty="75" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="UI.cs" Line="539">'UI.DetermineVisualStyleClassImpl()' 将“StringComparison.InvariantCulture”作为“StringComparison”参数传递给 'string.Compare(string, string, StringComparison)'。若要执行非语义比较,请改为指定“StringComparison.Ordinal”或“StringComparison.OrdinalIgnoreCase”。</Issue>
  348. <Issue Name="StringComparison" Certainty="75" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="UI.cs" Line="544">'UI.DetermineVisualStyleClassImpl()' 将“StringComparison.InvariantCulture”作为“StringComparison”参数传递给 'string.Compare(string, string, StringComparison)'。若要执行非语义比较,请改为指定“StringComparison.Ordinal”或“StringComparison.OrdinalIgnoreCase”。</Issue>
  349. <Issue Name="StringComparison" Certainty="75" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="UI.cs" Line="544">'UI.DetermineVisualStyleClassImpl()' 将“StringComparison.InvariantCulture”作为“StringComparison”参数传递给 'string.Compare(string, string, StringComparison)'。若要执行非语义比较,请改为指定“StringComparison.Ordinal”或“StringComparison.OrdinalIgnoreCase”。</Issue>
  350. <Issue Name="StringComparison" Certainty="75" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="UI.cs" Line="547">'UI.DetermineVisualStyleClassImpl()' 将“StringComparison.InvariantCulture”作为“StringComparison”参数传递给 'string.Compare(string, string, StringComparison)'。若要执行非语义比较,请改为指定“StringComparison.Ordinal”或“StringComparison.OrdinalIgnoreCase”。</Issue>
  351. <Issue Name="StringComparison" Certainty="75" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="UI.cs" Line="547">'UI.DetermineVisualStyleClassImpl()' 将“StringComparison.InvariantCulture”作为“StringComparison”参数传递给 'string.Compare(string, string, StringComparison)'。若要执行非语义比较,请改为指定“StringComparison.Ordinal”或“StringComparison.OrdinalIgnoreCase”。</Issue>
  352. <Issue Name="StringComparison" Certainty="75" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="UI.cs" Line="547">'UI.DetermineVisualStyleClassImpl()' 将“StringComparison.InvariantCulture”作为“StringComparison”参数传递给 'string.Compare(string, string, StringComparison)'。若要执行非语义比较,请改为指定“StringComparison.Ordinal”或“StringComparison.OrdinalIgnoreCase”。</Issue>
  353. </Message>
  354. </Messages>
  355. </Member>
  356. <Member Name="#DrawCommandButton(System.Drawing.Graphics,System.Windows.Forms.VisualStyles.PushButtonState,System.Drawing.Rectangle,System.Drawing.Color,System.Windows.Forms.Control)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  357. <Messages>
  358. <Message Id="g" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  359. <Issue Name="MemberParameterMoreMeaningfulName" Certainty="75" Level="CriticalWarning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="UI.cs" Line="164">在方法 'UI.DrawCommandButton(Graphics, PushButtonState, Rectangle, Color, Control)' 中,考虑将参数名称 'g' 改为一个更能体现其意义的名称。</Issue>
  360. </Message>
  361. </Messages>
  362. </Member>
  363. <Member Name="#InitScaling(System.Windows.Forms.Control)" Kind="Method" Static="True" Accessibility="Public" ExternallyVisible="True">
  364. <Messages>
  365. <Message Id="c" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="Breaking">
  366. <Issue Name="MemberParameterMoreMeaningfulName" Certainty="75" Level="CriticalWarning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="UI.cs" Line="99">在方法 'UI.InitScaling(Control)' 中,考虑将参数名称 'c' 改为一个更能体现其意义的名称。</Issue>
  367. </Message>
  368. </Messages>
  369. </Member>
  370. </Members>
  371. </Type>
  372. <Type Name="WaitHandleArray" Kind="Class" Accessibility="Public" ExternallyVisible="True">
  373. <Members>
  374. <Member Name="#Item[System.Int32]" Kind="Property" Static="False" Accessibility="Public" ExternallyVisible="True">
  375. <Accessors>
  376. <Accessor Name="#set_Item(System.Int32,System.Threading.WaitHandle)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True">
  377. <Messages>
  378. <Message Id="System.Runtime.InteropServices.SafeHandle.DangerousGetHandle" TypeName="AvoidCallingProblematicMethods" Category="Microsoft.Reliability" CheckId="CA2001" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  379. <Issue Name="System.Runtime.InteropServices.SafeHandle.DangerousGetHandle" Certainty="75" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer" File="WaitHandleArray.cs" Line="43">从 'WaitHandleArray.this.set(int, WaitHandle)' 中移除对 SafeHandle.DangerousGetHandle 的调用。</Issue>
  380. </Message>
  381. </Messages>
  382. </Accessor>
  383. </Accessors>
  384. </Member>
  385. </Members>
  386. </Type>
  387. </Types>
  388. </Namespace>
  389. <Namespace Name="PaintDotNet.SystemLayer.FileDlgExtenders.FileDialogExtenders">
  390. <Types>
  391. <Type Name="FileDialogControlBase+WholeDialogWrapper" Kind="Class" Accessibility="Private" ExternallyVisible="False">
  392. <Members>
  393. <Member Name="#FileDialogEnumWindowCallBack(System.IntPtr,System.Int32)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False">
  394. <Messages>
  395. <Message Id="System.String.StartsWith(System.String)" TypeName="SpecifyStringComparison" Category="Microsoft.Globalization" CheckId="CA1307" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  396. <Issue Certainty="95" Level="Error" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\FileDlgExtenders" File="HelperTypes.cs" Line="302">由于 'string.StartsWith(string)' 的行为可能会因当前用户的区域设置不同而不同,请将 'FileDialogControlBase.WholeDialogWrapper.FileDialogEnumWindowCallBack(IntPtr, int)' 中的此调用替换为对 'string.StartsWith(string, StringComparison)' 的调用。如果要向用户显示 'string.StartsWith(string, StringComparison)' 的结果(例如,在对一个项列表进行排序以便在列表框中显示时),请指定“StringComparison.CurrentCulture”或“StringComparison.CurrentCultureIgnoreCase”作为“StringComparison”参数。如果比较不区分大小写的标识符(例如,文件路径、环境变量或注册表项和值),则指定“StringComparison.OrdinalIgnoreCase”。或者,如果比较区分大小写的标识符,则指定“StringComparison.Ordinal”。</Issue>
  397. </Message>
  398. </Messages>
  399. </Member>
  400. </Members>
  401. </Type>
  402. <Type Name="FileDialogPlaces" Kind="Class" Accessibility="Public" ExternallyVisible="True">
  403. <Members>
  404. <Member Name="#m_places" Kind="Field" Static="True" Accessibility="Private" ExternallyVisible="False">
  405. <Messages>
  406. <Message TypeName="ReviewMisleadingFieldNames" Category="Microsoft.Maintainability" CheckId="CA1504" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  407. <Issue Name="Static" Certainty="95" Level="Warning">从字段名 'FileDialogPlaces.m_places' 可看出该字段是实例数据,但它被声明为 Static (在 Visual Basic 中为 Shared)。请检查此成员,验证它是否应为静态数据,或者考虑更改字段名。</Issue>
  408. </Message>
  409. </Messages>
  410. </Member>
  411. </Members>
  412. </Type>
  413. </Types>
  414. </Namespace>
  415. <Namespace Name="PaintDotNet.SystemLayer.FileDlgExtenders.Win32Types">
  416. <Types>
  417. <Type Name="NativeMethods" Kind="Class" Accessibility="Assembly" ExternallyVisible="False">
  418. <Members>
  419. <Member Name="#SetDlgItemText(System.IntPtr,System.Int32,System.String)" Kind="Method" Static="True" Accessibility="Assembly" ExternallyVisible="False">
  420. <Messages>
  421. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  422. <Issue Certainty="75" Level="Warning">'NativeMethods.SetDlgItemText(IntPtr, int, string)' 似乎没有上游 public 或 protected 调用方。</Issue>
  423. </Message>
  424. </Messages>
  425. </Member>
  426. </Members>
  427. </Type>
  428. <Type Name="POINT" Kind="Struct" Accessibility="Assembly" ExternallyVisible="False">
  429. <Members>
  430. <Member Name="#.ctor(System.Drawing.Point)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="False">
  431. <Messages>
  432. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  433. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\FileDlgExtenders" File="structs.cs" Line="46">'POINT.POINT(Point)' 似乎没有上游 public 或 protected 调用方。</Issue>
  434. </Message>
  435. </Messages>
  436. </Member>
  437. <Member Name="#.ctor(System.Int32,System.Int32)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="False">
  438. <Messages>
  439. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  440. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\FileDlgExtenders" File="structs.cs" Line="40">'POINT.POINT(int, int)' 似乎没有上游 public 或 protected 调用方。</Issue>
  441. </Message>
  442. </Messages>
  443. </Member>
  444. </Members>
  445. </Type>
  446. <Type Name="RECT" Kind="Struct" Accessibility="Assembly" ExternallyVisible="False">
  447. <Members>
  448. <Member Name="#Height" Kind="Property" Static="False" Accessibility="Assembly" ExternallyVisible="False">
  449. <Accessors>
  450. <Accessor Name="#set_Height(System.UInt32)" Kind="Method" Static="False" Accessibility="Assembly" ExternallyVisible="False">
  451. <Messages>
  452. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  453. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\FileDlgExtenders" File="structs.cs" Line="86">'RECT.Height.set(uint)' 似乎没有上游 public 或 protected 调用方。</Issue>
  454. </Message>
  455. </Messages>
  456. </Accessor>
  457. </Accessors>
  458. </Member>
  459. <Member Name="#Location" Kind="Property" Static="False" Accessibility="Public" ExternallyVisible="False">
  460. <Accessors>
  461. <Accessor Name="#get_Location()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="False">
  462. <Messages>
  463. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  464. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\FileDlgExtenders" File="structs.cs" Line="67">'RECT.Location.get()' 似乎没有上游 public 或 protected 调用方。</Issue>
  465. </Message>
  466. </Messages>
  467. </Accessor>
  468. <Accessor Name="#set_Location(PaintDotNet.SystemLayer.FileDlgExtenders.Win32Types.POINT)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="False">
  469. <Messages>
  470. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  471. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\FileDlgExtenders" File="structs.cs" Line="70">'RECT.Location.set(POINT)' 似乎没有上游 public 或 protected 调用方。</Issue>
  472. </Message>
  473. </Messages>
  474. </Accessor>
  475. </Accessors>
  476. </Member>
  477. <Member Name="#Width" Kind="Property" Static="False" Accessibility="Assembly" ExternallyVisible="False">
  478. <Accessors>
  479. <Accessor Name="#set_Width(System.UInt32)" Kind="Method" Static="False" Accessibility="Assembly" ExternallyVisible="False">
  480. <Messages>
  481. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  482. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\FileDlgExtenders" File="structs.cs" Line="80">'RECT.Width.set(uint)' 似乎没有上游 public 或 protected 调用方。</Issue>
  483. </Message>
  484. </Messages>
  485. </Accessor>
  486. </Accessors>
  487. </Member>
  488. </Members>
  489. </Type>
  490. </Types>
  491. </Namespace>
  492. <Namespace Name="PaintDotNet.SystemLayer.GpcWrapper">
  493. <Types>
  494. <Type Name="Polygon" Kind="Class" Accessibility="Assembly" ExternallyVisible="False">
  495. <Members>
  496. <Member Name="#Clip(System.Drawing.Drawing2D.CombineMode,PaintDotNet.SystemLayer.GpcWrapper.Polygon)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="False">
  497. <Messages>
  498. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  499. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\GpcWrapper" File="Polygon.cs" Line="84">'Polygon.Clip(CombineMode, Polygon)' 似乎没有上游 public 或 protected 调用方。</Issue>
  500. </Message>
  501. </Messages>
  502. </Member>
  503. </Members>
  504. </Type>
  505. <Type Name="VertexList" Kind="Class" Accessibility="Assembly" ExternallyVisible="False">
  506. <Members>
  507. <Member Name="#.ctor(PaintDotNet.SystemLayer.GpcWrapper.Vertex[])" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="False">
  508. <Messages>
  509. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  510. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\GpcWrapper" File="VertexList.cs" Line="16">'VertexList.VertexList(Vertex[])' 似乎没有上游 public 或 protected 调用方。</Issue>
  511. </Message>
  512. </Messages>
  513. </Member>
  514. <Member Name="#.ctor(PaintDotNet.SystemLayer.GpcWrapper.Vertex[],System.Boolean)" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="False">
  515. <Messages>
  516. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  517. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\GpcWrapper" File="VertexList.cs" Line="20">'VertexList.VertexList(Vertex[], bool)' 似乎没有上游 public 或 protected 调用方。</Issue>
  518. </Message>
  519. </Messages>
  520. </Member>
  521. <Member Name="#ToGraphicsPath()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="False">
  522. <Messages>
  523. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  524. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\GpcWrapper" File="VertexList.cs" Line="44">'VertexList.ToGraphicsPath()' 似乎没有上游 public 或 protected 调用方。</Issue>
  525. </Message>
  526. </Messages>
  527. </Member>
  528. <Member Name="#TristripToGraphicsPath()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="False">
  529. <Messages>
  530. <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Status="Active" Created="2021-07-14 08:57:21Z" FixCategory="NonBreaking">
  531. <Issue Certainty="75" Level="Warning" Path="E:\图形处理\最新版程序\winform210526\SystemLayer\GpcWrapper" File="VertexList.cs" Line="61">'VertexList.TristripToGraphicsPath()' 似乎没有上游 public 或 protected 调用方。</Issue>
  532. </Message>
  533. </Messages>
  534. </Member>
  535. </Members>
  536. </Type>
  537. </Types>
  538. </Namespace>
  539. </Namespaces>
  540. </Module>
  541. </Modules>
  542. </Target>
  543. </Targets>
  544. <Rules>
  545. <Rule TypeName="AvoidCallingProblematicMethods" Category="Microsoft.Reliability" CheckId="CA2001">
  546. <Name>避免调用有问题的方法</Name>
  547. <Description>避免进行不必要和具有潜在危险的方法调用。</Description>
  548. <Resolution Name="System.Runtime.InteropServices.SafeHandle.DangerousGetHandle">从 {0} 中移除对 SafeHandle.DangerousGetHandle 的调用。</Resolution>
  549. <Owner />
  550. <Url>http://msdn.microsoft.com/library/bb385973.aspx</Url>
  551. <Email>[none]</Email>
  552. <MessageLevel Certainty="75">Error</MessageLevel>
  553. <File Name="reliabilityrules.dll" Version="16.0.0.0" />
  554. </Rule>
  555. <Rule TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811">
  556. <Name>避免使用未调用的私有代码</Name>
  557. <Description>存在对外部不可见的未调用代码,该代码不是已知的运行时入口点。如果错误地引发此冲突,请向 Visual Studio Code Analysis 团队发送问题报告。</Description>
  558. <Resolution Name="Default">{0} 似乎没有上游 public 或 protected 调用方。</Resolution>
  559. <Owner />
  560. <Url>http://msdn.microsoft.com/library/ms182264.aspx</Url>
  561. <Email>[none]</Email>
  562. <MessageLevel Certainty="75">Warning</MessageLevel>
  563. <File Name="performancerules.dll" Version="16.0.0.0" />
  564. </Rule>
  565. <Rule TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704">
  566. <Name>标识符应正确拼写</Name>
  567. <Description>组成标识符的各单词不应缩写,并且应正确拼写。如果此规则对应识别的词条产生了误报,请将该词添加到 FxCop 自定义字典中。</Description>
  568. <Resolution Name="DelegateParameterMoreMeaningfulName">在委托 {0} 中,考虑将参数名称 {1} 改为一个更能体现其意义的名称。</Resolution>
  569. <Resolution Name="MemberParameterMoreMeaningfulName">在方法 {0} 中,考虑将参数名称 {1} 改为一个更能体现其意义的名称。</Resolution>
  570. <Owner />
  571. <Url>http://msdn.microsoft.com/library/bb264492.aspx</Url>
  572. <Email>[none]</Email>
  573. <MessageLevel Certainty="75">CriticalWarning</MessageLevel>
  574. <File Name="namingrules.dll" Version="16.0.0.0" />
  575. </Rule>
  576. <Rule TypeName="MarkAssembliesWithNeutralResourcesLanguage" Category="Microsoft.Performance" CheckId="CA1824">
  577. <Name>用 NeutralResourcesLanguageAttribute 标记程序集</Name>
  578. <Description>NeutralResourcesLanguage 特性将用来呈现非特定区域性的程序集资源的语言通知给 ResourceManager。在查找与非特定区域性语言具有相同区域性的资源时,ResourceManager 会自动使用位于主程序集内的资源,而不是搜索具有当前线程的当前用户界面区域性的附属程序集。这会改进所加载的第一个资源的查找性能,并缩小工作集。</Description>
  579. <Resolution Name="Default">由于程序集 {0} 包含基于 ResX 的资源文件,因此请使用 NeutralResourcesLanguage 特性来标记它,并指定该程序集内的资源所采用的语言。这会改进首次检索资源时的查找性能。</Resolution>
  580. <Owner />
  581. <Url>http://msdn.microsoft.com/library/bb385967.aspx</Url>
  582. <Email>[none]</Email>
  583. <MessageLevel Certainty="95">Warning</MessageLevel>
  584. <File Name="performancerules.dll" Version="16.0.0.0" />
  585. </Rule>
  586. <Rule TypeName="PInvokeDeclarationsShouldBePortable" Category="Microsoft.Portability" CheckId="CA1901">
  587. <Name>P/Invoke 声明应为可移植声明</Name>
  588. <Description>.</Description>
  589. <Resolution Name="Parameter">如代码中所声明的,P/Invoke {1} 的参数 {0} 在 {3} 平台上的字节宽度将为 {2}。这是不正确的,因为此 API 的实际本机声明表明该参数在 {3} 平台上的字节宽度应为 {4}。请参考 MSDN Platform SDK 文档来获取帮助,确定应使用哪种数据类型来代替 {5}。</Resolution>
  590. <Resolution Name="Return">如代码中所声明的,P/Invoke {0} 的返回类型在 {2} 平台上的字节宽度将为 {1}。这是不正确的,因为此 API 的实际本机声明表明该返回类型在 {2} 平台上的字节宽度应为 {3}。请参考 MSDN Platform SDK 文档来获取帮助,确定应使用哪种数据类型来代替 {4}。</Resolution>
  591. <Owner />
  592. <Url>http://msdn.microsoft.com/library/ms182284(VS.100).aspx</Url>
  593. <Email>[none]</Email>
  594. <MessageLevel Certainty="95">Error</MessageLevel>
  595. <File Name="portabilityrules.dll" Version="16.0.0.0" />
  596. </Rule>
  597. <Rule TypeName="PInvokesShouldNotBeVisible" Category="Microsoft.Interoperability" CheckId="CA1401">
  598. <Name>P/Invokes 应该是不可见的</Name>
  599. <Description>互操作层不应该是公共的。DllImport 特性不应该应用于可公开访问的成员(公共成员或受保护的成员)。</Description>
  600. <Resolution Name="Default">更改 P/Invoke {0} 的可访问性,使它在自己的程序集外部不再是可见的。</Resolution>
  601. <Owner />
  602. <Url>http://msdn.microsoft.com/library/ms182209.aspx</Url>
  603. <Email>[none]</Email>
  604. <MessageLevel Certainty="50">CriticalError</MessageLevel>
  605. <File Name="interoperabilityrules.dll" Version="16.0.0.0" />
  606. </Rule>
  607. <Rule TypeName="ReviewMisleadingFieldNames" Category="Microsoft.Maintainability" CheckId="CA1504">
  608. <Name>检查令人误解的字段名</Name>
  609. <Description>检查字段名,按照惯例,字段名会指示字段是实例字段还是静态字段,但实际上并非如此。此规则会对前缀为“s”的实例字段以及前缀为“m_”的静态字段引发。</Description>
  610. <Resolution Name="Static">从字段名 {0} 可看出该字段是实例数据,但它被声明为 Static (在 Visual Basic 中为 Shared)。请检查此成员,验证它是否应为静态数据,或者考虑更改字段名。</Resolution>
  611. <Owner />
  612. <Url>http://msdn.microsoft.com/library/bb164506.aspx</Url>
  613. <Email>[none]</Email>
  614. <MessageLevel Certainty="95">Warning</MessageLevel>
  615. <File Name="maintainabilityrules.dll" Version="16.0.0.0" />
  616. </Rule>
  617. <Rule TypeName="SpecifyStringComparison" Category="Microsoft.Globalization" CheckId="CA1307">
  618. <Name>指定 StringComparison</Name>
  619. <Description>如果存在采用 StringComparison 参数的重载,则始终先调用此重载,而不是那些不接受该参数的重载。</Description>
  620. <Resolution Name="Default">由于 {0} 的行为可能会因当前用户的区域设置不同而不同,请将 {1} 中的此调用替换为对 {2} 的调用。如果要向用户显示 {2} 的结果(例如,在对一个项列表进行排序以便在列表框中显示时),请指定“StringComparison.CurrentCulture”或“StringComparison.CurrentCultureIgnoreCase”作为“StringComparison”参数。如果比较不区分大小写的标识符(例如,文件路径、环境变量或注册表项和值),则指定“StringComparison.OrdinalIgnoreCase”。或者,如果比较区分大小写的标识符,则指定“StringComparison.Ordinal”。</Resolution>
  621. <Owner />
  622. <Url>http://msdn.microsoft.com/library/bb386080.aspx</Url>
  623. <Email>[none]</Email>
  624. <MessageLevel Certainty="95">Error</MessageLevel>
  625. <File Name="globalizationrules.dll" Version="16.0.0.0" />
  626. </Rule>
  627. <Rule TypeName="UseOrdinalStringComparison" Category="Microsoft.Globalization" CheckId="CA1309">
  628. <Name>使用按顺序的 StringComparison</Name>
  629. <Description>对于非语义比较,应使用 StringComparison.Ordinal 或 StringComparison.OrdinalIgnoreCase,而不使用区分语义的 StringComparison.InvariantCulture。</Description>
  630. <Resolution Name="StringComparison">{0} 将“{1}”作为“StringComparison”参数传递给 {2}。若要执行非语义比较,请改为指定“StringComparison.Ordinal”或“StringComparison.OrdinalIgnoreCase”。</Resolution>
  631. <Owner />
  632. <Url>http://msdn.microsoft.com/library/bb385972.aspx</Url>
  633. <Email>[none]</Email>
  634. <MessageLevel Certainty="75">Error</MessageLevel>
  635. <File Name="globalizationrules.dll" Version="16.0.0.0" />
  636. </Rule>
  637. </Rules>
  638. <Localized>
  639. <String Key="Category">类别</String>
  640. <String Key="Certainty">确定性</String>
  641. <String Key="CollapseAll">全部折叠</String>
  642. <String Key="CheckId">检查 ID</String>
  643. <String Key="Error">错误</String>
  644. <String Key="Errors">错误</String>
  645. <String Key="ExpandAll">全部展开</String>
  646. <String Key="Help">帮助</String>
  647. <String Key="Line">行</String>
  648. <String Key="Messages">消息</String>
  649. <String Key="LocationNotStoredInPdb">[位置未存储在 Pdb 中]</String>
  650. <String Key="Project">项目</String>
  651. <String Key="Resolution">解析</String>
  652. <String Key="Rule">规则</String>
  653. <String Key="RuleFile">规则文件</String>
  654. <String Key="RuleDescription">规则说明</String>
  655. <String Key="Source">源</String>
  656. <String Key="Status">状态</String>
  657. <String Key="Target">目标</String>
  658. <String Key="Warning">警告</String>
  659. <String Key="Warnings">警告</String>
  660. <String Key="ReportTitle">代码分析报告</String>
  661. </Localized>
  662. </FxCopReport>