Hafner.Compatibility.MetaPackage
1.4.0
dotnet add package Hafner.Compatibility.MetaPackage --version 1.4.0
NuGet\Install-Package Hafner.Compatibility.MetaPackage -Version 1.4.0
<PackageReference Include="Hafner.Compatibility.MetaPackage" Version="1.4.0" />
paket add Hafner.Compatibility.MetaPackage --version 1.4.0
#r "nuget: Hafner.Compatibility.MetaPackage, 1.4.0"
// Install Hafner.Compatibility.MetaPackage as a Cake Addin #addin nuget:?package=Hafner.Compatibility.MetaPackage&version=1.4.0 // Install Hafner.Compatibility.MetaPackage as a Cake Tool #tool nuget:?package=Hafner.Compatibility.MetaPackage&version=1.4.0
Hafner.Compatibility.Attributes
This is a meta-package that includes other Hafner.Compatibility.*
packages (from repo https://github.com/HugoRoss/Hafner.Compatibility.Packages) as needed which provide various attributes and other types that are missing in older frameworks.
Currently, the following types are supported (the X defines for which frameworks this package is adding the according types because they are not supported natively):
<span style="white-space:nowrap;">
Types | .Net 2.0 | 3.0 | 3.5 | 4.0 | 4.0.3 | 4.5 | 4.5.1 | 4.5.2 | 4.6 | 4.6.1 | 4.6.2 | 4.7 | 4.7.1 | 4.7.2 | 4.8 | 4.8.1 | .NETCore 1.0 | 1.1 | 2.0 | 2.1 | 2.2 | 3.0 | 3.1 | .Net 5.0 | 6.0 | 7.0 | 8.0 | 9.0 | .NET Standard 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 2.0 | 2.1 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
System.Action<T1, T2, T3, T4, T5> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Action<T1, T2, T3, T4, T5, T6> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Action<T1, T2, T3, T4, T5, T6, T7> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Action<T1, T2, T3, T4, T5, T6, T7, T8> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, T6, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, T6, T7, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> |
X | X | X | ||||||||||||||||||||||||||||||||||
System.Runtime.InteropServices.GuidAttribute |
X | ||||||||||||||||||||||||||||||||||||
System.Runtime.CompilerServices.ExtensionAttribute |
X | X | |||||||||||||||||||||||||||||||||||
System.Diagnostics.CodeAnalysis.AllowNullAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||||||||
System.Diagnostics.CodeAnalysis.DisallowNullAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||||||||
System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||||||||
System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||||||||
System.Diagnostics.CodeAnalysis.MaybeNullAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||||||||
System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||||||||
System.Diagnostics.CodeAnalysis.NotNullAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||||||||
System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||||||||
System.Diagnostics.CodeAnalysis.NotNullWhenAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||||||||
System.Diagnostics.CodeAnalysis.MemberNotNullAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | |||||
System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | |||||
System.Diagnostics.CodeAnalysis.NullableAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||
System.Diagnostics.CodeAnalysis.NullableContextAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||
System.Diagnostics.CodeAnalysis.NullablePublicOnlyAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||
System.Diagnostics.CodeAnalysis.ConstantExpectedAttribute |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
</span>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
.NET Core | netcoreapp1.0 is compatible. netcoreapp1.1 is compatible. netcoreapp2.0 is compatible. netcoreapp2.1 is compatible. netcoreapp2.2 is compatible. netcoreapp3.0 is compatible. netcoreapp3.1 is compatible. |
.NET Standard | netstandard1.0 is compatible. netstandard1.1 is compatible. netstandard1.2 is compatible. netstandard1.3 is compatible. netstandard1.4 is compatible. netstandard1.5 is compatible. netstandard1.6 is compatible. netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net20 is compatible. net30 is compatible. net35 is compatible. net40 is compatible. net403 is compatible. net45 is compatible. net451 is compatible. net452 is compatible. net46 is compatible. net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Windows Phone | wp8 was computed. wp81 was computed. wpa81 was computed. |
Windows Store | netcore was computed. netcore45 was computed. netcore451 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 1.0
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
- Microsoft.NETCore.App (>= 1.0.5)
-
.NETCoreApp 1.1
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
- Microsoft.NETCore.App (>= 1.1.2)
-
.NETCoreApp 2.0
-
.NETCoreApp 2.1
-
.NETCoreApp 2.2
-
.NETCoreApp 3.0
-
.NETCoreApp 3.1
-
.NETFramework 2.0
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.ExtensionAttribute (>= 3.0.2)
- Hafner.Compatibility.FuncAction.G2 (>= 1.0.1)
- Hafner.Compatibility.FuncAction.G3 (>= 1.0.0)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
-
.NETFramework 3.0
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.ExtensionAttribute (>= 3.0.2)
- Hafner.Compatibility.FuncAction.G2 (>= 1.0.1)
- Hafner.Compatibility.FuncAction.G3 (>= 1.0.0)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
-
.NETFramework 3.5
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.FuncAction.G3 (>= 1.0.0)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
-
.NETFramework 4.0
-
.NETFramework 4.0.3
-
.NETFramework 4.5
-
.NETFramework 4.5.1
-
.NETFramework 4.5.2
-
.NETFramework 4.6
-
.NETFramework 4.6.1
-
.NETFramework 4.6.2
-
.NETFramework 4.7
-
.NETFramework 4.7.1
-
.NETFramework 4.7.2
-
.NETFramework 4.8
-
.NETFramework 4.8.1
-
.NETStandard 1.0
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.GuidAttribute (>= 2.0.4)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.1
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.2
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.3
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.4
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.5
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.6
- Hafner.Compatibility.ConstantExpectedAttribute (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G1 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G2 (>= 1.0.2)
- Hafner.Compatibility.NullableReferenceTypeAttributes.G3 (>= 1.0.2)
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 2.0
-
.NETStandard 2.1
-
net5.0
-
net6.0
-
net7.0
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
System.Func<T> and System.Action<T> (various overloads) integrated.