1239 instantiations of NotNullWhen
illink (37)
Microsoft.AspNetCore.Antiforgery (4)
Internal\DefaultAntiforgery.cs (2)
432[NotNullWhen(true)] out AntiforgeryToken? cookieToken, 433[NotNullWhen(true)] out AntiforgeryToken? requestToken)
Internal\DefaultAntiforgeryTokenGenerator.cs (1)
106[NotNullWhen(false)] out string? message)
Internal\IAntiforgeryTokenGenerator.cs (1)
49[NotNullWhen(false)] out string? message);
Microsoft.AspNetCore.AzureAppServices.HostingStartup (1)
HostingStartupConfigurationExtensions.cs (1)
28public static bool TryGetOption(this IConfiguration configuration, string hostingStartupName, string featureName, [NotNullWhen(true)] out string? value)
Microsoft.AspNetCore.Components (1)
src\Http\Routing\src\ParameterPolicyActivator.cs (1)
74[NotNullWhen(true)] out Type? policyType)
Microsoft.AspNetCore.Components.Endpoints (4)
FormMapping\Converters\CollectionConverter.cs (1)
57[NotNullWhen(true)] out TCollection? result,
FormMapping\Converters\DictionaryConverter.cs (1)
33[NotNullWhen(true)] out TDictionary? result,
FormMapping\FormDataReader.cs (1)
244internal readonly bool TryGetValue([NotNullWhen(true)] out string? value)
FormMapping\HttpContextFormDataProvider.cs (1)
30public bool TryGetIncomingHandlerName([NotNullWhen(true)] out string? incomingHandlerName)
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Binding\FormDataMapperTests.cs (2)
2258public static bool TryParse([NotNullWhen(true)] string s, IFormatProvider provider, [MaybeNullWhen(false)] out Point result) 2306public static bool TryParse([NotNullWhen(true)] string s, IFormatProvider provider, [MaybeNullWhen(false)] out ValuePoint result)
Microsoft.AspNetCore.Components.Forms (2)
EditContextDataAnnotationsExtensions.cs (1)
155private static bool TryGetValidatableProperty(in FieldIdentifier fieldIdentifier, [NotNullWhen(true)] out PropertyInfo? propertyInfo)
EditContextProperties.cs (1)
39public bool TryGetValue(object key, [NotNullWhen(true)] out object? value)
Microsoft.AspNetCore.Components.Server (5)
Circuits\IServerComponentDeserializer.cs (1)
13bool TryDeserializeRootComponentOperations(string serializedComponentOperations, [NotNullWhen(true)] out RootComponentOperationBatch? operationBatch);
Circuits\ServerComponentDeserializer.cs (3)
145public bool TryDeserializeWebRootComponentDescriptor(ComponentMarker record, [NotNullWhen(true)] out WebRootComponentDescriptor? result) 206private bool TryDeserializeComponentTypeAndParameters(ServerComponent serverComponent, [NotNullWhen(true)] out Type? componentType, out ParameterView parameters) 294public bool TryDeserializeRootComponentOperations(string serializedComponentOperations, [NotNullWhen(true)] out RootComponentOperationBatch? result)
src\SignalR\common\Protocols.MessagePack\src\Protocol\MessagePackHubProtocolWorker.cs (1)
28public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, [NotNullWhen(true)] out HubMessage? message)
Microsoft.AspNetCore.Components.Web (12)
Forms\InputBase.cs (1)
180protected abstract bool TryParseValueFromString(string? value, [MaybeNullWhen(false)] out TValue result, [NotNullWhen(false)] out string? validationErrorMessage);
Forms\InputCheckbox.cs (1)
52protected override bool TryParseValueFromString(string? value, out bool result, [NotNullWhen(false)] out string? validationErrorMessage)
Forms\InputDate.cs (1)
110protected override bool TryParseValueFromString(string? value, [MaybeNullWhen(false)] out TValue result, [NotNullWhen(false)] out string? validationErrorMessage)
Forms\InputExtensions.cs (1)
14[NotNullWhen(false)] out string? validationErrorMessage)
Forms\InputNumber.cs (1)
68protected override bool TryParseValueFromString(string? value, [MaybeNullWhen(false)] out TValue result, [NotNullWhen(false)] out string? validationErrorMessage)
Forms\InputRadioGroup.cs (1)
82protected override bool TryParseValueFromString(string? value, [MaybeNullWhen(false)] out TValue result, [NotNullWhen(false)] out string? validationErrorMessage)
Forms\InputSelect.cs (1)
66protected override bool TryParseValueFromString(string? value, [MaybeNullWhen(false)] out TValue result, [NotNullWhen(false)] out string? validationErrorMessage)
Forms\InputText.cs (1)
46protected override bool TryParseValueFromString(string? value, out string? result, [NotNullWhen(false)] out string? validationErrorMessage)
Forms\InputTextArea.cs (1)
46protected override bool TryParseValueFromString(string? value, out string? result, [NotNullWhen(false)] out string? validationErrorMessage)
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (1)
230protected bool TryCreateScopeQualifiedEventName(int componentId, string assignedEventName, [NotNullWhen(true)] out string? scopeQualifiedEventName)
JSComponents\JSComponentConfigurationStore.cs (1)
46[NotNullWhen(true)][DynamicallyAccessedMembers(LinkerFlags.Component)] out Type? componentType)
WebEventData\WebEventData.cs (1)
90[NotNullWhen(true)] out EventArgs? eventArgs)
Microsoft.AspNetCore.Connections.Abstractions (1)
NamedPipeEndPoint.cs (1)
55public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.DataProtection (7)
Internal\DefaultTypeNameResolver.cs (1)
18public bool TryResolveType(string typeName, [NotNullWhen(true)] out Type? type)
Internal\ITypeNameResolver.cs (1)
11bool TryResolveType(string typeName, [NotNullWhen(true)] out Type? type);
KeyManagement\Internal\CacheableKeyRing.cs (1)
34internal static bool IsValid([NotNullWhen(true)] CacheableKeyRing? keyRing, DateTime utcNow)
LoggingExtensions.cs (3)
22public static bool IsDebugLevelEnabled([NotNullWhen(true)] this ILogger? logger) 32public static bool IsTraceLevelEnabled([NotNullWhen(true)] this ILogger? logger) 38private static bool IsLogLevelEnabledCore([NotNullWhen(true)] ILogger? logger, LogLevel level)
XmlEncryption\XmlKeyDecryptionOptions.cs (1)
20public bool TryGetKeyDecryptionCertificates(X509Certificate2 certInfo, [NotNullWhen(true)] out IReadOnlyList<X509Certificate2>? keyDecryptionCerts)
Microsoft.AspNetCore.Grpc.JsonTranscoding (8)
Internal\Binding\JsonTranscodingProviderServiceBinder.cs (1)
254private bool TryGetMethodDescriptor(string methodName, [NotNullWhen(true)]out MethodDescriptor? methodDescriptor)
Internal\Json\EnumConverter.cs (1)
100private static bool TryConvertToEnum(int integer, [NotNullWhen(true)] out TEnum? value)
Internal\Json\MessageTypeInfoResolver.cs (1)
64private bool IsStandardMessage(Type type, [NotNullWhen(true)] out MessageDescriptor? messageDescriptor)
src\Grpc\JsonTranscoding\src\Shared\HttpRoutePatternParser.cs (1)
231private bool TryParseLiteral([NotNullWhen(true)] out string? literal)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (4)
66public static bool TryResolveDescriptors(MessageDescriptor messageDescriptor, IList<string> path, bool allowJsonName, [NotNullWhen(true)]out List<FieldDescriptor>? fieldDescriptors) 335public static bool TryGetHttpRule(MethodDescriptor methodDescriptor, [NotNullWhen(true)] out HttpRule? httpRule) 352public static bool TryResolvePattern(HttpRule http, [NotNullWhen(true)] out string? pattern, [NotNullWhen(true)] out string? verb)
Microsoft.AspNetCore.Grpc.Swagger (6)
Internal\GrpcDataContractResolver.cs (1)
48private bool TryCustomizeMessage(MessageDescriptor messageDescriptor, [NotNullWhen(true)] out DataContract? dataContract)
src\Grpc\JsonTranscoding\src\Shared\HttpRoutePatternParser.cs (1)
231private bool TryParseLiteral([NotNullWhen(true)] out string? literal)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (4)
66public static bool TryResolveDescriptors(MessageDescriptor messageDescriptor, IList<string> path, bool allowJsonName, [NotNullWhen(true)]out List<FieldDescriptor>? fieldDescriptors) 335public static bool TryGetHttpRule(MethodDescriptor methodDescriptor, [NotNullWhen(true)] out HttpRule? httpRule) 352public static bool TryResolvePattern(HttpRule http, [NotNullWhen(true)] out string? pattern, [NotNullWhen(true)] out string? verb)
Microsoft.AspNetCore.Hosting (1)
Internal\HostingMetrics.cs (1)
143private static bool TryGetHttpVersion(string protocol, [NotNullWhen(true)] out string? version)
Microsoft.AspNetCore.Http (7)
Features\FormFeature.cs (2)
345private static bool HasApplicationFormContentType([NotNullWhen(true)] MediaTypeHeaderValue? contentType) 351private static bool HasMultipartFormContentType([NotNullWhen(true)] MediaTypeHeaderValue? contentType)
Internal\RequestCookieCollection.cs (1)
119public bool TryGetValue(string key, [NotNullWhen(true)] out string? value)
src\Http\Shared\CookieHeaderParserShared.cs (4)
59public static bool TryParseValue(StringSegment value, ref int index, bool supportsMultipleValues, [NotNullWhen(true)] out StringSegment? parsedName, [NotNullWhen(true)] out StringSegment? parsedValue) 140internal static bool TryGetCookieLength(StringSegment input, ref int offset, [NotNullWhen(true)] out StringSegment? parsedName, [NotNullWhen(true)] out StringSegment? parsedValue)
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionManager.cs (1)
49internal bool TryGetConnection(string id, [NotNullWhen(true)] out HttpConnectionContext? connection)
Microsoft.AspNetCore.Http.Extensions (8)
src\Components\Endpoints\src\FormMapping\Converters\CollectionConverter.cs (1)
57[NotNullWhen(true)] out TCollection? result,
src\Components\Endpoints\src\FormMapping\Converters\DictionaryConverter.cs (1)
33[NotNullWhen(true)] out TDictionary? result,
src\Components\Endpoints\src\FormMapping\FormDataReader.cs (1)
244internal readonly bool TryGetValue([NotNullWhen(true)] out string? value)
src\Shared\Json\JsonSerializerExtensions.cs (1)
16public static bool ShouldUseWith(this JsonTypeInfo jsonTypeInfo, [NotNullWhen(false)] Type? runtimeType)
src\Shared\ParameterBindingMethodCache.cs (4)
526private static bool TryGetDateTimeTryParseMethod(Type type, [NotNullWhen(true)] out MethodInfo? methodInfo) 562private static bool TryGetNumberStylesTryGetMethod(Type type, [NotNullWhen(true)] out MethodInfo? method, [NotNullWhen(true)] out NumberStyles? numberStyles) 717public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.Http.Features (2)
IRequestCookieCollection.cs (1)
66bool TryGetValue(string key, [NotNullWhen(true)] out string? value);
ISession.cs (1)
48bool TryGetValue(string key, [NotNullWhen(true)] out byte[]? value);
Microsoft.AspNetCore.Http.Results (2)
src\Shared\Json\JsonSerializerExtensions.cs (1)
16public static bool ShouldUseWith(this JsonTypeInfo jsonTypeInfo, [NotNullWhen(false)] Type? runtimeType)
src\Shared\ResultsHelpers\SharedUrlHelper.cs (1)
33internal static bool IsLocalUrl([NotNullWhen(true)] string? url)
Microsoft.AspNetCore.HttpLogging (2)
MediaTypeHelpers.cs (1)
22public static bool TryGetEncodingForMediaType(string? contentType, List<MediaTypeState> mediaTypeList, [NotNullWhen(true)] out Encoding? encoding)
src\Shared\Buffers\BufferSegmentStack.cs (1)
23public bool TryPop([NotNullWhen(true)] out BufferSegment? result)
Microsoft.AspNetCore.HttpOverrides (2)
IPNetwork.cs (2)
153public static bool TryParse(ReadOnlySpan<char> networkSpan, [NotNullWhen(true)] out IPNetwork? network) 182[NotNullWhen(true)] out IPAddress? prefix,
Microsoft.AspNetCore.Mvc.Abstractions (6)
IUrlHelper.cs (1)
73bool IsLocalUrl([NotNullWhen(true)][StringSyntax(StringSyntaxAttribute.Uri)] string? url);
ModelBinding\ModelStateDictionary.cs (1)
731public bool TryGetValue(string key, [NotNullWhen(true)] out ModelStateEntry? value)
src\Shared\ParameterBindingMethodCache.cs (4)
526private static bool TryGetDateTimeTryParseMethod(Type type, [NotNullWhen(true)] out MethodInfo? methodInfo) 562private static bool TryGetNumberStylesTryGetMethod(Type type, [NotNullWhen(true)] out MethodInfo? method, [NotNullWhen(true)] out NumberStyles? numberStyles) 717public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
src\Shared\RoslynUtils\TypeHelper.cs (2)
45private static bool TryParseLocalFunctionName(string generatedName, [NotNullWhen(true)] out string? originalName) 63internal static bool TryGetNonCompilerGeneratedMethodName(MethodInfo method, [NotNullWhen(true)] out string? originalName)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2669public static bool TryParse([NotNullWhen(true)] string s, IFormatProvider provider, [MaybeNullWhen(false)] out TryParsableEmployee result)
Microsoft.AspNetCore.Mvc.Core (8)
ApiExplorer\ApiConventionResult.cs (1)
33[NotNullWhen(true)] out ApiConventionResult? result)
Infrastructure\AsyncEnumerableReader.cs (1)
52public bool TryGetReader(Type type, [NotNullWhen(true)] out Func<object, CancellationToken, Task<ICollection>>? reader)
ModelBinding\ModelBinderFactory.cs (1)
187private bool TryGetCachedBinder(ModelMetadata metadata, object? cacheToken, [NotNullWhen(true)] out IModelBinder? binder)
Routing\UrlHelperBase.cs (3)
47public virtual bool IsLocalUrl([NotNullWhen(true)][StringSyntax(StringSyntaxAttribute.Uri)] string? url) => CheckIsLocalUrl(url); 315internal static bool CheckIsLocalUrl([NotNullWhen(true)] string? url) 468[NotNullWhen(true)] out string? url)
src\Shared\Json\JsonSerializerExtensions.cs (1)
16public static bool ShouldUseWith(this JsonTypeInfo jsonTypeInfo, [NotNullWhen(false)] Type? runtimeType)
src\Shared\ResultsHelpers\SharedUrlHelper.cs (1)
33internal static bool IsLocalUrl([NotNullWhen(true)] string? url)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
SimpleTypeModelBinderIntegrationTest.cs (2)
813public static bool TryParse([NotNullWhen(true)] string s, [MaybeNullWhen(false)] out SampleModel result) 825public static bool TryParse([NotNullWhen(true)] string s, [MaybeNullWhen(false)] out SampleTryParsableModel result)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
src\Mvc\Mvc.Core\src\Infrastructure\AsyncEnumerableReader.cs (1)
52public bool TryGetReader(Type type, [NotNullWhen(true)] out Func<object, CancellationToken, Task<ICollection>>? reader)
Microsoft.AspNetCore.Mvc.Razor (2)
TagHelpers\UrlResolutionTagHelper.cs (2)
239protected bool TryResolveUrl([StringSyntax(StringSyntaxAttribute.Uri, UriKind.Relative)] string url, [NotNullWhen(true)] out IHtmlContent? resolvedUrl) 271private static bool TryCreateTrimmedString(string input, [NotNullWhen(true)] out string? trimmed)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
PageDirectiveFeature.cs (1)
32public static bool TryGetPageDirective(ILogger logger, RazorProjectItem projectItem, [NotNullWhen(true)] out string? template)
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (1)
211internal static bool TryParseHandlerMethod(string methodName, [NotNullWhen(true)] out string? httpMethod, out string? handler)
Microsoft.AspNetCore.OpenApi (8)
Extensions\ApiDescriptionExtensions.cs (1)
105public static bool TryGetBodyParameter(this ApiDescription apiDescription, [NotNullWhen(true)] out ApiParameterDescription? bodyParameter)
Services\OpenApiDocumentService.cs (1)
45internal bool TryGetCachedOperationTransformerContext(string descriptionId, [NotNullWhen(true)] out OpenApiOperationTransformerContext? context)
src\Shared\ParameterBindingMethodCache.cs (4)
526private static bool TryGetDateTimeTryParseMethod(Type type, [NotNullWhen(true)] out MethodInfo? methodInfo) 562private static bool TryGetNumberStylesTryGetMethod(Type type, [NotNullWhen(true)] out MethodInfo? method, [NotNullWhen(true)] out NumberStyles? numberStyles) 717public override bool Equals([NotNullWhen(true)] object? obj)
src\Shared\RoslynUtils\TypeHelper.cs (2)
45private static bool TryParseLocalFunctionName(string generatedName, [NotNullWhen(true)] out string? originalName) 63internal static bool TryGetNonCompilerGeneratedMethodName(MethodInfo method, [NotNullWhen(true)] out string? originalName)
Microsoft.AspNetCore.Rewrite (1)
ApacheModRewrite\Flags.cs (1)
34public bool GetValue(FlagType flag, [NotNullWhen(true)] out string? value)
Microsoft.AspNetCore.Routing (5)
DefaultLinkParser.cs (1)
119internal bool TryParse(RouteEndpoint endpoint, PathString path, [NotNullWhen(true)] out RouteValueDictionary? values)
ParameterPolicyActivator.cs (1)
74[NotNullWhen(true)] out Type? policyType)
src\Shared\Json\JsonSerializerExtensions.cs (1)
16public static bool ShouldUseWith(this JsonTypeInfo jsonTypeInfo, [NotNullWhen(false)] Type? runtimeType)
src\Shared\RoslynUtils\TypeHelper.cs (2)
45private static bool TryParseLocalFunctionName(string generatedName, [NotNullWhen(true)] out string? originalName) 63internal static bool TryGetNonCompilerGeneratedMethodName(MethodInfo method, [NotNullWhen(true)] out string? originalName)
Microsoft.AspNetCore.Server.HttpSys (3)
RequestProcessing\RequestStream.cs (1)
338internal bool TryCheckSizeLimit(int bytesRead, [NotNullWhen(true)] out Exception? exception)
UrlPrefixCollection.cs (2)
82internal bool TryMatchLongestPrefix(bool isHttps, string host, string originalPath, [NotNullWhen(true)] out string? pathBase, [NotNullWhen(true)] out string? remainingPath)
Microsoft.AspNetCore.Server.IIS (1)
Core\IISEnvironmentFeature.cs (1)
11public static bool TryCreate(IConfiguration configuration, [NotNullWhen(true)] out IIISEnvironmentFeature? result)
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\AddressBinder.cs (1)
74internal static bool TryCreateIPEndPoint(BindingAddress address, [NotNullWhen(true)] out IPEndPoint? endpoint)
Internal\Http\HttpProtocol.cs (1)
902protected bool VerifyResponseContentLength([NotNullWhen(false)] out Exception? ex)
Internal\Infrastructure\ConnectionReference.cs (1)
26public bool TryGetConnection([NotNullWhen(true)] out KestrelConnection? connection)
Internal\Infrastructure\KestrelMetrics.cs (2)
357public static bool TryGetHandshakeProtocol(SslProtocols protocols, [NotNullWhen(true)] out string? name, [NotNullWhen(true)] out string? version)
src\Servers\Kestrel\shared\PooledStreamStack.cs (2)
32public bool TryPop([NotNullWhen(true)] out TValue? result) 49public bool TryPeek([NotNullWhen(true)] out TValue? result)
src\Shared\Buffers\BufferSegmentStack.cs (1)
23public bool TryPop([NotNullWhen(true)] out BufferSegment? result)
TlsConfigurationLoader.cs (1)
195private static bool TryGetCertificatePath(string applicationName, [NotNullWhen(true)] out string? path)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\Servers\Kestrel\shared\PooledStreamStack.cs (2)
32public bool TryPop([NotNullWhen(true)] out TValue? result) 49public bool TryPeek([NotNullWhen(true)] out TValue? result)
Microsoft.AspNetCore.Session (1)
DistributedSession.cs (1)
132public bool TryGetValue(string key, [NotNullWhen(true)] out byte[]? value)
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnection.cs (2)
1981public bool TryGetInvocation(string invocationId, [NotNullWhen(true)] out InvocationRequest? irq) 1989public bool TryRemoveInvocation(string invocationId, [NotNullWhen(true)] out InvocationRequest? irq)
src\SignalR\common\Shared\ReflectionHelper.cs (1)
30public static bool TryGetStreamType(Type streamType, [NotNullWhen(true)] out Type? streamGenericType, bool mustBeDirectType = false)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
HubProtocolVersionTests.cs (1)
221public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, [NotNullWhen(true)] out HubMessage message)
Microsoft.AspNetCore.SignalR.Core (6)
DefaultHubLifetimeManager.cs (1)
391public override bool TryGetReturnType(string invocationId, [NotNullWhen(true)] out Type? type)
HubLifetimeManager.cs (1)
169public virtual bool TryGetReturnType(string invocationId, [NotNullWhen(true)] out Type? type)
src\SignalR\common\Shared\ClientResultsManager.cs (1)
81public bool TryGetType(string invocationId, [NotNullWhen(true)] out Type? type)
src\SignalR\common\Shared\ReflectionHelper.cs (1)
30public static bool TryGetStreamType(Type streamType, [NotNullWhen(true)] out Type? streamGenericType, bool mustBeDirectType = false)
StreamTracker.cs (2)
34private bool TryGetConverter(string streamId, [NotNullWhen(true)] out IStreamConverter? converter) 44public bool TryProcessItem(StreamItemMessage message, [NotNullWhen(true)] out Task? task)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
RedisHubLifetimeManager.cs (1)
444public override bool TryGetReturnType(string invocationId, [NotNullWhen(true)] out Type? type)
src\SignalR\common\Shared\ClientResultsManager.cs (1)
81public bool TryGetType(string invocationId, [NotNullWhen(true)] out Type? type)
Microsoft.AspNetCore.WebSockets (1)
HandshakeHelpers.cs (1)
76int serverMaxWindowBits, out WebSocketDeflateOptions parsedOptions, [NotNullWhen(true)] out string? response)
Microsoft.AspNetCore.WebUtilities (2)
FormReader.cs (2)
216private bool TryReadWord(char separator, int limit, [NotNullWhen(true)] out string? value) 228private bool ReadChar(char separator, int limit, [NotNullWhen(true)] out string? word)
Microsoft.Extensions.Caching.Hybrid (5)
Internal\DefaultHybridCache.Debug.cs (1)
12internal bool DebugTryGetCacheItem(string key, [NotNullWhen(true)] out CacheItem? value)
Internal\DefaultHybridCache.Stampede.cs (1)
77[NotNullWhen(true)] out StampedeState<TState, T>? stampedeState)
Internal\DefaultHybridCache.StampedeKey.cs (1)
44public override bool Equals([NotNullWhen(true)] object? obj)
Internal\DefaultJsonSerializerFactory.cs (1)
12public bool TryCreateSerializer<T>([NotNullWhen(true)] out IHybridCacheSerializer<T>? serializer)
Runtime\IHybridCacheSerializerFactory.cs (1)
19bool TryCreateSerializer<T>([NotNullWhen(true)] out IHybridCacheSerializer<T>? serializer);
Microsoft.Extensions.Configuration (1)
ConfigurationManager.cs (1)
343public bool TryGetValue(string key, [NotNullWhen(true)] out object? value)
Microsoft.Extensions.Configuration.Abstractions (1)
ConfigurationExtensions.cs (1)
78public static bool Exists([NotNullWhen(true)] this IConfigurationSection? section)
Microsoft.Extensions.DependencyInjection (2)
ServiceLookup\ServiceCacheKey.cs (1)
47public override bool Equals([NotNullWhen(true)] object? obj) =>
ServiceLookup\ServiceIdentifier.cs (1)
44public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.Extensions.DependencyInjection.Abstractions (4)
ActivatorUtilities.cs (4)
604[NotNullWhen(true)] out ConstructorInfo? matchingConstructor, 605[NotNullWhen(true)] out int?[]? parameterMap) 638[NotNullWhen(true)] out ConstructorInfo? matchingConstructor, 639[NotNullWhen(true)] out int?[]? parameterMap)
Microsoft.Extensions.DependencyModel (5)
Dependency.cs (1)
34public override bool Equals([NotNullWhen(true)] object? obj) => obj is Dependency dependency && Equals(dependency);
DirectoryWrapper.cs (1)
11public bool Exists([NotNullWhen(true)] string? path)
FileWrapper.cs (1)
12public bool Exists([NotNullWhen(true)] string? path)
IDirectory.cs (1)
10bool Exists([NotNullWhen(true)] string? path);
IFile.cs (1)
11bool Exists([NotNullWhen(true)] string? path);
Microsoft.Extensions.FileSystemGlobbing (2)
FilePatternMatch.cs (1)
62public override bool Equals([NotNullWhen(true)] object? obj) =>
Internal\PathSegments\LiteralPathSegment.cs (1)
31public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.Extensions.Http (1)
DefaultHttpClientFactory.cs (1)
379private static bool TryGetLogger(Lazy<ILogger> loggerLazy, [NotNullWhen(true)] out ILogger? logger)
Microsoft.Extensions.Logging.Abstractions (2)
EventId.cs (1)
83public override bool Equals([NotNullWhen(true)] object? obj)
LogValuesFormatter.cs (1)
260private static bool TryFormatArgumentIfNullOrEnumerable<T>(T? value, [NotNullWhen(true)] ref object? stringValue)
Microsoft.Extensions.Primitives (1)
StringSegment.cs (1)
197public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.Net.Http.Headers (34)
CacheControlHeaderValue.cs (1)
506public static bool TryParse(StringSegment input, [NotNullWhen(true)] out CacheControlHeaderValue? parsedValue)
ContentDispositionHeaderValue.cs (3)
268public static bool TryParse(StringSegment input, [NotNullWhen(true)] out ContentDispositionHeaderValue? parsedValue) 574private static bool TryDecodeMime(StringSegment input, [NotNullWhen(true)] out string? output) 703private static bool TryDecode5987(StringSegment input, [NotNullWhen(true)] out string? output)
ContentRangeHeaderValue.cs (2)
221public static bool TryParse(StringSegment input, [NotNullWhen(true)] out ContentRangeHeaderValue? parsedValue) 389[NotNullWhen(true)] out ContentRangeHeaderValue? parsedValue)
CookieHeaderValue.cs (3)
117public static bool TryParse(StringSegment input, [NotNullWhen(true)] out CookieHeaderValue? parsedValue) 149public static bool TryParseList(IList<string>? inputs, [NotNullWhen(true)] out IList<CookieHeaderValue>? parsedValues) 160public static bool TryParseStrictList(IList<string>? inputs, [NotNullWhen(true)] out IList<CookieHeaderValue>? parsedValues)
EntityTagHeaderValue.cs (3)
162public static bool TryParse(StringSegment input, [NotNullWhen(true)] out EntityTagHeaderValue? parsedValue) 194public static bool TryParseList(IList<string>? inputs, [NotNullWhen(true)] out IList<EntityTagHeaderValue>? parsedValues) 205public static bool TryParseStrictList(IList<string>? inputs, [NotNullWhen(true)] out IList<EntityTagHeaderValue>? parsedValues)
HeaderUtilities.cs (1)
232public static bool TryParseSeconds(StringValues headerValues, string targetValue, [NotNullWhen(true)] out TimeSpan? value)
HttpHeaderParser.cs (3)
47public virtual bool TryParseValues(IList<string>? values, [NotNullWhen(true)] out IList<T>? parsedValues) 52public virtual bool TryParseStrictValues(IList<string>? values, [NotNullWhen(true)] out IList<T>? parsedValues) 57protected virtual bool TryParseValues(IList<string>? values, bool strict, [NotNullWhen(true)] out IList<T>? parsedValues)
MediaTypeHeaderValue.cs (3)
511public static bool TryParse(StringSegment input, [NotNullWhen(true)] out MediaTypeHeaderValue? parsedValue) 544public static bool TryParseList(IList<string>? inputs, [NotNullWhen(true)] out IList<MediaTypeHeaderValue>? parsedValues) 555public static bool TryParseStrictList(IList<string>? inputs, [NotNullWhen(true)] out IList<MediaTypeHeaderValue>? parsedValues)
NameValueHeaderValue.cs (3)
220public static bool TryParse(StringSegment input, [NotNullWhen(true)] out NameValueHeaderValue? parsedValue) 252public static bool TryParseList(IList<string>? input, [NotNullWhen(true)] out IList<NameValueHeaderValue>? parsedValues) 263public static bool TryParseStrictList(IList<string>? input, [NotNullWhen(true)] out IList<NameValueHeaderValue>? parsedValues)
RangeConditionHeaderValue.cs (1)
127public static bool TryParse(StringSegment input, [NotNullWhen(true)] out RangeConditionHeaderValue? parsedValue)
RangeHeaderValue.cs (1)
146public static bool TryParse(StringSegment input, [NotNullWhen(true)] out RangeHeaderValue? parsedValue)
SetCookieHeaderValue.cs (3)
424public static bool TryParse(StringSegment input, [NotNullWhen(true)] out SetCookieHeaderValue? parsedValue) 456public static bool TryParseList(IList<string>? inputs, [NotNullWhen(true)] out IList<SetCookieHeaderValue>? parsedValues) 467public static bool TryParseStrictList(IList<string>? inputs, [NotNullWhen(true)] out IList<SetCookieHeaderValue>? parsedValues)
src\Http\Shared\CookieHeaderParserShared.cs (4)
59public static bool TryParseValue(StringSegment value, ref int index, bool supportsMultipleValues, [NotNullWhen(true)] out StringSegment? parsedName, [NotNullWhen(true)] out StringSegment? parsedValue) 140internal static bool TryGetCookieLength(StringSegment input, ref int offset, [NotNullWhen(true)] out StringSegment? parsedName, [NotNullWhen(true)] out StringSegment? parsedValue)
StringWithQualityHeaderValue.cs (3)
137public static bool TryParse(StringSegment input, [NotNullWhen(true)] out StringWithQualityHeaderValue? parsedValue) 169public static bool TryParseList(IList<string>? input, [NotNullWhen(true)] out IList<StringWithQualityHeaderValue>? parsedValues) 180public static bool TryParseStrictList(IList<string>? input, [NotNullWhen(true)] out IList<StringWithQualityHeaderValue>? parsedValues)
MonoAOTCompiler (2)
MonoAOTCompiler.cs (1)
1177private bool TryGetAssemblyName(string asmPath, [NotNullWhen(true)] out string? assemblyName)
src\tasks\Common\FileCache.cs (1)
52public bool ShouldCopy(ProxyFile proxyFile, [NotNullWhen(true)] out string? cause)
MonoTargetsTasks (2)
JsonToItemsTaskFactory\JsonToItemsTaskFactory.cs (1)
182public bool TryGetJson(string jsonFilePath, [NotNullWhen(true)] out JsonModelRoot? json)
RuntimeConfigParser\RuntimeConfigParser.cs (1)
81private bool TryConvertInputToDictionary(string inputFilePath, [NotNullWhen(true)] out Dictionary<string, string>? result)
System.Collections (1)
System\Collections\Generic\SortedSetEqualityComparer.cs (1)
52public override bool Equals([NotNullWhen(true)] object? obj)
System.Collections.Immutable (5)
System\Collections\Immutable\ImmutableArray_1.Minimal.cs (1)
307public override bool Equals([NotNullWhen(true)] object? obj)
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
844private static bool TryCastToImmutableMap(IEnumerable<KeyValuePair<TKey, TValue>> sequence, [NotNullWhen(true)] out ImmutableDictionary<TKey, TValue>? other)
System\Collections\Immutable\ImmutableList_1.cs (1)
1124private static bool TryCastToImmutableList(IEnumerable<T> sequence, [NotNullWhen(true)] out ImmutableList<T>? other)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
761private static bool TryCastToImmutableMap(IEnumerable<KeyValuePair<TKey, TValue>> sequence, [NotNullWhen(true)] out ImmutableSortedDictionary<TKey, TValue>? other)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
1014private static bool TryCastToImmutableSortedSet(IEnumerable<T> sequence, [NotNullWhen(true)] out ImmutableSortedSet<T>? other)
System.Collections.Specialized (2)
System\Collections\Specialized\BitVector32.cs (2)
151public override bool Equals([NotNullWhen(true)] object? o) => o is BitVector32 other && Equals(other); 202public override bool Equals([NotNullWhen(true)] object? o) => o is Section other && Equals(other);
System.ComponentModel.Annotations (5)
System\ComponentModel\DataAnnotations\FilterUIHintAttribute.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\DataAnnotations\UIHintAttribute.cs (2)
69public override bool Equals([NotNullWhen(true)] object? obj) => 122public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\DataAnnotations\ValidationAttributeStore.cs (1)
192internal bool TryGetPropertyStoreItem(string propertyName, [NotNullWhen(true)] out PropertyStoreItem? item)
System\ComponentModel\DataAnnotations\Validator.cs (1)
611[NotNullWhen(false)] out ValidationError? validationError)
System.ComponentModel.Composition (8)
Microsoft\Internal\ReflectionServices.cs (1)
82internal static bool TryGetGenericInterfaceType(Type instanceType, Type targetOpenInterfaceType, [NotNullWhen(true)] out Type? targetClosedInterfaceType)
System\ComponentModel\Composition\Hosting\FilteredCatalog.DependenciesTraversal.cs (1)
56public bool TryTraverse(ComposablePartDefinition part, [NotNullWhen(true)] out IEnumerable<ComposablePartDefinition>? reachableParts)
System\ComponentModel\Composition\Hosting\FilteredCatalog.DependentsTraversal.cs (1)
65public bool TryTraverse(ComposablePartDefinition part, [NotNullWhen(true)] out IEnumerable<ComposablePartDefinition>? reachableParts)
System\ComponentModel\Composition\Hosting\FilteredCatalog.IComposablePartCatalogTraversal.cs (1)
22bool TryTraverse(ComposablePartDefinition part, [NotNullWhen(true)] out IEnumerable<ComposablePartDefinition>? reachableParts);
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (1)
536public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (2)
278private static bool TryGetGenericTypeParameters(IEnumerable<object> genericParameters, [NotNullWhen(true)] out Type?[]? genericTypeParameters) 297internal bool TryMakeGenericPartDefinition(Type[] genericTypeParameters, [NotNullWhen(true)] out ComposablePartDefinition? genericPartDefinition)
System\ComponentModel\Composition\ReflectionModel\ReflectionModelServices.cs (1)
302public static bool TryMakeGenericPartDefinition(ComposablePartDefinition partDefinition, IEnumerable<Type> genericParameters, [NotNullWhen(true)] out ComposablePartDefinition? specialization)
System.ComponentModel.Primitives (14)
System\ComponentModel\BrowsableAttribute.cs (1)
47public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\CategoryAttribute.cs (1)
194public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\DescriptionAttribute.cs (1)
44public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\DesignerCategoryAttribute.cs (1)
60public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\DesignerSerializationVisibilityAttribute.cs (1)
56public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\DesignOnlyAttribute.cs (1)
46public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\DisplayNameAttribute.cs (1)
43public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\ImmutableObjectAttribute.cs (1)
46public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\LocalizableAttribute.cs (1)
46public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\MergablePropertyAttribute.cs (1)
52public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\NotifyParentPropertyAttribute.cs (1)
54public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\ParenthesizePropertyNameAttribute.cs (1)
44public override bool Equals([NotNullWhen(true)] object? obj) =>
System\ComponentModel\ReadOnlyAttribute.cs (1)
47public override bool Equals([NotNullWhen(true)] object? value) =>
System\ComponentModel\RefreshPropertiesAttribute.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj) =>
System.ComponentModel.TypeConverter (56)
System\ComponentModel\AmbientValueAttribute.cs (1)
153public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\BaseNumberConverter.cs (1)
110public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\BindableAttribute.cs (1)
78public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\ComplexBindingPropertiesAttribute.cs (1)
56public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\CultureInfoConverter.cs (1)
52public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\DataObjectAttribute.cs (1)
28public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\DataObjectFieldAttribute.cs (1)
43public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\DataObjectMethodAttribute.cs (2)
25public override bool Equals([NotNullWhen(true)] object? obj) 37public override bool Match([NotNullWhen(true)] object? obj)
System\ComponentModel\DateOnlyConverter.cs (1)
26public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\DateTimeConverter.cs (1)
31public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\DateTimeOffsetConverter.cs (1)
30public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\DecimalConverter.cs (1)
32public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\DefaultBindingPropertyAttribute.cs (1)
41public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\DefaultEventAttribute.cs (1)
34public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\DefaultPropertyAttribute.cs (1)
34public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\Design\CommandID.cs (1)
33public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\Design\HelpKeywordAttribute.cs (1)
87public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\Design\PropertyTabAttribute.cs (2)
147public override bool Equals([NotNullWhen(true)] object? other) 150public bool Equals([NotNullWhen(true)] PropertyTabAttribute? other)
System\ComponentModel\Design\Serialization\MemberRelationshipService.cs (2)
149public override bool Equals([NotNullWhen(true)] object? o) 207public override bool Equals([NotNullWhen(true)] object? obj) => obj is MemberRelationship rel && Equals(rel);
System\ComponentModel\DesignTimeVisibleAttribute.cs (1)
55public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\EnumConverter.cs (1)
55public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\ExtenderProvidedPropertyAttribute.cs (1)
51public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\GuidConverter.cs (1)
31public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\InheritanceAttribute.cs (1)
80public override bool Equals([NotNullWhen(true)] object? value)
System\ComponentModel\InstallerTypeAttribute.cs (1)
38public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\InterlockedBitVector32.cs (1)
47public override bool Equals([NotNullWhen(true)] object? o) => o is InterlockedBitVector32 other && Equals(other);
System\ComponentModel\LicenseProviderAttribute.cs (1)
88public override bool Equals([NotNullWhen(true)] object? value)
System\ComponentModel\ListBindableAttribute.cs (1)
32public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\LookupBindingPropertiesAttribute.cs (1)
68public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\MemberDescriptor.cs (1)
243public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\NullableConverter.cs (1)
79public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\PasswordPropertyTextAttribute.cs (1)
57public override bool Equals([NotNullWhen(true)] object? o)
System\ComponentModel\PropertyDescriptor.cs (1)
186public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\ProvidePropertyAttribute.cs (1)
50public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\RecommendedAsConfigurableAttribute.cs (1)
48public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\RunInstallerAttribute.cs (1)
51public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\SettingsBindableAttribute.cs (1)
35public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\TimeOnlyConverter.cs (1)
26public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\TimeSpanConverter.cs (1)
31public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\ToolboxItemAttribute.cs (1)
104public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\ToolboxItemFilterAttribute.cs (2)
83public override bool Equals([NotNullWhen(true)] object? obj) 101public override bool Match([NotNullWhen(true)] object? obj)
System\ComponentModel\TypeConverter.cs (2)
35public bool CanConvertTo([NotNullWhen(true)] Type? destinationType) => CanConvertTo(null, destinationType); 41public virtual bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\TypeListConverter.cs (1)
41public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\UriTypeConverter.cs (1)
32public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\VersionConverter.cs (1)
31public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Drawing\ColorConverter.cs (1)
33public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Drawing\PointConverter.cs (1)
20public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Drawing\RectangleConverter.cs (1)
20public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Drawing\SizeConverter.cs (1)
20public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Drawing\SizeFConverter.cs (1)
20public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (1)
16public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System.Console (2)
System\ConsoleKeyInfo.cs (1)
51public override bool Equals([NotNullWhen(true)] object? value)
System\TermInfo.DatabaseFactory.cs (1)
85private static bool TryOpen(string filePath, [NotNullWhen(true)] out SafeFileHandle? fd)
System.Data.Common (34)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
480internal static bool IsEmptyArray([NotNullWhen(false)] string?[]? array) => (null == array) || (0 == array.Length);
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (1)
416private static bool IsKeyNameValid([NotNullWhen(true)] string? keyname)
src\libraries\Common\src\System\Data\Common\DbConnectionPoolKey.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj)
System\Data\ColumnTypeConverter.cs (1)
62public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) =>
System\Data\Common\DataColumnMapping.cs (1)
150public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Data\Common\DataTableMapping.cs (1)
172public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Data\Common\DbConnectionStringBuilder.cs (1)
384public virtual bool TryGetValue(string keyword, [NotNullWhen(true)] out object? value)
System\Data\Common\DbProviderFactories.cs (1)
44public static bool TryGetFactory(string providerInvariantName, [NotNullWhen(true)] out DbProviderFactory? factory)
System\Data\ConstraintConverter.cs (1)
20public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) =>
System\Data\DataColumnPropertyDescriptor.cs (1)
46public override bool Equals([NotNullWhen(true)] object? other) =>
System\Data\DataRelationPropertyDescriptor.cs (1)
24public override bool Equals([NotNullWhen(true)] object? other) =>
System\Data\DataTableCollection.cs (1)
380internal bool CanRemove([NotNullWhen(true)] DataTable? table, bool fThrowException)
System\Data\DataTablePropertyDescriptor.cs (1)
24public override bool Equals([NotNullWhen(true)] object? other) =>
System\Data\ForeignKeyConstraint.cs (1)
857public override bool Equals([NotNullWhen(true)] object? key)
System\Data\PrimaryKeyTypeConverter.cs (1)
19public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) =>
System\Data\RelatedView.cs (1)
93public override bool Equals([NotNullWhen(true)] DataView? dv)
System\Data\RelationshipConverter.cs (1)
22public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Data\Selection.cs (1)
30public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Data\SQLTypes\SQLBinary.cs (1)
359public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLBoolean.cs (1)
466public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLByte.cs (1)
475public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLDateTime.cs (1)
617public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLDecimal.cs (1)
3301public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLDouble.cs (1)
391public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLGuid.cs (1)
282public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLInt16.cs (1)
476public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLInt32.cs (1)
491public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLInt64.cs (1)
550public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLMoney.cs (1)
545public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLSingle.cs (1)
401public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLString.cs (1)
877public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\UniqueConstraint.cs (1)
392public override bool Equals([NotNullWhen(true)] object? key2)
System\Data\XmlToDatasetMap.cs (1)
29public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\DataSetMappper.cs (1)
212internal static bool GetRegion(XmlNode? node, [NotNullWhen(true)] out XmlBoundElement? rowElem)
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (2)
1845public override bool Equals([NotNullWhen(true)] object? obj) 2039public override bool Equals([NotNullWhen(true)] object? obj)
System\Diagnostics\ActivityContext.cs (1)
114public override bool Equals([NotNullWhen(true)] object? obj) => (obj is ActivityContext context) ? Equals(context) : false;
System\Diagnostics\ActivityLink.cs (1)
41public override bool Equals([NotNullWhen(true)] object? obj) => (obj is ActivityLink link) && this.Equals(link);
System.Diagnostics.Process (7)
src\libraries\Common\src\Interop\Linux\cgroups\Interop.cgroups.cs (6)
305private static bool TryFindHierarchyMount(CGroupVersion cgroupVersion, string subsystem, [NotNullWhen(true)] out string? root, [NotNullWhen(true)] out string? path) 317internal static bool TryFindHierarchyMount(CGroupVersion cgroupVersion, string mountInfoFilePath, string subsystem, [NotNullWhen(true)] out string? root, [NotNullWhen(true)] out string? path) 400private static bool TryFindCGroupPathForSubsystem(CGroupVersion cgroupVersion, string subsystem, [NotNullWhen(true)] out string? path) 411internal static bool TryFindCGroupPathForSubsystem(CGroupVersion cgroupVersion, string procCGroupFilePath, string subsystem, [NotNullWhen(true)] out string? path)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.TryReadStatusFile.cs (1)
117private static bool TryReadFile(string path, [NotNullWhen(true)] out string? contents)
System.Diagnostics.StackTrace (1)
System\Diagnostics\SymbolStore\SymbolToken.cs (1)
21public override bool Equals([NotNullWhen(true)] object? obj)
System.Drawing.Primitives (7)
System\Drawing\Color.cs (1)
585public override bool Equals([NotNullWhen(true)] object? obj) => obj is Color other && Equals(other);
System\Drawing\Point.cs (1)
139public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is Point && Equals((Point)obj);
System\Drawing\PointF.cs (1)
137public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is PointF && Equals((PointF)obj);
System\Drawing\Rectangle.cs (1)
159public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is Rectangle && Equals((Rectangle)obj);
System\Drawing\RectangleF.cs (1)
189public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is RectangleF && Equals((RectangleF)obj);
System\Drawing\Size.cs (1)
180public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is Size && Equals((Size)obj);
System\Drawing\SizeF.cs (1)
167public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is SizeF && Equals((SizeF)obj);
System.Formats.Asn1 (2)
System\Formats\Asn1\Asn1Tag.cs (1)
397public override bool Equals([NotNullWhen(true)] object? obj)
System\Formats\Asn1\AsnWriter.cs (1)
721public override bool Equals([NotNullWhen(true)] object? obj) => obj is StackFrame other && Equals(other);
System.Formats.Tar (5)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetGroupName.cs (1)
23internal static bool TryGetGroupName(uint gid, [NotNullWhen(returnValue: true)] out string? groupName)
src\libraries\Common\src\System\IO\PathInternal.cs (1)
227internal static bool EndsInDirectorySeparator([NotNullWhen(true)] string? path) =>
System\Formats\Tar\TarHeader.Read.cs (2)
701[NotNullWhen(returnValue: true)] out string? key, 702[NotNullWhen(returnValue: true)] out string? value)
System\Formats\Tar\TarReader.cs (1)
397private bool TryProcessExtendedAttributesHeader(TarHeader extendedAttributesHeader, bool copyData, [NotNullWhen(returnValue: true)] out TarHeader? actualHeader)
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\System\IO\PathInternal.cs (1)
227internal static bool EndsInDirectorySeparator([NotNullWhen(true)] string? path) =>
System.IO.Pipelines (1)
System\IO\Pipelines\BufferSegmentStack.cs (1)
25public bool TryPop([NotNullWhen(true)] out BufferSegment? result)
System.Linq.Expressions (14)
System\Dynamic\BindingRestrictions.cs (3)
245public override bool Equals([NotNullWhen(true)] object? obj) 268public override bool Equals([NotNullWhen(true)] object? obj) 290public override bool Equals([NotNullWhen(true)] object? obj)
System\Dynamic\CallInfo.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj)
System\Dynamic\DynamicObject.cs (1)
113public virtual bool TryCreateInstance(CreateInstanceBinder binder, object?[]? args, [NotNullWhen(true)] out object? result)
System\Linq\Expressions\Compiler\BoundConstants.cs (1)
46public override bool Equals([NotNullWhen(true)] object? obj)
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
1096private static bool IsRefInstance([NotNullWhen(true)] Expression? instance)
System\Linq\Expressions\Interpreter\CallInstruction.cs (1)
248protected static bool TryGetLightLambdaTarget(object? instance, [NotNullWhen(true)] out LightLambda? lightLambda)
System\Linq\Expressions\Interpreter\LabelInfo.cs (1)
316internal bool TryGetLabelInfo(LabelTarget target, [NotNullWhen(true)] out LabelInfo? info)
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
102internal bool HasHandler(InterpretedFrame frame, Exception exception, [NotNullWhen(true)] out ExceptionHandler? handler, out object? unwrappedException)
System\Linq\Expressions\Interpreter\LocalVariables.cs (2)
59public override bool Equals([NotNullWhen(true)] object? obj) => obj is LocalDefinition other && Equals(other); 137public bool TryGetLocalOrClosure(ParameterExpression var, [NotNullWhen(true)] out LocalVariable? local)
System\Linq\Expressions\LambdaExpression.cs (2)
1057public static bool TryGetFuncType(Type[] typeArgs, [NotNullWhen(true)] out Type? funcType) 1103public static bool TryGetActionType(Type[] typeArgs, [NotNullWhen(true)] out Type? actionType)
System.Linq.Parallel (2)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (2)
443private bool TryDequeueChunk([NotNullWhen(true)] ref T[]? chunk) 532private bool TryDequeueChunk([NotNullWhen(true)] ref T[]? chunk, ref bool isDone)
System.Memory (7)
System\Buffers\ReadOnlySequence.Helpers.cs (3)
516internal bool TryGetReadOnlySequenceSegment([NotNullWhen(true)] out ReadOnlySequenceSegment<T>? startSegment, out int startIndex, [NotNullWhen(true)] out ReadOnlySequenceSegment<T>? endSegment, out int endIndex) 554internal bool TryGetString([NotNullWhen(true)] out string? text, out int start, out int length)
System\Runtime\InteropServices\SequenceMarshal.cs (3)
19[NotNullWhen(true)] out ReadOnlySequenceSegment<T>? startSegment, 21[NotNullWhen(true)] out ReadOnlySequenceSegment<T>? endSegment, 56internal static bool TryGetString(ReadOnlySequence<char> sequence, [NotNullWhen(true)] out string? text, out int start, out int length)
System\SequencePosition.cs (1)
50public override bool Equals([NotNullWhen(true)] object? obj) => obj is SequencePosition other && this.Equals(other);
System.Memory.Data (1)
System\BinaryData.cs (1)
478public override bool Equals([NotNullWhen(true)] object? obj) => ReferenceEquals(this, obj);
System.Net.Http (96)
src\libraries\Common\src\System\Net\CredentialCacheKey.cs (4)
81public bool Equals([NotNullWhen(true)] CredentialCacheKey? other) 97public override bool Equals([NotNullWhen(true)] object? obj) => Equals(obj as CredentialCacheKey); 105public static bool TryGetCredential(Dictionary<CredentialCacheKey, NetworkCredential> cache, Uri uriPrefix, string authType, [NotNullWhen(true)] out Uri? mostSpecificMatchUri, [NotNullWhen(true)] out NetworkCredential? mostSpecificMatch)
src\libraries\Common\src\System\Net\HttpKnownHeaderNames.TryGetHeaderName.cs (3)
18public static bool TryGetHeaderName(char[] array, int startIndex, int length, [NotNullWhen(true)] out string? name) 87[NotNullWhen(true)] out string? name) 343private static bool TryMatch<T>(string known, T key, int startIndex, int length, Func<string, T, int, int, bool> equals, [NotNullWhen(true)] out string? name)
System\Net\Http\Headers\AltSvcHeaderParser.cs (2)
187private static bool TryReadPercentEncodedAlpnProtocolName(string value, int startIndex, [NotNullWhen(true)] out string? result, out int readLength) 258private static bool TryReadUnknownPercentEncodedAlpnProtocolName(ReadOnlySpan<char> value, [NotNullWhen(true)] out string? result)
System\Net\Http\Headers\AuthenticationHeaderValue.cs (3)
63public override bool Equals([NotNullWhen(true)] object? obj) 103public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out AuthenticationHeaderValue? parsedValue)
System\Net\Http\Headers\ByteArrayHeaderParser.cs (2)
27public override bool TryParseValue([NotNullWhen(true)] string? value, object? storeValue, ref int index, [NotNullWhen(true)] out object? parsedValue)
System\Net\Http\Headers\CacheControlHeaderValue.cs (2)
307public override bool Equals([NotNullWhen(true)] object? obj) => 335public static bool TryParse(string? input, [NotNullWhen(true)] out CacheControlHeaderValue? parsedValue)
System\Net\Http\Headers\ContentDispositionHeaderValue.cs (4)
159public override bool Equals([NotNullWhen(true)] object? obj) 195public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out ContentDispositionHeaderValue? parsedValue) 459private static bool TryDecodeMime(string? input, [NotNullWhen(true)] out string? output)
System\Net\Http\Headers\ContentRangeHeaderValue.cs (4)
94public override bool Equals([NotNullWhen(true)] object? obj) => 144public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out ContentRangeHeaderValue? parsedValue) 316int toStartIndex, int toLength, int lengthStartIndex, int lengthLength, [NotNullWhen(true)] out object? parsedValue)
System\Net\Http\Headers\CookieHeaderParser.cs (1)
19public override bool TryParseValue(string? value, object? storeValue, ref int index, [NotNullWhen(true)] out object? parsedValue)
System\Net\Http\Headers\DateHeaderParser.cs (2)
27public override bool TryParseValue([NotNullWhen(true)] string? value, object? storeValue, ref int index, [NotNullWhen(true)] out object? parsedValue)
System\Net\Http\Headers\EntityTagHeaderValue.cs (3)
70public override bool Equals([NotNullWhen(true)] object? obj) 96public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out EntityTagHeaderValue? parsedValue)
System\Net\Http\Headers\HeaderDescriptor.cs (2)
102internal static bool TryGetStaticQPackHeader(int index, out HeaderDescriptor descriptor, [NotNullWhen(true)] out string? knownValue) 260private static bool TryDecodeUtf8(ReadOnlySpan<byte> input, [NotNullWhen(true)] out string? decoded)
System\Net\Http\Headers\HttpHeaderParser.cs (1)
49public abstract bool TryParseValue(string? value, object? storeValue, ref int index, [NotNullWhen(true)] out object? parsedValue);
System\Net\Http\Headers\HttpHeaders.cs (4)
211public bool TryGetValues(string name, [NotNullWhen(true)] out IEnumerable<string>? values) 222internal bool TryGetValues(HeaderDescriptor descriptor, [NotNullWhen(true)] out IEnumerable<string>? values) 680internal bool TryGetHeaderValue(HeaderDescriptor descriptor, [NotNullWhen(true)] out object? value) 695private bool TryGetAndParseHeaderInfo(HeaderDescriptor key, [NotNullWhen(true)] out HeaderStoreItemInfo? info)
System\Net\Http\Headers\MediaTypeHeaderValue.cs (3)
131public override bool Equals([NotNullWhen(true)] object? obj) => 163public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out MediaTypeHeaderValue? parsedValue)
System\Net\Http\Headers\MediaTypeWithQualityHeaderValue.cs (2)
52public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out MediaTypeWithQualityHeaderValue? parsedValue)
System\Net\Http\Headers\NameValueHeaderValue.cs (3)
81public override bool Equals([NotNullWhen(true)] object? obj) 122public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out NameValueHeaderValue? parsedValue)
System\Net\Http\Headers\NameValueWithParametersHeaderValue.cs (3)
43public override bool Equals([NotNullWhen(true)] object? obj) 82public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out NameValueWithParametersHeaderValue? parsedValue)
System\Net\Http\Headers\ProductHeaderValue.cs (3)
60public override bool Equals([NotNullWhen(true)] object? obj) 91public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out ProductHeaderValue? parsedValue)
System\Net\Http\Headers\ProductInfoHeaderParser.cs (2)
24public override bool TryParseValue([NotNullWhen(true)] string? value, object? storeValue, ref int index, [NotNullWhen(true)] out object? parsedValue)
System\Net\Http\Headers\ProductInfoHeaderValue.cs (3)
54public override bool Equals([NotNullWhen(true)] object? obj) 96public static bool TryParse([NotNullWhen(true)] string input, [NotNullWhen(true)] out ProductInfoHeaderValue? parsedValue)
System\Net\Http\Headers\RangeConditionHeaderValue.cs (3)
46public override bool Equals([NotNullWhen(true)] object? obj) => 60public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out RangeConditionHeaderValue? parsedValue)
System\Net\Http\Headers\RangeHeaderValue.cs (3)
84public override bool Equals([NotNullWhen(true)] object? obj) 118public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out RangeHeaderValue? parsedValue)
System\Net\Http\Headers\RangeItemHeaderValue.cs (1)
69public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\Headers\RetryConditionHeaderValue.cs (3)
49public override bool Equals([NotNullWhen(true)] object? obj) => 64public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out RetryConditionHeaderValue? parsedValue)
System\Net\Http\Headers\StringWithQualityHeaderValue.cs (3)
53public override bool Equals([NotNullWhen(true)] object? obj) => 71public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out StringWithQualityHeaderValue? parsedValue)
System\Net\Http\Headers\TransferCodingHeaderValue.cs (3)
47public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out TransferCodingHeaderValue? parsedValue) 120public override bool Equals([NotNullWhen(true)] object? obj)
System\Net\Http\Headers\TransferCodingWithQualityHeaderValue.cs (2)
51public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out TransferCodingWithQualityHeaderValue? parsedValue)
System\Net\Http\Headers\UriHeaderParser.cs (2)
26public override bool TryParseValue([NotNullWhen(true)] string? value, object? storeValue, ref int index, [NotNullWhen(true)] out object? parsedValue)
System\Net\Http\Headers\ViaHeaderValue.cs (3)
102public override bool Equals([NotNullWhen(true)] object? obj) 143public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out ViaHeaderValue? parsedValue)
System\Net\Http\Headers\WarningHeaderValue.cs (4)
84public override bool Equals([NotNullWhen(true)] object? obj) => 108public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out WarningHeaderValue? parsedValue) 173private static bool TryReadAgent(string input, ref int current, [NotNullWhen(true)] out string? agent)
System\Net\Http\HttpContent.cs (1)
765private static bool TryDetectEncoding(ArraySegment<byte> buffer, [NotNullWhen(true)] out Encoding? encoding, out int preambleLength)
System\Net\Http\HttpMethod.cs (2)
51public bool Equals([NotNullWhen(true)] HttpMethod? other) => 55public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (2)
35private bool TryGetPooledHttp11Connection(HttpRequestMessage request, bool async, [NotNullWhen(true)] out HttpConnection? connection, [NotNullWhen(false)] out HttpConnectionWaiter<HttpConnection>? waiter)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (1)
64private bool TryGetPooledHttp2Connection(HttpRequestMessage request, [NotNullWhen(true)] out Http2Connection? connection, out HttpConnectionWaiter<Http2Connection?>? waiter)
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (2)
42public bool Equals([NotNullWhen(true)] HttpAuthority? other) 47public override bool Equals([NotNullWhen(true)] object? obj)
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (1)
545public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Unix.cs (1)
15public static bool TryCreate([NotNullWhen(true)] out IWebProxy? proxy)
System\Net\Http\SocketsHttpHandler\MultiProxy.cs (3)
93public bool ReadNext([NotNullWhen(true)] out Uri? uri, out bool isFinalProxy) 153private bool ReadNextHelper([NotNullWhen(true)] out Uri? uri, out bool isFinalProxy) 196private static bool TryParseProxyConfigPart(ReadOnlySpan<char> proxyString, bool secure, [NotNullWhen(true)] out Uri? uri, out int charactersConsumed)
System.Net.HttpListener (3)
System\Net\Managed\HttpListenerContext.Managed.cs (2)
58internal static bool TryParseBasicAuth(string headerValue, out HttpStatusCode errorCode, [NotNullWhen(true)] out string? username, [NotNullWhen(true)] out string? password)
System\Net\Managed\ListenerPrefix.cs (1)
84public override bool Equals([NotNullWhen(true)] object? o)
System.Net.Mail (14)
System\Net\Mail\MailAddress.cs (8)
85public static bool TryCreate([NotNullWhen(true)] string? address, [NotNullWhen(true)] out MailAddress? result) => TryCreate(address, displayName: null, out result); 94public static bool TryCreate([NotNullWhen(true)] string? address, string? displayName, [NotNullWhen(true)] out MailAddress? result) => TryCreate(address, displayName, displayNameEncoding: null, out result); 104public static bool TryCreate([NotNullWhen(true)] string? address, string? displayName, Encoding? displayNameEncoding, [NotNullWhen(true)] out MailAddress? result) 120private static bool TryParse([NotNullWhen(true)] string? address, string? displayName, Encoding? displayNameEncoding, out (string displayName, string user, string host, Encoding displayNameEncoding) parsedData, bool throwExceptionIfFail) 265public override bool Equals([NotNullWhen(true)] object? value)
System\Net\Mail\MailAddressParser.cs (4)
210private static bool TryParseDomain(string data, ref int index, [NotNullWhen(true)] out string? domain, bool throwExceptionIfFail) 272bool expectMultipleAddresses, [NotNullWhen(true)] out string? localPart, bool throwExceptionIfFail) 358private static bool TryParseDisplayName(string data, ref int index, bool expectMultipleAddresses, [NotNullWhen(true)] out string? displayName, bool throwExceptionIfFail) 436internal static bool TryNormalizeOrThrow(string input, [NotNullWhen(true)] out string? normalizedString, bool throwExceptionIfFail)
System\Net\Mime\ContentDisposition.cs (1)
244public override bool Equals([NotNullWhen(true)] object? rparam)
System\Net\Mime\ContentType.cs (1)
212public override bool Equals([NotNullWhen(true)] object? rparam) =>
System.Net.NameResolution (1)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.IPAddress.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj) =>
System.Net.NetworkInformation (4)
src\libraries\Common\src\System\IO\RowConfigReader.cs (1)
64public bool TryGetNextValue(string key, [NotNullWhen(true)] out string? value)
System\Net\NetworkInformation\PhysicalAddress.cs (3)
60public override bool Equals([NotNullWhen(true)] object? comparand) => 86public static bool TryParse(string? address, [NotNullWhen(true)] out PhysicalAddress? value) 97public static bool TryParse(ReadOnlySpan<char> address, [NotNullWhen(true)] out PhysicalAddress? value)
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.RawSocket.cs (1)
119[NotNullWhen(true)] out PingReply? reply)
System.Net.Primitives (20)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.IPAddress.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\Common\src\System\Net\CredentialCacheKey.cs (4)
81public bool Equals([NotNullWhen(true)] CredentialCacheKey? other) 97public override bool Equals([NotNullWhen(true)] object? obj) => Equals(obj as CredentialCacheKey); 105public static bool TryGetCredential(Dictionary<CredentialCacheKey, NetworkCredential> cache, Uri uriPrefix, string authType, [NotNullWhen(true)] out Uri? mostSpecificMatchUri, [NotNullWhen(true)] out NetworkCredential? mostSpecificMatch)
System\Net\Cookie.cs (1)
700public override bool Equals([NotNullWhen(true)] object? comparand)
System\Net\CredentialCache.cs (1)
382public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\DnsEndPoint.cs (1)
36public override bool Equals([NotNullWhen(true)] object? comparand) =>
System\Net\IPAddress.cs (7)
223public static bool TryParse([NotNullWhen(true)] string? ipString, [NotNullWhen(true)] out IPAddress? address) 235public static bool TryParse(ReadOnlySpan<char> ipSpan, [NotNullWhen(true)] out IPAddress? address) 242static bool IParsable<IPAddress>.TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, [NotNullWhen(true)] out IPAddress? result) => 247static bool ISpanParsable<IPAddress>.TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, [NotNullWhen(true)] out IPAddress? result) => 635public override bool Equals([NotNullWhen(true)] object? comparand)
System\Net\IPEndPoint.cs (3)
90public static bool TryParse(string s, [NotNullWhen(true)] out IPEndPoint? result) 95public static bool TryParse(ReadOnlySpan<char> s, [NotNullWhen(true)] out IPEndPoint? result) 172public override bool Equals([NotNullWhen(true)] object? comparand)
System\Net\IPNetwork.cs (2)
279public override bool Equals([NotNullWhen(true)] object? obj) => 322static bool IParsable<IPNetwork>.TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out IPNetwork result) => TryParse(s, out result);
System.Net.Quic (2)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (1)
429public override bool Equals([NotNullWhen(true)] object? obj) => obj is X509VerifyStatusCode other && Equals(other);
System\Net\Quic\Internal\ThrowHelper.cs (1)
31internal static bool TryGetStreamExceptionForMsQuicStatus(int status, [NotNullWhen(true)] out Exception? exception, bool streamWasSuccessfullyStarted = true, string? message = null)
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1623private bool TryGetHostUri(string hostName, [NotNullWhen(true)] out Uri? hostUri)
System.Net.Security (3)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (1)
429public override bool Equals([NotNullWhen(true)] object? obj) => obj is X509VerifyStatusCode other && Equals(other);
System\Net\Security\SslApplicationProtocol.cs (1)
57public override bool Equals([NotNullWhen(true)] object? obj) => obj is SslApplicationProtocol protocol && Equals(protocol);
System\Net\Security\SslSessionsCache.cs (1)
73public override bool Equals([NotNullWhen(true)] object? obj) =>
System.Net.Sockets (4)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.IPAddress.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Sockets\IPPacketInformation.cs (1)
29public override bool Equals([NotNullWhen(true)] object? comparand) =>
System\Net\Sockets\UdpReceiveResult.cs (1)
66public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Sockets\UnixDomainSocketEndPoint.cs (1)
139public override bool Equals([NotNullWhen(true)] object? obj)
System.Numerics.Tensors (2)
System\NIndex.cs (1)
136public override bool Equals([NotNullWhen(true)] object? value) => value is NIndex other && _value == other._value;
System\NRange.cs (1)
47public override bool Equals([NotNullWhen(true)] object? value) =>
System.ObjectModel (1)
System\ComponentModel\TypeConverterAttribute.cs (1)
61public override bool Equals([NotNullWhen(true)] object? obj)
System.Private.CoreLib (358)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.TryReadStatusFile.cs (1)
117private static bool TryReadFile(string path, [NotNullWhen(true)] out string? contents)
src\libraries\Common\src\System\IO\PathInternal.cs (1)
227internal static bool EndsInDirectorySeparator([NotNullWhen(true)] string? path) =>
src\libraries\System.Private.CoreLib\src\System\ApplicationId.cs (1)
71public override bool Equals([NotNullWhen(true)] object? o) =>
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
125public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Attribute.cs (1)
21public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Boolean.cs (3)
124public override bool Equals([NotNullWhen(true)] object? obj) 243public static bool TryParse([NotNullWhen(true)] string? value, out bool result) => 412static bool IParsable<bool>.TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out bool result) => TryParse(s, out result);
src\libraries\System.Private.CoreLib\src\System\Buffers\StandardFormat.cs (1)
135public override bool Equals([NotNullWhen(true)] object? obj) => obj is StandardFormat other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Byte.cs (4)
75public override bool Equals([NotNullWhen(true)] object? obj) 114public static bool TryParse([NotNullWhen(true)] string? s, out byte result) => TryParse(s, NumberStyles.Integer, provider: null, out result); 124public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out byte result) 1111public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out byte result) => TryParse(s, NumberStyles.Integer, provider, out result);
src\libraries\System.Private.CoreLib\src\System\Char.cs (4)
116public override bool Equals([NotNullWhen(true)] object? obj) 211public static bool TryParse([NotNullWhen(true)] string? s, out char result) 1929static bool INumberBase<char>.TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out char result) => TryParse(s, out result); 1939static bool IParsable<char>.TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out char result) => TryParse(s, out result);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Comparer.cs (4)
70public override bool Equals([NotNullWhen(true)] object? obj) => 105public override bool Equals([NotNullWhen(true)] object? obj) => 123public override bool Equals([NotNullWhen(true)] object? obj) => 141public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (5)
136public override bool Equals([NotNullWhen(true)] object? obj) => 176public override bool Equals([NotNullWhen(true)] object? obj) => 205public override bool Equals([NotNullWhen(true)] object? obj) => 226public override bool Equals([NotNullWhen(true)] object? obj) => 259public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSetEqualityComparer.cs (1)
75public override bool Equals([NotNullWhen(true)] object? obj) => obj is HashSetEqualityComparer<T>;
src\libraries\System.Private.CoreLib\src\System\ComponentModel\DefaultValueAttribute.cs (1)
257public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\ComponentModel\EditorBrowsableAttribute.cs (1)
22public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (5)
109public static bool IsDBNull([NotNullWhen(true)] object? value) 315public static bool ToBoolean([NotNullWhen(true)] object? value) 320public static bool ToBoolean([NotNullWhen(true)] object? value, IFormatProvider? provider) 381public static bool ToBoolean([NotNullWhen(true)] string? value) 388public static bool ToBoolean([NotNullWhen(true)] string? value, IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (14)
269public override bool Equals([NotNullWhen(true)] object? value) => value is DateOnly dateOnly && _dayNumber == dateOnly._dayNumber; 538public static bool TryParseExact(ReadOnlySpan<char> s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateOnlyFormat)] string?[]? formats, out DateOnly result) => TryParseExact(s, formats, null, DateTimeStyles.None, out result); 549public static bool TryParseExact(ReadOnlySpan<char> s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateOnlyFormat)] string?[]? formats, IFormatProvider? provider, DateTimeStyles style, out DateOnly result) => 609public static bool TryParse([NotNullWhen(true)] string? s, out DateOnly result) => TryParse(s, null, DateTimeStyles.None, out result); 619public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, DateTimeStyles style, out DateOnly result) 638public static bool TryParseExact([NotNullWhen(true)] string? s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateOnlyFormat)] string? format, out DateOnly result) => TryParseExact(s, format, null, DateTimeStyles.None, out result); 650public static bool TryParseExact([NotNullWhen(true)] string? s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateOnlyFormat)] string? format, IFormatProvider? provider, DateTimeStyles style, out DateOnly result) 668public static bool TryParseExact([NotNullWhen(true)] string? s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateOnlyFormat)] string?[]? formats, out DateOnly result) => TryParseExact(s, formats, null, DateTimeStyles.None, out result); 679public static bool TryParseExact([NotNullWhen(true)] string? s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateOnlyFormat)] string?[]? formats, IFormatProvider? provider, DateTimeStyles style, out DateOnly result) 842public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out DateOnly result) => TryParse(s, provider, DateTimeStyles.None, out result);
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (9)
1206public override bool Equals([NotNullWhen(true)] object? value) 1817public static bool TryParse([NotNullWhen(true)] string? s, out DateTime result) 1832public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, DateTimeStyles styles, out DateTime result) 1851public static bool TryParseExact([NotNullWhen(true)] string? s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateTimeFormat)] string? format, IFormatProvider? provider, DateTimeStyles style, out DateTime result) 1870public static bool TryParseExact([NotNullWhen(true)] string? s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateTimeFormat)] string?[]? formats, IFormatProvider? provider, DateTimeStyles style, out DateTime result) 1883public static bool TryParseExact(ReadOnlySpan<char> s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateTimeFormat)] string?[]? formats, IFormatProvider? provider, DateTimeStyles style, out DateTime result) 2063public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out DateTime result) => TryParse(s, provider, DateTimeStyles.None, out result);
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (9)
600public override bool Equals([NotNullWhen(true)] object? obj) => 872public static bool TryParse([NotNullWhen(true)] string? input, out DateTimeOffset result) 890public static bool TryParse([NotNullWhen(true)] string? input, IFormatProvider? formatProvider, DateTimeStyles styles, out DateTimeOffset result) 916public static bool TryParseExact([NotNullWhen(true)] string? input, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateTimeFormat)] string? format, IFormatProvider? formatProvider, DateTimeStyles styles, 945public static bool TryParseExact([NotNullWhen(true)] string? input, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateTimeFormat)] string?[]? formats, IFormatProvider? formatProvider, DateTimeStyles styles, 966ReadOnlySpan<char> input, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.DateTimeFormat)] string?[]? formats, IFormatProvider? formatProvider, DateTimeStyles styles, out DateTimeOffset result) 1092public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out DateTimeOffset result) => TryParse(s, provider, DateTimeStyles.None, out result);
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (4)
447public override bool Equals([NotNullWhen(true)] object? value) => 541public static bool TryParse([NotNullWhen(true)] string? s, out decimal result) => TryParse(s, NumberStyles.Number, provider: null, out result); 551public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out decimal result) 1816public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out decimal result) => TryParse(s, NumberStyles.Number, provider, out result);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventDescriptor.cs (1)
94public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Double.cs (4)
301public override bool Equals([NotNullWhen(true)] object? obj) 415public static bool TryParse([NotNullWhen(true)] string? s, out double result) => TryParse(s, NumberStyles.Float | NumberStyles.AllowThousands, provider: null, out result); 425public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out double result) 1489public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out double result) => TryParse(s, NumberStyles.Float | NumberStyles.AllowThousands, provider, out result);
src\libraries\System.Private.CoreLib\src\System\Enum.cs (9)
674public static bool TryParse(Type enumType, string? value, [NotNullWhen(true)] out object? result) => 682public static bool TryParse(Type enumType, ReadOnlySpan<char> value, [NotNullWhen(true)] out object? result) => 694public static bool TryParse(Type enumType, string? value, bool ignoreCase, [NotNullWhen(true)] out object? result) 714public static bool TryParse(Type enumType, ReadOnlySpan<char> value, bool ignoreCase, [NotNullWhen(true)] out object? result) => 718private static unsafe bool TryParse(Type enumType, ReadOnlySpan<char> value, bool ignoreCase, bool throwOnFailure, [NotNullWhen(true)] out object? result) 776static bool TryParseRareTypes(RuntimeType rt, ReadOnlySpan<char> value, bool ignoreCase, bool throwOnFailure, [NotNullWhen(true)] out long result) 835public static bool TryParse<TEnum>([NotNullWhen(true)] string? value, out TEnum result) where TEnum : struct => 857public static bool TryParse<TEnum>([NotNullWhen(true)] string? value, bool ignoreCase, out TEnum result) where TEnum : struct 1192public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (1)
1527public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Icu.cs (1)
176internal static unsafe bool GetDefaultLocaleName([NotNullWhen(true)] out string? windowsName)
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (1)
648public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\Globalization\GlobalizationMode.cs (2)
48private static bool TryGetAppLocalIcuSwitchValue([NotNullWhen(true)] out string? value) => 50private static bool TryGetStringValue(string switchName, string envVariable, [NotNullWhen(true)] out string? value)
src\libraries\System.Private.CoreLib\src\System\Globalization\IdnMapping.cs (1)
146public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Globalization\RegionInfo.cs (1)
184public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\Globalization\SortKey.cs (1)
62public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Globalization\SortVersion.cs (2)
42public override bool Equals([NotNullWhen(true)] object? obj) 47public bool Equals([NotNullWhen(true)] SortVersion? other)
src\libraries\System.Private.CoreLib\src\System\Globalization\StringInfo.cs (1)
30public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (1)
494public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Guid.cs (5)
279public static bool TryParse([NotNullWhen(true)] string? input, out Guid result) 337public static bool TryParseExact([NotNullWhen(true)] string? input, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.GuidFormat)] string? format, out Guid result) 930public override bool Equals([NotNullWhen(true)] object? o) => o is Guid g && EqualsCore(this, g); 1743public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out Guid result) => TryParse(s, out result);
src\libraries\System.Private.CoreLib\src\System\Half.cs (4)
367public static bool TryParse([NotNullWhen(true)] string? s, out Half result) => TryParse(s, NumberStyles.Float | NumberStyles.AllowThousands, provider: null, out result); 391public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out Half result) 472public override bool Equals([NotNullWhen(true)] object? obj) 2178public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out Half result) => TryParse(s, DefaultParseStyle, provider, out result);
src\libraries\System.Private.CoreLib\src\System\Index.cs (1)
125public override bool Equals([NotNullWhen(true)] object? value) => value is Index && _value == ((Index)value)._value;
src\libraries\System.Private.CoreLib\src\System\Int128.cs (4)
83public override bool Equals([NotNullWhen(true)] object? obj) 147public static bool TryParse([NotNullWhen(true)] string? s, out Int128 result) => TryParse(s, NumberStyles.Integer, provider: null, out result); 157public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out Int128 result) 1966public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out Int128 result) => TryParse(s, NumberStyles.Integer, provider, out result);
src\libraries\System.Private.CoreLib\src\System\Int16.cs (4)
76public override bool Equals([NotNullWhen(true)] object? obj) 147public static bool TryParse([NotNullWhen(true)] string? s, out short result) => TryParse(s, NumberStyles.Integer, provider: null, out result); 157public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out short result) 1318public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out short result) => TryParse(s, NumberStyles.Integer, provider, out result);
src\libraries\System.Private.CoreLib\src\System\Int32.cs (4)
87public override bool Equals([NotNullWhen(true)] object? obj) 157public static bool TryParse([NotNullWhen(true)] string? s, out int result) => TryParse(s, NumberStyles.Integer, provider: null, out result); 167public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out int result) 1354public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out int result) => TryParse(s, NumberStyles.Integer, provider, out result);
src\libraries\System.Private.CoreLib\src\System\Int64.cs (4)
84public override bool Equals([NotNullWhen(true)] object? obj) 154public static bool TryParse([NotNullWhen(true)] string? s, out long result) => TryParse(s, NumberStyles.Integer, provider: null, out result); 164public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out long result) 1357public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out long result) => TryParse(s, NumberStyles.Integer, provider, out result);
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (4)
88public override bool Equals([NotNullWhen(true)] object? obj) => (obj is nint other) && Equals(other); 225public static bool TryParse([NotNullWhen(true)] string? s, out nint result) 232public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out nint result) 238public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out nint result)
src\libraries\System.Private.CoreLib\src\System\IO\Directory.cs (1)
80public static bool Exists([NotNullWhen(true)] string? path)
src\libraries\System.Private.CoreLib\src\System\IO\File.cs (1)
92public static bool Exists([NotNullWhen(true)] string? path)
src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (3)
93public static bool Exists([NotNullWhen(true)] string? path) 320public static bool HasExtension([NotNullWhen(true)] string? path) 969public static bool EndsInDirectorySeparator([NotNullWhen(true)] string? path) => PathInternal.EndsInDirectorySeparator(path);
src\libraries\System.Private.CoreLib\src\System\IO\Path.Unix.cs (1)
130public static bool IsPathRooted([NotNullWhen(true)] string? path)
src\libraries\System.Private.CoreLib\src\System\IParsable.cs (1)
27static abstract bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, [MaybeNullWhen(returnValue: false)] out TSelf result);
src\libraries\System.Private.CoreLib\src\System\Memory.cs (1)
448public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
417static abstract bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, [MaybeNullWhen(false)] out TSelf result);
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix3x2.cs (1)
314public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix3x2.Impl.cs (1)
480public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.cs (1)
671public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (1)
1730public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Plane.cs (1)
293public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (1)
656public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (1)
229public override bool Equals([NotNullWhen(true)] object? obj) => obj is TotalOrderIeee754Comparer<T>;
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (1)
749public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector<T> other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (1)
657public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.cs (1)
666public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (1)
791public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Range.cs (1)
47public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\ReadOnlyMemory.cs (1)
360public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeNamedArgument.cs (1)
52public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeTypedArgument.cs (1)
89public override bool Equals([NotNullWhen(true)] object? obj) => obj is CustomAttributeTypedArgument cata && Equals(cata);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\Label.cs (1)
30public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\Opcode.cs (1)
123public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
36public override bool IsAssignableFrom([NotNullWhen(true)] TypeInfo? typeInfo)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (2)
25public override bool IsAssignableFrom([NotNullWhen(true)] TypeInfo? typeInfo) 256public override bool IsAssignableFrom([NotNullWhen(true)] Type? c) { throw new NotSupportedException(); }
src\libraries\System.Private.CoreLib\src\System\Reflection\InvokeUtils.cs (1)
112private static bool TryConvertPointer(object srcObject, [NotNullWhen(true)] out object? dstPtr)
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
70public override bool Equals([NotNullWhen(true)] object? obj) => throw new NotSupportedException(SR.NotSupported_ModifiedType);
src\libraries\System.Private.CoreLib\src\System\Reflection\Pointer.cs (1)
42public override unsafe bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (3)
89public sealed override bool IsAssignableFrom([NotNullWhen(true)] Type? c) => throw new NotSupportedException(SR.NotSupported_SignatureType); 192public sealed override bool IsEquivalentTo([NotNullWhen(true)] Type? other) => throw new NotSupportedException(SR.NotSupported_SignatureType); 193public sealed override bool IsInstanceOfType([NotNullWhen(true)] object? o) => throw new NotSupportedException(SR.NotSupported_SignatureType);
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
19public override bool IsAssignableFrom([NotNullWhen(true)] TypeInfo? typeInfo)
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeInfo.cs (1)
108public virtual bool IsAssignableFrom([NotNullWhen(true)] TypeInfo? typeInfo)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (1)
569internal bool TryGetEntry(int index, [NotNullWhen(true)] out TKey? key, [MaybeNullWhen(false)] out TValue value)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ICastable.cs (1)
35bool IsInstanceOfInterface(RuntimeTypeHandle interfaceType, [NotNullWhen(true)] out Exception? castError);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ArrayWithOffset.cs (1)
53public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CLong.cs (1)
58public override bool Equals([NotNullWhen(true)] object? o) => o is CLong other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CULong.cs (1)
58public override bool Equals([NotNullWhen(true)] object? o) => o is CULong other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (1)
168public override readonly bool Equals([NotNullWhen(true)] object? o) => o is GCHandle other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MemoryMarshal.cs (3)
334public static bool TryGetMemoryManager<T, TManager>(ReadOnlyMemory<T> memory, [NotNullWhen(true)] out TManager? manager) 355public static bool TryGetMemoryManager<T, TManager>(ReadOnlyMemory<T> memory, [NotNullWhen(true)] out TManager? manager, out int start, out int length) 446public static bool TryGetString(ReadOnlyMemory<char> memory, [NotNullWhen(true)] out string? text, out int start, out int length)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (4)
695public static bool TryParse([NotNullWhen(true)] string? s, out NFloat result) 732public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out NFloat result) 833public override bool Equals([NotNullWhen(true)] object? obj) => (obj is NFloat other) && Equals(other); 1795public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out NFloat result) => TryParse(s, NumberStyles.Float | NumberStyles.AllowThousands, provider, out result);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\OSPlatform.cs (1)
45public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128_1.cs (1)
409public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector128<T> other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256_1.cs (1)
407public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector256<T> other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (1)
407public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector512<T> other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64_1.cs (1)
473public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector64<T> other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\StreamingContext.cs (1)
30public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\FrameworkName.cs (2)
62public override bool Equals([NotNullWhen(true)] object? obj) 67public bool Equals([NotNullWhen(true)] FrameworkName? other)
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (4)
259public override bool IsInstanceOfType([NotNullWhen(true)] object? o) => RuntimeTypeHandle.IsInstanceOfType(this, o); 261public override bool IsAssignableFrom([NotNullWhen(true)] TypeInfo? typeInfo) 264public override bool IsAssignableFrom([NotNullWhen(true)] Type? c) 753internal static bool TryGetByRefElementType(RuntimeType type, [NotNullWhen(true)] out RuntimeType? elementType)
src\libraries\System.Private.CoreLib\src\System\SByte.cs (4)
78public override bool Equals([NotNullWhen(true)] object? obj) 150public static bool TryParse([NotNullWhen(true)] string? s, out sbyte result) => TryParse(s, NumberStyles.Integer, provider: null, out result); 160public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out sbyte result) 1279public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out sbyte result) => TryParse(s, NumberStyles.Integer, provider, out result);
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMapState.cs (1)
194static bool TryRemoveDuplicates(ReadOnlySpan<char> values, [NotNullWhen(true)] out char[]? deduplicated)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\AhoCorasickNode.cs (1)
131static bool TryCreateJumpTable(Dictionary<char, int> children, [NotNullWhen(true)] out int[]? table)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (1)
315private static bool TryGenerateAllCasePermutationsForPrefixes(ReadOnlySpan<string> values, int n, int maxValues, [NotNullWhen(true)] out string[]? newValues)
src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (5)
214public bool Equal([NotNullWhen(true)] SecurityElement? other) 291public static bool IsValidTag([NotNullWhen(true)] string? tag) => 294public static bool IsValidText([NotNullWhen(true)] string? text) => 297public static bool IsValidAttributeName([NotNullWhen(true)] string? name) => 300public static bool IsValidAttributeValue([NotNullWhen(true)] string? value) =>
src\libraries\System.Private.CoreLib\src\System\Single.cs (4)
322public override bool Equals([NotNullWhen(true)] object? obj) 410public static bool TryParse([NotNullWhen(true)] string? s, out float result) => TryParse(s, NumberStyles.Float | NumberStyles.AllowThousands, provider: null, out result); 420public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out float result) 1474public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out float result) => TryParse(s, NumberStyles.Float | NumberStyles.AllowThousands, provider, out result);
src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (3)
612public override bool Equals([NotNullWhen(true)] object? obj) 628public bool Equals([NotNullWhen(true)] string? value) 647public bool Equals([NotNullWhen(true)] string? value, StringComparison comparisonType)
src\libraries\System.Private.CoreLib\src\System\String.cs (3)
499public static bool IsNullOrEmpty([NotNullWhen(false)] string? value) 504public static bool IsNullOrWhiteSpace([NotNullWhen(false)] string? value) 775static bool IParsable<string>.TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, [MaybeNullWhen(returnValue: false)] out string result)
src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (5)
128public static bool IsWellKnownCultureAwareComparer(IEqualityComparer<string?>? comparer, [NotNullWhen(true)] out CompareInfo? compareInfo, out CompareOptions compareOptions) 148private protected virtual bool IsWellKnownCultureAwareComparerCore([NotNullWhen(true)] out CompareInfo? compareInfo, out CompareOptions compareOptions) 272public override bool Equals([NotNullWhen(true)] object? obj) 292private protected override bool IsWellKnownCultureAwareComparerCore([NotNullWhen(true)] out CompareInfo? compareInfo, out CompareOptions compareOptions) 362public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Text\DecoderExceptionFallback.cs (1)
21public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Text\DecoderReplacementFallback.cs (1)
72public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Text\EncoderExceptionFallback.cs (1)
25public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Text\EncoderReplacementFallback.cs (1)
72public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (1)
1052public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Text\EncodingInfo.cs (1)
63public override bool Equals([NotNullWhen(true)] object? value) => value is EncodingInfo that && CodePage == that.CodePage;
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
763public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Rune other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (1)
1958public bool Equals([NotNullWhen(true)] StringBuilder? sb)
src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (1)
1791public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (1)
1128public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (2)
98public override bool Equals([NotNullWhen(true)] object? value) 824public override bool Equals([NotNullWhen(true)] object? value) => value is DecoderUTF7Fallback;
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (1)
877public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationToken.cs (1)
319public override bool Equals([NotNullWhen(true)] object? other) => other is CancellationToken && Equals((CancellationToken)other);
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenRegistration.cs (1)
140public override bool Equals([NotNullWhen(true)] object? obj) => obj is CancellationTokenRegistration other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Threading\EventWaitHandle.cs (1)
49public static bool TryOpenExisting(string name, [NotNullWhen(true)] out EventWaitHandle? result) =>
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (1)
596public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Threading\LowLevelLifoSemaphore.cs (1)
369public override bool Equals([NotNullWhen(true)] object? obj) => obj is Counts other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Threading\Mutex.cs (1)
58public static bool TryOpenExisting(string name, [NotNullWhen(true)] out Mutex? result) =>
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.ThreadCounts.cs (1)
120public override bool Equals([NotNullWhen(true)] object? obj) => obj is ThreadCounts other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerTracking.cs (1)
122public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Threading\Semaphore.cs (1)
51public static bool TryOpenExisting(string name, [NotNullWhen(true)] out Semaphore? result) =>
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (2)
150public override bool Equals([NotNullWhen(true)] object? obj) => 547public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (14)
431public override bool Equals([NotNullWhen(true)] object? value) => value is TimeOnly timeOnly && _ticks == timeOnly._ticks; 708public static bool TryParseExact(ReadOnlySpan<char> s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeOnlyFormat)] string?[]? formats, out TimeOnly result) => TryParseExact(s, formats, null, DateTimeStyles.None, out result); 719public static bool TryParseExact(ReadOnlySpan<char> s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeOnlyFormat)] string?[]? formats, IFormatProvider? provider, DateTimeStyles style, out TimeOnly result) => 779public static bool TryParse([NotNullWhen(true)] string? s, out TimeOnly result) => TryParse(s, null, DateTimeStyles.None, out result); 789public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, DateTimeStyles style, out TimeOnly result) 808public static bool TryParseExact([NotNullWhen(true)] string? s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeOnlyFormat)] string? format, out TimeOnly result) => TryParseExact(s, format, null, DateTimeStyles.None, out result); 820public static bool TryParseExact([NotNullWhen(true)] string? s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeOnlyFormat)] string? format, IFormatProvider? provider, DateTimeStyles style, out TimeOnly result) 838public static bool TryParseExact([NotNullWhen(true)] string? s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeOnlyFormat)] string?[]? formats, out TimeOnly result) => TryParseExact(s, formats, null, DateTimeStyles.None, out result); 849public static bool TryParseExact([NotNullWhen(true)] string? s, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeOnlyFormat)] string?[]? formats, IFormatProvider? provider, DateTimeStyles style, out TimeOnly result) 1010public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out TimeOnly result) => TryParse(s, provider, DateTimeStyles.None, out result);
src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (13)
303public override bool Equals([NotNullWhen(true)] object? value) => (value is TimeSpan other) && Equals(other); 641public static bool TryParse([NotNullWhen(true)] string? s, out TimeSpan result) 652public static bool TryParse([NotNullWhen(true)] string? input, IFormatProvider? formatProvider, out TimeSpan result) 662public static bool TryParseExact([NotNullWhen(true)] string? input, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeSpanFormat)] string? format, IFormatProvider? formatProvider, out TimeSpan result) 675public static bool TryParseExact([NotNullWhen(true)] string? input, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeSpanFormat)] string?[]? formats, IFormatProvider? formatProvider, out TimeSpan result) 684public static bool TryParseExact(ReadOnlySpan<char> input, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeSpanFormat)] string?[]? formats, IFormatProvider? formatProvider, out TimeSpan result) 687public static bool TryParseExact([NotNullWhen(true)] string? input, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeSpanFormat)] string? format, IFormatProvider? formatProvider, TimeSpanStyles styles, out TimeSpan result) 704public static bool TryParseExact([NotNullWhen(true)] string? input, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeSpanFormat)] string?[]? formats, IFormatProvider? formatProvider, TimeSpanStyles styles, out TimeSpan result) 716public static bool TryParseExact(ReadOnlySpan<char> input, [NotNullWhen(true), StringSyntax(StringSyntaxAttribute.TimeSpanFormat)] string?[]? formats, IFormatProvider? formatProvider, TimeSpanStyles styles, out TimeSpan result)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.AdjustmentRule.cs (2)
50public bool Equals([NotNullWhen(true)] AdjustmentRule? other) => 62public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (6)
633public static bool TryFindSystemTimeZoneById(string id, [NotNullWhenAttribute(true)] out TimeZoneInfo? timeZoneInfo) 857public bool Equals([NotNullWhen(true)] TimeZoneInfo? other) => 862public override bool Equals([NotNullWhen(true)] object? obj) => Equals(obj as TimeZoneInfo); 1104public static unsafe bool TryConvertIanaIdToWindowsId(string ianaId, [NotNullWhen(true)] out string? windowsId) => TryConvertIanaIdToWindowsId(ianaId, allocate: true, out windowsId); 1112public static bool TryConvertWindowsIdToIanaId(string windowsId, [NotNullWhen(true)] out string? ianaId) => TryConvertWindowsIdToIanaId(windowsId, region: null, allocate: true, out ianaId); 1121public static unsafe bool TryConvertWindowsIdToIanaId(string windowsId, string? region, [NotNullWhen(true)] out string? ianaId) => TryConvertWindowsIdToIanaId(windowsId, region, allocate: true, out ianaId);
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.TransitionTime.cs (1)
33public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.NonAndroid.cs (4)
444private static bool TryLoadTzFile(string tzFilePath, [NotNullWhen(true)] ref byte[]? rawData, [NotNullWhen(true)] ref string? id) 503private static bool TryGetLocalTzFile([NotNullWhen(true)] out byte[]? rawData, [NotNullWhen(true)] out string? id)
src\libraries\System.Private.CoreLib\src\System\Tuple.cs (24)
116public override bool Equals([NotNullWhen(true)] object? obj) 121bool IStructuralEquatable.Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 126private bool Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 236public override bool Equals([NotNullWhen(true)] object? obj) 241bool IStructuralEquatable.Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 246private bool Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 361public override bool Equals([NotNullWhen(true)] object? obj) 366bool IStructuralEquatable.Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 371private bool Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 496public override bool Equals([NotNullWhen(true)] object? obj) 501bool IStructuralEquatable.Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 506private bool Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 641public override bool Equals([NotNullWhen(true)] object? obj) 646bool IStructuralEquatable.Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 651private bool Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 796public override bool Equals([NotNullWhen(true)] object? obj) 801bool IStructuralEquatable.Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 806private bool Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 961public override bool Equals([NotNullWhen(true)] object? obj) 966bool IStructuralEquatable.Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 971private bool Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 1141public override bool Equals([NotNullWhen(true)] object? obj) 1146bool IStructuralEquatable.Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer) 1151private bool Equals([NotNullWhen(true)] object? other, IEqualityComparer comparer)
src\libraries\System.Private.CoreLib\src\System\Type.cs (3)
150public bool IsAssignableTo([NotNullWhen(true)] Type? targetType) => targetType?.IsAssignableFrom(this) ?? false; 593public virtual bool IsInstanceOfType([NotNullWhen(true)] object? o) => o == null ? false : IsAssignableFrom(o.GetType()); 594public virtual bool IsEquivalentTo([NotNullWhen(true)] Type? other) => this == other;
src\libraries\System.Private.CoreLib\src\System\Type.Helpers.cs (1)
337public virtual bool IsAssignableFrom([NotNullWhen(true)] Type? c)
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (4)
84public override bool Equals([NotNullWhen(true)] object? obj) 148public static bool TryParse([NotNullWhen(true)] string? s, out UInt128 result) => TryParse(s, NumberStyles.Integer, provider: null, out result); 158public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out UInt128 result) 2025public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out UInt128 result) => TryParse(s, NumberStyles.Integer, provider, out result);
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (4)
71public override bool Equals([NotNullWhen(true)] object? obj) 142public static bool TryParse([NotNullWhen(true)] string? s, out ushort result) => TryParse(s, NumberStyles.Integer, provider: null, out result); 152public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out ushort result) 1140public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out ushort result) => TryParse(s, NumberStyles.Integer, provider, out result);
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (4)
81public override bool Equals([NotNullWhen(true)] object? obj) 152public static bool TryParse([NotNullWhen(true)] string? s, out uint result) => TryParse(s, NumberStyles.Integer, provider: null, out result); 162public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out uint result) 1179public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out uint result) => TryParse(s, NumberStyles.Integer, provider, out result);
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (4)
81public override bool Equals([NotNullWhen(true)] object? obj) 151public static bool TryParse([NotNullWhen(true)] string? s, out ulong result) => TryParse(s, NumberStyles.Integer, provider: null, out result); 161public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out ulong result) 1172public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out ulong result) => TryParse(s, NumberStyles.Integer, provider, out result);
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (4)
87public override bool Equals([NotNullWhen(true)] object? obj) => (obj is nuint other) && Equals(other); 221public static bool TryParse([NotNullWhen(true)] string? s, out nuint result) 238public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out nuint result) 261public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out nuint result)
src\libraries\System.Private.CoreLib\src\System\ValueTuple.cs (9)
42public override bool Equals([NotNullWhen(true)] object? obj) 293public override bool Equals([NotNullWhen(true)] object? obj) 465public override bool Equals([NotNullWhen(true)] object? obj) 671public override bool Equals([NotNullWhen(true)] object? obj) 876public override bool Equals([NotNullWhen(true)] object? obj) 1099public override bool Equals([NotNullWhen(true)] object? obj) 1340public override bool Equals([NotNullWhen(true)] object? obj) 1599public override bool Equals([NotNullWhen(true)] object? obj) 1882public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Version.cs (5)
138public override bool Equals([NotNullWhen(true)] object? obj) 143public bool Equals([NotNullWhen(true)] Version? obj) 293public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out Version? result) 304public static bool TryParse(ReadOnlySpan<char> input, [NotNullWhen(true)] out Version? result) =>
src\libraries\System.Private.CoreLib\src\System\WeakReference.T.cs (1)
59public bool TryGetTarget([MaybeNullWhen(false), NotNullWhen(true)] out T target)
src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\AssemblyNameInfo.cs (1)
189public static bool TryParse(ReadOnlySpan<char> assemblyName, [NotNullWhen(true)] out AssemblyNameInfo? result)
src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeName.cs (1)
360public static bool TryParse(ReadOnlySpan<char> typeName, [NotNullWhen(true)] out TypeName? result, TypeNameParseOptions? options = default)
src\System\Delegate.CoreCLR.cs (1)
89public override bool Equals([NotNullWhen(true)] object? obj)
src\System\MulticastDelegate.CoreCLR.cs (1)
44public sealed override bool Equals([NotNullWhen(true)] object? obj)
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (1)
22public override bool IsAssignableFrom([NotNullWhen(true)] TypeInfo? typeInfo)
src\System\Reflection\Emit\RuntimeGenericTypeParameterBuilder.cs (2)
11public override bool IsAssignableFrom([NotNullWhen(true)] TypeInfo? typeInfo) 204public override bool IsAssignableFrom([NotNullWhen(true)] Type? c) { throw new NotSupportedException(); }
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (2)
15public override bool IsAssignableFrom([NotNullWhen(true)] TypeInfo? typeInfo) 840public override bool IsAssignableFrom([NotNullWhen(true)] Type? c)
src\System\Reflection\Metadata\RuntimeTypeMetadataUpdateHandler.cs (1)
64private static bool RequiresClearingAllTypes([NotNullWhen(false)] Type[]? types)
src\System\Runtime\CompilerServices\ICastableHelpers.cs (1)
15internal static bool IsInstanceOfInterface(ICastable castable, RuntimeType type, [NotNullWhen(true)] out Exception? castError)
src\System\Runtime\InteropServices\ComWrappers.cs (1)
64public static unsafe bool TryGetObject(IntPtr unknown, [NotNullWhen(true)] out object? obj)
src\System\RuntimeHandles.cs (2)
41internal static extern bool IsInstanceOfType(RuntimeType type, [NotNullWhen(true)] object? o); 1252public override bool Equals([NotNullWhen(true)] object? obj)
src\System\RuntimeType.CoreCLR.cs (1)
3302public override bool IsEquivalentTo([NotNullWhen(true)] Type? other)
src\System\ValueType.cs (1)
27public override unsafe bool Equals([NotNullWhen(true)] object? obj)
System.Private.DataContractSerialization (66)
System\Runtime\Serialization\ClassDataContract.cs (1)
163internal bool CreateNewInstanceViaDefaultConstructor([NotNullWhen(true)] out object? obj)
System\Runtime\Serialization\CollectionDataContract.cs (7)
191public override bool IsDictionaryLike([NotNullWhen(true)] out string? keyName, [NotNullWhen(true)] out string? valueName, [NotNullWhen(true)] out string? itemName) 941internal static bool IsCollection(Type type, [NotNullWhen(true)] out Type? itemType) 955private static bool IsCollectionHelper(Type type, [NotNullWhen(true)] out Type? itemType, bool constructorRequired, bool skipIfReadOnlyContract = false) 967internal static bool TryCreate(Type type, [NotNullWhen(true)] out DataContract? dataContract) 974internal static bool TryCreateGetOnlyCollectionDataContract(Type type, [NotNullWhen(true)] out DataContract? dataContract)
System\Runtime\Serialization\DataContract.cs (7)
266public virtual bool IsDictionaryLike([NotNullWhen(true)] out string? keyName, [NotNullWhen(true)] out string? valueName, [NotNullWhen(true)] out string? itemName) 665internal static bool TryCreateBuiltInDataContract(Type type, [NotNullWhen(true)] out DataContract? dataContract) 748internal static bool TryCreateBuiltInDataContract(string name, string ns, [NotNullWhen(true)] out DataContract? dataContract) 1315private static bool TryGetBuiltInXmlAndArrayTypeXmlName(Type type, HashSet<Type> previousCollectionTypes, [NotNullWhen(true)] out XmlQualifiedName? xmlName) 1338internal static bool TryGetDCAttribute(Type type, [NotNullWhen(true)] out DataContractAttribute? dataContractAttribute)
System\Runtime\Serialization\DataContractSet.cs (3)
560internal bool TryGetReferencedType(XmlQualifiedName xmlName, DataContract? dataContract, [NotNullWhen(true)] out Type? type) 567internal bool TryGetReferencedCollectionType(XmlQualifiedName xmlName, DataContract? dataContract, [NotNullWhen(true)] out Type? type) 574private bool TryGetReferencedType(XmlQualifiedName xmlName, DataContract? dataContract, bool useReferencedCollectionTypes, [NotNullWhen(true)] out Type? type)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (2)
211int arrayLength, [NotNullWhen(true)] out DateTime[]? array) 218int arrayLength, [NotNullWhen(true)] out DateTime[]? array)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
289internal static bool TryGetJsonLocalName(XmlReaderDelegator xmlReader, [NotNullWhen(true)] out string? name)
System\Runtime\Serialization\ReflectionReader.cs (1)
626private static bool ReflectionTryReadPrimitiveArray(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString collectionItemName, XmlDictionaryString collectionItemNamespace, Type itemType, int arraySize, [NotNullWhen(true)] out object? resultArray)
System\Runtime\Serialization\SchemaExporter.cs (2)
746internal static bool IsSpecialXmlType(Type type, [NotNullWhen(true)] out XmlQualifiedName? typeName, [NotNullWhen(true)] out XmlSchemaType? xsdType, out bool hasRoot)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
600private bool ResolveType(Type objectType, Type declaredType, [NotNullWhen(true)] out XmlDictionaryString? typeName, [NotNullWhen(true)] out XmlDictionaryString? typeNamespace)
System\Runtime\Serialization\XmlReaderDelegator.cs (7)
804int arrayLength, [NotNullWhen(true)] out bool[]? array) 834int arrayLength, [NotNullWhen(true)] out DateTime[]? array) 864int arrayLength, [NotNullWhen(true)] out decimal[]? array) 894int arrayLength, [NotNullWhen(true)] out int[]? array) 924int arrayLength, [NotNullWhen(true)] out long[]? array) 954int arrayLength, [NotNullWhen(true)] out float[]? array) 984int arrayLength, [NotNullWhen(true)] out double[]? array)
System\Xml\IXmlDictionary.cs (3)
10bool TryLookup(string value, [NotNullWhen(true)] out XmlDictionaryString? result); 11bool TryLookup(int key, [NotNullWhen(true)] out XmlDictionaryString? result); 12bool TryLookup(XmlDictionaryString value, [NotNullWhen(true)] out XmlDictionaryString? result);
System\Xml\PrefixHandle.cs (2)
182public bool Equals([NotNullWhen(true)] PrefixHandle? prefix2) 239public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\StringHandle.cs (3)
168public bool TryGetDictionaryString([NotNullWhen(true)] out XmlDictionaryString? value) 234public bool Equals([NotNullWhen(true)] StringHandle? other) 285public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\UniqueId.cs (1)
324public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\ValueHandle.cs (1)
818public bool TryGetDictionaryString([NotNullWhen(true)] out XmlDictionaryString? value)
System\Xml\XmlBaseReader.cs (6)
1777public override bool TryGetLocalNameAsDictionaryString([NotNullWhen(true)] out XmlDictionaryString? localName) 1782public override bool TryGetNamespaceUriAsDictionaryString([NotNullWhen(true)] out XmlDictionaryString? localName) 1787public override bool TryGetValueAsDictionaryString([NotNullWhen(true)] out XmlDictionaryString? value) 2289public bool TryGetLocalNameAsDictionaryString([NotNullWhen(true)] out XmlDictionaryString? localName) 2303public bool TryGetNamespaceUriAsDictionaryString([NotNullWhen(true)] out XmlDictionaryString? ns) 2317public bool TryGetValueAsDictionaryString([NotNullWhen(true)] out XmlDictionaryString? value)
System\Xml\XmlBinaryReader.cs (1)
1158public override bool IsStartArray([NotNullWhen(true)] out Type? type)
System\Xml\XmlBinaryReaderSession.cs (3)
56public bool TryLookup(int key, [NotNullWhen(true)] out XmlDictionaryString? result) 72public bool TryLookup(string value, [NotNullWhen(true)] out XmlDictionaryString? result) 105public bool TryLookup(XmlDictionaryString value, [NotNullWhen(true)] out XmlDictionaryString? result)
System\Xml\XmlDictionary.cs (6)
63public virtual bool TryLookup(string value, [NotNullWhen(true)] out XmlDictionaryString? result) 68public virtual bool TryLookup(int key, [NotNullWhen(true)] out XmlDictionaryString? result) 79public virtual bool TryLookup(XmlDictionaryString value, [NotNullWhen(true)] out XmlDictionaryString? result) 94public bool TryLookup(string value, [NotNullWhen(true)] out XmlDictionaryString? result) 100public bool TryLookup(int key, [NotNullWhen(true)] out XmlDictionaryString? result) 106public bool TryLookup(XmlDictionaryString value, [NotNullWhen(true)] out XmlDictionaryString? result)
System\Xml\XmlDictionaryReader.cs (4)
987public virtual bool TryGetLocalNameAsDictionaryString([NotNullWhen(true)] out XmlDictionaryString? localName) 993public virtual bool TryGetNamespaceUriAsDictionaryString([NotNullWhen(true)] out XmlDictionaryString? namespaceUri) 999public virtual bool TryGetValueAsDictionaryString([NotNullWhen(true)] out XmlDictionaryString? value) 1017public virtual bool IsStartArray([NotNullWhen(true)] out Type? type)
System\Xml\XmlDictionaryString.cs (3)
103public bool TryLookup(string value, [NotNullWhen(true)] out XmlDictionaryString? result) 116public bool TryLookup(int key, [NotNullWhen(true)] out XmlDictionaryString? result) 127public bool TryLookup(XmlDictionaryString value, [NotNullWhen(true)] out XmlDictionaryString? result)
System.Private.Uri (10)
System\Uri.cs (2)
1473public static bool CheckSchemeName([NotNullWhen(true)] string? schemeName) => 1691public override bool Equals([NotNullWhen(true)] object? comparand)
System\UriBuilder.cs (1)
253public override bool Equals([NotNullWhen(true)] object? rparam) => rparam is not null && Uri.Equals(rparam.ToString());
System\UriExt.cs (7)
252public static bool TryCreate([NotNullWhen(true), StringSyntax(StringSyntaxAttribute.Uri, "uriKind")] string? uriString, UriKind uriKind, [NotNullWhen(true)] out Uri? result) 272public static bool TryCreate([NotNullWhen(true), StringSyntax(StringSyntaxAttribute.Uri)] string? uriString, in UriCreationOptions creationOptions, [NotNullWhen(true)] out Uri? result) 285public static bool TryCreate(Uri? baseUri, string? relativeUri, [NotNullWhen(true)] out Uri? result) 299public static bool TryCreate(Uri? baseUri, Uri? relativeUri, [NotNullWhen(true)] out Uri? result) 403public static bool IsWellFormedUriString([NotNullWhen(true), StringSyntax(StringSyntaxAttribute.Uri, "uriKind")] string? uriString, UriKind uriKind)
System.Private.Xml (35)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
102public override bool Equals([NotNullWhen(true)] object? other) =>
System\Xml\Cache\XPathDocumentNavigator.cs (1)
814public override bool IsDescendant([NotNullWhen(true)] XPathNavigator? other)
System\Xml\Cache\XPathNodeInfoAtom.cs (1)
284public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Dom\DocumentXPathNavigator.cs (4)
1226public override bool IsDescendant([NotNullWhen(true)] XPathNavigator? other) 1850private static bool ResetAttributePosition(XmlAttribute attribute, [NotNullWhen(true)] XmlAttributeCollection? attributes, out int index) 1867private static bool CheckAttributePosition(XmlAttribute attribute, [NotNullWhen(true)] out XmlAttributeCollection? attributes, int index) 2055internal static bool IsFollowingSibling(XmlNode left, [NotNullWhen(true)] XmlNode? right)
System\Xml\Schema\BitSet.cs (1)
152public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Schema\Chameleonkey.cs (1)
53public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Schema\ConstraintStruct.cs (1)
489public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Schema\Parser.cs (1)
97private bool CheckSchemaRoot(SchemaType rootType, [NotNullWhen(false)] out string? code)
System\Xml\Schema\XmlSchemaSet.cs (1)
1277internal bool GetSchemaByUri(Uri schemaUri, [NotNullWhen(true)] out XmlSchema? schema)
System\Xml\Schema\XmlSchemaType.cs (2)
277public static bool IsDerivedFrom([NotNullWhen(true)] XmlSchemaType? derivedType, [NotNullWhen(true)] XmlSchemaType? baseType, XmlSchemaDerivationMethod except)
System\Xml\Serialization\CodeGenerator.cs (3)
180internal bool TryGetVariable(string name, [NotNullWhen(true)] out object? variable) 217private bool TryDequeueLocal(Type type, string name, [NotNullWhen(true)] out LocalBuilder? local) 1546public bool TryGetValue(string key, [NotNullWhen(true)] out LocalBuilder? value)
System\Xml\Serialization\Compilation.cs (1)
674public override bool Equals([NotNullWhen(true)] object? o)
System\Xml\Serialization\NameTable.cs (1)
23public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Serialization\SourceInfo.cs (1)
259public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Serialization\XmlSerializationReader.cs (1)
1414protected bool ReadReference([NotNullWhen(true)] out string? fixupReference)
System\Xml\Serialization\XmlSerializer.cs (1)
995public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\XmlNamespacemanager.cs (1)
358internal bool GetNamespaceDeclaration(int idx, [NotNullWhen(true)] out string? prefix, out string? uri)
System\Xml\XmlQualifiedName.cs (1)
74public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\XPath\XPathNavigator.cs (1)
908public virtual bool IsDescendant([NotNullWhen(true)] XPathNavigator? nav)
System\Xml\Xsl\Pair.cs (1)
21public override bool Equals([NotNullWhen(true)] object? other) =>
System\Xml\Xsl\QIL\QilName.cs (1)
95public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Xsl\Runtime\EarlyBoundInfo.cs (1)
53public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
171public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Xsl\Runtime\XmlCollation.cs (1)
345public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (1)
305public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Xsl\XmlQueryCardinality.cs (1)
123public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Xsl\XmlQueryType.cs (2)
171public bool Equals([NotNullWhen(true)] XmlQueryType? that) 322public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Xsl\Xslt\CompilerScopeManager.cs (1)
101public bool EnterScope([NotNullWhen(true)] NsDecl? nsDecl)
System.Private.Xml.Linq (2)
System\Xml\Linq\XName.cs (1)
120public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Linq\XNamespace.cs (1)
159public override bool Equals([NotNullWhen(true)] object? obj)
System.Reflection.Context (19)
System\Reflection\Context\Custom\CustomType.cs (1)
41public override bool IsInstanceOfType([NotNullWhen(true)] object? o)
System\Reflection\Context\Delegation\DelegatingType.cs (3)
250public override bool IsAssignableFrom([NotNullWhen(true)] Type? c) 270public override bool IsEquivalentTo([NotNullWhen(true)] Type? other) 275public override bool IsInstanceOfType([NotNullWhen(true)] object? o)
System\Reflection\Context\Projection\ProjectingAssembly.cs (1)
104public override bool Equals([NotNullWhen(true)] object? o)
System\Reflection\Context\Projection\ProjectingEventInfo.cs (1)
82public override bool Equals([NotNullWhen(true)] object? o)
System\Reflection\Context\Projection\ProjectingFieldInfo.cs (1)
73public override bool Equals([NotNullWhen(true)] object? o)
System\Reflection\Context\Projection\ProjectingMethodInfo.cs (1)
123public override bool Equals([NotNullWhen(true)] object? o)
System\Reflection\Context\Projection\ProjectingModule.cs (1)
111public override bool Equals([NotNullWhen(true)] object? o)
System\Reflection\Context\Projection\ProjectingParameterInfo.cs (1)
63public override bool Equals([NotNullWhen(true)] object? o)
System\Reflection\Context\Projection\ProjectingPropertyInfo.cs (1)
93public override bool Equals([NotNullWhen(true)] object? o)
System\Reflection\Context\Projection\ProjectingType.cs (4)
138public override bool IsAssignableFrom([NotNullWhen(true)] Type? c) 154public override bool IsEquivalentTo([NotNullWhen(true)] Type? other) 163public override bool IsInstanceOfType([NotNullWhen(true)] object? o) 323public override bool Equals([NotNullWhen(true)] object? o)
System\Reflection\Context\Projection\Projector.cs (1)
105public bool NeedsProjection([NotNullWhen(true)] object? value)
System\Reflection\Context\Virtual\InheritedMethodInfo.cs (1)
36public override bool Equals([NotNullWhen(true)] object? o)
System\Reflection\Context\Virtual\InheritedPropertyInfo.cs (1)
54public override bool Equals([NotNullWhen(true)] object? o)
System\Reflection\Context\Virtual\VirtualParameter.cs (1)
49public override bool Equals([NotNullWhen(true)] object? obj)
System.Reflection.Emit (3)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
36public override bool IsAssignableFrom([NotNullWhen(true)] TypeInfo? typeInfo)
System\Reflection\Emit\EnumBuilderImpl.cs (1)
143public override bool IsAssignableFrom([NotNullWhen(true)] Type? c) => throw new NotSupportedException();
System\Reflection\Emit\TypeBuilderImpl.cs (1)
999public override bool IsAssignableFrom([NotNullWhen(true)] Type? c)
System.Reflection.Metadata (17)
System\Reflection\Internal\MemoryBlocks\StreamMemoryBlockProvider.cs (1)
125private unsafe bool TryCreateMemoryMappedFileBlock(long start, int size, [NotNullWhen(true)] out MemoryMappedFileBlock? block)
System\Reflection\Metadata\AssemblyNameInfo.cs (1)
189public static bool TryParse(ReadOnlySpan<char> assemblyName, [NotNullWhen(true)] out AssemblyNameInfo? result)
System\Reflection\Metadata\BlobContentId.cs (1)
127public override bool Equals([NotNullWhen(true)] object? obj) => obj is BlobContentId bcid && Equals(bcid);
System\Reflection\Metadata\Ecma335\EditAndContinueLogEntry.cs (1)
19public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Reflection\Metadata\Ecma335\Encoding\LabelHandle.cs (1)
25public override bool Equals([NotNullWhen(true)] object? obj) => obj is LabelHandle labelHandle && Equals(labelHandle);
System\Reflection\Metadata\EntityHandle.cs (1)
98public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\Handle.cs (1)
163public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\PortablePdb\DocumentNameBlobHandle.cs (1)
57public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\PortablePdb\Handles.Debug.cs (3)
416public override bool Equals([NotNullWhen(true)] object? obj) 499public override bool Equals([NotNullWhen(true)] object? obj) 582public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\PortablePdb\SequencePoint.cs (1)
51public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\Signatures\SignatureHeader.cs (1)
89public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\TypeName.cs (1)
360public static bool TryParse(ReadOnlySpan<char> typeName, [NotNullWhen(true)] out TypeName? result, TypeNameParseOptions? options = default)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
2522public override bool Equals([NotNullWhen(true)] object? obj) 2653public override bool Equals([NotNullWhen(true)] object? obj) 2721public override bool Equals([NotNullWhen(true)] object? obj)
System.Reflection.MetadataLoadContext (17)
System\Reflection\TypeLoading\Constructors\RoDefinitionConstructor.cs (1)
38public sealed override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\TypeLoading\Constructors\RoSyntheticConstructor.cs (1)
66public sealed override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\TypeLoading\Events\Ecma\EcmaEvent.cs (1)
40public sealed override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\TypeLoading\Fields\Ecma\EcmaField.cs (1)
42public sealed override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\TypeLoading\General\RoAssemblyName.cs (1)
69public sealed override bool Equals([NotNullWhen(true)] object? obj) => obj is RoAssemblyName other && Equals(other);
System\Reflection\TypeLoading\Methods\RoConstructedGenericMethod.cs (1)
54public sealed override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\TypeLoading\Methods\RoDefinitionMethod.cs (1)
77public sealed override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\TypeLoading\Methods\RoSyntheticMethod.cs (1)
68public sealed override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\TypeLoading\Modules\GetTypeCoreCache.cs (2)
21public bool TryGet(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, int hashCode, [NotNullWhen(true)] out RoDefinitionType? type) 79public bool TryGetValue(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, int hashCode, [NotNullWhen(true)] out RoDefinitionType? value)
System\Reflection\TypeLoading\Properties\Ecma\EcmaProperty.cs (1)
39public sealed override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\TypeLoading\Types\RoArrayType.Key.cs (1)
36public override bool Equals([NotNullWhen(true)] object? obj) => obj is Key other && Equals(other);
System\Reflection\TypeLoading\Types\RoConstructedGenericType.Key.cs (1)
49public override bool Equals([NotNullWhen(true)] object? obj) => obj is Key other && Equals(other);
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (2)
109public sealed override bool Equals([NotNullWhen(true)] Type? type) => Equals((object?)type); 110public sealed override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
115public override bool Equals([NotNullWhen(true)] object? obj) => throw new NotSupportedException(SR.NotSupported_ModifiedType);
System\Reflection\TypeLoading\Types\RoType.cs (1)
23public override bool Equals([NotNullWhen(true)] object? obj)
System.Reflection.TypeExtensions (2)
System\Reflection\TypeExtensions.cs (2)
307public static bool IsAssignableFrom(this Type type, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] Type? c) 314public static bool IsInstanceOfType(this Type type, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] object? o)
System.Runtime.Numerics (8)
System\Number.BigInteger.cs (1)
38internal static bool TryValidateParseStyleInteger(NumberStyles style, [NotNullWhen(false)] out ArgumentException? e)
System\Numerics\BigInteger.cs (4)
676public static bool TryParse([NotNullWhen(true)] string? value, out BigInteger result) 681public static bool TryParse([NotNullWhen(true)] string? value, NumberStyles style, IFormatProvider? provider, out BigInteger result) 1087public override bool Equals([NotNullWhen(true)] object? obj) 5208public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out BigInteger result) => TryParse(s, NumberStyles.Integer, provider, out result);
System\Numerics\Complex.cs (3)
385public override bool Equals([NotNullWhen(true)] object? obj) 2197public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out Complex result) 2215public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out Complex result) => TryParse(s, DefaultNumberStyle, provider, out result);
System.Runtime.Serialization.Formatters (3)
System\Runtime\Serialization\Formatters\Binary\Converter.cs (1)
204internal static bool IsPrimitiveArray(Type? type, [NotNullWhen(true)] out object? typeInformation)
System\Runtime\Serialization\MemberHolder.cs (1)
24public override bool Equals([NotNullWhen(true)] object? obj)
System\Runtime\Serialization\ObjectManager.cs (1)
131private bool GetCompletionInfo(FixupHolder fixup, [NotNullWhen(true)] out ObjectHolder? holder, out object member, bool bThrowIfMissing)
System.Security.AccessControl (1)
artifacts\obj\System.Security.AccessControl\Debug\net9.0\System.Security.AccessControl.notsupported.cs (1)
273public sealed override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? o) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
System.Security.Claims (1)
System\Security\Claims\GenericPrincipal.cs (1)
70public override bool IsInRole([NotNullWhen(true)] string? role)
System.Security.Cryptography (37)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (1)
429public override bool Equals([NotNullWhen(true)] object? obj) => obj is X509VerifyStatusCode other && Equals(other);
System\Security\Cryptography\CngAlgorithm.cs (2)
55public override bool Equals([NotNullWhen(true)] object? obj) 62public bool Equals([NotNullWhen(true)] CngAlgorithm? other)
System\Security\Cryptography\CngAlgorithmGroup.cs (2)
56public override bool Equals([NotNullWhen(true)] object? obj) 63public bool Equals([NotNullWhen(true)] CngAlgorithmGroup? other)
System\Security\Cryptography\CngKeyBlobFormat.cs (2)
56public override bool Equals([NotNullWhen(true)] object? obj) 63public bool Equals([NotNullWhen(true)] CngKeyBlobFormat? other)
System\Security\Cryptography\CngProperty.cs (1)
57public override bool Equals([NotNullWhen(true)] object? obj)
System\Security\Cryptography\CngProvider.cs (2)
53public override bool Equals([NotNullWhen(true)] object? obj) 60public bool Equals([NotNullWhen(true)] CngProvider? other)
System\Security\Cryptography\HashAlgorithmName.cs (1)
98public override bool Equals([NotNullWhen(true)] object? obj)
System\Security\Cryptography\RSAEncryptionPadding.cs (2)
103public override bool Equals([NotNullWhen(true)] object? obj) 108public bool Equals([NotNullWhen(true)] RSAEncryptionPadding? other)
System\Security\Cryptography\RSASignaturePadding.cs (2)
57public override bool Equals([NotNullWhen(true)] object? obj) 62public bool Equals([NotNullWhen(true)] RSASignaturePadding? other)
System\Security\Cryptography\X509Certificates\OpenSslPkcs12Reader.cs (4)
26public static bool TryRead(ReadOnlySpan<byte> data, [NotNullWhen(true)] out OpenSslPkcs12Reader? pkcs12Reader) => 29public static bool TryRead(ReadOnlySpan<byte> data, [NotNullWhen(true)] out OpenSslPkcs12Reader? pkcs12Reader, [NotNullWhen(false)] out Exception? openSslException) => 83[NotNullWhen(true)] out OpenSslPkcs12Reader? pkcs12Reader,
System\Security\Cryptography\X509Certificates\OpenSslPkcsFormatReader.cs (11)
91internal static bool TryReadPkcs7Der(ReadOnlySpan<byte> rawData, [NotNullWhen(true)] out List<ICertificatePal>? certPals) 96internal static bool TryReadPkcs7Der(SafeBioHandle bio, [NotNullWhen(true)] out List<ICertificatePal>? certPals) 105[NotNullWhen(true)] out List<ICertificatePal>? certPals) 125[NotNullWhen(true)] out List<ICertificatePal>? certPals) 151internal static bool TryReadPkcs7Pem(ReadOnlySpan<byte> rawData, [NotNullWhen(true)] out List<ICertificatePal>? certPals) 156internal static bool TryReadPkcs7Pem(SafeBioHandle bio, [NotNullWhen(true)] out List<ICertificatePal>? certPals) 165[NotNullWhen(true)] out List<ICertificatePal>? certPals) 184[NotNullWhen(true)] out List<ICertificatePal>? certPals) 204[NotNullWhen(true)] out List<ICertificatePal> certPals) 246[NotNullWhen(true)] out ICertificatePal? certPal, 265[NotNullWhen(true)] out List<ICertificatePal>? certPals,
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (5)
154internal static bool TryReadX509Der(ReadOnlySpan<byte> rawData, [NotNullWhen(true)] out ICertificatePal? certPal) 172internal static bool TryReadX509Pem(SafeBioHandle bio, [NotNullWhen(true)] out ICertificatePal? certPal) 188internal static bool TryReadX509PemNoAux(SafeBioHandle bio, [NotNullWhen(true)] out ICertificatePal? certPal) 204internal static bool TryReadX509Pem(ReadOnlySpan<byte> rawData, [NotNullWhen(true)] out ICertificatePal? certPal) 219internal static bool TryReadX509Der(SafeBioHandle bio, [NotNullWhen(true)] out ICertificatePal? fromBio)
System\Security\Cryptography\X509Certificates\X509Certificate.cs (2)
280public override bool Equals([NotNullWhen(true)] object? obj) => obj is X509Certificate other && Equals(other); 282public virtual bool Equals([NotNullWhen(true)] X509Certificate? other)
System.Security.Cryptography.Cose (2)
System\Security\Cryptography\Cose\CoseHeaderLabel.cs (1)
87public override bool Equals([NotNullWhen(true)] object? obj) => obj is CoseHeaderLabel otherObj && Equals(otherObj);
System\Security\Cryptography\Cose\CoseHeaderValue.cs (1)
248public override bool Equals([NotNullWhen(true)] object? obj) => obj is CoseHeaderValue otherObj && Equals(otherObj);
System.Security.Principal.Windows (2)
artifacts\obj\System.Security.Principal.Windows\Debug\net9.0\System.Security.Principal.Windows.notsupported.cs (2)
64public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? o) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } 84public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? o) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); }
System.Text.Encoding.CodePages (2)
System\Text\DecoderBestFitFallback.cs (1)
35public override bool Equals([NotNullWhen(true)] object? value) =>
System\Text\EncoderBestFitFallback.cs (1)
35public override bool Equals([NotNullWhen(true)] object? value) =>
System.Text.Json (26)
System\Text\Json\Document\JsonDocument.cs (1)
366internal bool TryGetValue(int index, [NotNullWhen(true)] out byte[]? value)
System\Text\Json\Document\JsonDocument.Parse.cs (2)
378public static bool TryParseValue(ref Utf8JsonReader reader, [NotNullWhen(true)] out JsonDocument? document) 429[NotNullWhen(true)] out JsonDocument? document,
System\Text\Json\Document\JsonElement.cs (1)
388public bool TryGetBytesFromBase64([NotNullWhen(true)] out byte[]? value)
System\Text\Json\Document\JsonElement.Parse.cs (1)
112public static bool TryParseValue(ref Utf8JsonReader reader, [NotNullWhen(true)] out JsonElement? element)
System\Text\Json\JsonEncodedText.cs (1)
165public override bool Equals([NotNullWhen(true)] object? obj)
System\Text\Json\Nodes\JsonValue.cs (1)
115public abstract bool TryGetValue<T>([NotNullWhen(true)] out T? value);
System\Text\Json\Nodes\JsonValueOfT.cs (2)
47public override bool TryGetValue<T>([NotNullWhen(true)] out T value) 245internal bool TryConvertJsonElement<TypeToConvert>([NotNullWhen(true)] out TypeToConvert result)
System\Text\Json\Reader\JsonReaderHelper.Unescaping.cs (3)
14public static bool TryGetUnescapedBase64Bytes(ReadOnlySpan<byte> utf8Source, [NotNullWhen(true)] out byte[]? bytes) 162public static bool TryDecodeBase64InPlace(Span<byte> utf8Unescaped, [NotNullWhen(true)] out byte[]? bytes) 174public static bool TryDecodeBase64(ReadOnlySpan<byte> utf8Unescaped, [NotNullWhen(true)] out byte[]? bytes)
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (1)
827public bool TryGetBytesFromBase64([NotNullWhen(true)] out byte[]? value)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
617[NotNullWhen(true)] out JsonParameterInfo? jsonParameterInfo)
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (2)
380[NotNullWhen(true)] out object? referenceValue) 444[NotNullWhen(true)] out object? referenceValue)
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (5)
83public bool TryGetTypeInfo(Type type, [NotNullWhen(true)] out JsonTypeInfo? typeInfo) 138internal bool TryGetTypeInfoCached(Type type, [NotNullWhen(true)] out JsonTypeInfo? typeInfo) 165internal bool TryGetPolymorphicTypeInfoForRootType(object rootValue, [NotNullWhen(true)] out JsonTypeInfo? polymorphicTypeInfo) 243public bool TryGetTypeInfo(Type type, [NotNullWhen(true)] out JsonTypeInfo? typeInfo) 455[NotNullWhen(true)] out CachingContext? result)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Converters.cs (1)
120internal static bool TryGetDefaultSimpleConverter(Type typeToConvert, [NotNullWhen(true)] out JsonConverter? converter)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
1027public override bool Equals([NotNullWhen(true)] object? obj)
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (2)
101public bool TryGetDerivedJsonTypeInfo(Type runtimeType, [NotNullWhen(true)] out JsonTypeInfo? jsonTypeInfo, out object? typeDiscriminator) 145public bool TryGetDerivedJsonTypeInfo(object typeDiscriminator, [NotNullWhen(true)] out JsonTypeInfo? jsonTypeInfo)
System\Text\Json\Serialization\ReferenceEqualsWrapper.cs (1)
15public override bool Equals([NotNullWhen(true)] object? obj) => obj is ReferenceEqualsWrapper otherObj && Equals(otherObj);
System.Text.RegularExpressions (13)
System\Text\RegularExpressions\GroupCollection.cs (1)
197public bool TryGetValue(string key, [NotNullWhen(true)] out Group? value)
System\Text\RegularExpressions\Regex.Cache.cs (1)
286public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Text\RegularExpressions\RegexCharClass.cs (2)
972public static bool IsUnicodeCategoryOfSmallCharCount(string set, [NotNullWhen(true)] out char[]? chars, out bool negated, [NotNullWhen(true)] out string? description)
System\Text\RegularExpressions\RegexNode.cs (2)
2511public bool TryGetOrdinalCaseInsensitiveString(int childIndex, int exclusiveChildBound, out int nodesConsumed, [NotNullWhen(true)] out string? caseInsensitiveString, bool consumeZeroWidthNodes = false) 2784internal bool SupportsCompilation([NotNullWhen(false)] out string? reason)
System\Text\RegularExpressions\Symbolic\BDD.cs (1)
443public bool IsEssentiallyBoolean([NotNullWhen(true)] out BDD? terminalActingAsTrue)
System\Text\RegularExpressions\Symbolic\BitVector.cs (1)
186public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Text\RegularExpressions\Symbolic\SymbolicRegexBuilder.cs (1)
87public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
269MatchingState<TSet> sourceState, int mintermId, int offset, bool checkThreshold, [NotNullWhen(true)] out MatchingState<TSet>? nextState)
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (3)
707static bool TrySkipPrefix(SymbolicRegexNode<TSet> node, SymbolicRegexNode<TSet> prefix, [NotNullWhen(true)] out SymbolicRegexNode<TSet>? tail) 769private static bool TryFoldAlternation(SymbolicRegexBuilder<TSet> builder, SymbolicRegexNode<TSet> left, SymbolicRegexNode<TSet> right, [NotNullWhen(true)] out SymbolicRegexNode<TSet>? result, 836[NotNullWhen(true)] out SymbolicRegexNode<TSet>? prefix)
System.Threading (1)
System\Threading\LockCookie.cs (1)
22public override bool Equals([NotNullWhen(true)] object? obj) =>
System.Threading.RateLimiting (5)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (1)
196private bool TryLeaseUnsynchronized(int permitCount, [NotNullWhen(true)] out RateLimitLease? lease)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (1)
222private bool TryLeaseUnsynchronized(int permitCount, [NotNullWhen(true)] out RateLimitLease? lease)
System\Threading\RateLimiting\MetadataName.T.cs (1)
43public override bool Equals([NotNullWhen(true)] object? obj)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
225private bool TryLeaseUnsynchronized(int permitCount, [NotNullWhen(true)] out RateLimitLease? lease)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (1)
229private bool TryLeaseUnsynchronized(int tokenCount, [NotNullWhen(true)] out RateLimitLease? lease)
System.Threading.Tasks.Dataflow (21)
Base\DataflowBlock.cs (2)
1617public bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items) 1950[NotNullWhen(true)] out Task<int>? task)
Base\DataflowMessageHeader.cs (1)
60public override bool Equals([NotNullWhen(true)] object? obj)
Base\IReceivableSourceBlock.cs (1)
30bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items);
Blocks\BatchBlock.cs (2)
130public bool TryReceive(Predicate<T[]>? filter, [NotNullWhen(true)] out T[]? item) 136public bool TryReceiveAll([NotNullWhen(true)] out IList<T[]>? items) { return _source.TryReceiveAll(out items); }
Blocks\BatchedJoinBlock.cs (4)
132public bool TryReceive(Predicate<Tuple<IList<T1>, IList<T2>>>? filter, [NotNullWhen(true)] out Tuple<IList<T1>, IList<T2>>? item) 138public bool TryReceiveAll([NotNullWhen(true)] out IList<Tuple<IList<T1>, IList<T2>>>? items) { return _source.TryReceiveAll(out items); } 387public bool TryReceive(Predicate<Tuple<IList<T1>, IList<T2>, IList<T3>>>? filter, [NotNullWhen(true)] out Tuple<IList<T1>, IList<T2>, IList<T3>>? item) 393public bool TryReceiveAll([NotNullWhen(true)] out IList<Tuple<IList<T1>, IList<T2>, IList<T3>>>? items) { return _source.TryReceiveAll(out items); }
Blocks\BroadcastBlock.cs (2)
160bool IReceivableSourceBlock<T>.TryReceiveAll([NotNullWhen(true)] out IList<T>? items) { return _source.TryReceiveAll(out items); } 599internal bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items)
Blocks\BufferBlock.cs (1)
195public bool TryReceiveAll([NotNullWhen(true)] out IList<T>? items) { return _source.TryReceiveAll(out items); }
Blocks\JoinBlock.cs (4)
119public bool TryReceive(Predicate<Tuple<T1, T2>>? filter, [NotNullWhen(true)] out Tuple<T1, T2>? item) 125public bool TryReceiveAll([NotNullWhen(true)] out IList<Tuple<T1, T2>>? items) { return _source.TryReceiveAll(out items); } 344public bool TryReceive(Predicate<Tuple<T1, T2, T3>>? filter, [NotNullWhen(true)] out Tuple<T1, T2, T3>? item) 350public bool TryReceiveAll([NotNullWhen(true)] out IList<Tuple<T1, T2, T3>>? items) { return _source.TryReceiveAll(out items); }
Blocks\TransformBlock.cs (1)
359public bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items) { return _source.TryReceiveAll(out items); }
Blocks\TransformManyBlock.cs (1)
565public bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items) { return _source.TryReceiveAll(out items); }
Blocks\WriteOnceBlock.cs (1)
284bool IReceivableSourceBlock<T>.TryReceiveAll([NotNullWhen(true)] out IList<T>? items)
Internal\SourceCore.cs (1)
328internal bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items)
System.Transactions.Local (5)
System\Transactions\EnlistmentTraceIdentifier.cs (1)
51public override bool Equals([NotNullWhen(true)] object? obj) => obj is EnlistmentTraceIdentifier enlistmentTraceId && Equals(enlistmentTraceId);
System\Transactions\Transaction.cs (2)
317public override bool Equals([NotNullWhen(true)] object? obj) 1126public static bool TryGetCurrentData([NotNullWhen(true)] out ContextData? currentData)
System\Transactions\TransactionOptions.cs (1)
27public override bool Equals([NotNullWhen(true)] object? obj) => obj is TransactionOptions transactionOptions && Equals(transactionOptions);
System\Transactions\TransactionTraceIdentifier.cs (1)
38public override bool Equals([NotNullWhen(true)] object? obj) => obj is TransactionTraceIdentifier transactionTraceId && Equals(transactionTraceId);
System.Web.HttpUtility (3)
System\Web\Util\HttpEncoder.cs (1)
610private static bool ValidateUrlEncodingParameters([NotNullWhen(true)] byte[]? bytes, int offset, int count)
System\Web\Util\UriUtil.cs (2)
32internal static bool TrySplitUriForPathEncode(string input, [NotNullWhen(true)] out string? schemeAndAuthority, [NotNullWhen(true)] out string? path, out string? queryAndFragment)
System.Xaml (1)
System\Xaml\Replacements\DateTimeConverter2.cs (1)
28public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
WasmAppBuilder (2)
PInvokeCollector.cs (1)
178private static bool TryIsMethodGetParametersUnsupported(MethodInfo method, [NotNullWhen(true)] out string? reason)
PInvokeTableGenerator.cs (1)
231private static bool TryIsMethodGetParametersUnsupported(MethodInfo method, [NotNullWhen(true)] out string? reason)
3 references to NotNullWhen
mscorlib (1)
mscorlib.cs (1)
67[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.NotNullWhenAttribute))]
netstandard (1)
netstandard.cs (1)
628[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.NotNullWhenAttribute))]
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net9.0\System.Runtime.Forwards.cs (1)
144[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.NotNullWhenAttribute))]