Current filter:
                                You should refresh the page.
                                  • [C#]
                                    void TestMethod() { var persons = new List<Person>() { n.<<:caret:>> }; }
                                • Alex X (DevExpress) 08.26.2016

                                  We have reproduced this behavior and will prepare a fix for this problem shortly.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed:

                                • Alex B.G. (DevExpress) 09.27.2016

                                  Reactivated due to an additional specification from Jeremy Addy:
                                  Sorry,
                                  I guess I wasn't expecting the fix would be to completely remove the n. template from the object initializer.
                                  I was expecting that when you use any form of the n template inside an object initializer, that it would work as before, but not put the "var name =" portion before it.

                                  [C#]
                                  List<Claim> _list = new List<Claim>{ new Claim() };

                                   There are still issues with all other forms of the n template inside of object initializers. Try expanding the nrx template.

                                  [C#]
                                  var regexs = new List<Regex>{ nrx };

                                  Thanks.