diff options
Diffstat (limited to 'main/src/core/Mono.Texteditor/Mono.TextEditor/HelperMethods.cs')
-rw-r--r-- | main/src/core/Mono.Texteditor/Mono.TextEditor/HelperMethods.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/src/core/Mono.Texteditor/Mono.TextEditor/HelperMethods.cs b/main/src/core/Mono.Texteditor/Mono.TextEditor/HelperMethods.cs index 1b74818031..29c68acd36 100644 --- a/main/src/core/Mono.Texteditor/Mono.TextEditor/HelperMethods.cs +++ b/main/src/core/Mono.Texteditor/Mono.TextEditor/HelperMethods.cs @@ -34,7 +34,7 @@ using System.Collections.Generic; namespace Mono.TextEditor { - public static class HelperMethods + public static class PublicHelperMethods { public static TextSegment AdjustSegment (this TextSegment segment, DocumentChangeEventArgs args) { @@ -50,7 +50,10 @@ namespace Mono.TextEditor yield return segment.AdjustSegment (args); } } + } + static class HelperMethods + { public static T Kill<T>(this T gc) where T : IDisposable { if (gc != null) |