Skip to content

Commit

Permalink
More test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed Feb 22, 2022
1 parent 86c386a commit 3104a16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ struct S
{{
}}
[CustomTypeMarshaller(typeof(S))]
struct Native
{{
public Native(S s) {{ }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -843,10 +843,10 @@ class {|#0:S|}
public ref byte GetPinnableReference() => ref c;
}
[CustomTypeMarshaller(typeof(S))]
[CustomTypeMarshaller(typeof(S), BufferSize = 0x100)]
struct {|#1:Native|}
{
public Native(S s, Span<byte> buffer, BufferSize = 0x100) {}
public Native(S s, Span<byte> buffer) {}
public IntPtr Value => IntPtr.Zero;
}";
Expand Down

0 comments on commit 3104a16

Please sign in to comment.