plcsharp/PLCSharpWpf/GlobalSuppressions.cs
2026-07-04 19:27:04 +08:00

13 lines
875 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("Performance", "SYSLIB1045:转换为“GeneratedRegexAttribute”。")]
[assembly: SuppressMessage("Usage", "VSTHRD100:Avoid async void methods", Justification = "<挂起>", Scope = "member", Target = "~M:PLCSharp.VVMs.Workflows.Script.CustomTextEditor.OnDataContextChanged(System.Object,System.Windows.DependencyPropertyChangedEventArgs)")]
[assembly: SuppressMessage("Usage", "VSTHRD001:Avoid legacy thread switching APIs")]