Пример #1
0
		public BreakpointBookmark(MemberReference member, AstLocation location, ILRange range, BreakpointAction action, DecompiledLanguages language) : base(member, location)
		{
			this.action = action;
			this.ILRange = range;
			this.Tooltip = string.Format("Language:{0}, Line:{1}, IL range:{2}-{3}", language.ToString(), location.Line, range.From, range.To);
			this.Language = language;			
		}
Пример #2
0
 public static void ToggleBreakpointAt(MemberReference member, int lineNumber, int functionToken, ILRange range, DecompiledLanguages language)
 {
     BookmarkManager.ToggleBookmark(
         member.FullName, lineNumber,
         b => b.CanToggle && b is BreakpointBookmark,
         location => new BreakpointBookmark(member, location, functionToken, range, BreakpointAction.Break, language));
 }
Пример #3
0
		public static void ToggleBreakpointAt(MemberReference member, int lineNumber, int functionToken, ILRange range, DecompiledLanguages language)
		{
			BookmarkManager.ToggleBookmark(
				member.FullName, lineNumber,
				b => b.CanToggle && b is BreakpointBookmark,
				location => new BreakpointBookmark(member, location, functionToken, range, BreakpointAction.Break, language));
		}
Пример #4
0
		public LanguageEventArgs(DecompiledLanguages oldLanguage, DecompiledLanguages newLanguage)
		{
			this.OldLanguage = oldLanguage;
			this.NewLanguage = newLanguage;
		}
Пример #5
0
 public LanguageEventArgs(DecompiledLanguages oldLanguage, DecompiledLanguages newLanguage)
 {
     this.OldLanguage = oldLanguage;
     this.NewLanguage = newLanguage;
 }
Пример #6
0
 public BreakpointBookmark(MemberReference member, AstLocation location, int functionToken, ILRange range, BreakpointAction action, DecompiledLanguages language)
     : base(member, location)
 {
     this.action        = action;
     this.FunctionToken = functionToken;
     this.ILRange       = range;
     this.Tooltip       = string.Format("Language:{0}, Line:{1}, IL range:{2}-{3}", language.ToString(), location.Line, range.From, range.To);
     this.Language      = language;
 }