5 instantiations of NotNullWhen
Microsoft.Build (4)
BackEnd\Shared\BuildResult.cs (1)
607public bool TryGetResultsForTarget(string target, [NotNullWhen(true)] out TargetResult? value)
Collections\RetrievableEntryHashSet\IRetrievableUnescapedValuedEntryHashSet.cs (1)
21bool TryGetUnescapedValue(string key, [NotNullWhen(returnValue: true)] out string? unescapedValue);
Evaluation\PropertiesUseTracker.cs (1)
104internal bool TryGetPropertyElementLocation(string propertyName, [NotNullWhen(returnValue: true)] out IElementLocation? elementLocation)
SegmentedHashSetEqualityComparer`1.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
Microsoft.Build.Tasks.Core (1)
ZipDirectory.cs (1)
151static bool TryParseCompressionLevel(string levelString, [NotNullWhen(returnValue: true)] out CompressionLevel? level)