Skip to content

Commit

Permalink
Rename DynamicallyAccessedMemberTypes.DefaultConstructor (dotnet#37297)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalStrehovsky authored Jun 4, 2020
1 parent 808aa05 commit f278622
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ public enum DynamicallyAccessedMemberTypes
/// <summary>
/// Specifies the default, parameterless public constructor.
/// </summary>
DefaultConstructor = 0x0001,
PublicParameterlessConstructor = 0x0001,

/// <summary>
/// Specifies all public constructors.
/// </summary>
PublicConstructors = 0x0002 | DefaultConstructor,
PublicConstructors = 0x0002 | PublicParameterlessConstructor,

/// <summary>
/// Specifies all non-public constructors.
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/System.Runtime/ref/System.Runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5639,7 +5639,7 @@ public enum DynamicallyAccessedMemberTypes
{
All = -1,
None = 0,
DefaultConstructor = 1,
PublicParameterlessConstructor = 1,
PublicConstructors = 3,
NonPublicConstructors = 4,
PublicMethods = 8,
Expand Down

0 comments on commit f278622

Please sign in to comment.