Why is jquery .each being changed to .ForEachCallback

Im editing a .cshtml file with a script section. to loop through an element of a particular type I typically use $(element).each(function (ix, el) {...}); as soon as I type .each resharper is changing it to ForEachCallback. How can I prevent this from happening and why is it happening? Is ForEachCallback the same or better?

1 comment
Comment actions Permalink

Tet Web Dev, thank you for your question. I have not yet been able to reproduce this behavior. Do you have any library added that contains this ForEachCallback? What do you see if you Ctrl+click on ForEachCallback?


Please sign in to leave a comment.