Пример #1
0
 private void SetGenParamCustomAttributeNoLock(CustAttr ca)
 {
     if (m_ca == null)
         m_ca = new List<TypeBuilder.CustAttr>();
 
     m_ca.Add(ca);
 }
Пример #2
0
        internal void SetGenParamCustomAttribute(ConstructorInfo con, byte[] binaryAttribute)
        {
            CustAttr ca = new CustAttr(con, binaryAttribute);

            lock(SyncRoot)
            {
                SetGenParamCustomAttributeNoLock(ca);
            }
        }
Пример #3
0
        internal void SetGenParamCustomAttribute(CustomAttributeBuilder customBuilder)
        {
            CustAttr ca = new CustAttr(customBuilder);

            lock(SyncRoot)
            {
                SetGenParamCustomAttributeNoLock(ca);
            }
        }