Example #1
0
 internal static void RequirePolymorphicType(TypeUsage type)
 {
     if (!TypeSemantics.IsPolymorphicType(type))
     {
         throw new ArgumentException(Strings.Cqt_General_PolymorphicTypeRequired((object)type.ToString()), nameof(type));
     }
 }