5 writes to Name
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (5)
CachedExpressionCompilerTest.cs (5)
516var model = new TestModel { DifferentModel = new DifferentModel { Name = expected } }; 571TestModel = new TestModel { DifferentModel = new DifferentModel { Name = expected } } 642TestModel = new TestModel { DifferentModel = new DifferentModel { Name = expected } } 809var differentModel = new DifferentModel { Name = "Test" }; 872var model = new TestModel { DifferentModels = new[] { new DifferentModel { Name = expected } } };
12 references to Name
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (12)
CachedExpressionCompilerTest.cs (12)
517var expression = GetTestModelExpression(m => m.DifferentModel.Name); 532var expression1 = GetTestModelExpression(m => m.DifferentModel.Name); 533var expression2 = GetTestModelExpression(m => m.DifferentModel.Name); 576var expression = GetExpression<Chain0Model, string>(m => m.Chain1.ValueTypeModel.TestModel.DifferentModel.Name); 599var expression = GetExpression<Chain0Model, string>(m => m.Chain1.ValueTypeModel.TestModel.DifferentModel.Name); 620var expression = GetExpression<Chain0Model, string>(m => m.Chain1.ValueTypeModel.TestModel.DifferentModel.Name); 647var expression = GetExpression<Chain0Model, string>(m => m.Chain1.NullableValueTypeModel.Value.TestModel.DifferentModel.Name); 670var expression = GetExpression<Chain0Model, string>(m => m.Chain1.NullableValueTypeModel.Value.TestModel.DifferentModel.Name); 686var expression = GetTestModelExpression(m => m.DifferentModel.Name); 702var expression = GetTestModelExpression(m => m.DifferentModel.Name); 810var expression = GetTestModelExpression(m => differentModel.Name); 873var expression = GetTestModelExpression(m => m.DifferentModels[0].Name);