NRefactory icon indicating copy to clipboard operation
NRefactory copied to clipboard

NRefactory - Refactoring Your C# Code

Results 72 NRefactory issues
Sort by recently updated
recently updated
newest added

Now GitHub allows old projects to be archived, so this one should be marked explicitly that way to avoid confusion.

Hello, We love SharpDevelop at our organization and prefer it many times better to any other that exists mainly because of the lightness and cost too. We would like to...

string file = "Cognex.Designer.Core.xml"; var provider = new XmlDocumentationProvider(file); throws an ArgumentException when attempting load the attached xml into the XmlDocumentationProvider. *Had to rename it to .txt instead of .xml...

Sometimes we get the following exception: ``` System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at ICSharpCode.SharpDevelop.Dom.NRefactoryResolver.NRefactoryASTConvertVisitor.VisitAttributes(IList`1...

a. #if/#else/#endif format error. source: #if some_cond do_if_stuff; #else do_other_stuff; #endif when format, the do_if_stuff will became: # do_if_stuff; b. comments format error, the same line comments will format to...

This is the problem code. I want to change Space Indent to Tab Indent. ``` csharp // use Bridge.NRefactory.5.5.4 using System; using ICSharpCode.NRefactory.CSharp; using ICSharpCode.NRefactory.Editor; namespace Foo { class MainClass...

hello, how can I get all controller/action filters and attributes _without using reflection_. for e.g. I want to parse and get similar results from NRefactory ``` public void OnActionExecuting(ActionExecutingContext c)...

Sorry if this is obvious or answered somewhere else but I can't seem to find an answer to it. The code I'd like to analyze with NRefactory is written using...

Hello, I implemented the "ICompletionDataFactory" interface to realize IntelliSense-features in my projects. But I get wrong completion data for overridable method names. I noticed that the method "CreateNewOverrideCompletionData" only gets...

Console.WriteLine($"This should work but the compiler explodes if the string is too long!"); This leads to an IndexOutOfRangeException.