SymbolExtensions.SupportsConstantValue(ITypeSymbol) Method
Containing Type: SymbolExtensions
Assembly: Roslynator.CSharp.dll
Returns true if the specified type can be used to declare constant value.
public static bool SupportsConstantValue(this Microsoft.CodeAnalysis.ITypeSymbol typeSymbol)
Parameters
typeSymbol ITypeSymbol