summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/Label.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/Label.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/Label.cs
index e49d471a99..503d8b32be 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/Label.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/Label.cs
@@ -26,7 +26,7 @@ namespace System.Reflection.Emit
// is passed to the MethodWriter.
// Labels are created by using ILGenerator.CreateLabel and their position is set
// by using ILGenerator.MarkLabel.
- public struct Label
+ public struct Label : IEquatable<Label>
{
internal int m_label;