Skip to content

Commit

Permalink
WasmAppBuilder: Remove double computation of a value (#112047)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipnavara authored Jan 31, 2025
1 parent 8edaf74 commit c2194f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/tasks/WasmAppBuilder/PInvokeCollector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ private bool HasAssemblyDisableRuntimeMarshallingAttribute(Assembly assembly)
.Any(d => d.AttributeType.Name == "DisableRuntimeMarshallingAttribute");
}

value = assembly.GetCustomAttributesData().Any(d => d.AttributeType.Name == "DisableRuntimeMarshallingAttribute");

return value;
}
}
Expand Down

0 comments on commit c2194f8

Please sign in to comment.