Skip to content

Commit 59d6b4d

Browse files
authored
Update custom-marshalling-source-generation.md (#44690)
Fixes #44688
1 parent 7e1b121 commit 59d6b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard/native-interop/custom-marshalling-source-generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ The `ListMarshaller` in the example is a stateless collection marshaller that im
124124
```csharp
125125
[LibraryImport("nativelib")]
126126
[return: MarshalUsing(typeof(ListMarshaller<,>), CountElementName = "numValues")]
127-
internal static partial void ConvertList(
127+
internal static partial List<int> ConvertList(
128128
[MarshalUsing(typeof(ListMarshaller<,>))] List<int> list,
129129
out int numValues);
130130
```

0 commit comments

Comments
 (0)