未验证 提交 b65f58e8 编写于 作者: M Michal Strehovský 提交者: GitHub

Fix up DiagnosticName of RuntimeDetermined types (#66937)

Name/Namespace of these already includes the details type name. Bring this over to DiagnosticName too.

This is so that we can distinguish between `List<__Canon>` and List<T___Canon>`.
上级 82d06f5a
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Internal.TypeSystem
{
partial class RuntimeDeterminedType
......@@ -17,7 +19,7 @@ public override string DiagnosticNamespace
{
get
{
return _rawCanonType.DiagnosticNamespace;
return String.Concat(_runtimeDeterminedDetailsType.DiagnosticName, "_", _rawCanonType.DiagnosticNamespace); ;
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册