Esempio n. 1
0
    public static bool smethod_6(Vector2 vector2_0, Vector2 vector2_1, Vector2 vector2_2, Vector2 vector2_3, out Vector2 vector2_4)
    {
        Vector2?vector = GClass878.smethod_5(vector2_0, vector2_1, vector2_2, vector2_3);

        vector2_4 = vector.GetValueOrDefault();
        return(vector != null);
    }
Esempio n. 2
0
    public static Vector2?smethod_8(Rectangle rectangle_0, Vector2 vector2_0, Vector2 vector2_1)
    {
        GClass878.< > c__DisplayClass8_0 CS$ < > 8__locals1;
        CS$ < > 8__locals1.vector2_0 = vector2_0;
        Vector2 vector  = new Vector2((float)rectangle_0.Left, (float)rectangle_0.Top);
        Vector2 vector2 = new Vector2((float)rectangle_0.Right, (float)rectangle_0.Top);
        Vector2 vector3 = new Vector2((float)rectangle_0.Left, (float)rectangle_0.Bottom);
        Vector2 vector4 = new Vector2((float)rectangle_0.Right, (float)rectangle_0.Bottom);

        CS$ < > 8__locals1.nullable_0 = null;
        GClass878.smethod_14(GClass878.smethod_5(vector, vector2, CS$ < > 8__locals1.vector2_0, vector2_1), ref CS$ < > 8__locals1);
        GClass878.smethod_14(GClass878.smethod_5(vector2, vector4, CS$ < > 8__locals1.vector2_0, vector2_1), ref CS$ < > 8__locals1);
        GClass878.smethod_14(GClass878.smethod_5(vector4, vector3, CS$ < > 8__locals1.vector2_0, vector2_1), ref CS$ < > 8__locals1);
        GClass878.smethod_14(GClass878.smethod_5(vector3, vector, CS$ < > 8__locals1.vector2_0, vector2_1), ref CS$ < > 8__locals1);
        return(CS$ < > 8__locals1.nullable_0);
    }