Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / ITypeLibExporterNotifySink.cs
index 0c7745e194b42cdf94efd5df0c3e890887563da0..b8ee0fedf174edc299bf20b9a5b75cf65680c698 100644 (file)
@@ -1,11 +1,11 @@
-//\r
-// System.Runtime.InteropServices.ITypeLibExporterNotifySink.cs\r
-//\r
-// Author:\r
-//   Kevin Winchester (kwin@ns.sympatico.ca)\r
-//\r
-// (C) 2002 Kevin Winchester\r
-//\r
+//
+// System.Runtime.InteropServices.ITypeLibExporterNotifySink.cs
+//
+// Author:
+//   Kevin Winchester (kwin@ns.sympatico.ca)
+//
+// (C) 2002 Kevin Winchester
+//
 
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-\r
-using System.Reflection;\r
-\r
-namespace System.Runtime.InteropServices {\r
-\r
-       [Guid("f1c3bf77-c3e4-11d3-88e7-00902754c43a")]\r
-       [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]\r
-       public interface ITypeLibExporterNotifySink {\r
-               void ReportEvent (ExporterEventKind eventKind, int eventCode, string eventMsg);\r
-               [return: MarshalAs(UnmanagedType.Interface)]\r
-               object ResolveRef (Assembly assembly);\r
-       }\r
-}\r
+
+#if !FULL_AOT_RUNTIME
+using System.Reflection;
+
+namespace System.Runtime.InteropServices {
+       [ComVisible (true)]
+       [Guid("f1c3bf77-c3e4-11d3-88e7-00902754c43a")]
+       [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+       public interface ITypeLibExporterNotifySink {
+               void ReportEvent (ExporterEventKind eventKind, int eventCode, string eventMsg);
+               [return: MarshalAs(UnmanagedType.Interface)]
+               object ResolveRef (Assembly assembly);
+       }
+}
+#endif