4 instantiations of NotNullWhen
Microsoft.AspNetCore.Http.ValidationsGenerator (4)
src\Http\Http.Extensions\gen\Microsoft.AspNetCore.Http.RequestDelegateGenerator\StaticRouteHandlerModel\InvocationOperationExtensions.cs (3)
26
public static bool IsValidOperation(this IOperation? operation, WellKnownTypes wellKnownTypes, [
NotNullWhen
(true)] out IInvocationOperation? invocationOperation)
42
public static bool TryGetRouteHandlerMethod(this IInvocationOperation invocation, SemanticModel semanticModel, [
NotNullWhen
(true)] out IMethodSymbol? method)
53
public static bool TryGetRouteHandlerArgument(this IInvocationOperation invocation, [
NotNullWhen
(true)] out IArgumentOperation? argumentOperation)
src\Shared\RoslynUtils\WellKnownTypes.cs (1)
118
public bool IsType(ITypeSymbol type, WellKnownTypeData.WellKnownType[] wellKnownTypes, [
NotNullWhen
(true)] out WellKnownTypeData.WellKnownType? match)