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