dotnet / dotnet/dotnet-api-docs

The internal class example is wrong

Open
#838 0 comments 0 reactions 1 assignee Claimed by @BillWagner View on GitHub
area-System.CodeDom dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

The internal class example is wrong, it should be:
cd.TypeAttributes = (cd.TypeAttributes & ~TypeAttributes.VisibilityMask) | TypeAttributes.NestedAssembly;

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 9c5c2594-2426-4d75-667d-021257a805db
* Version Independent ID: 48d7c991-161d-4601-8c49-975109680e2e
* Content: [CodeTypeDeclaration.TypeAttributes Property (System.CodeDom)](https://docs.microsoft.com/en-us/dotnet/api/system.codedom.codetypedeclaration.typeattributes?redirectedfrom=MSDN&view=netframework-4.7.2#System_CodeDom_CodeTypeDeclaration_TypeAttributes)
* Content Source: [xml/System.CodeDom/CodeTypeDeclaration.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.CodeDom/CodeTypeDeclaration.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

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.