Skip to content

Commit

Permalink
Added warning suppression for duplicate enum values to GdkKey
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehonti Ramos committed Aug 9, 2023
1 parent cb92af1 commit 392141c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Pinta.Core/Extensions/GdkKey.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
// Generated File. Do not modify.

// Generated File. Do not modify.

using System.Diagnostics.CodeAnalysis;

namespace Gdk
{
// TODO-GTK4 (bindings) - remove this once gir.core generates the key values as 'const' (https://github.com/gircore/gir.core/issues/820)
{
// TODO-GTK4 (bindings) - remove this once gir.core generates the key values as 'const' (https://github.com/gircore/gir.core/issues/820)
[SuppressMessage ("Design", "CA1069:Enums values should not be duplicated")]
public enum Key
{
VoidSymbol = 0xFFFFFF,
Expand Down

0 comments on commit 392141c

Please sign in to comment.