Skip to content

Commit

Permalink
Fix [AsyncMethodBuilder] and [ModuleInitializer] accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Oct 29, 2022
1 parent 4917469 commit 066835f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace System.Runtime.CompilerServices
global::System.AttributeTargets.Enum |
global::System.AttributeTargets.Method,
Inherited = false, AllowMultiple = false)]
public sealed class AsyncMethodBuilderAttribute : global::System.Attribute
internal sealed class AsyncMethodBuilderAttribute : global::System.Attribute
{
/// <summary>Initializes the <see cref="global::System.Runtime.CompilerServices.AsyncMethodBuilderAttribute"/>.</summary>
/// <param name="builderType">The <see cref="global::System.Type"/> of the associated builder.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace System.Runtime.CompilerServices
/// https://github.com/dotnet/runtime/blob/main/docs/design/specs/Ecma-335-Augments.md#module-initializer
/// </remarks>
[global::System.AttributeUsage(global::System.AttributeTargets.Method, Inherited = false)]
public sealed class ModuleInitializerAttribute : global::System.Attribute
internal sealed class ModuleInitializerAttribute : global::System.Attribute
{
public ModuleInitializerAttribute()
{
Expand Down

0 comments on commit 066835f

Please sign in to comment.