Skip to content

Commit 3b2aea8

Browse files
Update InstructionSetGenerator to match CorInfoInstructionSet.cs (#119704)
Slipped in #119385.
1 parent ec4a8b0 commit 3b2aea8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/coreclr/tools/Common/JitInterface/ThunkGenerator/InstructionSetGenerator.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -803,15 +803,15 @@ public static InstructionSet LookupPlatformIntrinsicInstructionSet(TargetArchite
803803
if (metadataType == null)
804804
return InstructionSet.ILLEGAL;
805805
806-
string namespaceName = metadataType.Namespace;
807-
string typeName = metadataType.Name;
806+
string namespaceName = metadataType.GetNamespace();
807+
string typeName = metadataType.GetName();
808808
string nestedTypeName = null;
809809
while (metadataType.ContainingType != null)
810810
{
811811
var enclosingType = (MetadataType)metadataType.ContainingType;
812-
namespaceName = enclosingType.Namespace;
813-
nestedTypeName = nestedTypeName is null ? metadataType.Name : $""{metadataType.Name}_{nestedTypeName}"";
814-
typeName = enclosingType.Name;
812+
namespaceName = enclosingType.GetNamespace();
813+
nestedTypeName = nestedTypeName is null ? metadataType.GetName() : $""{metadataType.GetName()}_{nestedTypeName}"";
814+
typeName = enclosingType.GetName();
815815
metadataType = enclosingType;
816816
}
817817

0 commit comments

Comments
 (0)