forked from siteserver/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGlobalSuppressions.cs
18 lines (17 loc) · 3.59 KB
/
GlobalSuppressions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:不要多次释放对象", Scope = "member", Target = "SiteServer.Plugin.Models.Serializer.#ConvertFileToObject(System.String,System.Type)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:不要多次释放对象", Scope = "member", Target = "SiteServer.Plugin.Models.Serializer.#ConvertToBytes(System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:不要多次释放对象", Scope = "member", Target = "SiteServer.Plugin.Models.Serializer.#ConvertToObject(System.Byte[])")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:不要多次释放对象", Scope = "member", Target = "SiteServer.Plugin.Models.Serializer.#ConvertToObject(System.String,System.Type)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:不要多次释放对象", Scope = "member", Target = "SiteServer.Plugin.Models.Serializer.#ConvertToObject(System.Xml.XmlNode,System.Type)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:不要多次释放对象", Scope = "member", Target = "SiteServer.Plugin.Models.Serializer.#ConvertToString(System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:不要多次释放对象", Scope = "member", Target = "SiteServer.Plugin.Models.Serializer.#SaveAsBinary(System.Object,System.String)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:不要多次释放对象", Scope = "member", Target = "SiteServer.Plugin.Models.Serializer.#SaveAsXML(System.Object,System.String)")]
// 代码分析使用此文件来维护应用到此项目的 SuppressMessage
// 特性。
// 项目级禁止显示或者没有目标,或者已给定
// 一个特定目标且其范围为命名空间、类型和成员等。
//
// 若要向此文件中添加禁止显示,请右击
// 代码分析结果中的消息,指向“禁止显示消息”,然后单击
//“在禁止显示文件中”。
// 无需手动向此文件添加禁止显示。