6 references to IsEnumeration
Microsoft.CodeAnalysis.CSharp (1)
Binder\Semantics\Conversions\UserDefinedExplicitConversions.cs (1)
495
return result.
IsEnumeration
? Conversion.NoConversion : result;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
364
originalConversion.
IsEnumeration
||
Microsoft.CodeAnalysis.CSharp.Features (1)
ExtractMethod\CSharpSelectionResult.ExpressionResult.cs (1)
113
if (conv.IsImplicit && (conv.IsConstantExpression || conv.
IsEnumeration
))
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\GetSemanticInfoTests.cs (2)
691
Assert.True(conv.
IsEnumeration
);
763
Assert.True(conv.
IsEnumeration
);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
364
originalConversion.
IsEnumeration
||