static public bool IsDefined(OperationFormatUse x)
 {
     return
         x == OperationFormatUse.Literal ||
         x == OperationFormatUse.Encoded ||
         false;
 }
 static internal void ValidateOperationFormatUse(OperationFormatUse value)
 {
     if (!OperationFormatUseHelper.IsDefined(value))
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
     }
 }
Esempio n. 3
0
 static public bool IsDefined(OperationFormatUse x)
 {
     return
         (x == OperationFormatUse.Literal ||
          x == OperationFormatUse.Encoded ||
          false);
 }
 public static bool IsDefined(OperationFormatUse x)
 {
     if (x != OperationFormatUse.Literal)
     {
         return (x == OperationFormatUse.Encoded);
     }
     return true;
 }
Esempio n. 5
0
 public static bool IsDefined(OperationFormatUse x)
 {
     if (x != OperationFormatUse.Literal)
     {
         return(x == OperationFormatUse.Encoded);
     }
     return(true);
 }