mirror of https://github.com/icsharpcode/ILSpy.git
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							28 lines
						
					
					
						
							646 B
						
					
					
				
			
		
		
	
	
							28 lines
						
					
					
						
							646 B
						
					
					
				using System; | 
						|
using System.Collections.Generic; | 
						|
using System.Reflection.Metadata; | 
						|
using System.Text; | 
						|
 | 
						|
namespace ICSharpCode.Decompiler.DebugInfo | 
						|
{ | 
						|
	public struct Variable | 
						|
	{ | 
						|
		public Variable(int index, string name) | 
						|
		{ | 
						|
			Index = index; | 
						|
			Name = name; | 
						|
		} | 
						|
 | 
						|
		public int Index { get; } | 
						|
		public string Name { get; } | 
						|
	} | 
						|
 | 
						|
	public interface IDebugInfoProvider | 
						|
	{ | 
						|
		string Description { get; } | 
						|
		IList<SequencePoint> GetSequencePoints(MethodDefinitionHandle method); | 
						|
		IList<Variable> GetVariables(MethodDefinitionHandle method); | 
						|
		bool TryGetName(MethodDefinitionHandle method, int index, out string name); | 
						|
		string SourceFileName { get; } | 
						|
	} | 
						|
}
 | 
						|
 |