7.10.2 InnerError has property of InnerError

Open
#434 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
api, documentation

Research direction

Review the 7.10.2 guidance and the C# compiler error described in the issue. Determine whether the documented InnerError type can be represented in C# or should be Error, then update the guideline to make the valid choice and its rationale explicit.

Written by the indexing model from the issue text.

Description

How can this be implemented in C# since this causes error CS0542 "member names cannot be the same as their enclosing type"?

Shouldn't the type of InnerError just be Error?

Dominant language
No language data
Stars
23.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/api-guidelines

All issues in microsoft/api-guidelines

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.