~ubuntu-branches/ubuntu/natty/monodevelop/natty

« back to all changes in this revision

Viewing changes to src/addins/CSharpBinding/CSharpLanguageBinding.cs

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-03-29 23:36:33 UTC
  • mto: (1.5.1 sid)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: james.westby@ubuntu.com-20080329233633-l550uuwvfh1e68at
Tags: upstream-1.0+dfsg
ImportĀ upstreamĀ versionĀ 1.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
                
66
66
                public ICloneable CreateCompilationParameters (XmlElement projectOptions)
67
67
                {
68
 
                        return new CSharpCompilerParameters();
 
68
                        CSharpCompilerParameters pars = new CSharpCompilerParameters ();
 
69
                        if (projectOptions != null) {
 
70
                                string debugAtt = projectOptions.GetAttribute ("DefineDebug");
 
71
                                if (string.Compare ("True", debugAtt, true) == 0)
 
72
                                        pars.DefineSymbols = "DEBUG";
 
73
                        }
 
74
                        return pars;
69
75
                }
70
76
                
71
77
                public string CommentTag