String.Split(char[],int,StringSplitOptions) should remove empty entries while
[mono.git] / mcs / class / corlib / System / MTAThreadAttribute.cs
index 7f73d8aef1d90a14d1ff3db03034052f5b18ef59..c4ade71f874e3b14a6fcd27f26b6aaa1b02fbaab 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
+using System.Runtime.InteropServices;
 
 namespace System
 {
        [AttributeUsage (AttributeTargets.Method)]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public sealed class MTAThreadAttribute : Attribute
        {
                // Constructors