22 references to Method
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_TupleOperators.cs (1)
111return new TupleBinaryOperatorInfo.Single(binary.Left.Type, binary.Right.Type, binary.OperatorKind, binary.Method, binary.ConstrainedToType,
BoundTree\BoundExpression.cs (1)
357public override Symbol? ExpressionSymbol => this.Method;
BoundTree\NullabilityRewriter.cs (1)
59binary.Data?.WithUpdatedMethod(GetUpdatedSymbol(binary, binary.Method)),
CodeGen\Optimizer.cs (3)
1460left = binary.Update(binary.OperatorKind, binary.ConstantValueOpt, binary.Method, binary.ConstrainedToType, binary.ResultKind, left, right, type); 1494return node.Update(node.OperatorKind, node.ConstantValueOpt, node.Method, node.ConstrainedToType, node.ResultKind, left, right, node.Type); 2035left = binary.Update(binary.OperatorKind, binary.ConstantValueOpt, binary.Method, binary.ConstrainedToType, binary.ResultKind, left, right, type);
Compilation\CSharpSemanticModel.cs (2)
3838GetSymbolsAndResultKind(binaryOperator, binaryOperator.Method, binaryOperator.OriginalUserDefinedOperatorsOpt, out symbols, out resultKind); 3843Debug.Assert((object)binaryOperator.Method == null && binaryOperator.OriginalUserDefinedOperatorsOpt.IsDefaultOrEmpty);
FlowAnalysis\NullableWalker.cs (3)
4644var method = binary.Method; 4662SetUpdatedSymbol(binary, binary.Method!, method); 10497BoundBinaryOperator binary => InferResultNullability(binary.OperatorKind, binary.Method, binary.Type, leftType, rightType),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
197return VisitBinaryOperator(binOp.OperatorKind, binOp.Method, binOp.Type, binOp.Left, binOp.Right);
Lowering\DiagnosticsPass_Warnings.cs (1)
252if (node.Method is MethodSymbol method)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (3)
150loweredLeft = MakeBinaryOperator(original, original.Syntax, original.OperatorKind, loweredLeft, loweredRight, original.Type, original.Method, original.ConstrainedToType, 531oldNode.Update(operatorKind, oldNode.ConstantValueOpt, oldNode.Method, oldNode.ConstrainedToType, oldNode.ResultKind, loweredLeft, loweredRight, type) : 1919return oldNode.Update(operatorKind, oldNode.ConstantValueOpt, oldNode.Method, oldNode.ConstrainedToType, oldNode.ResultKind, loweredLeft, loweredRight, type);
Lowering\MethodToClassRewriter.cs (1)
268VisitMethodSymbol(node.Method),
Lowering\SpillSequenceSpiller.cs (1)
942return UpdateExpression(builder, node.Update(node.OperatorKind, node.ConstantValueOpt, node.Method, node.ConstrainedToType, node.ResultKind, left, right, node.Type));
Operations\CSharpOperationFactory.cs (4)
1443IMethodSymbol? operatorMethod = boundBinaryOperator.Method.GetPublicSymbol(); 1459bool isChecked = boundBinaryOperator.OperatorKind.IsChecked() || (boundBinaryOperator.Method is not null && SyntaxFacts.IsCheckedOperator(boundBinaryOperator.Method.Name)); 1464GetConstrainedToTypeForOperator(boundBinaryOperator.Method, boundBinaryOperator.ConstrainedToType).GetPublicSymbol(),