Skip to content

Commit 66b7ead

Browse files
committed
Fix typo: 'onany' -> 'on any'.
1 parent deaf39f commit 66b7ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/attributes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ End Class
8181
End Interface
8282
```
8383

84-
If the attribute lacks a `System.AttributeUsage`, then the attribute can be placed onany target (equivalent to `AttributeTargets.All`). The `System.AttributeUsage` attribute has a variable initializer, `AllowMultiple`, which specifies whether the indicated attribute can be specified more than once for a given declaration. If `AllowMultiple` for an attribute is `True`, it is a *multiple-use attribute class*, and can be specified more than once on a declaration. If `AllowMultiple` for an attribute is `False` or unspecified for an attribute, it is a *single-use attribute class*, and can be specified at most once on a declaration.
84+
If the attribute lacks a `System.AttributeUsage`, then the attribute can be placed on any target (equivalent to `AttributeTargets.All`). The `System.AttributeUsage` attribute has a variable initializer, `AllowMultiple`, which specifies whether the indicated attribute can be specified more than once for a given declaration. If `AllowMultiple` for an attribute is `True`, it is a *multiple-use attribute class*, and can be specified more than once on a declaration. If `AllowMultiple` for an attribute is `False` or unspecified for an attribute, it is a *single-use attribute class*, and can be specified at most once on a declaration.
8585

8686
The following example defines a multiple-use attribute class named `AuthorAttribute`:
8787

0 commit comments

Comments
 (0)