File: DiaSymReader\Writer\ISymUnmanagedCompilerInfoWriter.cs
Web Access
Project: src\src\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj (Microsoft.CodeAnalysis)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
using System;
using System.Runtime.InteropServices;
 
namespace Microsoft.DiaSymReader
{
    [ComImport]
    [Guid("2ae6a06a-92ba-4c2d-a64e-7e9fa421a330")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [ComVisible(false)]
    internal interface ISymUnmanagedCompilerInfoWriter
    {
        /// <summary>
        /// Adds compiler version number and name.
        /// </summary>
        [PreserveSig]
        int AddCompilerInfo(ushort major, ushort minor, ushort build, ushort revision, [MarshalAs(UnmanagedType.LPWStr)] string name);
    }
}