6 references to GetEnumPromotedType
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Operators.cs (2)
1740
SpecialType operandSpecialType =
GetEnumPromotedType
(underlyingType.SpecialType);
2824
var upconvertSpecialType =
GetEnumPromotedType
(underlyingType.SpecialType);
CodeGen\EmitOperators.cs (2)
786
return IsUnsigned(Binder.
GetEnumPromotedType
(op.Left.Type.GetEnumUnderlyingType().SpecialType));
789
return IsUnsigned(Binder.
GetEnumPromotedType
(op.Right.Type.GetEnumUnderlyingType().SpecialType));
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
586
var possiblePromote = Binder.
GetEnumPromotedType
(underlying.SpecialType);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
134
var upconvertSpecialType = Binder.
GetEnumPromotedType
(underlyingType.SpecialType);