The PropertySetRef validation in PO026 only looks at the first and last characters in the string, without considering what comes in between. This PR changes the logic to instead look at whether the first character is { and the first index of } is at the end of the string.
The PropertySetRef validation in PO026 only looks at the first and last characters in the string, without considering what comes in between. This PR changes the logic to instead look at whether the first character is
{
and the first index of}
is at the end of the string.