8 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)
212
return type.SpecialType.
IsIntegralType
();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\OperatorTests.cs (3)
7631
expectChecked = (type.IsDynamic() || symbol1.ContainingType.EnumUnderlyingTypeOrSelf().SpecialType.
IsIntegralType
());
7639
symbol1.ContainingType.EnumUnderlyingTypeOrSelf().SpecialType.
IsIntegralType
() ||
8409
isChecked = isDynamic || symbol1.ContainingSymbol.Kind == SymbolKind.PointerType || symbol1.ContainingType.EnumUnderlyingTypeOrSelf().SpecialType.
IsIntegralType
();