2 writes to OperandType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Operators\UnaryOperatorSignature.cs (2)
26
this.
OperandType
= operandType;
35
this.
OperandType
= operandType;
18 references to OperandType
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Operators.cs (2)
2327
var operandConversion = CreateConversion(node, operandPlaceholder, best.Conversion, isCast: false, conversionGroupOpt: null, best.Signature.
OperandType
, diagnostics);
2745
var resultOperand = CreateConversion(operand.Syntax, operand, best.Conversion, isCast: false, conversionGroupOpt: null, signature.
OperandType
, diagnostics);
Binder\Binder_Statements.cs (1)
2623
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 (5)
186
BetterResult better = BetterConversionFromExpression(operand, op1.
OperandType
, op2.
OperandType
, ref useSiteInfo);
199
if (Conversions.HasIdentityConversion(op1.
OperandType
, op2.
OperandType
))
275
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)
4184
csharpOperandType.SpecialType == signature.
OperandType
.SpecialType)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
1544
verifyOperators(operators, (op, signed) => isNativeInt(op.
OperandType
, signed), expectedSigned, expectedUnsigned);
1545
verifyOperators(operators, (op, signed) => isNullableNativeInt(op.
OperandType
, signed), expectedSigned, expectedUnsigned);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\NativeIntegerTests.cs (2)
4793
verifyOperators(operators, (op, signed) => isNativeInt(op.
OperandType
, signed), expectedSigned, expectedUnsigned);
4794
verifyOperators(operators, (op, signed) => isNullableNativeInt(op.
OperandType
, signed), expectedSigned, expectedUnsigned);
Semantics\OperatorTests.cs (2)
7599
Assert.Equal(underlying, signature.
OperandType
);
7608
string containerName = signature.
OperandType
.ToTestDisplayString();