Skip to content

Commit 5c79ca7

Browse files
authored
Merge pull request #42 from tmat/FixInterop
Fix parameter index
2 parents 51d1130 + 745e99e commit 5c79ca7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Microsoft.DiaSymReader/Shared/ISymEncUnmanagedMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ int GetFileNameFromOffset(
2020
int offset,
2121
int bufferLength,
2222
out int count,
23-
[In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] char[] name);
23+
[In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] char[] name);
2424

2525
/// <summary>
2626
/// Get the Line information associated with <paramref name="offset"/>.

0 commit comments

Comments
 (0)