示例#1
0
        public void IncrementReferenceCount()
        {
            if (isNativeArray)
            {
                IncrementReferenceCountForNativeArray();
                return;
            }

            if (IsGeneric)
            {
                GenericType?.IncrementReferenceCount();
                IncrementReferenceCountForGenericArguments();
            }

            if (Source == null)
            {
                return;
            }

            Source.IncrementTypeReferenceCount();
        }