75 instantiations of NotNullWhen
Microsoft.Private.Windows.Core (75)
System.Index.g.cs (1)
121public override bool Equals([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] object? value) => value is global::System.Index && _value == ((global::System.Index)value)._value;
System.Range.g.cs (1)
39public override bool Equals([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] object? value) =>
System\Private\Windows\BinaryFormat\ITypeResolver.cs (1)
21bool TryBindToType(TypeName typeName, [NotNullWhen(true)] out Type? type);
System\Private\Windows\Count.cs (1)
29public override bool Equals([NotNullWhen(true)] object? obj)
System\Private\Windows\Id.cs (1)
33public override bool Equals([NotNullWhen(true)] object? obj)
System\Private\Windows\Nrbf\CoreNrbfSerializer.cs (4)
26public static bool TryGetObject(SerializationRecord record, [NotNullWhen(true)] out object? value) => 31public static bool TryBindToType(TypeName typeName, [NotNullWhen(true)] out Type? type) 166bool INrbfSerializer.TryGetObject(SerializationRecord record, [NotNullWhen(true)] out object? value) => TryGetObject(record, out value); 167bool INrbfSerializer.TryBindToType(TypeName typeName, [NotNullWhen(true)] out Type? type) => TryBindToType(typeName, out type);
System\Private\Windows\Nrbf\INrbfSerializer.cs (2)
26bool TryGetObject(SerializationRecord record, [NotNullWhen(true)] out object? value); 34bool TryBindToType(TypeName typeName, [NotNullWhen(true)] out Type? type);
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (30)
40internal delegate bool TryGetDelegate(SerializationRecord record, [NotNullWhen(true)] out object? value); 42internal static bool TryGet(TryGetDelegate get, SerializationRecord record, [NotNullWhen(true)] out object? value) 60public static bool TryGetPoint(this SerializationRecord record, [NotNullWhen(true)] out object? value) 64static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? value) 85public static bool TryGetSize(this SerializationRecord record, [NotNullWhen(true)] out object? value) 89static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? value) 110public static bool TryGetRectangle(this SerializationRecord record, [NotNullWhen(true)] out object? value) 114static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? value) 141public static bool TryGetPointF(this SerializationRecord record, [NotNullWhen(true)] out object? value) 145static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? value) 166public static bool TryGetSizeF(this SerializationRecord record, [NotNullWhen(true)] out object? value) 170static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? value) 191public static bool TryGetRectangleF(this SerializationRecord record, [NotNullWhen(true)] out object? value) 195static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? value) 222public static bool TryGetColor(this SerializationRecord record, [NotNullWhen(true)] out object? value) 226static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? value) 265public static bool TryGetPrimitiveType(this SerializationRecord record, [NotNullWhen(true)] out object? value) 269static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? value) 296public static bool TryGetPrimitiveList(this SerializationRecord record, [NotNullWhen(true)] out object? list) 300static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? list) 346public static bool TryGetPrimitiveArrayList(this SerializationRecord record, [NotNullWhen(true)] out object? value) 350static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? value) 393public static bool TryGetPrimitiveArray(this SerializationRecord record, [NotNullWhen(true)] out object? value) 397static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? value) 433public static bool TryGetPrimitiveHashtable(this SerializationRecord record, [NotNullWhen(true)] out Hashtable? hashtable) 443public static bool TryGetPrimitiveHashtable(this SerializationRecord record, [NotNullWhen(true)] out object? hashtable) 447static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? hashtable) 507static bool Get(SerializationRecord record, [NotNullWhen(true)] out object? exception) 527[NotNullWhen(true)] out object? value) 543[NotNullWhen(true)] out object? value) =>
System\Private\Windows\Ole\BinaryFormatUtilities.cs (1)
90[NotNullWhen(true)] out T? @object)
System\Private\Windows\Ole\Composition.cs (4)
188[NotNullWhen(true), MaybeNullWhen(false)] out T data) => 194[NotNullWhen(true), MaybeNullWhen(false)] out T data) => 199[NotNullWhen(true), MaybeNullWhen(false)] out T data) => 203[NotNullWhen(true), MaybeNullWhen(false)] out T data) =>
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (9)
96[NotNullWhen(true)] out T? data) 319[NotNullWhen(true)] out T? data) 358[NotNullWhen(true)] out T? data) 425[NotNullWhen(true)] out T? data) 512[NotNullWhen(true)] out T? data) 680[NotNullWhen(true), MaybeNullWhen(false)] out T data) 696[NotNullWhen(true), MaybeNullWhen(false)] out T data) 710[NotNullWhen(true), MaybeNullWhen(false)] out T data) => 714[NotNullWhen(true), MaybeNullWhen(false)] out T data) =>
System\Private\Windows\Ole\DataFormatsCore.cs (2)
61[NotNullWhen(true)] out T? format) 124[NotNullWhen(true)] out T? format)
System\Private\Windows\Ole\DataStore.cs (6)
26[NotNullWhen(true), MaybeNullWhen(false)] out T data) 58bool TryGetData(string format, ref bool autoConvert, [NotNullWhen(true)] out T? data) 201[NotNullWhen(true), MaybeNullWhen(false)] out T data) => 207[NotNullWhen(true), MaybeNullWhen(false)] out T data) => 212[NotNullWhen(true), MaybeNullWhen(false)] out T data) => 216[NotNullWhen(true), MaybeNullWhen(false)] out T data) =>
System\Private\Windows\Ole\IDataObjectInternal.cs (5)
98[NotNullWhen(true), MaybeNullWhen(false)] out T data); 106[NotNullWhen(true), MaybeNullWhen(false)] out T data); 116[NotNullWhen(true), MaybeNullWhen(false)] out T data); 154[NotNullWhen(true), MaybeNullWhen(false)] out T data); 209bool TryUnwrapUserDataObject([NotNullWhen(true)] out TIDataObject? dataObject);
System\Private\Windows\Ole\IOleServices.cs (1)
55[NotNullWhen(true)] out T data);
System\Private\Windows\Ole\TypeBinder.cs (1)
102public bool TryBindToType(TypeName typeName, [NotNullWhen(true)] out Type? type)
Windows\Win32\Foundation\HandleRef.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj) => obj is THandle other && Equals(other);
Windows\Win32\System\Com\ComHelpers.cs (4)
165[NotNullWhen(true)] out TObject? @object) 172[NotNullWhen(true)] out TObject? @object) 202[NotNullWhen(true)] out TObject? @object) where TObject : class => 214[NotNullWhen(true)] out TObject? @object) where TObject : class