18 instantiations of TestModel
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (18)
CachedExpressionCompilerTest.cs (18)
14
var model = new
TestModel
();
46
var model = new
TestModel
();
63
var model = new
TestModel
();
95
var model = new
TestModel
();
119
var model = new
TestModel
();
143
var model = new
TestModel
();
159
var model = new
TestModel
();
193
var model = new
TestModel
();
242
var model = new
TestModel
();
273
var model = new
TestModel
{ Name = "Test" };
305
var model = new
TestModel
{ Age = 12 };
483
var model = new
TestModel
{ Date = dateTime };
516
var model = new
TestModel
{ DifferentModel = new DifferentModel { Name = expected } };
571
TestModel = new
TestModel
{ DifferentModel = new DifferentModel { Name = expected } }
642
TestModel = new
TestModel
{ DifferentModel = new DifferentModel { Name = expected } }
685
var model = new
TestModel
{ DifferentModel = null };
824
var model = new
TestModel
();
872
var model = new
TestModel
{ DifferentModels = new[] { new DifferentModel { Name = expected } } };
38 references to TestModel
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (38)
CachedExpressionCompilerTest.cs (38)
14
var
model = new TestModel();
46
var
model = new TestModel();
63
var
model = new TestModel();
95
var
model = new TestModel();
119
var
model = new TestModel();
143
var
model = new TestModel();
159
var
model = new TestModel();
160
var expression = GetTestModelExpression(m =>
TestModel
.StaticField);
175
var expression1 = GetTestModelExpression(m =>
TestModel
.StaticField);
176
var expression2 = GetTestModelExpression(m =>
TestModel
.StaticField);
192
TestModel
.StaticProperty = expected;
193
var
model = new TestModel();
194
var expression = GetTestModelExpression(m =>
TestModel
.StaticProperty);
209
var expression1 = GetTestModelExpression(m =>
TestModel
.StaticProperty);
210
var expression2 = GetTestModelExpression(m =>
TestModel
.StaticProperty);
226
TestModel
.StaticProperty = expected;
227
var expression = GetTestModelExpression(m =>
TestModel
.StaticProperty);
242
var
model = new TestModel();
273
var
model = new TestModel { Name = "Test" };
305
var
model = new TestModel { Age = 12 };
321
var
model = (
TestModel
)null;
337
var
model = (
TestModel
)null;
483
var
model = new TestModel { Date = dateTime };
499
var
model = (
TestModel
)null;
516
var
model = new TestModel { DifferentModel = new DifferentModel { Name = expected } };
685
var
model = new TestModel { DifferentModel = null };
701
var
model = (
TestModel
)null;
824
var
model = new TestModel();
841
var
model = (
TestModel
)null;
872
var
model = new TestModel { DifferentModels = new[] { new DifferentModel { Name = expected } } };
898
private static Expression<Func<
TestModel
, TResult>> GetTestModelExpression<TResult>(Expression<Func<
TestModel
, TResult>> expression)
941
public
TestModel
TestModel { get; set; }