Switch methods to block bodies
このコミットが含まれているのは:
1 親
16c0fc9aab
コミット
b2afb88f30
53ファイル変更
+426
-132
検索条件に一致するファイルはありません
@@ -1,5 +1,7 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
#pragma warning disable IDE0022
|
||||
|
||||
namespace ComputeSharp.D2D1;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
#pragma warning disable IDE0022
|
||||
|
||||
namespace ComputeSharp.D2D1;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
#pragma warning disable IDE0022
|
||||
|
||||
namespace ComputeSharp.D2D1;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -43,14 +43,11 @@ unsafe partial struct PixelShaderEffect
|
||||
#endif
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return &GetConstantBufferImpl;
|
||||
get => &GetConstantBufferImpl;
|
||||
#else
|
||||
return (void*)Marshal.GetFunctionPointerForDelegate(GetConstantBufferWrapper);
|
||||
get => (void*)Marshal.GetFunctionPointerForDelegate(GetConstantBufferWrapper);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -63,14 +60,11 @@ unsafe partial struct PixelShaderEffect
|
||||
#endif
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
return &SetConstantBufferImpl;
|
||||
get => &SetConstantBufferImpl;
|
||||
#else
|
||||
return (void*)Marshal.GetFunctionPointerForDelegate(SetConstantBufferWrapper);
|
||||
get => (void*)Marshal.GetFunctionPointerForDelegate(SetConstantBufferWrapper);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="D2D1_PROPERTY_BINDING.getFunction"/>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする