12 instantiations of MaybeNull
Microsoft.AspNetCore.Mvc.Abstractions (1)
Filters\FilterContext.cs (1)
80[return: MaybeNull]
Microsoft.Build.Engine.OM.UnitTests (1)
ErrorUtilities.cs (1)
520internal static void VerifyThrowArgumentLengthIfNotNull<T>([MaybeNull] IReadOnlyCollection<T>? parameter, [CallerArgumentExpression(nameof(parameter))] string? parameterName = null)
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\StrongBox.cs (1)
18[MaybeNull] public T Value = default!;
src\libraries\System.Private.CoreLib\src\System\Threading\AsyncLocal.cs (1)
30[MaybeNull]
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadLocal.cs (1)
248[MaybeNull]
System.Private.Xml (1)
System\Xml\Xsl\Xslt\CompilerScopeManager.cs (1)
318[return: MaybeNull]
System.Security.Cryptography (3)
System\Security\Cryptography\AsymmetricAlgorithm.cs (1)
12[MaybeNull] protected KeySizes[] LegalKeySizesValue = null!;
System\Security\Cryptography\SymmetricAlgorithm.cs (2)
1643[MaybeNull] protected KeySizes[] LegalBlockSizesValue = null!; 1644[MaybeNull] protected KeySizes[] LegalKeySizesValue = null!;
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\RateLimitLease.cs (1)
35public bool TryGetMetadata<T>(MetadataName<T> metadataName, [MaybeNull] out T metadata)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\RefCountedCache.Scope.cs (1)
46[MaybeNull]
xunit.assert (1)
NullAsserts.cs (1)
66 public static void Null([MaybeNull] object? @object)
5 references to MaybeNull
mscorlib (1)
mscorlib.cs (1)
63[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.MaybeNullAttribute))]
netstandard (1)
netstandard.cs (1)
624[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.MaybeNullAttribute))]
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
142[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.MaybeNullAttribute))]
System.Text.Json (2)
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
796/// <see cref="NotNullAttribute"/>, <see cref="MaybeNullAttribute"/>,
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
241/// from attributes such as <see cref="NotNullAttribute"/> or <see cref="MaybeNullAttribute"/>.