private static void VerifyPseudoCustomAttribute(Type pca)
{
// If any of these are invariants are no longer true will have to
// re-architect the PCA product logic and test cases -- you've been warned!
BCLDebug.Assert(pca.BaseType == typeof(Attribute), "Pseudo CA Error");
AttributeUsageAttribute usage = CustomAttribute.GetAttributeUsage(pca as RuntimeType);
BCLDebug.Assert(usage.Inherited == false, "Pseudo CA Error");
BCLDebug.Assert(usage.AllowMultiple == false, "Pseudo CA Error");
}
#endregion