6 references to _typeInfoCache
Microsoft.AspNetCore.Http.Microbenchmarks (6)
ValidatableTypesBenchmark.cs (6)
273
_typeInfoCache
[typeof(SimpleModel)] = CreateSimpleModelTypeInfo();
274
_typeInfoCache
[typeof(ComplexModel)] = CreateComplexModelTypeInfo();
275
_typeInfoCache
[typeof(HierarchicalModel)] = CreateHierarchicalModelTypeInfo();
276
_typeInfoCache
[typeof(ValidatableObjectModel)] = CreateValidatableObjectModelTypeInfo();
279
_typeInfoCache
[typeof(ChildModel)] = CreateChildModelTypeInfo();
352
if (
_typeInfoCache
.TryGetValue(type, out var typeInfo))