From 0a913efc4a546c60c972f6eae616e9020111df74 Mon Sep 17 00:00:00 2001 From: BlubbFish Date: Mon, 3 Aug 2026 23:07:55 +0200 Subject: [PATCH] Add Readme and Error Suppression --- M2Mqtt/GlobalSuppressions.cs | 10 ++++++++++ M2Mqtt/M2Mqtt.csproj | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 M2Mqtt/GlobalSuppressions.cs diff --git a/M2Mqtt/GlobalSuppressions.cs b/M2Mqtt/GlobalSuppressions.cs new file mode 100644 index 0000000..f396ac1 --- /dev/null +++ b/M2Mqtt/GlobalSuppressions.cs @@ -0,0 +1,10 @@ +// 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", "IDE0046:In bedingten Ausdruck konvertieren", Justification = "", Scope = "member", Target = "~M:uPLibrary.Networking.M2Mqtt.MqttClient.Publish(System.String,System.Byte[],System.Byte,System.Boolean)~System.UInt16")] +[assembly: SuppressMessage("CodeQuality", "IDE0051:Nicht verwendete private Member entfernen", Justification = "", Scope = "member", Target = "~M:uPLibrary.Networking.M2Mqtt.MqttClient.SendReceive(System.Byte[])~uPLibrary.Networking.M2Mqtt.Messages.MqttMsgBase")] +[assembly: SuppressMessage("Style", "IDE0046:In bedingten Ausdruck konvertieren", Justification = "", Scope = "member", Target = "~M:uPLibrary.Networking.M2Mqtt.MqttClient.SendReceive(System.Byte[],System.Int32)~uPLibrary.Networking.M2Mqtt.Messages.MqttMsgBase")] diff --git a/M2Mqtt/M2Mqtt.csproj b/M2Mqtt/M2Mqtt.csproj index a7aa4cc..033aa89 100644 --- a/M2Mqtt/M2Mqtt.csproj +++ b/M2Mqtt/M2Mqtt.csproj @@ -21,4 +21,8 @@ TRACE;SSL + + + +