2 writes to OperandType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Operators\UnaryOperatorSignature.cs (2)
26this.OperandType = operandType; 35this.OperandType = operandType;
11 references to OperandType
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Operators.cs (2)
2358var operandConversion = CreateConversion(node, operandPlaceholder, best.Conversion, isCast: false, conversionGroupOpt: null, best.Signature.OperandType, diagnostics); 2788var resultOperand = CreateConversion(operand.Syntax, operand, best.Conversion, isCast: false, conversionGroupOpt: null, signature.OperandType, diagnostics);
Binder\Binder_Statements.cs (1)
2721destination: best.Signature.OperandType,
Binder\Binder_TupleOperators.cs (1)
165conversionForBool = CreateConversion(node, conversionForBoolPlaceholder, best.Conversion, isCast: false, conversionGroupOpt: null, best.Signature.OperandType, diagnostics);
Binder\Semantics\Operators\UnaryOperatorEasyOut.cs (1)
114Conversion? conversion = Conversions.FastClassifyConversion(operandType, signature.OperandType);
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (4)
188BetterResult better = BetterConversionFromExpression(operand, op1.OperandType, op2.OperandType, ref useSiteInfo); 201if (Conversions.HasIdentityConversion(op1.OperandType, op2.OperandType))
Binder\Semantics\Operators\UnaryOperatorSignature.cs (1)
43return $"kind: {this.Kind} operandType: {this.OperandType} operandRefKind: {this.RefKind} return: {this.ReturnType}";
Compilation\CSharpCompilation.cs (1)
4473csharpOperandType.SpecialType == signature.OperandType.SpecialType)