AsmResolver.Net.DefaultNetAssemblyResolver.ReadAssembly C# (CSharp) Method

ReadAssembly() protected method

Reads a windows assembly image from the specified file path.
protected ReadAssembly ( string filePath ) : WindowsAssembly
filePath string The file path to the assembly to read.
return WindowsAssembly
        protected virtual WindowsAssembly ReadAssembly(string filePath)
        {
            return WindowsAssembly.FromBytes(File.ReadAllBytes(filePath), new ReadingParameters());
        }