Mono.TypeExtensions.GetAssembly C# (CSharp) Method

GetAssembly() public static method

public static GetAssembly ( this type ) : Assembly
type this
return System.Reflection.Assembly
        public static Assembly GetAssembly(this Type type)
        {
            #if NET_CORE
            return type.GetTypeInfo ().Assembly;
            #else
            return type.Assembly;
            #endif
        }