plcsharp/PLCSharpWpf/GlobalSuppressions.cs

13 lines
740 B
C#

// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Style", "IDE1006:命名样式")]
[assembly: SuppressMessage("Style", "IDE0290:使用主构造函数")]
[assembly: SuppressMessage("Style", "IDE0305:简化集合初始化")]
[assembly: SuppressMessage("Usage", "VSTHRD003:Avoid awaiting foreign Tasks")]
[assembly: SuppressMessage("Usage", "VSTHRD001:Avoid legacy thread switching APIs")]
[assembly: SuppressMessage("Usage", "VSTHRD002:Avoid problematic synchronous waits")]