Static methods


This extension not working on static functions, methods and classes.
Please fix it...

Thanks anyway

file attachments

Closed Aug 27, 2015 at 5:38 PM by jirkapok
burned in past.


elishalom wrote Apr 10, 2013 at 3:36 PM

Unable to reproduce this issue. Can you post a repro?

emdadgar2 wrote Apr 14, 2013 at 7:43 AM

Not working on this code:
This code snipet, use json.net
namespace JSONHelper
    public static class JSONHelper
        /// <summary>
        /// Serialize data for javascript JSON.
        /// </summary>
        /// <param name="obj">The <see langword="object" /> to serialize.</param>
        /// <param name="BoolConvert"></param>
        /// <returns></returns>
        public static string JSONSerializer(object obj, bool BoolConvert = true)
                return Newtonsoft.Json.JsonConvert.SerializeObject(obj,
                                                                   new DateTimeConverter(), new StringAntiXSSConverter(),
                                                                   new BoolConverter(), new DbDataRecordConverter());


        public static T JSONDeSerializer<T>(string json)

            return Newtonsoft.Json.JsonConvert.DeserializeObject<T>(json,
                new DateTimeConverter(), new BoolConverter());

elishalom wrote Apr 14, 2013 at 9:33 AM

OK, the is that it stops analyzing when there an optional parameter.
It's a small parsing issue which requires a new version of ICSharpCode.NRefactory.dll