Ejemplo n.º 1
0
 private void SetGenParamCustomAttributeNoLock(CustAttr ca)
 {
     if (m_ca == null)
         m_ca = new List<TypeBuilder.CustAttr>();
 
     m_ca.Add(ca);
 }
Ejemplo n.º 2
0
        internal void SetGenParamCustomAttribute(ConstructorInfo con, byte[] binaryAttribute)
        {
            CustAttr ca = new CustAttr(con, binaryAttribute);

            lock(SyncRoot)
            {
                SetGenParamCustomAttributeNoLock(ca);
            }
        }
Ejemplo n.º 3
0
        internal void SetGenParamCustomAttribute(CustomAttributeBuilder customBuilder)
        {
            CustAttr ca = new CustAttr(customBuilder);

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