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