Skip to content
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ internal static bool ShouldCheckForPendingException(TargetDetails target, PInvok

public static bool IsRuntimeMarshallingEnabled(ModuleDesc module)
{
return module.Assembly is not EcmaAssembly assembly || !assembly.HasAssemblyCustomAttribute("System.Runtime.CompilerServices", "DisableRuntimeMarshallingAttribute");
return module.Assembly is EcmaAssembly assembly && !assembly.HasAssemblyCustomAttribute("System.Runtime.CompilerServices", "DisableRuntimeMarshallingAttribute");
Comment thread
jkoritzinsky marked this conversation as resolved.
}

public static bool IsMarshallingRequired(MethodSignature methodSig, ModuleDesc moduleContext)
Expand Down
Loading