System.Runtime.CompilerServices.Unsafe 5.0.0

Provides the System.Runtime.CompilerServices.Unsafe class, which provides generic, low-level functionality for manipulating pointers.

Commonly Used Types:
System.Runtime.CompilerServices.Unsafe

When using NuGet 3.x this package requires at least version 3.4.

There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

Install-Package System.Runtime.CompilerServices.Unsafe -Version 5.0.0
dotnet add package System.Runtime.CompilerServices.Unsafe --version 5.0.0
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Runtime.CompilerServices.Unsafe --version 5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: System.Runtime.CompilerServices.Unsafe, 5.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install System.Runtime.CompilerServices.Unsafe as a Cake Addin
#addin nuget:?package=System.Runtime.CompilerServices.Unsafe&version=5.0.0

// Install System.Runtime.CompilerServices.Unsafe as a Cake Tool
#tool nuget:?package=System.Runtime.CompilerServices.Unsafe&version=5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

https://go.microsoft.com/fwlink/?LinkID=799421

  • .NETCoreApp 2.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • Portable Class Library (.NETFramework 4.5, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)

    • No dependencies.
  • Windows 8.0

    • No dependencies.
  • WindowsPhone 8.0

    • No dependencies.
  • WindowsPhoneApp 8.1

    • No dependencies.

NuGet packages (843)

Showing the top 5 NuGet packages that depend on System.Runtime.CompilerServices.Unsafe:

Package Downloads
Microsoft.Extensions.Primitives
Primitives shared by framework extensions. Commonly used types include: Commonly Used Types: Microsoft.Extensions.Primitives.IChangeToken Microsoft.Extensions.Primitives.StringValues Microsoft.Extensions.Primitives.StringSegment
System.Diagnostics.DiagnosticSource
Provides Classes that allow you to decouple code logging rich (unserializable) diagnostics/telemetry (e.g. framework) from code that consumes it (e.g. tools) Commonly Used Types: System.Diagnostics.DiagnosticListener System.Diagnostics.DiagnosticSource
System.Threading.Tasks.Extensions
Provides additional types that simplify the work of writing concurrent and asynchronous code. Commonly Used Types: System.Threading.Tasks.ValueTask<TResult> 7601f4f6225089ffb291dc7d58293c7bbf5c5d4f
System.Memory
Provides types for efficient representation and pooling of managed, stack, and native memory segments and sequences of such segments, along with primitives to parse and format UTF-8 encoded text stored in those memory segments. Commonly Used Types: System.Span System.ReadOnlySpan System.Memory System.ReadOnlyMemory System.Buffers.MemoryPool System.Buffers.ReadOnlySequence System.Buffers.Text.Utf8Parser System.Buffers.Text.Utf8Formatter 7601f4f6225089ffb291dc7d58293c7bbf5c5d4f When using NuGet 3.x this package requires at least version 3.4.
System.Collections.Immutable
This package provides collections that are thread safe and guaranteed to never change their contents, also known as immutable collections. Like strings, any methods that perform modifications will not change the existing instance but instead return a new instance. For efficiency reasons, the implementation uses a sharing mechanism to ensure that newly created instances share as much data as possible with the previous instance while ensuring that operations have a predictable time complexity. Commonly Used Types: System.Collections.Immutable.ImmutableArray System.Collections.Immutable.ImmutableArray<T> System.Collections.Immutable.ImmutableDictionary System.Collections.Immutable.ImmutableDictionary<TKey,TValue> System.Collections.Immutable.ImmutableHashSet System.Collections.Immutable.ImmutableHashSet<T> System.Collections.Immutable.ImmutableList System.Collections.Immutable.ImmutableList<T> System.Collections.Immutable.ImmutableQueue System.Collections.Immutable.ImmutableQueue<T> System.Collections.Immutable.ImmutableSortedDictionary System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> System.Collections.Immutable.ImmutableSortedSet System.Collections.Immutable.ImmutableSortedSet<T> System.Collections.Immutable.ImmutableStack System.Collections.Immutable.ImmutableStack<T>

GitHub repositories (432)

Showing the top 5 popular GitHub repositories that depend on System.Runtime.CompilerServices.Unsafe:

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
PowerShell/PowerShell
PowerShell for every system!
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
AvaloniaUI/Avalonia
A cross platform XAML framework for .NET

Version History

Version Downloads Last updated
6.0.0-preview.3.21201.4 5,754 4/8/2021
6.0.0-preview.2.21154.6 43,880 3/11/2021
6.0.0-preview.1.21102.12 50,472 2/12/2021
5.0.0 8,405,571 11/9/2020
5.0.0-rc.2.20475.5 126,005 10/13/2020
5.0.0-rc.1.20451.14 231,677 9/14/2020
5.0.0-preview.8.20407.11 146,873 8/25/2020
5.0.0-preview.7.20364.11 267,338 7/21/2020
5.0.0-preview.6.20305.6 126,490 6/25/2020
5.0.0-preview.5.20278.1 94,626 6/10/2020
5.0.0-preview.4.20251.6 173,308 5/18/2020
5.0.0-preview.3.20214.6 271,488 4/23/2020
5.0.0-preview.2.20160.6 192,011 4/2/2020
5.0.0-preview.1.20120.5 181,052 3/16/2020
4.7.1 42,397,717 3/24/2020
4.7.0 41,389,762 12/3/2019
4.7.0-preview3.19551.4 263,422 11/13/2019
4.7.0-preview2.19523.17 73,210 11/1/2019
4.7.0-preview1.19504.10 145,608 10/15/2019
4.6.0 41,804,215 9/23/2019
4.6.0-rc1.19456.4 91,943 9/16/2019
4.6.0-preview9.19421.4 196,669 9/4/2019
4.6.0-preview9.19416.11 624 9/4/2019
4.6.0-preview8.19405.3 308,438 8/13/2019
4.6.0-preview7.19362.9 324,686 7/23/2019
4.6.0-preview6.19303.8 456,344 6/12/2019
4.6.0-preview6.19264.9 665 9/4/2019
4.6.0-preview6.19259.10 45,211 5/10/2019
4.6.0-preview5.19224.8 357,701 5/6/2019
4.6.0-preview4.19212.13 166,247 4/18/2019
4.6.0-preview3.19128.7 310,367 3/6/2019
4.6.0-preview.19073.11 216,484 1/29/2019
4.6.0-preview.18571.3 316,585 12/3/2018
4.5.3 28,048,484 3/24/2020
4.5.2 142,011,267 10/1/2018
4.5.1 91,918,248 6/18/2018
4.5.0 92,307,890 5/29/2018
4.5.0-rc1 2,237,345 5/6/2018
4.5.0-preview2-26406-04 547,997 4/10/2018
4.5.0-preview1-26216-02 1,383,210 2/26/2018
4.4.0 137,304,677 8/11/2017
4.4.0-preview2-25405-01 743,176 6/27/2017
4.4.0-preview1-25305-02 924,121 5/9/2017
4.3.0 42,542,157 11/15/2016
4.3.0-preview1-24530-04 166,852 10/24/2016
4.0.0 1,984,829 6/27/2016