2 writes to OperandType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Operators\UnaryOperatorSignature.cs (2)
26
this.
OperandType
= operandType;
35
this.
OperandType
= operandType;
19 references to OperandType
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Operators.cs (2)
3269
var operandConversion = CreateConversion(node, operandPlaceholder, best.Conversion, isCast: false, conversionGroupOpt: null, best.Signature.
OperandType
, diagnostics);
4215
var resultOperand = CreateConversion(operand.Syntax, operand, best.Conversion, isCast: false, conversionGroupOpt: null, signature.
OperandType
, diagnostics);
Binder\Binder_Statements.cs (1)
2738
destination: best.Signature.
OperandType
,
Binder\Binder_TupleOperators.cs (1)
165
conversionForBool = CreateConversion(node, conversionForBoolPlaceholder, best.Conversion, isCast: false, conversionGroupOpt: null, best.Signature.
OperandType
, diagnostics);
Binder\Semantics\Operators\UnaryOperatorEasyOut.cs (1)
114
Conversion? conversion = Conversions.FastClassifyConversion(operandType, signature.
OperandType
);
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (6)
182
[TypeWithAnnotations.Create(candidate.
OperandType
)],
423
BetterResult better = BetterConversionFromExpression(operand, op1.
OperandType
, op2.
OperandType
, ref useSiteInfo);
436
if (Conversions.HasIdentityConversion(op1.
OperandType
, op2.
OperandType
))
525
var conversion = Conversions.ClassifyConversionFromExpression(operand, op.
OperandType
, isChecked: isChecked, ref useSiteInfo);
Binder\Semantics\Operators\UnaryOperatorSignature.cs (1)
43
return $"kind: {this.Kind} operandType: {this.
OperandType
} operandRefKind: {this.RefKind} return: {this.ReturnType}";
Compilation\CSharpCompilation.cs (1)
4546
csharpOperandType.SpecialType == signature.
OperandType
.SpecialType)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
1584
verifyOperators(operators, (op, signed) => isNativeInt(op.
OperandType
, signed), expectedSigned, expectedUnsigned);
1585
verifyOperators(operators, (op, signed) => isNullableNativeInt(op.
OperandType
, signed), expectedSigned, expectedUnsigned);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\NativeIntegerTests.cs (2)
4824
verifyOperators(operators, (op, signed) => isNativeInt(op.
OperandType
, signed), expectedSigned, expectedUnsigned);
4825
verifyOperators(operators, (op, signed) => isNullableNativeInt(op.
OperandType
, signed), expectedSigned, expectedUnsigned);
Semantics\OperatorTests.cs (2)
7601
Assert.Equal(underlying, signature.
OperandType
);
7610
string containerName = signature.
OperandType
.ToTestDisplayString();