コード例 #1
0
 public override Type[] GetOptionalCustomModifiers()
 {
     Type[] types = MonoPropertyInfo.GetTypeModifiers(this, true);
     if (types == null)
     {
         return(Type.EmptyTypes);
     }
     return(types);
 }
コード例 #2
0
 public override Type[] GetRequiredCustomModifiers()
 {
     Type[] types = MonoPropertyInfo.GetTypeModifiers(this, false);
     if (types == null)
     {
         return(Type.EmptyTypes);
     }
     return(types);
 }
コード例 #3
0
 private Type[] GetCustomModifiers(bool optional) => MonoPropertyInfo.GetTypeModifiers(this, optional) ?? Type.EmptyTypes;