public static EntityHandle GetCustomAttrClass()

in src/Refasmer/Utils/MetaUtil.cs [29:39]


    public static EntityHandle GetCustomAttrClass( this MetadataReader reader, CustomAttributeHandle attrHandle ) =>
        reader.GetCustomAttrClass(reader.GetCustomAttribute(attrHandle));

    public static EntityHandle GetCustomAttrClass( this MetadataReader reader, CustomAttribute attr ) =>
        reader.GetMethodClass(attr.Constructor);

    public static IEnumerable<TypeSpecificationHandle> TypeSpecifications( this MetadataReader reader )
    {
        for (var n = 1; n <= reader.GetTableRowCount(TableIndex.TypeSpec); n++)
            yield return MetadataTokens.TypeSpecificationHandle(n);
    }