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