Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Review feedback.
  • Loading branch information
AaronRobinsonMSFT committed Jul 30, 2021
commit e4515585bb15cf9c866156c6d0b0284927ca0e3a
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@

namespace System.Runtime.InteropServices
{
[UnsupportedOSPlatform("android")]
[UnsupportedOSPlatform("browser")]
[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("maccatalyst")]
[UnsupportedOSPlatform("tvos")]
public abstract partial class ComWrappers
{
public partial struct ComInterfaceDispatch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ public enum CreateObjectFlags
/// <summary>
/// Class for managing wrappers of COM IUnknown types.
/// </summary>
[UnsupportedOSPlatform("android")]
[UnsupportedOSPlatform("browser")]
[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("maccatalyst")]
[UnsupportedOSPlatform("tvos")]
[CLSCompliant(false)]
public abstract partial class ComWrappers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,11 @@ public enum CreateObjectFlags
Aggregation = 4,
Unwrap = 8,
}
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("maccatalyst")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.CLSCompliantAttribute(false)]
public abstract class ComWrappers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace System.Runtime.InteropServices.Tests
public class AddRefTests
{
[Fact]
[SkipOnMono("ComWrappers are not supported on Mono")]
public void AddRef_ValidPointer_Success()
{
var cw = new ComWrappersImpl();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public static IEnumerable<object[]> QueryInterface_ValidInterface_TestData()

[Theory]
[MemberData(nameof(QueryInterface_ValidInterface_TestData))]
[SkipOnMono("ComWrappers are not supported on Mono")]
public void QueryInterface_ValidInterface_Success(object o, string iidString)
{
var cw = new ComWrappersImpl();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace System.Runtime.InteropServices.Tests
public class ReleaseTests
{
[Fact]
[SkipOnMono("ComWrappers are not supported on Mono")]
public void Release_ValidPointer_Success()
{
var cw = new ComWrappersImpl();
Expand Down