GeezerVison is showing github.com — Changed ILSpy reference to a submodule. · vs0533/SharpLab@0ed1bd4
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard +4Lines changed: 4 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +[submodule "source/#external/ILSpy"] |
| 2 | + path = "source/#external/ILSpy" |
| 3 | + url = https://github.com/ashmind/ILSpy.git |
| 4 | + branch = sharplab |
Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboardExpand all lines: source/Server/Decompilation/CSharpDecompiler.cs +2-3Lines changed: 2 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | using System.Collections.Generic; |
2 | 2 | using System.IO; |
3 | 3 | using ICSharpCode.Decompiler; |
| 4 | +using ICSharpCode.Decompiler.Ast; |
4 | 5 | using ICSharpCode.NRefactory.CSharp; |
5 | 6 | using Microsoft.CodeAnalysis; |
6 | 7 | using SharpLab.Server.Decompilation.Internal; |
@@ -9,9 +10,7 @@ namespace SharpLab.Server.Decompilation { |
9 | 10 | public class CSharpDecompiler : AstBasedDecompiler { |
10 | 11 | protected override void WriteResult(TextWriter writer, AstNode ast, DecompilerContext context) { |
11 | 12 | var visitor = new DecompiledPseudoCSharpOutputVisitor( |
12 | | - new TextWriterOutputFormatter(writer) { |
13 | | - IndentationString = " " |
14 | | - }, |
| 13 | + new TextTokenWriter(new CustomizableIndentPlainTextOutput(writer) { IndentationString = " " }, context), |
15 | 14 | context.Settings.CSharpFormattingOptions |
16 | 15 | ); |
17 | 16 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: source/Server/Decompilation/Internal/CustomizableIndentPlainTextOutput.cs +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -108,7 +108,7 @@ void ITextOutput.MarkFoldStart(string collapsedText, bool defaultCollapsed) { |
108 | 108 | void ITextOutput.MarkFoldEnd() { |
109 | 109 | } |
110 | 110 |
|
111 | | - void ITextOutput.AddDebuggerMemberMapping(MemberMapping memberMapping) { |
| 111 | + void ITextOutput.AddDebugSymbols(MethodDebugSymbols methodDebugSymbols) { |
112 | 112 | } |
113 | 113 | } |
114 | 114 | } |