private void SetGenParamCustomAttributeNoLock(CustAttr ca) { if (m_ca == null) m_ca = new List<TypeBuilder.CustAttr>(); m_ca.Add(ca); }
internal void SetGenParamCustomAttribute(ConstructorInfo con, byte[] binaryAttribute) { CustAttr ca = new CustAttr(con, binaryAttribute); lock(SyncRoot) { SetGenParamCustomAttributeNoLock(ca); } }
internal void SetGenParamCustomAttribute(CustomAttributeBuilder customBuilder) { CustAttr ca = new CustAttr(customBuilder); lock(SyncRoot) { SetGenParamCustomAttributeNoLock(ca); } }