55 references to ThrowIfNull
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\ArgHelper.cs (1)
31ArgumentNullException.ThrowIfNull(argument, paramName);
System.Private.CoreLib (54)
src\runtime\src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (1)
188ArgumentNullException.ThrowIfNull(assembly);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (1)
154ArgumentNullException.ThrowIfNull(pointer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecureString.cs (1)
28ArgumentNullException.ThrowIfNull(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Decoder.cs (5)
100ArgumentNullException.ThrowIfNull(bytes); 162ArgumentNullException.ThrowIfNull(bytes); 163ArgumentNullException.ThrowIfNull(chars); 274ArgumentNullException.ThrowIfNull(bytes); 275ArgumentNullException.ThrowIfNull(chars);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\DecoderNLS.cs (5)
68ArgumentNullException.ThrowIfNull(bytes); 119ArgumentNullException.ThrowIfNull(bytes); 120ArgumentNullException.ThrowIfNull(chars); 172ArgumentNullException.ThrowIfNull(bytes); 173ArgumentNullException.ThrowIfNull(chars);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Encoder.cs (5)
97ArgumentNullException.ThrowIfNull(chars); 159ArgumentNullException.ThrowIfNull(chars); 160ArgumentNullException.ThrowIfNull(bytes); 273ArgumentNullException.ThrowIfNull(chars); 274ArgumentNullException.ThrowIfNull(bytes);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncoderNLS.cs (5)
67ArgumentNullException.ThrowIfNull(chars); 108ArgumentNullException.ThrowIfNull(chars); 109ArgumentNullException.ThrowIfNull(bytes); 158ArgumentNullException.ThrowIfNull(chars); 159ArgumentNullException.ThrowIfNull(bytes);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (7)
573ArgumentNullException.ThrowIfNull(chars); 696ArgumentNullException.ThrowIfNull(chars); 697ArgumentNullException.ThrowIfNull(bytes); 774ArgumentNullException.ThrowIfNull(bytes); 845ArgumentNullException.ThrowIfNull(bytes); 846ArgumentNullException.ThrowIfNull(chars); 906ArgumentNullException.ThrowIfNull(bytes);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (6)
127ArgumentNullException.ThrowIfNull(chars); 215ArgumentNullException.ThrowIfNull(chars); 216ArgumentNullException.ThrowIfNull(bytes); 258ArgumentNullException.ThrowIfNull(bytes); 307ArgumentNullException.ThrowIfNull(bytes); 308ArgumentNullException.ThrowIfNull(chars);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (6)
135ArgumentNullException.ThrowIfNull(chars); 223ArgumentNullException.ThrowIfNull(chars); 224ArgumentNullException.ThrowIfNull(bytes); 266ArgumentNullException.ThrowIfNull(bytes); 315ArgumentNullException.ThrowIfNull(bytes); 316ArgumentNullException.ThrowIfNull(chars);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (6)
171ArgumentNullException.ThrowIfNull(chars); 259ArgumentNullException.ThrowIfNull(chars); 260ArgumentNullException.ThrowIfNull(bytes); 302ArgumentNullException.ThrowIfNull(bytes); 351ArgumentNullException.ThrowIfNull(bytes); 352ArgumentNullException.ThrowIfNull(chars);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (2)
117ArgumentNullException.ThrowIfNull(nativeOverlappedPtr); 125ArgumentNullException.ThrowIfNull(nativeOverlappedPtr);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolBoundHandle.PlatformNotSupported.cs (2)
51ArgumentNullException.ThrowIfNull(overlapped); 59ArgumentNullException.ThrowIfNull(overlapped);
System\Runtime\InteropServices\PInvokeMarshal.cs (2)
349ArgumentNullException.ThrowIfNull(newBuffer); 435ArgumentNullException.ThrowIfNull(pNative);