dotnet / dotnet/csharpstandard

8.7.1 Scopes/General - hidden names require qualification

Open
#181 2 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
C#
Stars
815
Forks
99
Avg merge
1d 14h
Merged PRs (30d)
16

Description

8.7.1 says

> The name from the outer scope is then said to be **_hidden_** in the region of program text covered by the inner scope, and access to the outer name is only possible by qualifying the name.

However, there are other ways to access hidden names without qualification. See https://github.com/dotnet/roslyn/issues/37230

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.