We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8536fc9 commit 8c394afCopy full SHA for 8c394af
tests/CSharp/CSharp.cs
@@ -142,10 +142,7 @@ private static Type GetEnumType(Type mappedType)
142
ClassTemplateSpecialization classTemplateSpecialization;
143
var templateSpecializationType = type as TemplateSpecializationType;
144
if (templateSpecializationType != null)
145
- {
146
- classTemplateSpecialization = templateSpecializationType.GetClassTemplateSpecialization();
147
- return classTemplateSpecialization.Arguments[0].Type.Type;
148
- }
+ return templateSpecializationType.Arguments[0].Type.Type;
149
var declaration = ((TagType) type).Declaration;
150
if (declaration.IsDependent)
151
return new TagType(((Class) declaration).TemplateParameters[0]);
0 commit comments