Ejemplo n.º 1
0
    private static bool smethod_2(string A_0)
    {
        bool flag2;

        if (!Class567.smethod_16(A_0))
        {
            return(false);
        }
        bool flag = true;

        using (IEnumerator enumerator = new Class1087(A_0).System.Collections.IEnumerable.GetEnumerator())
        {
            while (enumerator.MoveNext())
            {
                int current = (int)enumerator.Current;
                if (!smethod_4(current, flag))
                {
                    goto Label_003C;
                }
                flag = false;
            }
            return(true);

Label_003C:
            flag2 = false;
        }
        return(flag2);
    }
Ejemplo n.º 2
0
    public static int smethod_0(string A_0)
    {
        int       num    = 0;
        Class1087 class2 = new Class1087(A_0);

        while (class2.System.Collections.IEnumerator.MoveNext())
        {
            num++;
        }
        return(num);
    }
Ejemplo n.º 3
0
 private static void smethod_3(string A_0, StringBuilder A_1)
 {
     A_1.Length = 0;
     if (Class567.smethod_16(A_0))
     {
         string str  = new string('_', 1);
         bool   flag = true;
         using (IEnumerator enumerator = new Class1087(A_0).System.Collections.IEnumerable.GetEnumerator())
         {
             while (enumerator.MoveNext())
             {
                 int current = (int)enumerator.Current;
                 A_1.Append(smethod_4(current, flag) ? Class334.smethod_0(current) : str);
                 flag = false;
             }
         }
     }
 }
Ejemplo n.º 4
0
    public static int[] smethod_10(string A_0)
    {
        if (!Class567.smethod_16(A_0))
        {
            return(new int[0]);
        }
        Class741 class2 = new Class741();

        using (IEnumerator enumerator = new Class1087(A_0).System.Collections.IEnumerable.GetEnumerator())
        {
            while (enumerator.MoveNext())
            {
                int current = (int)enumerator.Current;
                class2.method_9(current);
            }
        }
        return(class2.method_30());
    }
Ejemplo n.º 5
0
    public static string smethod_57(string A_0)
    {
        StringBuilder builder = new StringBuilder();

        using (IEnumerator enumerator = new Class1087(A_0).System.Collections.IEnumerable.GetEnumerator())
        {
            while (enumerator.MoveNext())
            {
                int current = (int)enumerator.Current;
                if (current == 0)
                {
                    goto Label_004C;
                }
                builder.Append(Class334.smethod_0(current));
            }
        }
Label_004C:
        return(builder.ToString());
    }
Ejemplo n.º 6
0
 public string method_21(string A_0)
 {
     if (!smethod_0(A_0))
     {
         return(A_0);
     }
     this.stringBuilder_0.Length = 0;
     using (IEnumerator enumerator = new Class1087(A_0).System.Collections.IEnumerable.GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             int current = (int)enumerator.Current;
             if (smethod_1(current))
             {
                 this.stringBuilder_0.Append(Class334.smethod_0(current));
             }
         }
     }
     return(this.stringBuilder_0.ToString());
 }
Ejemplo n.º 7
0
    private int method_13(string A_0)
    {
        int num3;

        if (string.IsNullOrEmpty(A_0) || (A_0.Length <= 0))
        {
            return(-1);
        }
        int num = 0;
        CharacterCategory ascii = CharacterCategory.Ascii;

        using (IEnumerator enumerator = new Class1087(A_0).System.Collections.IEnumerable.GetEnumerator())
        {
            while (enumerator.MoveNext())
            {
                int current = (int)enumerator.Current;
                if ((current < 0x10000) || (current > 0x10ffff))
                {
                    if (num == 0)
                    {
                        ascii = Class57.smethod_7(current);
                    }
                    if ((num > 0) && (Class57.smethod_7(current) != ascii))
                    {
                        goto Label_006E;
                    }
                    num++;
                }
            }
            return(-1);

Label_006E:
            num3 = num - 1;
        }
        return(num3);
    }