提交 5f863f2c 编写于 作者: B Ben Adams

Remove InvocationReasons enum boxing

上级 0467411c
...@@ -45,14 +45,19 @@ public bool IsEmpty ...@@ -45,14 +45,19 @@ public bool IsEmpty
} }
} }
public IEnumerator<string> GetEnumerator() public ImmutableHashSet<string>.Enumerator GetEnumerator()
{
return _reasons.GetEnumerator();
}
IEnumerator<string> IEnumerable<string>.GetEnumerator()
{ {
return _reasons.GetEnumerator(); return _reasons.GetEnumerator();
} }
IEnumerator IEnumerable.GetEnumerator() IEnumerator IEnumerable.GetEnumerator()
{ {
return this.GetEnumerator(); return _reasons.GetEnumerator();
} }
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册