Skip to content

Commit

Permalink
Update to use CustomMarshaller entry point type (dotnet/runtime#71398)
Browse files Browse the repository at this point in the history
Commit migrated from dotnet/runtime@6c10d0e
  • Loading branch information
elinor-fung committed Jun 28, 2022
1 parent 2a479be commit 75041bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ internal sealed class DOCINFO
internal int fwType;

#if NET7_0_OR_GREATER
[ManagedToUnmanagedMarshallers(typeof(DOCINFO), InMarshaller = typeof(Marshaller))]
[CustomMarshaller(typeof(DOCINFO), Scenario.ManagedToUnmanagedIn, typeof(Marshaller))]
public static class Marshaller
{
public static Native ConvertToUnmanaged(DOCINFO managed) => new(managed);
Expand Down

0 comments on commit 75041bb

Please sign in to comment.