Skip to content

Instantly share code, notes, and snippets.

@wallymathieu
Forked from hyrmn/gist:3429595
Created March 21, 2020 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wallymathieu/1258d92e13731f4fb14e65daa734dde7 to your computer and use it in GitHub Desktop.
Save wallymathieu/1258d92e13731f4fb14e65daa734dde7 to your computer and use it in GitHub Desktop.
[AttributeUsage(System.AttributeTargets.All, AllowMultiple = true, Inherited = true)]
public class ಠ_ಠAttribute : Attribute
{
public ILog Log { get; set; }
public ಠ_ಠAttribute()
{
Log.Info("This code is bad and you should feel bad");
}
}
[ಠ_ಠ]
public class SomeClass
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment