Ejemplo n.º 1
0
        public override string GetSetWarningLevel(CompilerWarnLevel warnLevel, IIntermediateCompilerOptions options)
        {
            byte warnID = 0;

            switch (warnLevel)
            {
            case CompilerWarnLevel.Level1:
                warnID = 1;
                break;

            case CompilerWarnLevel.Level2:
                warnID = 2;
                break;

            case CompilerWarnLevel.Level3:
                warnID = 3;
                break;

            case CompilerWarnLevel.Level4:
                warnID = 4;
                break;
            }
            return(string.Format(WarnLevelCommand, warnID.ToString()));
        }
Ejemplo n.º 2
0
 public abstract string GetSetWarningLevel(CompilerWarnLevel warnLevel, IIntermediateCompilerOptions options);