diff options
author | David Wrighton <davidwr@microsoft.com> | 2018-03-13 20:00:45 +0300 |
---|---|---|
committer | David Wrighton <davidwr@microsoft.com> | 2018-03-13 20:00:45 +0300 |
commit | 50ff9debb73910ee497310d16b41b1170fa9e21f (patch) | |
tree | 590b1a02d35d66dafaa37bdef55ee942d0f120cb /src/ILCompiler.TypeSystem | |
parent | a129a5d3c9b6b6ce3c63174c4c6d685d3a8b56b6 (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.cs | 2 |
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('+'); |