コード例 #1
0
        public static CustomAttributeData TryFindCustomAttribute(this CustomAttributeHandleCollection handles, ReadOnlySpan <byte> ns, ReadOnlySpan <byte> name, EcmaModule module)
        {
            CustomAttributeHandle handle = handles.FindCustomAttributeByName(ns, name, module);

            if (handle.IsNil)
            {
                return(null);
            }
            return(handle.ToCustomAttributeData(module));
        }