Skip to content

Commit 9baebf3

Browse files
committed
fix the warnings
1 parent cd84447 commit 9baebf3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/csharp/language-reference/attributes/general.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ If <xref:System.AttributeUsageAttribute.Inherited> is `false`, then derived clas
120120

121121
In this case, `NonInheritedAttribute` isn't applied to `DClass` via inheritance.
122122

123-
You can also use these keywords to specify where an attribute should be applied. For example, you can use the `field:` specifier to add an attribute to the backing field of an [automatically implemented property](../../programming-guide/classes-and-structs/properties.md#auto-implemented-properties). Or you can use the `field:`, `property:` or `param:` specifier to apply an attribute to any of the elements generated from a positional record. For an example, see [Positional syntax for property definition](../builtin-types/record.md#positional-syntax-for-property-definition).
123+
You can also use these keywords to specify where an attribute should be applied. For example, you can use the `field:` specifier to add an attribute to the backing field of an [automatically implemented property](../../programming-guide/classes-and-structs/properties.md#automatically-implemented-properties). Or you can use the `field:`, `property:` or `param:` specifier to apply an attribute to any of the elements generated from a positional record. For an example, see [Positional syntax for property definition](../builtin-types/record.md#positional-syntax-for-property-definition).
124124

125125
## `AsyncMethodBuilder` attribute
126126

docs/csharp/programming-guide/classes-and-structs/restricting-accessor-accessibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The [get](../../language-reference/keywords/get.md) and [set](../../language-ref
2020
In this example, a property called `Name` defines a `get` and `set` accessor. The `get` accessor receives the accessibility level of the property itself, `public` in this case, while the `set` accessor is explicitly restricted by applying the [protected](../../language-reference/keywords/protected.md) access modifier to the accessor itself.
2121

2222
> [!NOTE]
23-
> The examples in this article don't use [automatically implemented properties](./properties.md#auto-implemented-properties). *Automatically implemented properties* provide a concise syntax for declaring properties when a custom backing field isn't required.
23+
> The examples in this article don't use [automatically implemented properties](./properties.md#automatically-implemented-properties). *Automatically implemented properties* provide a concise syntax for declaring properties when a custom backing field isn't required.
2424
2525
## Restrictions on Access Modifiers on Accessors
2626

0 commit comments

Comments
 (0)