Skip to content

Commit 27f693f

Browse files
authored
unpublish unmanaged constraint (#33868)
see dotnet/csharpstandard#244 The standard draft language has been updated to add the `unmanaged` generic constraint. Remove the feature speclet from the docs site.
1 parent 563b2e8 commit 27f693f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.openpublishing.redirection.csharp.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
"source_path_from_root": "/redirections/proposals/csharp-7.3/leading-digit-separator.md",
4949
"redirect_url": "/dotnet/csharp/language-reference/language-specification/lexical-structure#6453-integer-literals"
5050
},
51+
{
52+
"source_path_from_root": "/redirections/proposals/csharp-7.3/blittable.md",
53+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/classes#1425-type-parameter-constraints"
54+
},
5155
{
5256
"source_path_from_root": "/redirections/proposals/csharp-10.0/generic-attributes.md",
5357
"redirect_url": "/dotnet/csharp/language-reference/proposals/csharp-11.0/generic-attributes"

docfx.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"csharp-7.3/enum-delegate-constraints.md",
7676
"csharp-7.3/improved-overload-candidates.md",
7777
"csharp-7.3/ref-loops.md",
78+
"csharp-7.3/blittable.md",
7879
"csharp-8.0/alternative-interpolated-verbatim.md",
7980
"csharp-8.0/async-using.md",
8081
"csharp-8.0/constraints-in-overrides.md",
@@ -128,8 +129,7 @@
128129
"_csharplang/proposals/csharp-7.0/throw-expression.md",
129130
"_csharplang/proposals/csharp-7.1/target-typed-default.md",
130131
"_csharplang/proposals/csharp-7.2/readonly-struct.md",
131-
"_csharplang/proposals/csharp-7.2/non-trailing-named-arguments.md",
132-
"_csharplang/proposals/csharp-7.3/blittable.md"
132+
"_csharplang/proposals/csharp-7.2/non-trailing-named-arguments.md"
133133
]
134134
}
135135
},
@@ -637,7 +637,6 @@
637637
"_csharplang/proposals/csharp-7.2/conditional-ref.md": "Conditional ref",
638638
"_csharplang/proposals/csharp-7.2/leading-separator.md": "Leading digit separator",
639639

640-
"_csharplang/proposals/csharp-7.3/blittable.md": "Unmanaged generic type constraints",
641640
"_csharplang/proposals/csharp-7.3/indexing-movable-fixed-fields.md": "Indexing fixed fields without pinning regardless of context",
642641
"_csharplang/proposals/csharp-7.3/pattern-based-fixed.md": "Pattern-based fixed statement",
643642
"_csharplang/proposals/csharp-7.3/ref-local-reassignment.md": "Ref local reassignment",
@@ -772,7 +771,6 @@
772771
"_csharplang/proposals/csharp-7.2/conditional-ref.md": "This feature specification describes the syntax enhancements for using 'ref' with '?:' expressions",
773772
"_csharplang/proposals/csharp-7.2/leading-separator.md": "This feature specification describes syntax enhancements to support a leading digit separator in numeric literals.",
774773

775-
"_csharplang/proposals/csharp-7.3/blittable.md": "This feature specification describes the 'unmanaged' generic type constraint. That forces the type argument to be an unmanaged type.",
776774
"_csharplang/proposals/csharp-7.3/indexing-movable-fixed-fields.md": "This feature specification describes syntax enhancement to support indexing fixed fields without pinning the memory, regardless of context.",
777775
"_csharplang/proposals/csharp-7.3/pattern-based-fixed.md": "This feature specification describes syntax enhancements to enable more types to be the target of a fixed statement.",
778776
"_csharplang/proposals/csharp-7.3/ref-local-reassignment.md": "This feature specification describes syntax enhancements that enable ref local variables to be assigned to refer to different storage after being initialized.",

docs/csharp/language-reference/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The features that have been implemented in C# versions after 6.0, including thos
5151
[C# 7.2 Specification Proposals](~/_csharplang/proposals/csharp-7.2/readonly-ref.md)
5252
C# 7.2 added a number of small features. You can pass arguments by readonly reference using the `in` keyword. There are a number of low-level changes to support compile-time safety for `Span` and related types. You can use named arguments where later arguments are positional, in some situations. The `private protected` access modifier enables you to specify that callers are limited to derived types implemented in the same assembly. The `?:` operator can resolve to a reference to a variable. You can also format hexadecimal and binary numbers using a leading digit separator.
5353

54-
[C# 7.3 Specification Proposals](~/_csharplang/proposals/csharp-7.3/blittable.md)
54+
[C# 7.3 Specification Proposals](~/_csharplang/proposals/csharp-7.3/indexing-movable-fixed-fields.md)
5555
C# 7.3 is another point release that includes several small updates. You can use new constraints on generic type parameters. Other changes make it easier to work with `fixed` fields, including using [`stackalloc`](./operators/stackalloc.md) allocations. Local variables declared with the `ref` keyword may be reassigned to refer to new storage. You can place attributes on auto-implemented properties that target the compiler-generated backing field. Expression variables can be used in initializers. Tuples can be compared for equality (or inequality). There have also been some improvements to overload resolution.
5656

5757
[C# 8.0 Specification Proposals](~/_csharplang/proposals/csharp-8.0/nullable-reference-types.md)

docs/csharp/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,8 +1367,6 @@ items:
13671367
href: ../../_csharplang/proposals/csharp-7.2/conditional-ref.md
13681368
- name: C# 7.3 features
13691369
items:
1370-
- name: Unmanaged generic type constraints
1371-
href: ../../_csharplang/proposals/csharp-7.3/blittable.md
13721370
- name: Indexing `fixed` fields should not require pinning regardless of the movable/unmovable context
13731371
href: ../../_csharplang/proposals/csharp-7.3/indexing-movable-fixed-fields.md
13741372
- name: Pattern-based `fixed` statement

0 commit comments

Comments
 (0)