Skip to content

Commit 662dae2

Browse files
committed
Autoimplemented -> automatically implemented
Replace "autoimplemented" with "automatically implemented"
1 parent b474c82 commit 662dae2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ The first <xref:System.AttributeUsageAttribute> argument must be one or more ele
104104

105105
:::code language="csharp" source="snippets/NewPropertyOrFieldAttribute.cs" ID="SnippetDefinePropertyAttribute" :::
106106

107-
Attributes can be applied to either the property or the backing field for an autoimplemented property. The attribute applies to the property, unless you specify the `field` specifier on the attribute. Both are shown in the following example:
107+
Attributes can be applied to either the property or the backing field for an automatically implemented property. The attribute applies to the property, unless you specify the `field` specifier on the attribute. Both are shown in the following example:
108108

109109
:::code language="csharp" source="snippets/NewPropertyOrFieldAttribute.cs" ID="SnippetUsePropertyAttribute" :::
110110

docs/csharp/language-reference/builtin-types/record.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ You can use positional parameters to declare properties of a record and to initi
5757

5858
When you use the positional syntax for property definition, the compiler creates:
5959

60-
* A public autoimplemented property for each positional parameter provided in the record declaration.
60+
* A public automatically implemented property for each positional parameter provided in the record declaration.
6161
- For `record` types and `readonly record struct` types: An [init-only](../keywords/init.md) property.
6262
- For `record struct` types: A read-write property.
6363
* A primary constructor whose parameters match the positional parameters on the record declaration.
@@ -70,7 +70,7 @@ You may want to add attributes to any of these elements the compiler creates fro
7070

7171
The preceding example also shows how to create XML documentation comments for the record. You can add the `<param>` tag to add documentation for the primary constructor's parameters.
7272

73-
If the generated autoimplemented property definition isn't what you want, you can define your own property of the same name. For example, you may want to change accessibility or mutability, or provide an implementation for either the `get` or `set` accessor. If you declare the property in your source, you must initialize it from the positional parameter of the record. If your property is an autoimplemented property, you must initialize the property. If you add a backing field in your source, you must initialize the backing field. The generated deconstructor uses your property definition. For instance, the following example declares the `FirstName` and `LastName` properties of a positional record `public`, but restricts the `Id` positional parameter to `internal`. You can use this syntax for records and record struct types.
73+
If the generated automatically implemented property definition isn't what you want, you can define your own property of the same name. For example, you may want to change accessibility or mutability, or provide an implementation for either the `get` or `set` accessor. If you declare the property in your source, you must initialize it from the positional parameter of the record. If your property is an automatically implemented property, you must initialize the property. If you add a backing field in your source, you must initialize the backing field. The generated deconstructor uses your property definition. For instance, the following example declares the `FirstName` and `LastName` properties of a positional record `public`, but restricts the `Id` positional parameter to `internal`. You can use this syntax for records and record struct types.
7474

7575
:::code language="csharp" source="snippets/shared/RecordType.cs" id="PositionalWithManualProperty":::
7676

@@ -185,7 +185,7 @@ In the example, all variables are declared as `Person`, even when the instance i
185185

186186
To implement this behavior, the compiler synthesizes an `EqualityContract` property that returns a <xref:System.Type> object that matches the type of the record. The `EqualityContract` enables the equality methods to compare the runtime type of objects when they're checking for equality. If the base type of a record is `object`, this property is `virtual`. If the base type is another record type, this property is an override. If the record type is `sealed`, this property is effectively `sealed` because the type is `sealed`.
187187

188-
When code compares two instances of a derived type, the synthesized equality methods check all data members of the base and derived types for equality. The synthesized `GetHashCode` method uses the `GetHashCode` method from all data members declared in the base type and the derived record type. The data members of a `record` include all declared fields and the compiler-synthesized backing field for any autoimplemented properties.
188+
When code compares two instances of a derived type, the synthesized equality methods check all data members of the base and derived types for equality. The synthesized `GetHashCode` method uses the `GetHashCode` method from all data members declared in the base type and the derived record type. The data members of a `record` include all declared fields and the compiler-synthesized backing field for any automatically implemented properties.
189189

190190
### `with` expressions in derived records
191191

docs/csharp/linq/get-started/walkthrough-writing-queries-linq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The first step is to create a data source for your queries. The data source for
2929

3030
Note the following characteristics:
3131

32-
- The `Student` record consists of autoimplemented properties.
32+
- The `Student` record consists of automatically implemented properties.
3333
- Each student in the list is initialized with the primary constructor.
3434
- The sequence of scores for each student is initialized with a primary constructor.
3535

0 commit comments

Comments
 (0)