microsoft / microsoft/api-guidelines
7.10.2 InnerError has property of InnerError
Open
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 23.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- csharp
- Domain
- api, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100