Exemplo n.º 1
0
        private string MakeNameSuffix()
        {
            switch (nextType)
            {
            case NextType.Tau:
                return("Tau");

            case NextType.Return:
                return("ReturnFrom_" + startPC.methodName + "_" + startPC.Name + "_To_" + endPC.methodName + "_" + endPC.Name);

            default:
                return(nextType.ToString("g") + "_" + startPC.methodName + "_" + startPC.Name);
            }
        }
Exemplo n.º 2
0
        public string GetNameSuffix()
        {
            switch (nextType)
            {
            case NextType.Tau:
                return("Tau");

            case NextType.Return:
                return("ReturnFrom_" + pc.methodName + "_" + pc.Name + "_To_" + endPC.methodName + "_" + endPC.Name);

            default:
                return(nextType.ToString("g") + "_" + pc.methodName + "_" + pc.Name);
            }
        }