2 writes to ReturnType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Operators\UnaryOperatorSignature.cs (2)
27this.ReturnType = returnType; 36this.ReturnType = returnType;
8 references to ReturnType
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Operators.cs (2)
3245var resultPlaceholder = new BoundValuePlaceholder(node, signature.ReturnType).MakeCompilerGenerated(); 4216var resultType = signature.ReturnType;
Binder\Binder_Statements.cs (1)
2746return new BoundUnaryOperator(node, signature.Kind, resultOperand, ConstantValue.NotAvailable, signature.Method, signature.ConstrainedToTypeOpt, resultKind, originalUserDefinedOperators, signature.ReturnType)
Binder\Semantics\Operators\UnaryOperatorSignature.cs (1)
43return $"kind: {this.Kind} operandType: {this.OperandType} operandRefKind: {this.RefKind} return: {this.ReturnType}";
Compilation\CSharpCompilation.cs (1)
4545if (csharpReturnType.SpecialType == signature.ReturnType.SpecialType &&
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
583Debug.Assert(boolOperator.ReturnType.SpecialType == SpecialType.System_Boolean);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\OperatorTests.cs (2)
7602Assert.Equal(underlying, signature.ReturnType); 7611string returnName = signature.ReturnType.ToTestDisplayString();