private static bool CheckRefAsmAttrCtorSignature()

in src/Refasmer/Importer/ReferenceAssemblyAttr.cs [13:29]


    private static bool CheckRefAsmAttrCtorSignature( BlobReader blobReader )
    {
        var header = blobReader.ReadSignatureHeader();

        if (header.Kind != SignatureKind.Method)
            return false;
        if (!header.IsInstance)
            return false;
        if (header.IsGeneric)
            return false;

        var parameterCount = blobReader.ReadCompressedInteger();
        if (parameterCount != 0)
            return false;

        return true;
    }