Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/prompts/error-consolidation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Overall steps:

We're going to work through a series of files consolidating errors and warnings.

- For the duration of this chat, all references to "destination file" refer to `explicit-interface-errors.md`.
- For the duration of this chat, all references to "the target theme" refer to errors and warnings related to members that explicitly implement an interface member.
- For the duration of this chat, all references to "destination file" refer to `generic-type-parameters-errors.md`.
- For the duration of this chat, all references to "the target theme" refer to errors and warnings related to generic type parameters and generic type arguments.

The destination file already contains a skeleton for the final output.

Expand Down Expand Up @@ -64,7 +64,7 @@ Understand these instructions, then suggest a list of themes and the included er

## Move from description to resolution

Rework the highlighted section so the focus is on how to correct each error. This article doesn't need to explain the associated language feature. Instead, in each section, provide links to language reference or language specification material that explains the rules violated when these diagnostics appear. Add explanatory context after each correction (in parentheses with the error code). Provided brief reasons why each correction is needed. Use detailed, sentence-style explanations rather than brief imperative statements. For each recommendation put the affectived error codes in parentheses, and in **bold** style. Remove extensive examples.
Rework the highlighted section so the focus is on how to correct each error. This article doesn't need to explain the associated language feature. Instead, in each section, provide links to language reference or language specification material that explains the rules violated when these diagnostics appear. Add explanatory context after each correction (in parentheses with the error code). Provided brief reasons why each correction is needed. Use detailed, sentence-style explanations rather than brief imperative statements. For each recommendation put the affectived error codes in parentheses, and in **bold** style. Remove extensive examples. Remove all H3 headings in this section. If any errors are no longer produced in the latest version of C#, make a note of that.

## Verify error messages

Expand Down
100 changes: 100 additions & 0 deletions .openpublishing.redirection.csharp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,105 @@
{
"redirections": [
{
"source_path_from_root": "/docs/csharp/misc/cs0080.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0081.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0305.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0306.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0307.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0308.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0312.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0313.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0314.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0315.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0403.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0412.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0694.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0695.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/misc/cs0698.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/language-reference/compiler-messages/cs0304.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/language-reference/compiler-messages/cs0310.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/language-reference/compiler-messages/cs0311.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/language-reference/compiler-messages/cs0413.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/csharp/language-reference/compiler-messages/cs0417.md",
"redirect_url": "/dotnet/csharp/language-reference/compiler-messages/generic-type-parameters-errors",
"redirect_document_id": false
},
{
"source_path_from_root": "/redirections/proposals/csharp-7.0/binary-literals.md",
"redirect_url": "/dotnet/csharp/language-reference/language-specification/lexical-structure#6453-integer-literals"
Expand Down
66 changes: 0 additions & 66 deletions docs/csharp/language-reference/compiler-messages/cs0304.md

This file was deleted.

51 changes: 0 additions & 51 deletions docs/csharp/language-reference/compiler-messages/cs0310.md

This file was deleted.

45 changes: 0 additions & 45 deletions docs/csharp/language-reference/compiler-messages/cs0311.md

This file was deleted.

45 changes: 0 additions & 45 deletions docs/csharp/language-reference/compiler-messages/cs0413.md

This file was deleted.

35 changes: 0 additions & 35 deletions docs/csharp/language-reference/compiler-messages/cs0417.md

This file was deleted.

Loading