sonygod / sharpkit

Automatically exported from code.google.com/p/sharpkit
0 stars 0 forks source link

Handle const correct within a function #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
write this c# code within an function:

const string PATH_COMPONENTS = "components/";
string PATH_JQUERY = "components/jquery/";

the result ist:

const System.String PATH_COMPONENTS = "components/";
;
var PATH_JQUERY = "components/jquery/";

the result should be:

var PATH_COMPONENTS = "components/";
var PATH_JQUERY = "components/jquery/";

solution: just ignore const and handle them as normal declaration.

Original issue reported on code.google.com by sebastia...@gmail.com on 3 Aug 2011 at 7:27

GoogleCodeExporter commented 9 years ago

Original comment by DanelK...@gmail.com on 4 Aug 2011 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by DanelK...@gmail.com on 26 Nov 2011 at 9:13