6 references to IsEnumType
Microsoft.CodeAnalysis.CodeStyle (2)
AbstractSpeculationAnalyzer.cs (1)
447=> type1.IsEnumType() &&
ISymbolExtensions.cs (1)
208=> symbol?.Kind == SymbolKind.Field && symbol.ContainingType.IsEnumType();
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
AbstractCodeGenerationService.cs (1)
377return field != null && field.ContainingType.IsEnumType();
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CastSimplifier.cs (1)
1216rewrittenType.IsEnumType() ||
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpTypeInferenceService.TypeInferrer.cs (1)
493if (typeInfo.Type != null && typeInfo.Type.IsEnumType())
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
262If typeInfo.Type IsNot Nothing AndAlso typeInfo.Type.IsEnumType() Then