Beispiel #1
0
        public static string CmdDebugInformationFormat(debugOption option)
        {
            switch (option)
            {
            case debugOption.debugOldStyleInfo:
                return("/Z7");

            case debugOption.debugEnabled:
                return("/Zi");

            case debugOption.debugEditAndContinue:
                return("/ZI");
            }
            return(null);
        }
 public void SetDebugInformationFormat(debugOption value)
 {
     if (compilerTool != null)
     {
         compilerTool.DebugInformationFormat = value;
     }
     else
     {
         compilerType.InvokeMember(
             "DebugInformationFormat",
             System.Reflection.BindingFlags.SetProperty,
             null,
             compilerObj,
             new object[] { @value });
     }
 }
 public void SetDebugInformationFormat(debugOption value)
 {
     if (compilerTool != null)
         compilerTool.DebugInformationFormat = value;
     else
         compilerType.InvokeMember(
             "DebugInformationFormat",
             System.Reflection.BindingFlags.SetProperty,
             null,
             compilerObj,
             new object[] { @value });
 }