diff --git a/CCIProvider/TypeExtractor.cs b/CCIProvider/TypeExtractor.cs index 19e64dda..4567dd75 100644 --- a/CCIProvider/TypeExtractor.cs +++ b/CCIProvider/TypeExtractor.cs @@ -116,6 +116,8 @@ public TypeDefinition ExtractStruct(Cci.INamedTypeDefinition typedef, Cci.ISourc { var name = typedef.Name.Value; var type = new TypeDefinition(name, TypeKind.ValueType, TypeDefinitionKind.Struct); + var basedef = typedef.BaseClasses.SingleOrDefault(); + type.Base = ExtractType(basedef) as IBasicType; ExtractAttributes(type.Attributes, typedef.Attributes); ExtractGenericTypeParameters(type, typedef);