Exemplo n.º 1
0
 private void TrySetMethodInvocationPendingName(Expression methodExpression)
 {
     if (this.state != RenameVariables.State.SearchForPossibleNames)
     {
         return;
     }
     V_0 = this.GetExpressionKind();
     if (V_0 != 5 && V_0 != 3)
     {
         return;
     }
     if (methodExpression as MethodReferenceExpression == null)
     {
         return;
     }
     V_1             = ((MethodReferenceExpression)methodExpression).get_Method();
     stackVariable12 = V_1.get_Name();
     if (stackVariable12 == null)
     {
         dummyVar0       = stackVariable12;
         stackVariable12 = V_1.get_FullName();
     }
     V_2 = stackVariable12;
     if (V_2.Contains("`"))
     {
         V_2 = V_2.Substring(0, V_2.IndexOf('\u0060'));
     }
     if (this.TryNameByGetMethod(V_2, V_0))
     {
         return;
     }
     dummyVar1 = this.TryNameByToMethod(V_2, V_0);
     return;
 }