Skip to main content

CSharpFacts.SupportsPrefixOrPostfixUnaryOperator(SpecialType) Method

Containing Type: CSharpFacts

Assembly: Roslynator.CSharp.dll

Returns true if an expression of the specified type can be used in a prefix or postfix unary operator.

public static bool SupportsPrefixOrPostfixUnaryOperator(Microsoft.CodeAnalysis.SpecialType specialType)

Parameters

specialType SpecialType

Returns

Boolean