2 writes to Method
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Operators\UnaryOperatorSignature.cs (2)
28this.Method = null; 37this.Method = method;
16 references to Method
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Operators.cs (5)
1471if (possiblyBest is { HasValue: true, Signature: { Method: { } bestMethod } }) 2333CheckConstraintLanguageVersionAndRuntimeSupportForOperator(node, signature.Method, isUnsignedRightShift: false, signature.ConstrainedToTypeOpt, diagnostics); 2364signature.Method, 2794CheckConstraintLanguageVersionAndRuntimeSupportForOperator(node, signature.Method, isUnsignedRightShift: false, signature.ConstrainedToTypeOpt, diagnostics); 2801signature.Method,
Binder\Binder_Statements.cs (2)
2724CheckConstraintLanguageVersionAndRuntimeSupportForOperator(node, signature.Method, isUnsignedRightShift: false, signature.ConstrainedToTypeOpt, diagnostics); 2729return new BoundUnaryOperator(node, signature.Kind, resultOperand, ConstantValue.NotAvailable, signature.Method, signature.ConstrainedToTypeOpt, resultKind, originalUserDefinedOperators, signature.ReturnType)
Binder\Binder_TupleOperators.cs (1)
109CheckConstraintLanguageVersionAndRuntimeSupportForOperator(node, boolOperator.Method, isUnsignedRightShift: false, boolOperator.ConstrainedToTypeOpt, diagnostics);
Binder\Semantics\Operators\UnaryOperatorAnalysisResult.cs (1)
34MethodSymbol IMemberResolutionResultWithPriority<MethodSymbol>.MemberWithPriority => Signature.Method;
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (1)
500if (SourceMemberContainerTypeSymbol.DoOperatorsPair(signature1.Method, operators2[i].Method))
Binder\Semantics\Operators\UnaryOperatorSignature.cs (5)
50if ((object)Method != null) 52Debug.Assert(Method.ParameterCount == 1); 54if (!Method.ParameterRefKinds.IsDefaultOrEmpty) 56Debug.Assert(Method.ParameterRefKinds.Length == 1); 58return Method.ParameterRefKinds.Single();
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
584result = MakeUnaryOperator(boolOperator.Kind, binary.Syntax, boolOperator.Method, boolOperator.ConstrainedToTypeOpt, convertedBinary, boolType);