VariableDefinition.cs 518 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // Author:
  3. // Jb Evain (jbevain@gmail.com)
  4. //
  5. // Copyright (c) 2008 - 2015 Jb Evain
  6. // Copyright (c) 2008 - 2011 Novell, Inc.
  7. //
  8. // Licensed under the MIT/X11 license.
  9. //
  10. namespace ILRuntime.Mono.Cecil.Cil {
  11. public sealed class VariableDefinition : VariableReference {
  12. public bool IsPinned {
  13. get { return variable_type.IsPinned; }
  14. }
  15. public VariableDefinition (TypeReference variableType)
  16. : base (variableType)
  17. {
  18. }
  19. public override VariableDefinition Resolve ()
  20. {
  21. return this;
  22. }
  23. }
  24. }