Skip to content

Commit

Permalink
Fix additionalReturnTypeAttributes not being applied.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrunwald committed Oct 15, 2023
1 parent 5a5be02 commit 18666d8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ internal static (IType returnType, IParameter[] parameters, ModifiedType returnT
}
Debug.Assert(i == parameters.Length);
var returnType = ApplyAttributeTypeVisitor.ApplyAttributesToType(signature.ReturnType,
module.Compilation, returnTypeAttributes, metadata, typeSystemOptions, nullableContext);
module.Compilation, returnTypeAttributes, metadata, typeSystemOptions, nullableContext,
additionalAttributes: additionalReturnTypeAttributes);
return (returnType, parameters, signature.ReturnType as ModifiedType);
}
#endregion
Expand Down

0 comments on commit 18666d8

Please sign in to comment.