Skip to content

Commit

Permalink
Fix ForEachAttribute
Browse files Browse the repository at this point in the history
  • Loading branch information
kochounoyume committed Jan 3, 2025
1 parent 4c28a7a commit cd8da6d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion Documentation/docs/flag-ex.md

This file was deleted.

1 change: 1 addition & 0 deletions Documentation/docs/foreach-attribute.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ForEach属性
4 changes: 2 additions & 2 deletions Documentation/docs/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@
href: source-generator.md
- name: XEnum
href: xenum.md
- name: FlagEx属性
href: flag-ex.md
- name: ForEach属性
href: foreach-attribute.md
6 changes: 4 additions & 2 deletions Packages/MinimalUtility/Runtime/ForEachAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#nullable enable

using System;

namespace MinimalUtility
{
/// <summary>
Expand Down Expand Up @@ -49,9 +51,9 @@ namespace MinimalUtility
/// }
/// ]]>
/// </code>
/// </example>
/// </example>
[AttributeUsage(AttributeTargets.Enum, Inherited = false)]
public sealed class ForEachAttribute : System.Attribute
public sealed class ForEachAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="ForEachAttribute"/> class.
Expand Down

0 comments on commit cd8da6d

Please sign in to comment.