Пример #1
0
        /// <summary>
        /// Encodes Custom Attribute Signature blob.
        /// Returns a pair of encoders that must be used in the order they appear in the parameter list.
        /// </summary>
        /// <param name="fixedArguments">Use first, to encode fixed arguments.</param>
        /// <param name="namedArguments">Use second, to encode named arguments.</param>
        public void CustomAttributeSignature(out FixedArgumentsEncoder fixedArguments, out CustomAttributeNamedArgumentsEncoder namedArguments)
        {
            Builder.WriteUInt16(0x0001);

            fixedArguments = new FixedArgumentsEncoder(Builder);
            namedArguments = new CustomAttributeNamedArgumentsEncoder(Builder);
        }
Пример #2
0
        public void CustomAttributeSignature(out FixedArgumentsEncoder fixedArguments, out CustomAttributeNamedArgumentsEncoder namedArguments)
        {
            Builder.WriteUInt16(0x0001);

            fixedArguments = new FixedArgumentsEncoder(Builder);
            namedArguments = new CustomAttributeNamedArgumentsEncoder(Builder);
        }