10 references to IsIntegral
Microsoft.CodeAnalysis.CSharp (4)
Lowering\DiagnosticsPass_Warnings.cs (1)
588if (constVal == null || !constVal.IsIntegral)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
2061if (rightConstantValue != null && rightConstantValue.IsIntegral)
Symbols\Source\SourceFixedFieldSymbol.cs (2)
100Debug.Assert(sizeConstant.IsIntegral || diagnostics.HasAnyErrors() || sizeExpression.HasErrors); 102if (sizeConstant.IsIntegral)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\NumericIntPtrTests.cs (1)
2857Assert.True(value.IsIntegral);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\NativeIntegerTests.cs (1)
7029Assert.True(value.IsIntegral);
Microsoft.CodeAnalysis.VisualBasic (4)
Binding\Binder_Expressions.vb (1)
4297If lowerBoundConstantValueOpt Is Nothing OrElse Not lowerBoundConstantValueOpt.IsIntegral OrElse Not lowerBoundConstantValueOpt.IsDefaultValue Then
Binding\Binder_InterpolatedString.vb (1)
49If alignmentOpt.IsConstant AndAlso alignmentOpt.ConstantValueOpt.IsIntegral Then
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
348If initialConst.IsIntegral Then
Lowering\LocalRewriter\LocalRewriter_InterpolatedString.vb (1)
143Debug.Assert(interpolation.AlignmentOpt.IsConstant AndAlso interpolation.AlignmentOpt.ConstantValueOpt.IsIntegral)