Skip to content

Instantly share code, notes, and snippets.

@NickStrupat
Last active December 15, 2015 02:00
Show Gist options
  • Save NickStrupat/c9549a71cc4094aeff91 to your computer and use it in GitHub Desktop.
Save NickStrupat/c9549a71cc4094aeff91 to your computer and use it in GitHub Desktop.
[assembly:Ref.Ref.Ref, @[email protected]]
namespace Ref {
[Ref, @[email protected]] public struct Ref {
[Ref, @[email protected]] public class RefAttribute : Attribute {}
[Ref, @[email protected]] public Ref @ref([Ref, @[email protected]] ref Ref @ref) { return @ref.@ref(ref @ref); }
}
}
namespace @ref {
[Ref, Ref.Ref.Ref] public class @ref {
[Ref, Ref.Ref.Ref] public class RefAttribute : Attribute {}
[Ref, Ref.Ref.Ref] Ref.Ref Ref = new Ref.Ref();
[Ref, Ref.Ref.Ref] public @ref() { Ref.Ref @ref = Ref.@ref(ref Ref); }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment