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