Skip to content

Commit

Permalink
Merge e512b38 into 055d164
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes authored Oct 20, 2020
2 parents 055d164 + e512b38 commit e2d6f8a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nanoFramework.CoreLibrary/System/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
[assembly: AssemblyProduct("nanoFramework mscorlib")]
[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")]

[assembly: AssemblyNativeVersion("100.5.0.1")]
[assembly: AssemblyNativeVersion("100.5.0.2")]
10 changes: 10 additions & 0 deletions nanoFramework.CoreLibrary/System/Enum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// See LICENSE file in the project root for full license information.
//

using System.Runtime.CompilerServices;

namespace System
{
/// <summary>
Expand All @@ -12,6 +14,14 @@ namespace System
[Serializable]
public abstract class Enum : ValueType
{
/// <summary>
/// Determines whether one or more bit fields are set in the current instance.
/// </summary>
/// <param name="flag">An enumeration value.</param>
/// <returns><see langword="true"/> if the bit field or bit fields that are set in flag are also set in the current instance; otherwise, <see langword="false"/>.</returns>
/// <exception cref="ArgumentException"><paramref name="flag"/> is a different type than the current instance.</exception>
[MethodImpl(MethodImplOptions.InternalCall)]
public extern bool HasFlag(Enum flag);

/// <summary>
/// Converts the value of this instance to its equivalent string representation.
Expand Down

0 comments on commit e2d6f8a

Please sign in to comment.