Skip to content

Commit

Permalink
remove feature specs (#32829)
Browse files Browse the repository at this point in the history
* remove feature specs

The standard committe has merged the updates to the standard for the following features:

- dotnet/csharpstandard#216 - non-trailing named arguments
- dotnet/csharpstandard#236 - default literals

Remove the feature speclets from the publishing list, and fix any related links.

* add redirections

Add the redirections for removed proposal specs.

* fix typo
  • Loading branch information
BillWagner authored Dec 2, 2022
1 parent d4c9834 commit d13faf3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .openpublishing.redirection.csharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
{
"source_path_from_root": "/_csharplang/proposals/csharp-7.1/async-main.md",
"redirect_url": "/dotnet/csharp/language-reference/language-specification/basic-concepts#71-application-startup"
},
{
"source_path_from_root": "/_csharplang/proposals/csharp-7.1/target-typed-default.md",
"redirect_url": "/dotnet/csharp/language-reference/language-specification/expressions#11719-default-value-expressions"
},
{
"source_path_from_root": "/_csharplang/proposals/csharp-7.2/private-protected.md",
Expand All @@ -28,6 +32,10 @@
"source_path_from_root": "/_csharplang/proposals/csharp-7.2/readonly-struct.md",
"redirect_url": "/dotnet/csharp/language-reference/language-specification/structs.md#1524-struct-interfaces"
},
{
"source_path_from_root": "/_csharplang/proposals/csharp-7.2/non-trailing-named-arguments.md",
"redirect_url": "/dotnet/csharp/language-reference/language-specification/expressions#11621-general"
},
{
"source_path_from_root": "/_csharplang/proposals/csharp-7.3/leading-digit-separator.md",
"redirect_url": "/dotnet/csharp/language-reference/language-specification/lexical-structure#6453-integer-literals"
Expand Down
9 changes: 7 additions & 2 deletions docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,13 @@
"csharp-7.0/tuples.md",
"csharp-7.0/value-task.md",
"csharp-7.1/async-main.md",
"csharp-7.1/target-typed-default.md",
"csharp-7.2/leading-separator.md",
"csharp-7.2/readonly-struct.md",
"csharp-7.2/ref-extension-methods.md",
"csharp-7.2/ref-struct-and-span.md",
"csharp-7.2/ref-extension-methods.md",
"csharp-7.2/non-trailing-named-arguments.md",
"csharp-7.2/private-protected.md",
"csharp-7.2/private-protected.md",
"csharp-7.3/enum-delegate-constraints.md",
"csharp-7.3/ref-loops.md",
Expand Down Expand Up @@ -115,8 +118,10 @@
"exclude": [
"_csharplang/proposals/csharp-7.0/local-functions.md",
"_csharplang/proposals/csharp-7.0/throw-expression.md",
"_csharplang/proposals/csharp-7.2/private-protected.md",
"_csharplang/proposals/csharp-7.0/throw-expression.md",
"_csharplang/proposals/csharp-7.1/target-typed-default.md",
"_csharplang/proposals/csharp-7.2/readonly-struct.md",
"_csharplang/proposals/csharp-7.2/non-trailing-named-arguments.md",
"_csharplang/proposals/csharp-7.3/blittable.md"
]
}
Expand Down
4 changes: 0 additions & 4 deletions docs/csharp/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1348,8 +1348,6 @@ items:
href: ../../_csharplang/proposals/csharp-7.0/task-types.md
- name: C# 7.1 features
items:
- name: Default expressions
href: ../../_csharplang/proposals/csharp-7.1/target-typed-default.md
- name: Infer tuple names
href: ../../_csharplang/proposals/csharp-7.1/infer-tuple-names.md
- name: Pattern matching with generics
Expand All @@ -1360,8 +1358,6 @@ items:
href: ../../_csharplang/proposals/csharp-7.2/readonly-ref.md
- name: Compile-time safety for ref-like types
href: ../../_csharplang/proposals/csharp-7.2/span-safety.md
- name: Non-trailing named arguments
href: ../../_csharplang/proposals/csharp-7.2/non-trailing-named-arguments.md
- name: Conditional ref
href: ../../_csharplang/proposals/csharp-7.2/conditional-ref.md
- name: C# 7.3 features
Expand Down

0 comments on commit d13faf3

Please sign in to comment.