6 references to GetEnumPromotedType
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Operators.cs (2)
1704
SpecialType operandSpecialType =
GetEnumPromotedType
(underlyingType.SpecialType);
2776
var upconvertSpecialType =
GetEnumPromotedType
(underlyingType.SpecialType);
CodeGen\EmitOperators.cs (2)
714
return IsUnsigned(Binder.
GetEnumPromotedType
(op.Left.Type.GetEnumUnderlyingType().SpecialType));
717
return IsUnsigned(Binder.
GetEnumPromotedType
(op.Right.Type.GetEnumUnderlyingType().SpecialType));
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
516
var possiblePromote = Binder.
GetEnumPromotedType
(underlying.SpecialType);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
129
var upconvertSpecialType = Binder.
GetEnumPromotedType
(underlyingType.SpecialType);