Skip to content

Commit f140a76

Browse files
committed
CorDebug: Do not hide members marked with CompilerGeneratedAttribute
(cherry picked from commit 47cbbf4)
1 parent 8ca84c9 commit f140a76

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Mono.Debugging.Win32/CorObjectAdaptor.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,11 +1699,6 @@ protected override TypeDisplayData OnGetTypeDisplayData (EvaluationContext ctx,
16991699

17001700
foreach (MemberInfo m in mems) {
17011701
object[] atts = m.GetCustomAttributes (typeof (DebuggerBrowsableAttribute), false);
1702-
if (atts.Length == 0) {
1703-
atts = m.GetCustomAttributes (typeof (CompilerGeneratedAttribute), false);
1704-
if (atts.Length > 0)
1705-
atts[0] = new DebuggerBrowsableAttribute (DebuggerBrowsableState.Never);
1706-
}
17071702
if (atts.Length > 0) {
17081703
hasTypeData = true;
17091704
if (memberData == null)

0 commit comments

Comments
 (0)