36 references to IfThen
Microsoft.AspNetCore.Components.Endpoints (6)
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (6)
81body.Add(Expression.IfThen( 180yield return Expression.IfThen( 202yield return Expression.IfThen( 247yield return Expression.IfThen( 272yield return Expression.IfThen( 551return Expression.IfThen(
Microsoft.AspNetCore.Http.Extensions (16)
RequestDelegateFactory.cs (10)
997Expression.IfThen( 1771Expression.IfThen(TempSourceStringNullExpr, 1790? Expression.IfThen(TempSourceStringNotNullExpr, tryParseExpression) 1818elementTypeOptional ? Expression.IfThen(TempSourceStringIsNotNullOrEmptyExpr, tryParseExpression) 1839Expression.IfThen( 1913Expression.IfThen(Expression.Equal(argument, Expression.Constant(null)), 1996Expression.IfThen( 2166var conditionalReturnBufferExpr = Expression.IfThen( 2300Expression.IfThen( 2324Expression.IfThen(
src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (6)
81body.Add(Expression.IfThen( 180yield return Expression.IfThen( 202yield return Expression.IfThen( 247yield return Expression.IfThen( 272yield return Expression.IfThen( 551return Expression.IfThen(
Microsoft.Extensions.DependencyInjection (2)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (2)
261Expression.IfThen( 278ConditionalExpression finallyBody = Expression.IfThen(lockWasTaken, monitorExit);
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ActivatorUtilities.cs (1)
436return Expression.Block(Expression.IfThen(Expression.Equal(serviceProvider, Expression.Constant(null)), Expression.Throw(Expression.Constant(new ArgumentNullException(nameof(serviceProvider))))),
System.Linq.Expressions (11)
System\Dynamic\DynamicMetaObjectBinder.cs (1)
131body = Expression.IfThen(restrictions.ToExpression(), body);
System\Dynamic\ExpandoObject.cs (1)
896Expression.IfThen(Expression.Not(tryDelete), fallback.Expression),
System\Runtime\CompilerServices\CallSite.cs (9)
434Expression.IfThen( 444Expression.IfThen( 456Expression breakIfDone = Expression.IfThen( 464Expression.IfThen( 484Expression.IfThen( 540Expression.IfThen( 550Expression.IfThen( 559Expression.IfThen( 628Expression.IfThen(