Skip to content

Commit c1fd42e

Browse files
authored
Merge pull request mono#6097 from mono/slluis-patch-1
Fix invalid enum values in LogGCEvent
2 parents 984f648 + b736b42 commit c1fd42e

File tree

1 file changed

+5
-5
lines changed
  • mcs/class/Mono.Profiler.Log/Mono.Profiler.Log

1 file changed

+5
-5
lines changed

mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogEnums.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,11 @@ public enum LogHeapRootAttributes {
139139
WeakReference = 2 << 8,
140140
Interior = 4 << 8,
141141

142-
Stack = 0,
143-
Finalizer = 1,
144-
Handle = 2,
145-
Other = 3,
146-
Miscellaneous = 4,
142+
Stack = 1 << 0,
143+
Finalizer = 1 << 1,
144+
Handle = 1 << 2,
145+
Other = 1 << 3,
146+
Miscellaneous = 1 << 4,
147147

148148
TypeMask = 0xff,
149149
}

0 commit comments

Comments
 (0)