75 references to NotNullWhen
Microsoft.Private.Windows.Core (75)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\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;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\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)
258[NotNullWhen(true), MaybeNullWhen(false)] out T data) 275[NotNullWhen(true), MaybeNullWhen(false)] out T data) 292[NotNullWhen(true), MaybeNullWhen(false)] out T data) 307[NotNullWhen(true), MaybeNullWhen(false)] out T data) =>
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (9)
109[NotNullWhen(true)] out T? data) 362[NotNullWhen(true)] out T? data) 414[NotNullWhen(true)] out T? data) 484[NotNullWhen(true)] out T? data) 576[NotNullWhen(true)] out T? data) 744[NotNullWhen(true), MaybeNullWhen(false)] out T data) 760[NotNullWhen(true), MaybeNullWhen(false)] out T data) 774[NotNullWhen(true), MaybeNullWhen(false)] out T data) => 778[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)
34[NotNullWhen(true), MaybeNullWhen(false)] out T data) 66bool TryGetData(string format, ref bool autoConvert, [NotNullWhen(true)] out T? data) 237[NotNullWhen(true), MaybeNullWhen(false)] out T data) => 243[NotNullWhen(true), MaybeNullWhen(false)] out T data) => 248[NotNullWhen(true), MaybeNullWhen(false)] out T data) => 252[NotNullWhen(true), MaybeNullWhen(false)] out T data) =>
System\Private\Windows\Ole\IDataObjectInternal.cs (5)
108[NotNullWhen(true), MaybeNullWhen(false)] out T data); 116[NotNullWhen(true), MaybeNullWhen(false)] out T data); 126[NotNullWhen(true), MaybeNullWhen(false)] out T data); 164[NotNullWhen(true), MaybeNullWhen(false)] out T data); 239bool TryUnwrapUserDataObject([NotNullWhen(true)] out TIDataObject? dataObject);
System\Private\Windows\Ole\IOleServices.cs (1)
87[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) 204[NotNullWhen(true)] out TObject? @object) where TObject : class => 216[NotNullWhen(true)] out TObject? @object) where TObject : class