Remove unnecessary trim suppression
このコミットが含まれているのは:
1 親
bf107cb936
コミット
73a49edf83
1ファイル変更
-2
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using ComputeSharp.Win32;
|
||||
using WinRT;
|
||||
using IInspectable = ComputeSharp.Win32.IInspectable;
|
||||
@@ -31,7 +30,6 @@ internal static unsafe class RcwMarshaller
|
||||
/// <param name="managedObject">The input RCW instance to unwrap.</param>
|
||||
/// <param name="nativeObject">A pointer to the resulting native object to retrieve.</param>
|
||||
/// <remarks>This method should only be called with <typeparamref name="T"/> being a concrete projected type.</remarks>
|
||||
[SuppressMessage("Trimming", "IL2091", Justification = "Private reflection on constructors is only needed when using 'FromAbi' to create RCWs.")]
|
||||
public static void GetNativeObject<T>(T managedObject, IInspectable** nativeObject)
|
||||
where T : class
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする