Skip to content

Commit e180bd0

Browse files
committed
Fix whitespace
1 parent 209a2ab commit e180bd0

File tree

14 files changed

+49
-49
lines changed

14 files changed

+49
-49
lines changed

ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ public bool LazyLoading {
322322
RaisePropertyChanged(nameof(ViewChildren));
323323
}
324324
}
325-
325+
326326
/// <summary>
327327
/// Workaround for cross platform treeview bindings.
328328
/// </summary>

ILSpy/AssemblyTree/AssemblyTreeModel.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ public void DecompileSelectedNodes(ViewState? newState = null)
791791
activeTabPage.ShowTextViewAsync(textView => {
792792
return textView.DecompileAsync(this.CurrentLanguage, this.SelectedNodes, source, options);
793793
});
794-
}
794+
}
795795

796796
public void RefreshDecompiledView()
797797
{
@@ -937,7 +937,7 @@ private void RefreshInternal()
937937

938938
RefreshDecompiledView();
939939
}
940-
}
940+
}
941941

942942
private void UnselectAll()
943943
{
@@ -950,7 +950,7 @@ private IEnumerable<SharpTreeNode> GetTopLevelSelection()
950950
var selectionHash = new HashSet<SharpTreeNode>(selection);
951951

952952
return selection.Where(item => item.Ancestors().All(a => !selectionHash.Contains(a)));
953-
}
953+
}
954954

955955
// TODO: void ExpandAncestors(SharpTreeNode node)
956956
// {
@@ -961,11 +961,11 @@ private IEnumerable<SharpTreeNode> GetTopLevelSelection()
961961
// }
962962
// }
963963

964-
public void SetActiveView(AssemblyListPane activeView)
964+
public void SetActiveView(AssemblyListPane activeView)
965965
{
966966
this.activeView = activeView;
967967
}
968-
968+
969969
public void SortAssemblyList()
970970
{
971971
using (activeView?.LockUpdates())
@@ -1058,6 +1058,6 @@ private void ActiveTabPageChanged(object? sender, ActiveTabPageChangedEventArgs
10581058
private void ResetLayout(object? sender, ResetLayoutEventArgs e)
10591059
{
10601060
RefreshDecompiledView();
1061-
}
1061+
}
10621062
}
10631063
}

ILSpy/AssemblyTree/AssemblyTreeModel.wpf.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
namespace ICSharpCode.ILSpy.AssemblyTree
3232
{
33-
public partial class AssemblyTreeModel
34-
{
33+
public partial class AssemblyTreeModel
34+
{
3535
public AssemblyTreeModel(SettingsService settingsService, LanguageService languageService, IExportProvider exportProvider)
3636
{
3737
this.settingsService = settingsService;
@@ -78,6 +78,6 @@ private static void LoadInitialAssemblies(AssemblyList assemblyList)
7878
};
7979
foreach (System.Reflection.Assembly asm in initialAssemblies)
8080
assemblyList.OpenAssembly(asm.Location);
81-
}
82-
}
81+
}
82+
}
8383
}

ILSpy/Docking/DockWorkspace.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,6 @@ internal void ResetLayout()
206206
}
207207

208208
// Dummy property to make the XAML designer happy, the model is provided by the AvalonDock PaneStyleSelectors, not by the DockWorkspace, but the designer assumes the data context in the PaneStyleSelectors is the DockWorkspace.
209-
public PaneModel Model { get; } = null;
209+
public PaneModel Model { get; } = null;
210210
}
211211
}

ILSpy/Docking/DockWorkspace.wpf.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030

