Skip to content

Is there a different == null behavior for Span<T>? #48758

Answered by alrz
msedi asked this question in Q&A
Discussion options

You must be logged in to vote

Span has an implicit conversion from T[] that's what null is passed to, therefore the behavior you are observing.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@msedi
Comment options

@alrz
Comment options

@msedi
Comment options

Answer selected by msedi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants