diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-01-12 04:23:42 +0300 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-01-12 19:53:41 +0300 |
commit | 2e97d43060dfb589907a15dbfef0cc7db6e90546 (patch) | |
tree | 2e5864bb81fe9d2f9d03df40056247e7828367b1 /src/System.Runtime.WindowsRuntime | |
parent | c84ed430941fcf4e475b1149558498c55b4e295e (diff) |
Update references assemblies to include private fields for structs
Contributes to https://github.com/dotnet/corefx/issues/6185.
Diffstat (limited to 'src/System.Runtime.WindowsRuntime')
-rw-r--r-- | src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.cs | 8 | ||||
-rw-r--r-- | src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.cs b/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.cs index d6d52b66c1..408ac71df9 100644 --- a/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.cs +++ b/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.cs @@ -145,9 +145,9 @@ namespace System.Runtime.InteropServices.WindowsRuntime } namespace Windows.Foundation { - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Point { + private int _dummy; public Point(double x, double y) { throw null; } public double X { get { throw null; } set { } } public double Y { get { throw null; } set { } } @@ -159,9 +159,9 @@ namespace Windows.Foundation public override string ToString() { throw null; } public string ToString(global::System.IFormatProvider provider) { throw null; } } - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Rect { + private int _dummy; public Rect(double x, double y, double width, double height) { throw null; } public Rect(global::Windows.Foundation.Point point1, global::Windows.Foundation.Point point2) { throw null; } public Rect(global::Windows.Foundation.Point location, global::Windows.Foundation.Size size) { throw null; } @@ -187,9 +187,9 @@ namespace Windows.Foundation public void Union(global::Windows.Foundation.Point point) { } public void Union(global::Windows.Foundation.Rect rect) { } } - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Size { + private int _dummy; public Size(double width, double height) { throw null; } public static global::Windows.Foundation.Size Empty { get { throw null; } } public double Height { get { throw null; } set { } } @@ -205,9 +205,9 @@ namespace Windows.Foundation } namespace Windows.UI { - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Color { + private int _dummy; public byte A { get { throw null; } set { } } public byte B { get { throw null; } set { } } public byte G { get { throw null; } set { } } diff --git a/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj b/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj index 02e0a93c09..fd48a9a229 100644 --- a/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj +++ b/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj @@ -11,7 +11,7 @@ Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' does not match the output assembly name 'System.Runtime.WindowsRuntime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. --> - <NoWarn>1698</NoWarn> + <NoWarn>$(NoWarn);1698</NoWarn> <ProjectGuid>{FDDA3E4A-B182-4CD1-B624-EBD72D8A05DA}</ProjectGuid> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Debug|AnyCPU'" /> |