TemplatedViolatedConstraintNameExtracter.ExtractUsingTemplate calls Substring with wrong arguments

Description

I guess it's a rarely used class, but I was testing it today and I found a bug.

The method ExtractUsingTemplate calls String.Substring with the start and the end index, but Substring expects the start index and the length.

Attached is the patch to fix it

Environment

None

Status

Assignee

Alex Zaytsev

Reporter

Daniel Castro Alvarado

Labels

None

Components

Fix versions

Affects versions

3.3.3.GA
3.4.0.CR1

Priority

Trivial
Configure