Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wrighton <davidwr@microsoft.com>2018-03-13 20:00:45 +0300
committerDavid Wrighton <davidwr@microsoft.com>2018-03-13 20:00:45 +0300
commit50ff9debb73910ee497310d16b41b1170fa9e21f (patch)
tree590b1a02d35d66dafaa37bdef55ee942d0f120cb /src/ILCompiler.TypeSystem
parenta129a5d3c9b6b6ce3c63174c4c6d685d3a8b56b6 (diff)
Fix issue where syncing to latest causes all multifile projectX builds to fail
- Issue was that our algorithm for computing equivalence between the ILToc and the thing we are compiling was using a string which was supposed to be unique per type - Unfortunately, it wasn't in the case of nested types nested in other nested types - Fix is straightforward, simply use AppendName instead of AppendNameForNamespaceType for the containing type. [tfs-changeset: 1691597]
Diffstat (limited to 'src/ILCompiler.TypeSystem')
-rw-r--r--src/ILCompiler.TypeSystem/src/Utilities/UniqueTypeNameFormatter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ILCompiler.TypeSystem/src/Utilities/UniqueTypeNameFormatter.cs b/src/ILCompiler.TypeSystem/src/Utilities/UniqueTypeNameFormatter.cs
index 62d4cc411..5da415a46 100644
--- a/src/ILCompiler.TypeSystem/src/Utilities/UniqueTypeNameFormatter.cs
+++ b/src/ILCompiler.TypeSystem/src/Utilities/UniqueTypeNameFormatter.cs
@@ -120,7 +120,7 @@ namespace Internal.TypeSystem
protected override void AppendNameForNestedType(StringBuilder sb, DefType nestedType, DefType containingType)
{
- AppendNameForNamespaceType(sb, containingType);
+ AppendName(sb, containingType);
sb.Append('+');