Skip to content

Commit 6d8b8cb

Browse files
BillWagnergewarren
andcommitted
Apply suggestions from code review
Co-authored-by: Genevieve Warren <[email protected]>
1 parent b61f2a8 commit 6d8b8cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/csharp/language-reference/builtin-types/built-in-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The [`void`](void.md) keyword represents the absence of a type. You use it as th
4848
The C# language includes specialized rules for the <xref:System.Span`1?displayProperty=fullName> and <xref:System.ReadOnlySpan`1?displayProperty=fullName> types. These types aren't classified as built-in types, because there aren't C# keywords that correspond to these types. The C# language defines implicit conversions from array types and the string type to `Span<T>` and `ReadOnlySpan<T>`. These conversions integrate `Span` types into more natural programming scenarios. The following conversions are defined as *implicit span conversions*:
4949

5050
- From any single-dimensional array with element type `E` to `System.Span<E>`
51-
- From any single-dimensional with element type `E` to `System.ReadOnlySpan<U>`, when `E` has covariance conversion or an identity conversion to `U`
51+
- From any single-dimensional array with element type `E` to `System.ReadOnlySpan<U>`, when `E` has covariance conversion or an identity conversion to `U`
5252
- From `System.Span<E>` to `System.ReadOnlySpan<U>`, when `E` has a covariance conversion or an identity conversion to `U`
5353
- From `System.ReadOnlySpan<E>` to `System.ReadOnlySpan<U>`, when `E` has a covariance conversion or an identity conversion to `U`
5454
- From `string` to `System.ReadOnlySpan<char>`

docs/csharp/language-reference/configure-language-version.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ If you must specify your C# version explicitly, you can do so in several ways:
2828
> [!TIP]
2929
> You can see the language version in Visual Studio in the project properties page. Under the *Build* tab, the *Advanced* pane displays the version selected.
3030
>
31-
> To know what language version you're currently using, put `#error version` (case sensitive) in your code. This pragma makes the compiler report a compiler error, CS8304, with a message containing the compiler version used and the current selected language version. For more information about this pragma, see [#error (C# Reference)](preprocessor-directives.md#error-and-warning-information).
31+
> To know what language version you're currently using, put `#error version` (case sensitive) in your code. This pragma makes the compiler report a compiler error, CS8304, with a message containing the compiler version and the current selected language version. For more information about this pragma, see [#error (C# Reference)](preprocessor-directives.md#error-and-warning-information).
3232
3333
## Edit the project file
3434

0 commit comments

Comments
 (0)