IDkmClrFullNameProvider.ClrExpressionMayRequireParentheses Method

Definition

Returns true if the expression may require parentheses when used as a sub-expression in the language.

public:
 bool ClrExpressionMayRequireParentheses(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, System::String ^ expression);
public:
 bool ClrExpressionMayRequireParentheses(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Platform::String ^ expression);
bool ClrExpressionMayRequireParentheses(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext const & inspectionContext, std::wstring const & expression);
public bool ClrExpressionMayRequireParentheses (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, string expression);
abstract member ClrExpressionMayRequireParentheses : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * string -> bool
Public Function ClrExpressionMayRequireParentheses (inspectionContext As DkmInspectionContext, expression As String) As Boolean

Parameters

inspectionContext
DkmInspectionContext

[In] Options and target context to use while performing the inspection operation.

expression
String

[In] The string representing the expression to check.

Returns

[Out] Whether the expression may require parentheses.

Applies to