/// <summary> /// Initializes a new instance of the <see cref="ILReader"/> class. /// </summary> /// <param name="method"> /// The method. /// </param> public ILReader(MethodInfo method) { if (method == null) { throw new ArgumentNullException("method"); } this.intermediateLanguageProvider = ILReader.CreateILReaderProvider(method); }