private static int ComputePosition()

in TeamCity.VSTest.TestLogger/TestAttachmentPathResolver.cs [35:44]


    private static int ComputePosition(string testName, int currentPosition, int currentOffset)
    {
        var position = currentPosition + currentOffset;
        while (position < testName.Length && testName[position] == NamespaceDelimiter)
        {
            position++;
        }

        return position;
    }