public When_resolving_anonymous_type() { var instance = new { Int32Value = 0, StringValue = "" }; actualType = instance.GetType(); var typeInfo = new TypeInfo(actualType); resolvedType = TypeResolver.Instance.ResolveType(typeInfo); }
public When_creating_type_info_of_anonymous_type() { var instance = new { Int32Value = 0, StringValue = "" }; var type = instance.GetType(); typeInfo = new TypeInfo(type); }