27 references to MethodGroup
Microsoft.CodeAnalysis.CSharp (27)
Binder\Binder_Operators.cs (1)
3682
case ConversionKind.
MethodGroup
:
Binder\Semantics\Conversions\Conversion.cs (2)
195
Debug.Assert(_kind is ConversionKind.
MethodGroup
or ConversionKind.IntPtr or ConversionKind.ImplicitUserDefined or ConversionKind.ExplicitUserDefined);
959
return Kind == ConversionKind.
MethodGroup
;
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
41
case ConversionKind.
MethodGroup
:
Binder\Semantics\Conversions\Conversions.cs (1)
481
return new Conversion(ConversionKind.
MethodGroup
, method, methodGroup.IsExtensionMethodGroup);
Binder\Semantics\Conversions\ConversionsBase.cs (1)
679
case ConversionKind.
MethodGroup
:
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
619
case ConversionKind.
MethodGroup
:
CodeGen\EmitConversion.cs (2)
44
case ConversionKind.
MethodGroup
:
123
case ConversionKind.
MethodGroup
:
CodeGen\EmitExpression.cs (2)
1545
case ConversionKind.
MethodGroup
:
3924
conversionKind != ConversionKind.
MethodGroup
&&
Compilation\CSharpSemanticModel.cs (4)
2222
conversion = new Conversion(ConversionKind.
MethodGroup
, delegateCreation.MethodOpt, delegateCreation.IsExtensionMethod);
2242
else if (boundExpr is BoundConversion { ConversionKind: ConversionKind.
MethodGroup
, Conversion: var exprConversion, Type: { TypeKind: TypeKind.FunctionPointer }, SymbolOpt: var symbol })
3528
if ((conversion.ConversionKind == ConversionKind.
MethodGroup
) && conversion.IsExtensionMethod)
4300
Debug.Assert(conversion.ConversionKind == ConversionKind.
MethodGroup
);
FlowAnalysis\AbstractFlowPass.cs (1)
1736
if (node.ConversionKind == ConversionKind.
MethodGroup
)
FlowAnalysis\NullableWalker.cs (1)
8842
case ConversionKind.
MethodGroup
:
Lowering\ClosureConversion\ClosureConversion.cs (1)
1394
Debug.Assert(conversion.ConversionKind != ConversionKind.
MethodGroup
);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
690
case ConversionKind.
MethodGroup
:
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
790
case ConversionKind.
MethodGroup
:
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
215
case ConversionKind.
MethodGroup
:
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
572
case ConversionKind.
MethodGroup
:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (2)
550
case ConversionKind.
MethodGroup
when oldNodeOpt is { Type: { TypeKind: TypeKind.FunctionPointer } funcPtrType }:
561
case ConversionKind.
MethodGroup
:
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
231
case ConversionKind.
MethodGroup
: // similarly for a method group
Operations\CSharpOperationFactory.cs (1)
1028
if (boundConversion.ConversionKind == CSharp.ConversionKind.
MethodGroup
)
Operations\CSharpOperationFactory_Methods.cs (1)
145
if (boundConversion.ConversionKind == ConversionKind.
MethodGroup
)