10 references to IsUnsignedIntegralType
Microsoft.CodeAnalysis (1)
ConstantValue.cs (1)
643return IsUnsignedIntegralType(this.Discriminator);
Microsoft.CodeAnalysis.VisualBasic (9)
Semantics\CompileTimeCalculations.vb (9)
233(ConstantValue.IsUnsignedIntegralType(sourceType) Xor ConstantValue.IsUnsignedIntegralType(resultType)) Then 237If Not ConstantValue.IsUnsignedIntegralType(sourceType) Then 242Debug.Assert(Not ConstantValue.IsUnsignedIntegralType(resultType), "Expected signed Target type!!!") 311If(ConstantValue.IsUnsignedIntegralType(sourceType), CType(UncheckedCULng(sourceValue), Double), CType(sourceValue, Double)), 322If Not ConstantValue.IsUnsignedIntegralType(sourceType) AndAlso sourceValue < 0 Then 364overflow = DetectFloatingToIntegralOverflow(sourceValue, ConstantValue.IsUnsignedIntegralType(targetType)) 465If ConstantValue.IsUnsignedIntegralType(targetType) OrElse 753If ConstantValue.IsUnsignedIntegralType(resultType) Then