7 references to IsNumericType
Microsoft.CodeAnalysis.CodeStyle (1)
OperationExtensions.cs (1)
369
=> operation.Kind == OperationKind.Literal && operation.Type.
IsNumericType
();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
690
return typeInfo.Type.
IsNumericType
();
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (3)
CastAnalyzer.vb (3)
398
If castType.
IsNumericType
() Then
399
Return Not outerType.
IsNumericType
()
403
Return Not (outerType.
IsNumericType
OrElse outerType.SpecialType = SpecialType.System_Boolean)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
VisualBasicTypeInferenceService.TypeInferrer.vb (2)
844
If types.Any(Function(t) t.InferredType.
IsNumericType
) Then
845
Return types.Where(Function(t) t.InferredType.
IsNumericType
)