/// <summary> /// Attempt to locate debugging information for a particular method. /// /// Returns null on failure, for example if there was no PDB information found for the /// DLL, or if the particular method is compiler generated or doesn't come from source code. /// </summary> /// <param name="handle">The handle of the method.</param> /// <returns>The debugging information, or null if the information could not be located.</returns> public PDB.Method? GetMethodDebugInformation(MethodDefinitionHandle handle) { return(Pdb?.GetMethod(handle.ToDebugInformationHandle())); }