約120件1ページ目

日本語のみで絞り込む

Throws an ArgumentNullException if argument is null . ThrowIfNull(Object, String). Source: ArgumentNullException.cs. Source: ...

2023/2/16 -If you're seeing boxing allocation coming from ThrowIfNull while running under a profiler, I expect you're likely profiling unoptimized code ( ...

2022/10/25 -I'm upgrading our application to .NET 6 from .NET 3.1 Core and trying to use the new ArgumentNullException.ThrowIfNull();. But in our code, we ...

2023/4/18 -ArgumentNullException.ThrowIfNull would do the job, but I don't know if that is considered as a bad coding style or code smell. SpaceBeeGaming.

2021/11/12 -Traditional null argument checks are verbose and error-prone. A common mistake is passing the wrong argument name to ArgumentNullException, such ...

2023/1/21 -ArgumentException.ThrowIfNull and ArgumentException.ThrowIfNullOrEmpty had been introduced as guard clause in .NET 6 and .NET 7 releases.

2022/9/3 -Apply ArgumentNullException.ThrowIfNull to NLog source-code #5055. New issue.

2026/4/1 -This inspection reports a manual null-check that throws ArgumentNullException and can be replaced with ArgumentNullException.ThrowIfNull(.

public ArgumentNullException() : base(Environment.GetResourceString("ArgumentNull_Generic")) { // Use E_POINTER - COM used that for null pointers. Description ...

2022/5/6 -Checking parameters with ArgumentNullException.ThrowIfNull ( ArgumentNullException.ThrowIfNull Method (System) | Microsoft Docs ) in C#10.0 ...