5 references to IsConstantExpression
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder_Patterns.cs (1)
460if (patternConversion.IsIdentity || patternConversion.IsConstantExpression || patternConversion.IsNumeric)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
362if (originalConversion.IsConstantExpression ||
Microsoft.CodeAnalysis.CSharp.Features (1)
ExtractMethod\CSharpSelectionResult.ExpressionResult.cs (1)
113if (conv.IsImplicit && (conv.IsConstantExpression || conv.IsEnumeration))
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\GetSemanticInfoTests.cs (1)
733Assert.True(conv.IsConstantExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
362if (originalConversion.IsConstantExpression ||