public InvalidFixture(Type innerType, Exception ex) { Key = innerType.Name.Replace("Fixture", ""); var message = "Fixture {0} could not be loaded".ToFormat(innerType.FullName); _error = new GrammarError {error = ex.ToString(), message = message}; }