dotnet / dotnet/macios

Use ArgumentNullException.ThrowIfNull instead of using our own implementation

Open
#15,850 3 comments 0 reactions 0 assignees View on GitHub
copilot-candidate enhancement good first issue performance
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 12h
Merged PRs (30d)
123

Description

Replace all our usages of:

https://github.com/xamarin/xamarin-macios/blob/75112818b6d423b1d474acb14e8c33147d33471a/src/ObjCRuntime/ThrowHelper.cs#L25-L35

with https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception.throwifnull?view=net-6.0#system-argumentnullexception-throwifnull(system-object-system-string)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.