Skip to content

Commit 4befa45

Browse files
Merge pull request #1701 from dotnet/ix-release-prep
2 parents f82b71a + c243ae1 commit 4befa45

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

Ix.NET/Source/Directory.Build.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<MinClientVersion>2.12</MinClientVersion>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<Authors>.NET Foundation and Contributors</Authors>
7-
<PackageIconUrl>https://raw.githubusercontent.com/dotnet/reactive/0f837d11385cfaf575861ccc5a5fbcafb22d888f/Rx.NET/Resources/Artwork/Logo.png</PackageIconUrl>
7+
<PackageIcon>Logo.png</PackageIcon>
88
<PackageProjectUrl>https://github.com/dotnet/reactive</PackageProjectUrl>
99
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1010
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
@@ -29,6 +29,10 @@
2929
<PackageReference Include="Nerdbank.GitVersioning" Version="3.4.255" PrivateAssets="all" />
3030
</ItemGroup>
3131

32+
<ItemGroup>
33+
<None Include="$(MSBuildThisFileDirectory)..\..\Rx.NET\Resources\Artwork\Logo.png" Pack="true" PackagePath="\" Visible="false" />
34+
</ItemGroup>
35+
3236
<ItemGroup Condition="'$(IsTestProject)' == 'true'">
3337
<PackageReference Include="coverlet.collector" Version="3.1.1" />
3438
</ItemGroup>

Ix.NET/Source/Ix.NET.sln

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.28606.126
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.2.32131.331
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{87534290-A7A6-47A4-9A3A-D0D21A9AD1D4}"
77
EndProject
@@ -13,7 +13,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1313
Directory.build.props = Directory.build.props
1414
Directory.build.targets = Directory.build.targets
1515
global.json = global.json
16-
NuGet.Config = NuGet.Config
1716
version.json = version.json
1817
EndProjectSection
1918
EndProject
@@ -62,7 +61,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Benchmarks.System.Interacti
6261
EndProject
6362
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Linq.Async.Ref", "refs\System.Linq.Async.Ref\System.Linq.Async.Ref.csproj", "{1754B36C-D0DB-4E5D-8C30-1F116046DC0F}"
6463
EndProject
65-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Linq.Async.SourceGenerator", "System.Linq.Async.SourceGenerator\System.Linq.Async.SourceGenerator.csproj", "{5C26D649-5ED4-49EE-AFBD-8FA8F12C4AE4}"
64+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Linq.Async.SourceGenerator", "System.Linq.Async.SourceGenerator\System.Linq.Async.SourceGenerator.csproj", "{5C26D649-5ED4-49EE-AFBD-8FA8F12C4AE4}"
6665
EndProject
6766
Global
6867
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Ix.NET/Source/System.Linq.Async/System/Linq/Maybe.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public Maybe(T value)
1919

2020
public bool Equals(Maybe<T> other) => HasValue == other.HasValue && EqualityComparer<T>.Default.Equals(Value, other.Value);
2121
public override bool Equals(object? other) => other is Maybe<T> m && Equals(m);
22-
public override int GetHashCode() => HasValue ? EqualityComparer<T>.Default.GetHashCode(Value) : 0;
22+
public override int GetHashCode() => HasValue ? EqualityComparer<T>.Default.GetHashCode(Value!) : 0;
2323

2424
public static bool operator ==(Maybe<T> first, Maybe<T> second) => first.Equals(second);
2525
public static bool operator !=(Maybe<T> first, Maybe<T> second) => !first.Equals(second);

Ix.NET/Source/System.Linq.Async/System/Linq/Operators/SingleLinkedNode.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private SingleLinkedNode(SingleLinkedNode<TSource> linked, TSource item)
5858
public int GetCount()
5959
{
6060
var count = 0;
61-
for (SingleLinkedNode<TSource>? node = this; node != null; node = node.Linked)
61+
for (var node = this; node != null; node = node.Linked)
6262
{
6363
count++;
6464
}
@@ -86,10 +86,10 @@ public SingleLinkedNode<TSource> GetNode(int index)
8686
{
8787
Debug.Assert(index >= 0 && index < GetCount());
8888

89-
SingleLinkedNode<TSource> node = this;
89+
var node = this;
9090
for (; index > 0; index--)
9191
{
92-
node = node.Linked!;
92+
node = node!.Linked!;
9393
Debug.Assert(node != null);
9494
}
9595

@@ -106,7 +106,7 @@ private TSource[] ToArray(int count)
106106

107107
var array = new TSource[count];
108108
var index = count;
109-
for (SingleLinkedNode<TSource>? node = this; node != null; node = node.Linked)
109+
for (var node = this; node != null; node = node.Linked)
110110
{
111111
--index;
112112
array[index] = node.Item;

Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToAsyncEnumerable.Observable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ protected override async ValueTask<bool> MoveNextCore()
8585
{
8686
var completed = Volatile.Read(ref _completed);
8787

88-
if (_values!.TryDequeue(out _current))
88+
if (_values!.TryDequeue(out _current!))
8989
{
9090
return true;
9191
}

0 commit comments

Comments
 (0)