21 references to AnonymousFunction
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Operators.cs (1)
3679
case ConversionKind.
AnonymousFunction
:
Binder\Semantics\Conversions\Conversion.cs (3)
228
case ConversionKind.
AnonymousFunction
:
276
internal static Conversion AnonymousFunction => new Conversion(ConversionKind.
AnonymousFunction
);
945
return Kind == ConversionKind.
AnonymousFunction
;
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
40
case
AnonymousFunction
:
Binder\Semantics\Conversions\ConversionsBase.cs (1)
678
case ConversionKind.
AnonymousFunction
:
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
620
case ConversionKind.
AnonymousFunction
:
CodeGen\EmitConversion.cs (1)
122
case ConversionKind.
AnonymousFunction
:
CodeGen\EmitExpression.cs (1)
1546
case ConversionKind.
AnonymousFunction
:
Compilation\CSharpSemanticModel.cs (4)
2101
conversion = new Conversion(ConversionKind.
AnonymousFunction
, lambda.Symbol, false);
2198
if (conversion.Kind == ConversionKind.
AnonymousFunction
)
2228
conversion = new Conversion(ConversionKind.
AnonymousFunction
, lambda.Symbol, delegateCreation.IsExtensionMethod);
2234
conversion = new Conversion(ConversionKind.
AnonymousFunction
, lambda.Symbol, delegateCreation.IsExtensionMethod);
FlowAnalysis\NullableWalker.cs (1)
8872
case ConversionKind.
AnonymousFunction
:
Lowering\ClosureConversion\ClosureConversion.cs (1)
1395
if (conversion.ConversionKind == ConversionKind.
AnonymousFunction
)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
795
case ConversionKind.
AnonymousFunction
:
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
570
case ConversionKind.
AnonymousFunction
:
1396
=> expr is BoundConversion conv && conv.ConversionKind == ConversionKind.
AnonymousFunction
;
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
72
_inExpressionLambda = _inExpressionLambda || (node.ConversionKind == ConversionKind.
AnonymousFunction
&& !wasInExpressionLambda && rewrittenType.IsExpressionTree());
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
230
case ConversionKind.
AnonymousFunction
: // a lambda cannot be saved without a target type
Lowering\SpillSequenceSpiller.cs (1)
1176
if (node.ConversionKind == ConversionKind.
AnonymousFunction
&& node.Type.IsExpressionTree())