提交 4c54d54b 编写于 作者: M Marek Safar

[658722] Don't require arity symbol to be part of the typename

上级 fb702c0e
......@@ -1637,8 +1637,11 @@ namespace Mono.CSharp
get {
if (name == null) {
name = base.Name;
if (tparams != null)
name = name.Substring (0, name.IndexOf ('`'));
if (tparams != null) {
int arity_start = name.IndexOf ('`');
if (arity_start > 0)
name = name.Substring (0, arity_start);
}
}
return name;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册