2 writes to Key
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Validation\ValidationVisitor.cs (2)
520visitor.Key = key; 548_visitor.Key = _key;
11 references to Key
Microsoft.AspNetCore.Mvc.Core (11)
ModelBinding\Validation\ValidationVisitor.cs (11)
203Debug.Assert(Key != null); 205var state = ModelState.GetValidationState(Key); 233var key = ModelNames.CreatePropertyModelName(Key, result.MemberName); 242state = ModelState.GetFieldValidationState(Key); 251var entry = ModelState[Key]; 392SuppressValidation(Key!); 413SuppressValidation(Key!); 427Debug.Assert(Metadata is not null && Key is not null && Model is not null); 430var enumerator = strategy.GetChildren(Metadata, Key, Model); 431var parentEntry = new ValidationEntry(Metadata, Key, Model); 538_key = _visitor.Key!;