2 writes to Collection
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
DefaultHtmlGeneratorTest.cs (2)
768var model = new Model { Collection = { "ignored property value" } }; 797var model = new Model { Collection = { "ignored property value" } };
9 references to Collection
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (9)
DefaultHtmlGeneratorTest.cs (9)
771viewContext.ViewData[nameof(Model.Collection)] = new[] { "ignored ViewData value" }; 772viewContext.ModelState.SetModelValue(nameof(Model.Collection), rawValue, attemptedValue: null); 781expression: nameof(Model.Collection), 800viewContext.ViewData[nameof(Model.Collection)] = rawValue; 801viewContext.ModelState.SetModelValue(nameof(Model.Collection), rawValue, attemptedValue: null); 807expression: nameof(Model.Collection), 824model.Collection.AddRange(rawValue); 828nameof(Model.Collection), 836expression: nameof(Model.Collection),