Skip to content

Commit 123baf8

Browse files
Fixed bug: Optional<T>.None return type lowered from None<T> to Optional<T>. (#67)
1 parent 7fc743a commit 123baf8

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

OnixLabs.Core/OnixLabs.Core.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<Title>OnixLabs.Core</Title>
88
<Authors>ONIXLabs</Authors>
99
<Description>ONIXLabs Core API for .NET</Description>
10-
<AssemblyVersion>8.10.0</AssemblyVersion>
10+
<AssemblyVersion>8.10.1</AssemblyVersion>
1111
<NeutralLanguage>en</NeutralLanguage>
1212
<Copyright>Copyright © ONIXLabs 2020</Copyright>
1313
<RepositoryUrl>https://github.com/onix-labs/onixlabs-dotnet</RepositoryUrl>
14-
<PackageVersion>8.10.0</PackageVersion>
14+
<PackageVersion>8.10.1</PackageVersion>
1515
</PropertyGroup>
1616
<PropertyGroup>
1717
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>

OnixLabs.Core/Optional.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public abstract class Optional<T> : IValueEquatable<Optional<T>> where T : notnu
2626
/// <summary>
2727
/// Gets a value indicating that the optional value is absent.
2828
/// </summary>
29-
public static readonly None<T> None = new();
29+
public static readonly Optional<T> None = new None<T>();
3030

3131
/// <summary>
3232
/// Initializes a new instance of the <see cref="Optional{T}"/> class.

OnixLabs.Numerics/OnixLabs.Numerics.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<Title>OnixLabs.Numerics</Title>
55
<Authors>ONIXLabs</Authors>
66
<Description>ONIXLabs Numerics API for .NET</Description>
7-
<AssemblyVersion>8.10.0</AssemblyVersion>
7+
<AssemblyVersion>8.10.1</AssemblyVersion>
88
<NeutralLanguage>en</NeutralLanguage>
99
<Nullable>enable</Nullable>
1010
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1111
<Copyright>Copyright © ONIXLabs 2020</Copyright>
1212
<RepositoryUrl>https://github.com/onix-labs/onixlabs-dotnet</RepositoryUrl>
13-
<PackageVersion>8.10.0</PackageVersion>
13+
<PackageVersion>8.10.1</PackageVersion>
1414
<LangVersion>12</LangVersion>
1515
</PropertyGroup>
1616
<PropertyGroup>

OnixLabs.Security.Cryptography/OnixLabs.Security.Cryptography.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<Title>OnixLabs.Security.Cryptography</Title>
55
<Authors>ONIXLabs</Authors>
66
<Description>ONIXLabs Cryptography API for .NET</Description>
7-
<AssemblyVersion>8.10.0</AssemblyVersion>
7+
<AssemblyVersion>8.10.1</AssemblyVersion>
88
<NeutralLanguage>en</NeutralLanguage>
99
<Nullable>enable</Nullable>
1010
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1111
<Copyright>Copyright © ONIXLabs 2020</Copyright>
1212
<RepositoryUrl>https://github.com/onix-labs/onixlabs-dotnet</RepositoryUrl>
13-
<PackageVersion>8.10.0</PackageVersion>
13+
<PackageVersion>8.10.1</PackageVersion>
1414
<LangVersion>12</LangVersion>
1515
</PropertyGroup>
1616
<PropertyGroup>

OnixLabs.Security/OnixLabs.Security.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<Title>OnixLabs.Security</Title>
55
<Authors>ONIXLabs</Authors>
66
<Description>ONIXLabs Security API for .NET</Description>
7-
<AssemblyVersion>8.10.0</AssemblyVersion>
7+
<AssemblyVersion>8.10.1</AssemblyVersion>
88
<NeutralLanguage>en</NeutralLanguage>
99
<Nullable>enable</Nullable>
1010
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1111
<Copyright>Copyright © ONIXLabs 2020</Copyright>
1212
<RepositoryUrl>https://github.com/onix-labs/onixlabs-dotnet</RepositoryUrl>
13-
<PackageVersion>8.10.0</PackageVersion>
13+
<PackageVersion>8.10.1</PackageVersion>
1414
<LangVersion>12</LangVersion>
1515
</PropertyGroup>
1616
<PropertyGroup>

0 commit comments

Comments
 (0)