diff --git a/src/WinRT.Runtime/Projections/Nullable.cs b/src/WinRT.Runtime/Projections/Nullable.cs index ec584285b..3190aa3a3 100644 --- a/src/WinRT.Runtime/Projections/Nullable.cs +++ b/src/WinRT.Runtime/Projections/Nullable.cs @@ -1941,8 +1941,8 @@ public sealed class StructTypeDetails : IWinRTExposedTypeDetails where public ComWrappers.ComInterfaceEntry[] GetExposedInterfaces() { - return - [ + return new ComWrappers.ComInterfaceEntry[] + { new ComWrappers.ComInterfaceEntry { IID = ABI.Windows.Foundation.ManagedIPropertyValueImpl.IID, @@ -1953,7 +1953,7 @@ public ComWrappers.ComInterfaceEntry[] GetExposedInterfaces() IID = PIID, Vtable = ABI.Windows.Foundation.BoxedValueIReferenceImpl.AbiToProjectionVftablePtr } - ]; + }; } } @@ -1968,8 +1968,8 @@ public ComWrappers.ComInterfaceEntry[] GetExposedInterfaces() public static ComWrappers.ComInterfaceEntry[] GetExposedInterfaces(ComWrappers.ComInterfaceEntry delegateInterface) { - return - [ + return new ComWrappers.ComInterfaceEntry[] + { delegateInterface, new ComWrappers.ComInterfaceEntry { @@ -1981,7 +1981,7 @@ public static ComWrappers.ComInterfaceEntry[] GetExposedInterfaces(ComWrappers.C IID = PIID, Vtable = ABI.System.Nullable_Delegate.AbiToProjectionVftablePtr } - ]; + }; } public abstract ComWrappers.ComInterfaceEntry GetDelegateInterface();