Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/tasks/WasmAppBuilder/PInvokeTableGenerator.cs
Co-authored-by: Ankit Jain <[email protected]>
  • Loading branch information
2 people authored and github-actions committed Nov 15, 2022
commit a45eba4d0ad0004d731aa2f4c27335e091153f99
3 changes: 2 additions & 1 deletion src/tasks/WasmAppBuilder/PInvokeTableGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ private void CollectPInvokes(List<PInvoke> pinvokes, List<PInvokeCallback> callb
}
}

if (HasAttribute(type, new string[] {"System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute"})) {
if (HasAttribute(type, new string[] {"System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute"}))
{
var method = type.GetMethod("Invoke");

if (method != null)
Expand Down