dotnet / dotnet/dotnet-api-docs

Missing remark about only works with public classes

Open
#994 0 comments 0 reactions 0 assignees View on GitHub
area-System.Runtime.InteropServices dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

ComVisible is ignored if the class it's on is not public which seems like something the docs should call out.

---
#### Document Details

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

* ID: cb7b7d06-51ce-e55a-7ec9-bc146f746793
* Version Independent ID: fa60b098-75bc-f5d1-fe82-3565497d249c
* Content: [ComVisibleAttribute(Boolean) Constructor (System.Runtime.InteropServices)](https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.comvisibleattribute.-ctor?redirectedfrom=MSDN&view=netframework-4.7.2#System_Runtime_InteropServices_ComVisibleAttribute__ctor_System_Boolean_)
* Content Source: [xml/System.Runtime.InteropServices/ComVisibleAttribute.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Runtime.InteropServices/ComVisibleAttribute.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.