You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[UnconditionalSuppressMessage("Trimming","IL2067",Justification="All types stored in this collection are guaranteed to have public parameterless constructors via the Add method's annotation.")]
@@ -42,7 +43,8 @@ public void Add(Type type, byte statusByte)
42
43
/// is passed uninitialized.</param>
43
44
/// <returns><c>true</c> if the <see cref="EventTypesCollection"/> contains an event type with the
44
45
/// specified status byte; otherwise, <c>false</c>.</returns>
45
-
publicboolTryGetType(bytestatusByte,outTypetype)
46
+
[UnconditionalSuppressMessage("Trimming","IL2067",Justification="All types stored in this collection are guaranteed to have public parameterless constructors via the Add method's annotation.")]
Copy file name to clipboardExpand all lines: DryWetMidi/Core/Events/Writers/MetaEventWriter.cs
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,14 @@
1
-
usingSystem.Diagnostics;
2
-
usingMelanchall.DryWetMidi.Common;
1
+
usingMelanchall.DryWetMidi.Common;
2
+
usingSystem.Diagnostics;
3
+
usingSystem.Diagnostics.CodeAnalysis;
3
4
4
5
namespaceMelanchall.DryWetMidi.Core
5
6
{
6
7
internalsealedclassMetaEventWriter:IEventWriter
7
8
{
8
9
#region IEventWriter
9
10
11
+
[UnconditionalSuppressMessage("Trimming","IL2072",Justification="Custom meta event types are guaranteed to have public parameterless constructors when registered via CustomMetaEventTypes.Add.")]
0 commit comments