Skip to content

Commit d48a44f

Browse files
Separate variance information in mangled names (#63866)
Fixes dotnet/runtimelab#1821. Eventually we'll need to have a holistic look at how we mangle things.
1 parent 6dcb039 commit d48a44f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/GenericCompositionNode.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public void AppendMangledName(NameMangler nameMangler, Utf8StringBuilder sb)
3636

3737
if (_details.Variance != null)
3838
{
39+
sb.Append("__Variance__");
3940
for (int i = 0; i < _details.Variance.Length; i++)
4041
{
4142
sb.Append('_');

0 commit comments

Comments
 (0)