Skip to content

Commit c2194f8

Browse files
authored
WasmAppBuilder: Remove double computation of a value (#112047)
1 parent 8edaf74 commit c2194f8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/tasks/WasmAppBuilder/PInvokeCollector.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,6 @@ private bool HasAssemblyDisableRuntimeMarshallingAttribute(Assembly assembly)
204204
.Any(d => d.AttributeType.Name == "DisableRuntimeMarshallingAttribute");
205205
}
206206

207-
value = assembly.GetCustomAttributesData().Any(d => d.AttributeType.Name == "DisableRuntimeMarshallingAttribute");
208-
209207
return value;
210208
}
211209
}

0 commit comments

Comments
 (0)