diff --git a/docfx.json b/docfx.json index a8209b0844edf..03d7c34d95d1b 100644 --- a/docfx.json +++ b/docfx.json @@ -661,7 +661,7 @@ "_csharplang/proposals/csharp-13.0/lock-object.md": "Obey lock object semantics for lock statements", "_csharplang/proposals/csharp-13.0/method-group-natural-type-improvements.md": "Method group natural type improvements", "_csharplang/proposals/csharp-13.0/params-collections.md": "Params collections", - "_csharplang/proposals/csharp-13.0/ref-unsafe-iterators-async.md": "Allow ref and unsafe in iterators and async methods", + "_csharplang/proposals/csharp-13.0/ref-unsafe-in-iterators-async.md": "Allow ref and unsafe in iterators and async methods", "_csharplang/proposals/csharp-13.0/ref-struct-interfaces.md": "Allow ref struct types to implement some interfaces", "_csharplang/proposals/csharp-13.0/partial-properties.md": "All partial properties and indexers", "_csharplang/proposals/csharp-13.0/overload-resolution-priority.md": "Overload resolution priority tiebreaker attribute", @@ -783,7 +783,7 @@ "_csharplang/proposals/csharp-13.0/lock-object.md": "Special-case how `System.Threading.Lock` interacts with the `lock` keyword by calling its `EnterScope` method. Add static analysis warnings to prevent accidental misuse of the type where possible.", "_csharplang/proposals/csharp-13.0/method-group-natural-type-improvements.md": "This proposal refines the determination of the natural type of a method group by considering candidates scope-by-scope and pruning at each scope.", "_csharplang/proposals/csharp-13.0/params-collections.md": "Allow the `params` modifier on collection types beyond arrays, including `IEnumerable` types.", - "_csharplang/proposals/csharp-13.0/ref-unsafe-iterators-async.md": "This proposal modifies restrictions to enable ref local variables and unsafe blocks in iterators and async methods", + "_csharplang/proposals/csharp-13.0/ref-unsafe-in-iterators-async.md": "This proposal modifies restrictions to enable ref local variables and unsafe blocks in iterators and async methods", "_csharplang/proposals/csharp-13.0/ref-struct-interfaces.md": "This proposal provides features that enable interface authors to allow `ref struct` types to implement a particular interface", "_csharplang/proposals/csharp-13.0/partial-properties.md": "This proposal provides for partial properties and indexers, allowing the definition of a property or indexer to be split across multiple parts.", "_csharplang/proposals/csharp-13.0/overload-resolution-priority.md": "This proposal introduces a new attribute, `OverloadResolutionPriorityAttribute`, that can be applied to methods to influence overload resolution.", diff --git a/docs/csharp/specification/toc.yml b/docs/csharp/specification/toc.yml index dc70bbbe03e72..9f6bb504ed6bb 100644 --- a/docs/csharp/specification/toc.yml +++ b/docs/csharp/specification/toc.yml @@ -190,7 +190,7 @@ items: - name: Lock object semantics href: ../../../_csharplang/proposals/csharp-13.0/lock-object.md - name: Allow `ref` and `unsafe` - href: ../../../_csharplang/proposals/csharp-13.0/ref-unsafe-iterators-async.md + href: ../../../_csharplang/proposals/csharp-13.0/ref-unsafe-in-iterators-async.md - name: Namespaces items: - name: File scoped namespaces diff --git a/docs/csharp/whats-new/csharp-13.md b/docs/csharp/whats-new/csharp-13.md index 38d7b9eb10800..252a3c3b6ae48 100644 --- a/docs/csharp/whats-new/csharp-13.md +++ b/docs/csharp/whats-new/csharp-13.md @@ -39,7 +39,7 @@ When an interface type is used, the compiler synthesizes the storage for the arg The .NET 9 runtime includes a new type for thread synchronization, the type. This type provides better thread synchronization through its API. The method enters an exclusive scope. The `ref struct` returned from that supports the `Dispose()` pattern to exit the exclusive scope. -The C# [`lock`](../language-reference/statements/lock.md) statement recognizes if the target of the lock is a `Lock` object. If so, it uses the updated API, rather than the traditional API using . The compiler also recognizes if you convert a `Lock` object to another type and the `Monitor` based code would be generated. You can read more in the feature specification for the [new lock object](~/_csharplang/proposals/csharp-13.0/csharp-13.0/lock-object.md). +The C# [`lock`](../language-reference/statements/lock.md) statement recognizes if the target of the lock is a `Lock` object. If so, it uses the updated API, rather than the traditional API using . The compiler also recognizes if you convert a `Lock` object to another type and the `Monitor` based code would be generated. You can read more in the feature specification for the [new lock object](~/_csharplang/proposals/csharp-13.0/lock-object.md). ## New escape sequence