|
Browse by Tags
All Tags » C# ( RSS)
-
Hi everyone, I have found a bug in the NRefactory Demo. public void Main (string[ args) { var d = 0; int[ list = new int[ {0, 1, 2, 3} d = list[0]; } it will stop the MethodDeclaration at int[ list = new int[ {0, 1, 2, 3} instead of finishing at d = list[0]; } I don't know if i have explained what...
-
Hi everyone. I have seen the awesome sample of NRefactory posted here: Telerik Converter CodeProject C# Analyzer CodeProject C# Suggestions I have downloaded the source of the last 2 ones, and looks awesome. Tried both and does a very good job. Now I am working on a C# Interpretation and Compiler Code...
-
Hi everyone. I have seen the awesome sample of NRefactory posted here: Telerik Converter CodeProject C# Analyzer CodeProject C# Suggestions I have downloaded the source of the last 2 ones, and looks awesome. Tried both and does a very good job. Now I am working on a C# Interpretation and Compiler Code...
-
IF you use a string concatenation in a method call and leave of the leading Quote - your file will continually show a crash when you try to edit it, The project will crash with an Aggregate load error . Look for the Missing Quote in your file , there is where the crash is
-
So my goal is the following. Point 1 works but not sure how to handle others make certain text segments uneditable by typing. (this is done by TextSegmentReadOnlySectionProvider) allow the user to delete the whole text segment if right click over the segment make the text segment a certain color All...
-
Hello, Is it possible to import existing projects (.csproj) in a C# solution template (xpt files)? I tried something like this but it doesn't work: <Template ...> <TemplateConfiguration> ... </TemplateConfiguration> <Solution name = "${ProjectName}" directory = "...
-
I am just starting out with c# and c++ code. I am creating a file basically your everyday Hello World application for c#. class Hello { static void Main( ) { System.Console.WriteLine("Hello World"); } } I am saving this as Hello.cs My question is how do I run this and test in in SharpDevelop...
-
HI, I am absolute new to ILSpy, and not so new but still laking on C#, but used ILSpy to decompile into CS from my Toolbox.DLL made by RemObject's Oxygene Pascal Compiler from Toolbx.pas. This decompilation brougth me nice insight into what code is generated. I do so because when I call a function...
-
Hello! I was trying the next example from MSDN: https://msdn.microsoft.com/en-us/library/system.windows.media.media3d.viewport2dvisual3d.aspx <viewport3d> <viewport3d.camera> <perspectivecamera position="0, 0, 4"> </perspectivecamera></viewport3d.camera> <!...
-
I'm using ICSharpCode.Decompiler.Ast.AstBuilder (which is used by SharpDevelop, NRefactory and ILSpy under the hood; has taken inspiration from there too) from code to build an abstract syntax tree from a .NET Common Intermediate Language assembly. var assembly = AssemblyDefinition.ReadAssembly(assemblyPath...
|
|
|