Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit fc250c1

Browse files
committed
Merge pull request #2294 from ChadNedzlek/Linq-Warnings
Fix warnings in System.Linq.Expressions.Test again
2 parents 35f6a21 + e1fa27a commit fc250c1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/System.Linq.Expressions/tests/SequenceTests/SequenceTests.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2815,11 +2815,6 @@ public static void MixedTypeNullableOps()
28152815
[Fact]
28162816
public static void NullGuidConstant()
28172817
{
2818-
Expression<Func<Guid, bool>> f = g => g != null;
2819-
var d = f.Compile();
2820-
Assert.True(d(Guid.NewGuid()));
2821-
Assert.True(d(default(Guid))); // default(Guid) is not really null
2822-
28232818
Expression<Func<Guid?, bool>> f2 = g2 => g2 != null;
28242819
var d2 = f2.Compile();
28252820
Assert.True(d2(Guid.NewGuid()));

0 commit comments

Comments
 (0)