40 references to GetTestModelExpression
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (40)
CachedExpressionCompilerTest.cs (40)
15var expression = GetTestModelExpression(m => m); 30var expression1 = GetTestModelExpression(m => m); 31var expression2 = GetTestModelExpression(m => m); 48var expression = GetTestModelExpression(m => differentModel); 64var expression = GetTestModelExpression(m => (DifferentModel)null); 80var expression = GetTestModelExpression(m => differentModel); 97var expression1 = GetTestModelExpression(m => differentModel); 98var expression2 = GetTestModelExpression(m => differentModel); 121var expression = GetTestModelExpression(m => differentModel); 144var expression = GetTestModelExpression(m => 10); 160var expression = GetTestModelExpression(m => TestModel.StaticField); 175var expression1 = GetTestModelExpression(m => TestModel.StaticField); 176var expression2 = GetTestModelExpression(m => TestModel.StaticField); 194var expression = GetTestModelExpression(m => TestModel.StaticProperty); 209var expression1 = GetTestModelExpression(m => TestModel.StaticProperty); 210var expression2 = GetTestModelExpression(m => TestModel.StaticProperty); 227var expression = GetTestModelExpression(m => TestModel.StaticProperty); 243var expression = GetTestModelExpression(m => DifferentModel.Constant); 258var expression = GetTestModelExpression(m => DifferentModel.Constant); 274var expression = GetTestModelExpression(m => m.Name); 289var expression1 = GetTestModelExpression(m => m.Name); 290var expression2 = GetTestModelExpression(m => m.Name); 306var expression = GetTestModelExpression(m => m.Age); 322var expression = GetTestModelExpression(m => m.Name); 338var expression = GetTestModelExpression(m => m.Age); 484var expression = GetTestModelExpression(m => m.Date.Year); 500var expression = GetTestModelExpression(m => m.Date.Year); 517var expression = GetTestModelExpression(m => m.DifferentModel.Name); 532var expression1 = GetTestModelExpression(m => m.DifferentModel.Name); 533var expression2 = GetTestModelExpression(m => m.DifferentModel.Name); 548var expression1 = GetTestModelExpression(m => m.Date.Year); 549var expression2 = GetTestModelExpression(m => m.Date.Year); 686var expression = GetTestModelExpression(m => m.DifferentModel.Name); 702var expression = GetTestModelExpression(m => m.DifferentModel.Name); 810var expression = GetTestModelExpression(m => differentModel.Name); 825var expression = GetTestModelExpression(m => differentModel); 842var expression = GetTestModelExpression(m => differentModel); 858var expression = GetTestModelExpression(m => differentModel.Length); 873var expression = GetTestModelExpression(m => m.DifferentModels[0].Name); 886var expression = GetTestModelExpression(m => m.Sizes[1]);