5 writes to Name
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (5)
DefaultHtmlGeneratorTest.cs (5)
586var model = new Model { Name = "ignored property value" }; 614var model = new Model { Name = "ignored property value" }; 662var model = new Model { Name = "ignored property value" }; 690var model = new Model { Name = "ignored property value" }; 714var model = new Model { Name = rawValue?[0] };
22 references to Name
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (22)
DefaultHtmlGeneratorTest.cs (22)
38expression: nameof(Model.Name), 60expression: nameof(Model.Name), 366var expression = nameof(Model.Name); 396var expression = nameof(Model.Name); 499viewContext.ViewData[nameof(Model.Name)] = Enumerable.Empty<SelectListItem>(); 505expression: nameof(Model.Name), 522viewContext.ViewData[nameof(Model.Name)] = value; 528expression: nameof(Model.Name), 589viewContext.ViewData[nameof(Model.Name)] = "ignored ViewData value"; 590viewContext.ModelState.SetModelValue(nameof(Model.Name), rawValue, attemptedValue: null); 596expression: nameof(Model.Name), 617viewContext.ViewData[nameof(Model.Name)] = "ignored ViewData value"; 618viewContext.ModelState.SetModelValue(nameof(Model.Name), rawValue, attemptedValue: null); 626expression: nameof(Model.Name), 665viewContext.ViewData[nameof(Model.Name)] = "ignored ViewData value"; 666viewContext.ModelState.SetModelValue(nameof(Model.Name), rawValue, attemptedValue: null); 674expression: nameof(Model.Name), 693viewContext.ViewData[nameof(Model.Name)] = rawValue; 694viewContext.ModelState.SetModelValue(nameof(Model.Name), rawValue, attemptedValue: null); 700expression: nameof(Model.Name), 717viewContext.ModelState.SetModelValue(nameof(Model.Name), rawValue, attemptedValue: null); 723expression: nameof(Model.Name),