432 references to MaybeNullWhen
Microsoft.AspNetCore.Components (11)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Microsoft.AspNetCore.Components.Web (6)
Microsoft.AspNetCore.Components.WebView (2)
Microsoft.AspNetCore.Http (3)
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
Microsoft.AspNetCore.Razor.Runtime (2)
Microsoft.AspNetCore.Session (3)
Microsoft.AspNetCore.Shared.Tests (3)
Microsoft.AspNetCore.SignalR.Core (3)
Microsoft.AspNetCore.StaticFiles (2)
Microsoft.CodeAnalysis (36)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (12)
241public bool TryGetValue<TValue>(SourceText text, SourceTextValueProvider<TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
256public bool TryGetValue<TValue>(AdditionalText text, AdditionalTextValueProvider<TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
261private bool TryGetValue<TKey, TValue>(TKey key, AnalysisValueProvider<TKey, TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
505public bool TryGetValue<TValue>(SourceText text, SourceTextValueProvider<TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
520public bool TryGetValue<TValue>(AdditionalText text, AdditionalTextValueProvider<TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
535public bool TryGetValue<TValue>(SyntaxTree tree, SyntaxTreeValueProvider<TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
540private bool TryGetValue<TKey, TValue>(TKey key, AnalysisValueProvider<TKey, TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
547internal virtual bool TryGetValueCore<TKey, TValue>(TKey key, AnalysisValueProvider<TKey, TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
627public bool TryGetValue<TValue>(SourceText text, SourceTextValueProvider<TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
642public bool TryGetValue<TValue>(AdditionalText text, AdditionalTextValueProvider<TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
657public bool TryGetValue<TValue>(SyntaxTree tree, SyntaxTreeValueProvider<TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
662private bool TryGetValue<TKey, TValue>(TKey key, AnalysisValueProvider<TKey, TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (11)
Microsoft.Extensions.AsyncState (2)
Microsoft.Extensions.DependencyModel (2)
Microsoft.Extensions.Options (1)
PresentationFramework (1)
System.Collections (14)
System.Collections.Concurrent (26)
System\Collections\Concurrent\ConcurrentDictionary.cs (10)
396public bool TryRemove(TKey key, [MaybeNullWhen(false)] out TValue value)
440private bool TryRemoveInternal(TKey key, [MaybeNullWhen(false)] out TValue value, bool matchValue, TValue? oldValue)
517public bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
558private static bool TryGetValueInternal(Tables tables, TKey key, int hashcode, [MaybeNullWhen(false)] out TValue value)
2553public bool TryGetValue(TAlternateKey key, [MaybeNullWhen(false)] out TValue value) =>
2568public bool TryGetValue(TAlternateKey key, [MaybeNullWhen(false)] out TKey actualKey, [MaybeNullWhen(false)] out TValue value)
2602public bool TryRemove(TAlternateKey key, [MaybeNullWhen(false)] out TValue value) =>
2614public bool TryRemove(TAlternateKey key, [MaybeNullWhen(false)] out TKey actualKey, [MaybeNullWhen(false)] out TValue value)
System.Collections.Immutable (17)
System.ComponentModel.Composition (3)
System.Formats.Nrbf (1)
System.IO.Packaging (1)
System.Linq (1)
System.Linq.Expressions (2)
System.Linq.Parallel (45)
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (5)
258internal override bool MoveNext([MaybeNullWhen(false), AllowNull] ref T currentElement, ref int currentKey)
363internal override bool MoveNext([MaybeNullWhen(false), AllowNull] ref T currentElement, ref int currentKey)
429internal override bool MoveNext([MaybeNullWhen(false), AllowNull] ref T currentElement, ref int currentKey)
534internal override bool MoveNext([MaybeNullWhen(false), AllowNull] ref T currentElement, ref int currentKey)
610internal override bool MoveNext([MaybeNullWhen(false), AllowNull] ref T currentElement, ref int currentKey)
System.Net.Http (4)
System.Net.Mail (2)
System.Net.WebSockets.Client (1)
System.ObjectModel (1)
System.Private.CoreLib (111)
src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (10)
357protected static abstract bool TryConvertFromChecked<TOther>(TOther value, [MaybeNullWhen(false)] out TSelf result)
367protected static abstract bool TryConvertFromSaturating<TOther>(TOther value, [MaybeNullWhen(false)] out TSelf result)
377protected static abstract bool TryConvertFromTruncating<TOther>(TOther value, [MaybeNullWhen(false)] out TSelf result)
388protected static abstract bool TryConvertToChecked<TOther>(TSelf value, [MaybeNullWhen(false)] out TOther result)
398protected static abstract bool TryConvertToSaturating<TOther>(TSelf value, [MaybeNullWhen(false)] out TOther result)
408protected static abstract bool TryConvertToTruncating<TOther>(TSelf value, [MaybeNullWhen(false)] out TOther result)
420static abstract bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, [MaybeNullWhen(false)] out TSelf result);
429static abstract bool TryParse(ReadOnlySpan<char> s, NumberStyles style, IFormatProvider? provider, [MaybeNullWhen(false)] out TSelf result);
438static virtual bool TryParse(ReadOnlySpan<byte> utf8Text, NumberStyles style, IFormatProvider? provider, [MaybeNullWhen(false)] out TSelf result)
587static bool IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider, [MaybeNullWhen(returnValue: false)] out TSelf result)
System.Private.DataContractSerialization (1)
System.Private.Windows.Core (17)
System.Private.Xml (1)
System.Private.Xml.Linq (2)
System.Runtime.Numerics (6)
System.Text.Json (6)
System.Threading.Channels (17)
System.Threading.Tasks.Dataflow (19)
System.Windows.Forms (20)
System.Windows.Forms.Design (1)
System.Windows.Forms.Tests (5)
System.Windows.Forms.TestUtilities (8)
xunit.assert (1)