Add ComputeSharp.Core dependency to downstream projects
このコミットが含まれているのは:
1 親
e48949cd48
コミット
f1918c8348
11ファイル変更
+71
-78
検索条件に一致するファイルはありません
@@ -13,5 +13,6 @@
|
||||
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime.CompilerServices\InterpolatedStringHandlerArgumentAttribute.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime.CompilerServices\InterpolatedStringHandlerAttribute.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime.CompilerServices\RuntimeHelpers.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime.CompilerServices\SkipLocalsInitAttribute.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
namespace System.Runtime.CompilerServices;
|
||||
|
||||
/// <summary>
|
||||
/// Used to indicate to the compiler that the <c>.locals init</c>
|
||||
/// flag should not be set in method headers.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This attribute is unsafe because it may reveal uninitialized memory to
|
||||
/// the application in certain instances (e.g., reading from uninitialized
|
||||
/// stackalloc'd memory). If applied to a method directly, the attribute
|
||||
/// applies to that method and all nested functions (lambdas, local
|
||||
/// functions) below it. If applied to a type or module, it applies to all
|
||||
/// methods nested inside. This attribute is intentionally not permitted on
|
||||
/// assemblies. Use at the module level instead to apply to multiple type
|
||||
/// declarations.
|
||||
/// </remarks>
|
||||
[AttributeUsage(AttributeTargets.Module
|
||||
| AttributeTargets.Class
|
||||
| AttributeTargets.Struct
|
||||
| AttributeTargets.Interface
|
||||
| AttributeTargets.Constructor
|
||||
| AttributeTargets.Method
|
||||
| AttributeTargets.Property
|
||||
| AttributeTargets.Event, Inherited = false)]
|
||||
internal sealed class SkipLocalsInitAttribute : Attribute
|
||||
{
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする