Pigmeo was a compiler and framework for writing microcontroller firmware in C# and other .NET languages, developed by Adrián Bulnes (Urriellu) between 2007 and 2010. This is a frozen, read-only archive of the project’s website, pigmeo.org; nothing here is maintained. Source code: github.com/Urriellu/pigmeo · Original capture: Wayback Machine · urriellu.net

Method Definition

From Pigmeo Development Wiki

This is the list of keywords available for method definitions.

Note: quoted text was taken from the ECMA-335 specs.

Contents

Labels

  • .custom
  • .data
  • .emitbyte (only for testing purposes)
  • .entrypoint
  • .locals - Local variables
  • .maxstack
  • .override
  • .param

Accesibility

  • assembly
  • compilercontrolled
  • famandassem
  • family
  • famorassem
  • private
  • public

"Only one of these attributes shall be applied to a given method"

Method contract

  • final
  • hidebysig
  • static
  • virtual
  • strict

Special handling

  • rtspecialname
  • specialname

Implementation

  • cil - "Specifies that the method body consists of CIL code. Unless the method is declared abstract, the body of

the method shall be provided if CIL is used"

  • forwardref
  • internalcall
  • managed
  • native
  • noinlining
  • runtime
  • synchronized
  • unmanaged

Other

  • newslot
  • abstract - "Specifies that an implementation of the method is not provided but shall be provided by a derived class"
  • pinvokeimpl

See also