Skip to content

Commit

Permalink
Fix icsharpcode#2781: Fix missing nullability annotation on base type
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfriedpammer committed Oct 3, 2022
1 parent 47250d6 commit b9f2fc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ public IEnumerable<IType> DirectBaseTypes {
EntityHandle baseTypeHandle = td.BaseType;
if (!baseTypeHandle.IsNil)
{
baseType = module.ResolveType(baseTypeHandle, context);
baseType = module.ResolveType(baseTypeHandle, context, metadata.GetCustomAttributes(this.handle), Nullability.Oblivious);
}
}
catch (BadImageFormatException)
Expand Down

0 comments on commit b9f2fc4

Please sign in to comment.