Skip to content

Allow null argument to As<T> and Is(Type) helper methods#1305

Merged
AArnott merged 1 commit into
mainfrom
dev/andarno/asMethodImprovements
Sep 23, 2025
Merged

Allow null argument to As<T> and Is(Type) helper methods#1305
AArnott merged 1 commit into
mainfrom
dev/andarno/asMethodImprovements

Conversation

@AArnott
Copy link
Copy Markdown
Member

@AArnott AArnott commented Sep 23, 2025

This makes the methods easier to call, and safe in all contexts where the C# as and is keywords would have been safe.

@AArnott AArnott added this to the v2.23 milestone Sep 23, 2025
@AArnott AArnott enabled auto-merge September 23, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants