Skip to content

Commit

Permalink
Persist InterfaceTypeAttribute in ref assemblies (dotnet/corefx#38182)
Browse files Browse the repository at this point in the history
Commit migrated from dotnet/corefx@37b09ac
  • Loading branch information
ericstj authored and msftbot[bot] committed Jun 4, 2019
1 parent ab1d04e commit 9ec8d59
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion eng/DefaultGenApiDocIds.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ T:System.Runtime.InteropServices.ClassInterfaceAttribute
T:System.Runtime.InteropServices.ComDefaultInterfaceAttribute
T:System.Runtime.InteropServices.ComVisibleAttribute
T:System.Runtime.InteropServices.GuidAttribute
T:System.Runtime.InteropServices.InterfaceTypeAttribute
T:System.Runtime.InteropServices.LCIDConversionAttribute
T:System.Runtime.InteropServices.StructLayoutAttribute
T:System.Security.Permissions.EnvironmentPermissionAttribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public static partial class CounterSampleCalculator
public static float ComputeCounterValue(System.Diagnostics.CounterSample newSample) { throw null; }
public static float ComputeCounterValue(System.Diagnostics.CounterSample oldSample, System.Diagnostics.CounterSample newSample) { throw null; }
}
[System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public partial interface ICollectData
{
void CloseData();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,7 @@ public partial interface IConnectionPointContainer
void EnumConnectionPoints(out System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints ppEnum);
void FindConnectionPoint(ref System.Guid riid, out System.Runtime.InteropServices.ComTypes.IConnectionPoint ppCP);
}
[System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IDataObject
{
int DAdvise(ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetc, System.Runtime.InteropServices.ComTypes.ADVF advf, System.Runtime.InteropServices.ComTypes.IAdviseSink adviseSink, out int connection);
Expand Down Expand Up @@ -1323,6 +1324,7 @@ public partial interface IEnumMoniker
void Reset();
int Skip(int celt);
}
[System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IEnumSTATDATA
{
void Clone(out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA newEnum);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public enum EnterpriseServicesInteropOption
Full = 2,
}
public delegate System.Transactions.Transaction HostCurrentTransactionCallback();
[System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IDtcTransaction
{
void Abort(System.IntPtr reason, int retaining, int async);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.Runtime.InteropServices\ref\System.Runtime.InteropServices.csproj" />
<ProjectReference Include="..\..\System.Runtime.Serialization.Primitives\ref\System.Runtime.Serialization.Primitives.csproj" />
<ProjectReference Include="..\..\System.Runtime.Serialization.Formatters\ref\System.Runtime.Serialization.Formatters.csproj" />
</ItemGroup>
Expand Down

0 comments on commit 9ec8d59

Please sign in to comment.