SourceMethodImpl.cs 554 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. namespace Mono.CompilerServices.SymbolWriter
  3. {
  4. internal class SourceMethodImpl : IMethodDef
  5. {
  6. private string name;
  7. private int token;
  8. private int namespaceID;
  9. public string Name
  10. {
  11. get
  12. {
  13. return this.name;
  14. }
  15. }
  16. public int NamespaceID
  17. {
  18. get
  19. {
  20. return this.namespaceID;
  21. }
  22. }
  23. public int Token
  24. {
  25. get
  26. {
  27. return this.token;
  28. }
  29. }
  30. public SourceMethodImpl(string name, int token, int namespaceID)
  31. {
  32. this.name = name;
  33. this.token = token;
  34. this.namespaceID = namespaceID;
  35. }
  36. }
  37. }