3131
namespace ICSharpCode.ILSpy.Docking
3232
{
33-
/// <summary>
34-
/// WPF-specific extensions to <see cref="DockWorkspace"/>.
35-
/// </summary>
36-
public partial class DockWorkspace: ILayoutUpdateStrategy
33+
/// <summary>
34+
/// WPF-specific extensions to <see cref="DockWorkspace"/>.
35+
/// </summary>
36+
public partial class DockWorkspace : ILayoutUpdateStrategy
3737
{
3838
private DockingManager DockingManager => exportProvider.GetExportedValue<DockingManager>();
3939

ILSpy/Languages/CSharpLanguage.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,8 +806,8 @@ public override RichText GetRichTextTooltip(IEntity entity)
806806
ConversionFlags = flags,
807807
}.ConvertSymbol(entity, writer, settings.CSharpFormattingOptions);
808808
return new RichText(output.ToString(), writer.HighlightingModel);
809-
}
810-
809+
}
810+
811811
public override CodeMappingInfo GetCodeMappingInfo(MetadataFile module, EntityHandle member)
812812
{
813813
return CSharpDecompiler.GetCodeMappingInfo(module, member);

ILSpy/Languages/CSharpLanguage.wpf.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ namespace ICSharpCode.ILSpy
3333
/// please directly use the CSharpDecompiler class.
3434
/// </summary>
3535
partial class CSharpLanguage
36-
{
37-
void AddWarningMessage(MetadataFile module, ITextOutput output, string line1, string line2 = null,
38-
string buttonText = null, ImageSource buttonImage = null, RoutedEventHandler buttonClickHandler = null)
36+
{
37+
void AddWarningMessage(MetadataFile module, ITextOutput output, string line1, string line2 = null,
38+
string buttonText = null, ImageSource buttonImage = null, RoutedEventHandler buttonClickHandler = null)
3939
{
4040
if (output is ISmartTextOutput fancyOutput)
4141
{
@@ -71,5 +71,5 @@ void AddWarningMessage(MetadataFile module, ITextOutput output, string line1, st
7171
WriteCommentLine(output, line2);
7272
}
7373
}
74-
}
74+
}
7575
}

ILSpy/Languages/ILLanguage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public override ProjectId DecompileAssembly(LoadedAssembly assembly, ITextOutput
197197
return null;
198198
}
199199

200-
public override RichText GetRichTextTooltip(IEntity entity)
200+
public override RichText GetRichTextTooltip(IEntity entity)
201201
{
202202
var output = new AvalonEditTextOutput() { IgnoreNewLineAndIndent = true };
203203

ILSpy/Languages/Language.cs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,21 @@ public virtual IReadOnlyList<LanguageVersion> LanguageVersions {
6969
}
7070

7171
public bool HasLanguageVersions => LanguageVersions.Count > 0;
72-
72+
7373
/// <summary>
74-
/// Gets the syntax highlighting used for this language.
75-
/// </summary>
76-
public virtual IHighlightingDefinition SyntaxHighlighting {
77-
get {
78-
return HighlightingManager.Instance.GetDefinitionByExtension(FileExtension);
79-
}
80-
}
81-
82-
public virtual TextViewControl.IBracketSearcher BracketSearcher {
83-
get {
84-
return TextViewControl.DefaultBracketSearcher.DefaultInstance;
85-
}
86-
}
74+
/// Gets the syntax highlighting used for this language.
75+
/// </summary>
76+
public virtual IHighlightingDefinition SyntaxHighlighting {
77+
get {
78+
return HighlightingManager.Instance.GetDefinitionByExtension(FileExtension);
79+
}
80+
}
81+
82+
public virtual TextViewControl.IBracketSearcher BracketSearcher {
83+
get {
84+
return TextViewControl.DefaultBracketSearcher.DefaultInstance;
85+
}
86+
}
8787

8888
public virtual void DecompileMethod(IMethod method, ITextOutput output, DecompilationOptions options)
8989
{

ILSpy/TaskHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,9 @@ public static void IgnoreExceptions(this Task task)
199199
public static void HandleExceptions(this Task task)
200200
{
201201
task.Catch<Exception>(exception => App.Current.Dispatcher.BeginInvoke(new Action(delegate {
202-
AvalonEditTextOutput output = new();
203-
output.Write(exception.ToString());
204-
App.ExportProvider.GetExportedValue<DockWorkspace>().ShowText(output);
202+
AvalonEditTextOutput output = new();
203+
output.Write(exception.ToString());
204+
App.ExportProvider.GetExportedValue<DockWorkspace>().ShowText(output);
205205
}))).IgnoreExceptions();
206206
}
207207
}

0 commit comments

Comments
 (0)