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