AvoidInvokingEmptyMembers
Severity Level: Warning
Description
Invoking non-constant members can cause potential bugs. Please double check the syntax to make sure that invoked members are constants.
How
Provide the requested members for a given type or class.
Example
Wrong
$MyString = 'abc'
$MyString.('len'+'gth')
Correct
$MyString = 'abc'
$MyString.('length')
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for