Skip to content

Instantly share code, notes, and snippets.

View mkrueger's full-sized avatar

Mike Krüger mkrueger

View GitHub Profile
class Foo
{
class Bar
{
}
override public Foo ()
{
}
}
git clone git://github.com/jbevain/cecil.git;mv cecil ../Mono.Cecil
@@ -64,44 +64,62 @@
this.DecompileMethodBodies = true;
}
- public static bool MemberIsHidden(MemberReference member, DecompilerSettings settings)
+ public static bool MemberIsHidden (MemberReference member, DecompilerSettings settings)
{
MethodDefinition method = member as MethodDefinition;
if (method != null) {
if (method.IsGetter || method.IsSetter || method.IsAddOn || method.IsRemoveOn)
------
Marek
Only:
c# binding, intellisense, editor, debugger, project management, unit test, semantic highlighting
throw out:
version control, all options, refactorings, all stuff expect the stuff above, most/all pads
------
public class ClassName
{
public int Foo { get; set; }
}
class MainClass
{
void Method ()
{
class MainClass
{
public void FooBar ()
{
if (true) {
string str = "foo";
}
}
}
--- /home/mike/work/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/GtkWorkarounds.cs (Basis)
+++ /home/mike/work/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/GtkWorkarounds.cs (Arbeitskopie)
@@ -446,9 +446,12 @@
modifier &= ~Gdk.ModifierType.LockMask;
//fully decomposed
- TranslateKeyboardState (evt.HardwareKeycode, Gdk.ModifierType.None, 0,
- out keyval, out effectiveGroup, out level, out consumedModifiers);
- accelList.Add (new KeyboardShortcut ((Gdk.Key)keyval, FixMacModifiers (modifier, grp) & accelMods));
+ TranslateKeyboardState (evt.HardwareKeycode, Gdk.ModifierType.None, 0, out keyval, out effectiveGroup, out level, out consumedModifiers);
using System;
using System.Collections.Generic;
public class Bar : List<string>
{
public object Test { get; set; }
}
class Foo
{
class Test {
string GetName ()
{
List<string>;
}
}
using System;
namespace TestConsole
{
class Test
{
protected class Foo
{
public int Bar = 0;
}