|
|
|
@ -51,13 +51,6 @@ namespace CppSharp.Types |
|
|
|
|
|
|
|
|
|
|
|
public bool FindTypeMap(Type type, out TypeMap typeMap) |
|
|
|
public bool FindTypeMap(Type type, out TypeMap typeMap) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (type.Desugar(resolveTemplateSubstitution: false) is |
|
|
|
|
|
|
|
TemplateParameterSubstitutionType) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
typeMap = null; |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (typeMaps.ContainsKey(type)) |
|
|
|
if (typeMaps.ContainsKey(type)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
typeMap = typeMaps[type]; |
|
|
|
typeMap = typeMaps[type]; |
|
|
|
|