Mono.CSharp.CSharpCodeGenerator.OutputAttributeDeclaration C# (CSharp) Method

OutputAttributeDeclaration() private method

private OutputAttributeDeclaration ( CodeAttributeDeclaration attribute ) : void
attribute CodeAttributeDeclaration
return void
		private void OutputAttributeDeclaration (CodeAttributeDeclaration attribute)
		{
			Output.Write (attribute.Name.Replace ('+', '.'));
			Output.Write ('(');
			IEnumerator enumerator = attribute.Arguments.GetEnumerator ();
			if (enumerator.MoveNext ()) {
				CodeAttributeArgument argument = (CodeAttributeArgument) enumerator.Current;
				OutputAttributeArgument (argument);

				while (enumerator.MoveNext ()) {
					Output.Write (", ");
					argument = (CodeAttributeArgument) enumerator.Current;
					OutputAttributeArgument (argument);
				}
			}
			Output.Write (')');
		}
CSharpCodeGenerator