Skip to content

Commit 4b1213f

Browse files
authored
remove NRT feature spec (#43686)
* remove NRT feature spec The Nullable Reference Types features have been merged into the draft standard. Remove the feature specs from our platform, and update any section anchors. * warnings, part 1 Fix warnings, part 1. * warnings, part 2
1 parent 8a99fd3 commit 4b1213f

File tree

5 files changed

+31
-12
lines changed

5 files changed

+31
-12
lines changed

.openpublishing.redirection.csharp.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@
108108
"source_path_from_root": "/redirections/proposals/csharp-7.3/tuple-equality.md",
109109
"redirect_url": "/dotnet/csharp/language-reference/language-specification/expressions#121211-tuple-equality-operators"
110110
},
111+
{
112+
"source_path_from_root": "/redirections/proposals/csharp-8.0/nullable-reference-types.md",
113+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
114+
},
115+
{
116+
"source_path_from_root": "/redirections/proposals/csharp-9.0/nullable-reference-types-specification.md",
117+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
118+
},
111119
{
112120
"source_path_from_root": "/redirections/proposals/csharp-10.0/generic-attributes.md",
113121
"redirect_url": "/dotnet/csharp/language-reference/proposals/csharp-11.0/generic-attributes"
@@ -1378,6 +1386,22 @@
13781386
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-8.0/static-local-functions.md",
13791387
"redirect_url": "/dotnet/csharp/language-reference/language-specification/statements.md#1364-local-function-declarations"
13801388
},
1389+
{
1390+
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-8.0/nullable-reference-types.md",
1391+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
1392+
},
1393+
{
1394+
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-9.0/nullable-reference-types-specification.md",
1395+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
1396+
},
1397+
{
1398+
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-9.0/nullable-constructor-analysis.md",
1399+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
1400+
},
1401+
{
1402+
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-9.0/nullable-parameter-default-value-analysis.md",
1403+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
1404+
},
13811405
{
13821406
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-9.0/index.md",
13831407
"redirect_url": "/dotnet/csharp/language-reference/proposals/csharp-9.0/records"

docfx.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@
7171
"csharp-8.0/shadowing-in-nested-functions.md",
7272
"csharp-8.0/static-local-functions.md",
7373
"csharp-8.0/unconstrained-null-coalescing.md",
74-
"csharp-8.0/nullable-reference-types-specification.md"
74+
"csharp-8.0/nullable-reference-types.md",
75+
"csharp-8.0/nullable-reference-types-specification.md",
76+
"csharp-9.0/nullable-reference-types-specification.md",
77+
"csharp-9.0/nullable-constructor-analysis.md",
78+
"csharp-9.0/nullable-parameter-default-value-analysis.md"
7579
]
7680
},
7781
{
@@ -599,7 +603,6 @@
599603
"_csharpstandard/standard/standard-library.md": "Standard library",
600604
"_csharpstandard/standard/documentation-comments.md": "Documentation comments",
601605
"_csharpstandard/standard/Bibliography.md": "Bibliography",
602-
"_csharplang/proposals/csharp-8.0/nullable-reference-types.md": "Null reference types - proposal",
603606
"_csharplang/proposals/csharp-8.0/patterns.md": "Recursive pattern matching",
604607
"_csharplang/proposals/csharp-8.0/default-interface-methods.md": "Default interface methods",
605608
"_csharplang/proposals/csharp-8.0/async-streams.md": "Async streams",
@@ -617,7 +620,6 @@
617620
"_csharplang/proposals/csharp-9.0/local-function-attributes.md": "Attributes on local functions",
618621
"_csharplang/proposals/csharp-9.0/module-initializers.md": "Module initializers",
619622
"_csharplang/proposals/csharp-9.0/native-integers.md": "Native sized integers",
620-
"_csharplang/proposals/csharp-9.0/nullable-reference-types-specification.md": "Nullable reference types - specification",
621623
"_csharplang/proposals/csharp-9.0/patterns3.md": "Pattern matching changes",
622624
"_csharplang/proposals/csharp-9.0/records.md": "Records",
623625
"_csharplang/proposals/csharp-9.0/skip-localsinit.md": "Suppress emitting localsinit flag",
@@ -722,7 +724,6 @@
722724
"_csharpstandard/standard/standard-library.md": "This appendix lists requirements of the specification library. The C# language relies on these types for some of its behavior.",
723725
"_csharpstandard/standard/documentation-comments.md": "This appendix describes XML comments that are used to document your program.",
724726
"_csharpstandard/standard/Bibliography.md": "This appendix lists external standards referenced in this specification.",
725-
"_csharplang/proposals/csharp-8.0/nullable-reference-types.md": "This feature specification describes nullable reference types.",
726727
"_csharplang/proposals/csharp-8.0/patterns.md": "This feature specification describes recursive pattern matching, where patterns can nest inside other patterns.",
727728
"_csharplang/proposals/csharp-8.0/default-interface-methods.md": "This feature specification describe the syntax updates necessary to support default interface methods. This includes declaring bodies in interface declarations, and supporting modifiers on declarations.",
728729
"_csharplang/proposals/csharp-8.0/async-streams.md": "This feature specification describes async streams, which return streams of data asynchronously, typically as each element is produced or available.",
@@ -740,7 +741,6 @@
740741
"_csharplang/proposals/csharp-9.0/local-function-attributes.md": "This feature specification describes rules to apply attributes on local functions.",
741742
"_csharplang/proposals/csharp-9.0/module-initializers.md": "This feature specification describes how to declare module initializers, which are methods called by the runtime when a module, or assembly, is loaded.",
742743
"_csharplang/proposals/csharp-9.0/native-integers.md": "This feature specification describes native sized integers, which are integer types that use the processor's natural integral types.",
743-
"_csharplang/proposals/csharp-9.0/nullable-reference-types-specification.md": "This feature specification provides a more complete specification for nullable reference types.",
744744
"_csharplang/proposals/csharp-9.0/patterns3.md": "This feature specification describes the additional pattern matching syntax added in C# 9.0. This includes relational patterns, 'and' and 'or' patterns, negated patterns and parenthesized patterns.",
745745
"_csharplang/proposals/csharp-9.0/records.md": "This feature specification describes records. Records are reference types that provide value based equality semantics.",
746746
"_csharplang/proposals/csharp-9.0/skip-localsinit.md": "This feature specification describes a performance enhancement to suppress emitting localsinit flag. This will prevent the runtime from initializing memory to 0 as part of allocating it.",

docs/csharp/nullable-references.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,7 @@ In the preceding example, the declaration of the array shows it holds non-nullab
389389

390390
## See also
391391

392-
- [Nullable reference types proposal](~/_csharplang/proposals/csharp-8.0/nullable-reference-types.md)
393-
- [Draft nullable reference types specification](~/_csharplang/proposals/csharp-9.0/nullable-reference-types-specification.md)
392+
- [Nullable reference types specification](~/_csharpstandard/standard/types.md#893-nullable-reference-types)
394393
- [Unconstrained type parameter annotations](~/_csharplang/proposals/csharp-9.0/unconstrained-type-parameter-annotations.md)
395394
- [Intro to nullable references tutorial](tutorials/nullable-reference-types.md)
396395
- [**Nullable** (C# Compiler option)](language-reference/compiler-options/language.md#nullable)

docs/csharp/specification/feature-spec-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.date: 05/08/2024
55
---
66
# Feature specifications
77

8-
Because the [C# standard specification](overview.md) has fallen behind the latest C# implementation, this section contains the [Microsoft specifications](~/_csharplang/proposals/csharp-8.0/nullable-reference-types.md) for those newer features that haven't yet been incorporated into the standard. You can read these specifications to get information on newer features.
8+
Because the [C# standard specification](overview.md) has fallen behind the latest C# implementation, this section contains the [Microsoft specifications](~/_csharplang/proposals/csharp-10.0/enhanced-line-directives.md) for those newer features that haven't yet been incorporated into the standard. You can read these specifications to get information on newer features.
99

1010
The feature specifications began as proposals for the design. They include proposed changes to the standard. The C# language design team and compiler team produce these feature specifications. The purpose of the proposals is to guide the design and implementation of the feature. They might include proposed features that haven't yet been implemented. The actual implementation might have modified behavior. Those changes are captured in the language design meeting (LDM) notes. The LDM notes are the minutes of the language design meetings. In most cases, the pertinent LDM notes are linked from the feature specifications.
1111

docs/csharp/specification/toc.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ items:
8989
href: ../../../_csharplang/proposals/csharp-9.0/skip-localsinit.md
9090
- name: Types
9191
items:
92-
- name: Nullable reference types - proposal
93-
href: ../../../_csharplang/proposals/csharp-8.0/nullable-reference-types.md
94-
- name: Nullable reference types - specification
95-
href: ../../../_csharplang/proposals/csharp-9.0/nullable-reference-types-specification.md
9692
- name: Records
9793
href: ../../../_csharplang/proposals/csharp-9.0/records.md
9894
- name: Record structs

0 commit comments

Comments
 (0)