You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Type.IsPublic returns wrong answer for pointer and byref types #12355
Even though int is public, int* and int& aren't. Sample code below.
Console.WriteLine(typeof(int).MakePointerType().IsPublic);// prints 'False', expected 'True'Console.WriteLine(typeof(int).MakeByRefType().IsPublic);// prints 'False', expected 'True'
Perhaps an oversight when copying the elemental Type's visibility attributes into the pointer / byref Type we manfacture behind the scenes?
@krwq Yes, and sorry for the delay. I had it planned for this week, but it turned out to be busier then I thought.
It will for sure be delivered within next week.
Activity
steveharter commentedon May 30, 2019
Moving to future; not in scope for 3.0.
BartoszKlonowski commentedon May 23, 2021
@GrabYourPitchforks I would like to work on that, so please assign me to this issue.
CC: @steveharter @krwq
3 remaining items
BartoszKlonowski commentedon Jul 8, 2021
@krwq Yes, and sorry for the delay. I had it planned for this week, but it turned out to be busier then I thought.
It will for sure be delivered within next week.
BartoszKlonowski commentedon Aug 3, 2021
@krwq Unfortunately I need to postpone my work on this as I currently don't have enough time to spend to deep into this, sorry for inconvenience.
GrabYourPitchforks commentedon Aug 3, 2021
Thanks for the heads up @BartoszKlonowski! I think we all understand busy schedules interfering with these things. :)