82 instantiations of DisallowNull
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
422int IEqualityComparer<X509Certificate2>.GetHashCode([DisallowNull] X509Certificate2 obj) =>
Microsoft.AspNetCore.Components (1)
Routing\QueryParameterNameComparer.cs (1)
18public int GetHashCode([DisallowNull] ReadOnlyMemory<char> obj)
Microsoft.AspNetCore.Components.Web (8)
Forms\InputCheckbox.cs (1)
29[DisallowNull] public ElementReference? Element { get; protected set; }
Forms\InputDate.cs (1)
48[DisallowNull] public ElementReference? Element { get; protected set; }
Forms\InputFile.cs (1)
40[DisallowNull]
Forms\InputNumber.cs (1)
49[DisallowNull] public ElementReference? Element { get; protected set; }
Forms\InputRadio.cs (1)
44[DisallowNull] public ElementReference? Element { get; protected set; }
Forms\InputSelect.cs (1)
36[DisallowNull] public ElementReference? Element { get; protected set; }
Forms\InputText.cs (1)
29[DisallowNull] public ElementReference? Element { get; protected set; }
Forms\InputTextArea.cs (1)
29[DisallowNull] public ElementReference? Element { get; protected set; }
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
422int IEqualityComparer<X509Certificate2>.GetHashCode([DisallowNull] X509Certificate2 obj) =>
Microsoft.AspNetCore.Mvc.Core (4)
Infrastructure\ActionContextAccessor.cs (1)
20[DisallowNull]
Infrastructure\IActionContextAccessor.cs (1)
18[DisallowNull]
ModelBinding\Metadata\BindingMetadata.cs (1)
84[DisallowNull]
Routing\HttpMethodAttribute.cs (1)
66[DisallowNull]
Microsoft.AspNetCore.RateLimiting (1)
DefaultKeyTypeEqualityComparer.cs (1)
26public int GetHashCode([DisallowNull] DefaultKeyType obj)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
422int IEqualityComparer<X509Certificate2>.GetHashCode([DisallowNull] X509Certificate2 obj) =>
Microsoft.Extensions.Configuration (2)
ChainedConfigurationSource.cs (1)
16[DisallowNull]
StreamConfigurationSource.cs (1)
17[DisallowNull]
Microsoft.Extensions.Configuration.FileExtensions (1)
FileConfigurationSource.cs (1)
24[DisallowNull]
Microsoft.Extensions.DependencyInjection (3)
ServiceLookup\CallSiteFactory.cs (2)
711[DisallowNull] 714[DisallowNull]
ServiceLookup\CallSiteValidator.cs (1)
116[DisallowNull]
Microsoft.Extensions.FileProviders.Physical (2)
PollingFileChangeToken.cs (1)
66[DisallowNull]
PollingWildCardChangeToken.cs (1)
69[DisallowNull]
Microsoft.Extensions.Http (2)
DefaultHttpMessageHandlerBuilder.cs (1)
20[DisallowNull]
HttpMessageHandlerBuilder.cs (1)
30[DisallowNull]
System.ComponentModel.Annotations (2)
System\ComponentModel\DataAnnotations\Schema\ColumnAttribute.cs (1)
57[DisallowNull]
System\ComponentModel\DataAnnotations\Schema\TableAttribute.cs (1)
35[DisallowNull]
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (1)
149[DisallowNull]
System\ComponentModel\Composition\Hosting\ComposablePartExportProvider.cs (1)
126[DisallowNull]
System.ComponentModel.TypeConverter (1)
System\ComponentModel\TypeDescriptor.cs (1)
2576[DisallowNull]
System.Data.Common (3)
System\Data\DataViewManager.cs (1)
44[DisallowNull]
System\Data\DataViewSettingCollection.cs (1)
89[DisallowNull]
System\Data\DBConcurrencyException.cs (1)
47[DisallowNull]
System.DirectoryServices (2)
artifacts\obj\System.DirectoryServices\Debug\net9.0\System.DirectoryServices.notsupported.cs (2)
518[System.Diagnostics.CodeAnalysis.DisallowNullAttribute] 770[System.Diagnostics.CodeAnalysis.DisallowNullAttribute]
System.Net.Http (2)
System\Net\Http\DelegatingHandler.cs (1)
19[DisallowNull]
System\Net\Http\Headers\MediaTypeHeaderValue.cs (1)
66[DisallowNull]
System.Net.HttpListener (1)
System\Net\HttpListener.cs (1)
57[DisallowNull]
System.Net.Mail (5)
System\Net\Mail\MailMessage.cs (2)
67[DisallowNull] 81[DisallowNull]
System\Net\Mail\MailPriority.cs (2)
79[DisallowNull] 225[DisallowNull]
System\Net\Mail\SmtpClient.cs (1)
153[DisallowNull]
System.Net.Requests (3)
System\Net\FtpWebRequest.cs (2)
287[DisallowNull] 310[DisallowNull]
System\Net\WebRequest.cs (1)
449[DisallowNull]
System.Net.Sockets (2)
System\Net\Sockets\Socket.cs (1)
570[DisallowNull]
System\Net\Sockets\TCPClient.cs (1)
322[DisallowNull]
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (4)
38public abstract int GetHashCode([DisallowNull] T obj); 100public override int GetHashCode([DisallowNull] T obj) => 132public override int GetHashCode([DisallowNull] T obj) => 201public override int GetHashCode([DisallowNull] T obj) =>
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IEqualityComparer.cs (1)
14int GetHashCode([DisallowNull] T obj);
src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (1)
221public int GetHashCode([DisallowNull] T obj)
src\libraries\System.Private.CoreLib\src\System\Resources\FastResourceComparer.cs (1)
25public int GetHashCode([DisallowNull] string? key)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (2)
547public static void StructureToPtr<T>([DisallowNull] T structure, IntPtr ptr, bool fDeleteOld) 596public static void PtrToStructure<T>(IntPtr ptr, [DisallowNull] T structure)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.NoCom.cs (1)
88public static IntPtr GetComInterfaceForObject<T, TInterface>([DisallowNull] T o)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ComVariant.cs (1)
256public static ComVariant Create<T>([DisallowNull] T value)
System.Private.DataContractSerialization (1)
System\Xml\XmlBaseWriter.cs (1)
2484[DisallowNull]
System.Private.Xml (6)
System\Xml\Schema\BaseValidator.cs (1)
129[DisallowNull]
System\Xml\Schema\XmlSchemaDocumentation.cs (1)
26[DisallowNull]
System\Xml\Schema\XmlSchemaValidator.cs (1)
280[DisallowNull]
System\Xml\Serialization\CodeGenerator.cs (1)
1563[DisallowNull]
System\Xml\Serialization\Mappings.cs (1)
481[DisallowNull]
System\Xml\Xsl\QIL\QilReference.cs (1)
42[DisallowNull]
System.Resources.Extensions (1)
src\libraries\System.Private.CoreLib\src\System\Resources\FastResourceComparer.cs (1)
25public int GetHashCode([DisallowNull] string? key)
System.Text.Json (5)
System\Text\Json\JsonPropertyDictionary.cs (1)
192[DisallowNull]
System\Text\Json\Serialization\Converters\CastingConverter.cs (1)
63public override void WriteAsPropertyName(Utf8JsonWriter writer, [DisallowNull] T value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\JsonPrimitiveConverter.cs (1)
13public sealed override void WriteAsPropertyName(Utf8JsonWriter writer, [DisallowNull] T value, JsonSerializerOptions options)
System\Text\Json\Serialization\JsonConverterOfT.cs (2)
624public virtual void WriteAsPropertyName(Utf8JsonWriter writer, [DisallowNull] T value, JsonSerializerOptions options) 636internal virtual void WriteAsPropertyNameCore(Utf8JsonWriter writer, [DisallowNull] T value, JsonSerializerOptions options, bool isWritingExtensionDataProperty)
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Regex.cs (2)
181[CLSCompliant(false), DisallowNull] 196[CLSCompliant(false), DisallowNull]
System.Transactions.Local (1)
System\Transactions\TransactionManager.cs (1)
106[DisallowNull]
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
422int IEqualityComparer<X509Certificate2>.GetHashCode([DisallowNull] X509Certificate2 obj) =>
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
422int IEqualityComparer<X509Certificate2>.GetHashCode([DisallowNull] X509Certificate2 obj) =>
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
422int IEqualityComparer<X509Certificate2>.GetHashCode([DisallowNull] X509Certificate2 obj) =>
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
422int IEqualityComparer<X509Certificate2>.GetHashCode([DisallowNull] X509Certificate2 obj) =>
Templates.Tests (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
422int IEqualityComparer<X509Certificate2>.GetHashCode([DisallowNull] X509Certificate2 obj) =>
3 references to DisallowNull
mscorlib (1)
mscorlib.cs (1)
60[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.DisallowNullAttribute))]
netstandard (1)
netstandard.cs (1)
620[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.DisallowNullAttribute))]
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net9.0\System.Runtime.Forwards.cs (1)
128[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.DisallowNullAttribute))]