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