14 references to IsIntegralType
Microsoft.CodeAnalysis.CSharp (5)
Lowering\DiagnosticsPass_Warnings.cs (4)
447if (!conversion.Operand.Type.SpecialType.IsIntegralType() || !conversion.Type.SpecialType.IsIntegralType()) 633if (!fromSpecialType.IsIntegralType() || !toSpecialType.IsIntegralType())
Symbols\TypeSymbolExtensions.cs (1)
190return type.SpecialType.IsIntegralType();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\OperatorTests.cs (3)
7629expectChecked = (type.IsDynamic() || symbol1.ContainingType.EnumUnderlyingTypeOrSelf().SpecialType.IsIntegralType()); 7637symbol1.ContainingType.EnumUnderlyingTypeOrSelf().SpecialType.IsIntegralType() || 8407isChecked = isDynamic || symbol1.ContainingSymbol.Kind == SymbolKind.PointerType || symbol1.ContainingType.EnumUnderlyingTypeOrSelf().SpecialType.IsIntegralType();
Microsoft.CodeAnalysis.VisualBasic (6)
Preprocessor\ExpressionEvaluator.vb (4)
735If fromSpecialType.IsIntegralType() Then 773If fromSpecialType.IsIntegralType() Then 809If specialType.IsIntegralType() Then 1112If left.SpecialType.IsIntegralType() OrElse left.SpecialType = SpecialType.System_Char OrElse left.SpecialType = SpecialType.System_DateTime Then
Preprocessor\TypeHelpers.vb (1)
25If specialType.IsIntegralType() Then
Symbols\TypeSymbolExtensions.vb (1)
296Return this.SpecialType.IsIntegralType()