Esempio n. 1
0
		/// <summary>
		/// Adds a <see cref="CodeBracesRange"/>
		/// </summary>
		/// <param name="output">Output</param>
		/// <param name="range">Range</param>
		public static void AddCodeBracesRange(this IDecompilerOutput output, CodeBracesRange range) =>
			output.AddCustomData(PredefinedCustomDataIds.CodeBracesRange, range);
Esempio n. 2
0
 /// <summary>
 /// Adds a <see cref="CodeBracesRange"/>
 /// </summary>
 /// <param name="output">Output</param>
 /// <param name="range">Range</param>
 public static void AddCodeBracesRange(this IDecompilerOutput output, CodeBracesRange range) =>
 output.AddCustomData(PredefinedCustomDataIds.CodeBracesRange, range);
		public LazyBlockStructureCollection(CodeBracesRange[] ranges) {
			if (ranges == null)
				throw new ArgumentNullException(nameof(ranges));
			this.ranges = ranges;
		}