SourceLocationProvider.cs 773 B

123456789101112131415161718192021222324252627282930313233
  1. //-----------------------------------------------------------------------------
  2. //
  3. // Copyright (C) Microsoft Corporation. All Rights Reserved.
  4. //
  5. //-----------------------------------------------------------------------------
  6. using System;
  7. using System.Collections.Generic;
  8. using System.IO;
  9. using Microsoft.Cci;
  10. using Microsoft.Cci.Pdb;
  11. using System.Text;
  12. using System.Diagnostics.SymbolStore;
  13. namespace Microsoft.Cci {
  14. internal sealed class PdbIteratorScope : ILocalScope {
  15. internal PdbIteratorScope(uint offset, uint length) {
  16. this.offset = offset;
  17. this.length = length;
  18. }
  19. public uint Offset {
  20. get { return this.offset; }
  21. }
  22. uint offset;
  23. public uint Length {
  24. get { return this.length; }
  25. }
  26. uint length;
  27. }
  28. }