public virtual bool IsTypeToBeIntrospected(Type type) { var returnType = FilterNullableAndProxies(type); return(!IsTypeIgnored(returnType) && !IsTypeUnsupportedByReflector(returnType) && IsTypeWhiteListed(returnType) && (!FasterTypeUtils.IsGenericCollection(type) || type.GetGenericArguments().All(IsTypeToBeIntrospected))); }
public virtual string GetKeyForType(Type type) => FasterTypeUtils.IsGenericCollection(type) ? $"{type.Namespace}.{type.Name}" : FasterTypeUtils.IsObjectArray(type) ? "System.Array" : type.GetProxiedTypeFullName();