Skip to content

Commit 7208db8

Browse files
committed
Correct the base types for a new enum types
To match the .NET 4.7.1 profile, these enum types should have special base types.
1 parent 8e72268 commit 7208db8

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)