Skip to content

Commit 0cd8d62

Browse files
authored
Merge pull request #942 from Unity-Technologies/fix-enum-base-types
Correct the base types for a new enum types
2 parents 6df9fca + 7208db8 commit 0cd8d62

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mcs/class/System.Xaml/System.Xaml.Schema/XamlCollectionKind.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
namespace System.Xaml.Schema
2727
{
28-
public enum XamlCollectionKind
28+
public enum XamlCollectionKind : byte
2929
{
3030
None,
3131
Collection,

mcs/class/System.Xaml/System.Xaml/XamlNodeType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
namespace System.Xaml
3030
{
31-
public enum XamlNodeType
31+
public enum XamlNodeType : byte
3232
{
3333
None,
3434
StartObject,

mcs/class/corlib/System.Runtime.InteropServices/LIBFLAGS.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace System.Runtime.InteropServices
3434
{
3535
[Obsolete]
3636
[Flags, Serializable]
37-
public enum LIBFLAGS
37+
public enum LIBFLAGS : short
3838
{
3939
LIBFLAG_FRESTRICTED = 1,
4040
LIBFLAG_FCONTROL = 2,

0 commit comments

Comments
 (0)