[MonoDevelop] CSharpCodeGenerator.AddGlobalNamespaceImport vs local
adam.rpconnelly at gmail.com
Thu Jun 21 07:34:56 UTC 2012
Can anyone tell me what the difference is between AddGlobalNamespaceImport and AddLocalNamespaceImport? So far I've only seen a situation where AddGlobalNamespaceImport is called.
If I alter the code to call AddLocalNamespaceImport instead (just to see what it produces), it seems to place the using statement in the same place, but it indents it to the level as though it was inside the namespace.
If possible, could someone send me a quick example of what each should produce?
The reason I'm asking about this is that I'm wanting to add to the C# policy so that you can get it to conform to StyleCop rules since that's what I normally use.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monodevelop-list