DkmInspectionContext.ClrExpressionMayRequireParentheses(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if the expression may require parentheses when used as a sub-expression in the language.
Location constraint: API must be called from a Monitor component (component level < 100,000).
This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).
public:
bool ClrExpressionMayRequireParentheses(System::String ^ Expression);
public:
bool ClrExpressionMayRequireParentheses(Platform::String ^ Expression);
bool ClrExpressionMayRequireParentheses(std::wstring const & Expression);
public bool ClrExpressionMayRequireParentheses (string Expression);
member this.ClrExpressionMayRequireParentheses : string -> bool
Public Function ClrExpressionMayRequireParentheses (Expression As String) As Boolean
Parameters
- Expression
- String
[In] The string representing the expression to check.
Returns
[Out] Whether the expression may require parentheses.