Skip to content

Instantly share code, notes, and snippets.

@EifelMono
Created September 8, 2023 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EifelMono/44b60d1e27aeb7cb2568a8d3b8b27d4c to your computer and use it in GitHub Desktop.
Save EifelMono/44b60d1e27aeb7cb2568a8d3b8b27d4c to your computer and use it in GitHub Desktop.
Disable format in code
[Flags]
#pragma warning disable format, RCS1154, RCS1037
public enum EnumFlag
{
Flag1 = 0b0000_0000_0000_0001,
Flag2 = 0b0000_0000_0000_0010
}
#pragma warning restore format, RCS1154, RCS1037
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment