ValidationSummaryTagHelperTest.cs (7)
146invalidModelState.AddModelError($"{nameof(Model.Strings)}[1]", "This value is invalid.");
155{ $"{nameof(Model.Strings)}[2]", invalidModelState },
318modelState.AddModelError(key: $"{nameof(Model.Strings)}[0]", errorMessage: expectedError0);
319modelState.AddModelError(key: $"{nameof(Model.Strings)}[2]", errorMessage: expectedError2);
668modelState.SetModelValue(key: $"{nameof(Model.Strings)}[0]", rawValue: null, attemptedValue: null);
669modelState.SetModelValue(key: $"{nameof(Model.Strings)}[1]", rawValue: null, attemptedValue: null);
670modelState.SetModelValue(key: $"{nameof(Model.Strings)}[2]", rawValue: null, attemptedValue: null);