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
Fix trimming issue on mobile targets
  • Loading branch information
stephentoub committed Jul 11, 2021
commit 224f95cae493e8800371789425b18ae7636246a5
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Diagnostics.CodeAnalysis;

namespace System.Runtime.InteropServices
{
public sealed partial class PosixSignalRegistration
{
private PosixSignalRegistration() { }

[DynamicDependency("#ctor")] // Prevent the private ctor and the IDisposable implementation from getting linked away
public static partial PosixSignalRegistration Create(PosixSignal signal, Action<PosixSignalContext> handler)
{
if (handler is null)
Expand Down