System.CodeDom.Compiler.CodeGenerator.OutputAttributeArgument C# (CSharp) Method

OutputAttributeArgument() protected method

protected OutputAttributeArgument ( CodeAttributeArgument arg ) : void
arg CodeAttributeArgument
return void
        protected virtual void OutputAttributeArgument(CodeAttributeArgument arg)
        {
            if (!string.IsNullOrEmpty(arg.Name))
            {
                OutputIdentifier(arg.Name);
                Output.Write('=');
            }
            ((ICodeGenerator)this).GenerateCodeFromExpression(arg.Value, _output.InnerWriter, _options);
        }
CodeGenerator