Skip to content

Commit 0ee6961

Browse files
committed
publish the feature spec
Add the feature spec for allowing ref locals and unsafe blocks in iterators and async methods.
1 parent 3ac2424 commit 0ee6961

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docfx.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@
491491
"_csharplang/proposals/csharp-10.0/*.md": "08/07/2021",
492492
"_csharplang/proposals/csharp-11.0/*.md": "09/30/2022",
493493
"_csharplang/proposals/csharp-12.0/*.md": "08/15/2023",
494-
"_csharplang/proposals/*.md": "05/15/2024",
494+
"_csharplang/proposals/*.md": "06/28/2024",
495495
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 7.md": "11/08/2022",
496496
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 8.md": "09/26/2023",
497497
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 9.md": "06/26/2024",
@@ -662,6 +662,7 @@
662662
"_csharplang/proposals/lock-object.md": "Obey lock object semantics for lock statements",
663663
"_csharplang/proposals/method-group-natural-type-improvements.md": "Method group natural type improvements",
664664
"_csharplang/proposals/params-collections.md": "Params collections",
665+
"_csharplang/proposals/ref-unsafe-in-terators-async.md": "Allow ref and unsafe in iterators and async methods",
665666
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 7.md": "C# compiler breaking changes since C# 10",
666667
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 8.md": "C# compiler breaking changes since C# 11",
667668
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 9.md": "C# compiler breaking changes since C# 12",
@@ -778,6 +779,7 @@
778779
"_csharplang/proposals/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.",
779780
"_csharplang/proposals/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.",
780781
"_csharplang/proposals/params-collections.md": "Allow the `params` modifier on collection types beyond arrays, including `IEnumerable` types.",
782+
"_csharplang/proposals/ref-unsafe-in-terators-async.md": "This proposal modifies restrictions to enable ref local variables and unsafe blocks in iterators and async methods",
781783
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 7.md": "Learn about any breaking changes since the initial release of C# 10",
782784
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 8.md": "Learn about any breaking changes since the initial release of C# 11",
783785
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 9.md": "Learn about any breaking changes since the initial release of C# 12",

docs/csharp/specification/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ items:
183183
href: ../../../_csharplang/proposals/csharp-8.0/nested-stackalloc.md
184184
- name: Lock object semantics
185185
href: ../../../_csharplang/proposals/lock-object.md
186+
- name: Allow `ref` and `unsafe`
187+
href: ../../_csharplang/proposals/ref-unsafe-in-terators-async.md
186188
- name: Namespaces
187189
items:
188190
- name: File scoped namespaces

0 commit comments

Comments
 (0)