You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.69
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
This commit is contained in:
parent
d8f8abd549
commit
e2950ec768
@@ -18,12 +18,10 @@ namespace Windows.Foundation
|
||||
{
|
||||
public partial struct Point : IFormattable
|
||||
{
|
||||
[SecuritySafeCriticalAttribute]
|
||||
string IFormattable.ToString(string format, IFormatProvider provider) { throw null; }
|
||||
}
|
||||
public partial struct Rect : IFormattable
|
||||
{
|
||||
[SecuritySafeCriticalAttribute]
|
||||
string IFormattable.ToString(string format, IFormatProvider provider) { throw null; }
|
||||
}
|
||||
}
|
||||
@@ -31,7 +29,6 @@ namespace Windows.UI
|
||||
{
|
||||
public partial struct Color : IFormattable
|
||||
{
|
||||
[SecuritySafeCriticalAttribute]
|
||||
string IFormattable.ToString(string format, IFormatProvider provider) { throw null; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
namespace System
|
||||
{
|
||||
[global::System.CLSCompliantAttribute(false)]
|
||||
[global::System.Security.SecurityCriticalAttribute]
|
||||
public static partial class WindowsRuntimeSystemExtensions
|
||||
{
|
||||
public static global::Windows.Foundation.IAsyncAction AsAsyncAction(this global::System.Threading.Tasks.Task source) { throw null; }
|
||||
@@ -38,7 +37,6 @@ namespace System
|
||||
}
|
||||
namespace System.IO
|
||||
{
|
||||
[global::System.Security.SecurityCriticalAttribute]
|
||||
public static partial class WindowsRuntimeStorageExtensions
|
||||
{
|
||||
[global::System.CLSCompliantAttribute(false)]
|
||||
@@ -69,7 +67,6 @@ namespace System.IO
|
||||
global::System.IO.FileShare share = global::System.IO.FileShare.Read,
|
||||
global::System.IO.FileOptions options = global::System.IO.FileOptions.None) { throw null; }
|
||||
}
|
||||
[global::System.Security.SecurityCriticalAttribute]
|
||||
public static partial class WindowsRuntimeStreamExtensions
|
||||
{
|
||||
[global::System.CLSCompliantAttribute(false)]
|
||||
@@ -95,7 +92,6 @@ namespace System.IO
|
||||
namespace System.Runtime.InteropServices.WindowsRuntime
|
||||
{
|
||||
[global::System.CLSCompliantAttribute(false)]
|
||||
[global::System.Security.SecurityCriticalAttribute]
|
||||
public static partial class AsyncInfo
|
||||
{
|
||||
public static global::Windows.Foundation.IAsyncAction Run(global::System.Func<global::System.Threading.CancellationToken, global::System.Threading.Tasks.Task> taskProvider) { throw null; }
|
||||
@@ -103,7 +99,6 @@ namespace System.Runtime.InteropServices.WindowsRuntime
|
||||
public static global::Windows.Foundation.IAsyncOperation<TResult> Run<TResult>(global::System.Func<global::System.Threading.CancellationToken, global::System.Threading.Tasks.Task<TResult>> taskProvider) { throw null; }
|
||||
public static global::Windows.Foundation.IAsyncOperationWithProgress<TResult, TProgress> Run<TResult, TProgress>(global::System.Func<global::System.Threading.CancellationToken, global::System.IProgress<TProgress>, global::System.Threading.Tasks.Task<TResult>> taskProvider) { throw null; }
|
||||
}
|
||||
[global::System.Security.SecurityCriticalAttribute]
|
||||
public sealed partial class WindowsRuntimeBuffer
|
||||
{
|
||||
internal WindowsRuntimeBuffer() { }
|
||||
@@ -112,7 +107,6 @@ namespace System.Runtime.InteropServices.WindowsRuntime
|
||||
[global::System.CLSCompliantAttribute(false)]
|
||||
public static global::Windows.Storage.Streams.IBuffer Create(int capacity) { throw null; }
|
||||
}
|
||||
[global::System.Security.SecurityCriticalAttribute]
|
||||
public static partial class WindowsRuntimeBufferExtensions
|
||||
{
|
||||
[global::System.CLSCompliantAttribute(false)]
|
||||
@@ -151,28 +145,23 @@ namespace System.Runtime.InteropServices.WindowsRuntime
|
||||
}
|
||||
namespace Windows.Foundation
|
||||
{
|
||||
[global::System.Security.SecurityCriticalAttribute]
|
||||
[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 { } }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override bool Equals(object o) { throw null; }
|
||||
public bool Equals(global::Windows.Foundation.Point value) { throw null; }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override int GetHashCode() { throw null; }
|
||||
public static bool operator ==(global::Windows.Foundation.Point point1, global::Windows.Foundation.Point point2) { throw null; }
|
||||
public static bool operator !=(global::Windows.Foundation.Point point1, global::Windows.Foundation.Point point2) { throw null; }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override string ToString() { throw null; }
|
||||
public string ToString(global::System.IFormatProvider provider) { throw null; }
|
||||
}
|
||||
[global::System.Security.SecurityCriticalAttribute]
|
||||
[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,59 +176,48 @@ namespace Windows.Foundation
|
||||
public double X { get { throw null; } set { } }
|
||||
public double Y { get { throw null; } set { } }
|
||||
public bool Contains(global::Windows.Foundation.Point point) { throw null; }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override bool Equals(object o) { throw null; }
|
||||
public bool Equals(global::Windows.Foundation.Rect value) { throw null; }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override int GetHashCode() { throw null; }
|
||||
public void Intersect(global::Windows.Foundation.Rect rect) { }
|
||||
public static bool operator ==(global::Windows.Foundation.Rect rect1, global::Windows.Foundation.Rect rect2) { throw null; }
|
||||
public static bool operator !=(global::Windows.Foundation.Rect rect1, global::Windows.Foundation.Rect rect2) { throw null; }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override string ToString() { throw null; }
|
||||
public string ToString(global::System.IFormatProvider provider) { throw null; }
|
||||
public void Union(global::Windows.Foundation.Point point) { }
|
||||
public void Union(global::Windows.Foundation.Rect rect) { }
|
||||
}
|
||||
[global::System.Security.SecurityCriticalAttribute]
|
||||
[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 { } }
|
||||
public bool IsEmpty { get { throw null; } }
|
||||
public double Width { get { throw null; } set { } }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override bool Equals(object o) { throw null; }
|
||||
public bool Equals(global::Windows.Foundation.Size value) { throw null; }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override int GetHashCode() { throw null; }
|
||||
public static bool operator ==(global::Windows.Foundation.Size size1, global::Windows.Foundation.Size size2) { throw null; }
|
||||
public static bool operator !=(global::Windows.Foundation.Size size1, global::Windows.Foundation.Size size2) { throw null; }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override string ToString() { throw null; }
|
||||
}
|
||||
}
|
||||
namespace Windows.UI
|
||||
{
|
||||
[global::System.Security.SecurityCriticalAttribute]
|
||||
[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 { } }
|
||||
public byte R { get { throw null; } set { } }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override bool Equals(object o) { throw null; }
|
||||
public bool Equals(global::Windows.UI.Color color) { throw null; }
|
||||
public static global::Windows.UI.Color FromArgb(byte a, byte r, byte g, byte b) { throw null; }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override int GetHashCode() { throw null; }
|
||||
public static bool operator ==(global::Windows.UI.Color color1, global::Windows.UI.Color color2) { throw null; }
|
||||
public static bool operator !=(global::Windows.UI.Color color1, global::Windows.UI.Color color2) { throw null; }
|
||||
[global::System.Security.SecuritySafeCriticalAttribute]
|
||||
public override string ToString() { throw null; }
|
||||
public string ToString(global::System.IFormatProvider provider) { throw null; }
|
||||
}
|
||||
|
||||
@@ -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'" />
|
||||
|
||||
@@ -1,5 +1,64 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
@@ -274,4 +333,7 @@
|
||||
<data name="IO_FileExists_Name" xml:space="preserve">
|
||||
<value>The file '{0}' already exists.</value>
|
||||
</data>
|
||||
</root>
|
||||
<data name="IO_PathTooLong_Path" xml:space="preserve">
|
||||
<value>The path '{0}' is too long, or a component of the specified path is too long.</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -76,6 +76,7 @@
|
||||
<Compile Include="System\IO\StreamOperationAsyncResult.CoreRT.cs" />
|
||||
<Compile Include="System\Threading\Tasks\AsyncInfoToTaskBridge.CoreRT.cs" />
|
||||
<Compile Include="System\WindowsRuntimeSystemExtensions.CoreRT.cs" />
|
||||
<Compile Include="System\InternalHelpers.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\kernel32\Interop.ResolveLocaleName.cs">
|
||||
@@ -96,7 +97,6 @@
|
||||
<Compile Include="$(CommonPath)\System\IO\Win32Marshal.cs">
|
||||
<Link>Common\System\IO\Win32Marshal.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="System\InternalHelpers.cs" />
|
||||
<Compile Include="System\IO\HANDLE_ACCESS_OPTIONS.cs" />
|
||||
<Compile Include="System\IO\HANDLE_CREATION_OPTIONS.cs" />
|
||||
<Compile Include="System\IO\HANDLE_OPTIONS.cs" />
|
||||
@@ -130,4 +130,4 @@
|
||||
<Compile Include="System\Windows\UI\Color.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
// 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.CompilerServices;
|
||||
using System.Security;
|
||||
using System.Threading.Tasks;
|
||||
using Windows.Storage;
|
||||
|
||||
namespace System.IO.IsolatedStorage
|
||||
{
|
||||
[FriendAccessAllowed]
|
||||
internal class IsolatedStorageFileIOHelper : IsolatedStorageFileIOHelperBase
|
||||
{
|
||||
internal override void UnsafeMoveFile(string sourceFileFullPath, string destinationFileFullPath)
|
||||
{
|
||||
if (Directory.Exists(destinationFileFullPath))
|
||||
{
|
||||
string destinationFileName = Path.GetFileName(sourceFileFullPath);
|
||||
Task.Run(() => { UnsafeMoveFileAsync(sourceFileFullPath, destinationFileFullPath, destinationFileName).Wait(); }).Wait();
|
||||
}
|
||||
else
|
||||
{
|
||||
string destinationFileName = Path.GetFileName(destinationFileFullPath);
|
||||
string destinationDirectoryFullPath = Path.GetDirectoryName(destinationFileFullPath);
|
||||
Task.Run(() => { UnsafeMoveFileAsync(sourceFileFullPath, destinationDirectoryFullPath, destinationFileName).Wait(); }).Wait();
|
||||
}
|
||||
}
|
||||
|
||||
private static async Task UnsafeMoveFileAsync(string sourceFileFullPath, string destinationFolderFullPath, string destinationFileName)
|
||||
{
|
||||
StorageFile sourceStorageFile = await StorageFile.GetFileFromPathAsync(sourceFileFullPath).ConfigureAwait(false);
|
||||
StorageFolder destinationStorageFolder = await StorageFolder.GetFolderFromPathAsync(destinationFolderFullPath).ConfigureAwait(false);
|
||||
await sourceStorageFile.MoveAsync(destinationStorageFolder, destinationFileName, NameCollisionOption.FailIfExists).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,6 @@ using System.Diagnostics.Contracts;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices.WindowsRuntime;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.WindowsRuntime.Internal;
|
||||
using System.Threading.Tasks;
|
||||
using System.Threading;
|
||||
using Windows.Foundation;
|
||||
|
||||
@@ -6,7 +6,6 @@ using System.Diagnostics;
|
||||
using System.Diagnostics.Contracts;
|
||||
using System.Runtime.InteropServices.WindowsRuntime;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.WindowsRuntime.Internal;
|
||||
using System.Threading.Tasks;
|
||||
using System.Threading;
|
||||
using Windows.Foundation;
|
||||
|
||||
@@ -5,30 +5,10 @@
|
||||
using System.Threading.Tasks;
|
||||
using System.Threading;
|
||||
|
||||
namespace System.Runtime.WindowsRuntime.Internal
|
||||
namespace System
|
||||
{
|
||||
internal static class __Error
|
||||
internal static class InternalHelpers
|
||||
{
|
||||
internal static void StreamIsClosed()
|
||||
{
|
||||
throw new ObjectDisposedException(null, SR.ObjectDisposed_StreamClosed);
|
||||
}
|
||||
|
||||
internal static void SeekNotSupported()
|
||||
{
|
||||
throw new NotSupportedException(SR.NotSupported_UnseekableStream);
|
||||
}
|
||||
|
||||
internal static void ReadNotSupported()
|
||||
{
|
||||
throw new NotSupportedException(SR.NotSupported_UnreadableStream);
|
||||
}
|
||||
|
||||
internal static void WriteNotSupported()
|
||||
{
|
||||
throw new NotSupportedException(SR.NotSupported_UnwritableStream);
|
||||
}
|
||||
|
||||
internal static void SetErrorCode(this Exception ex, int code)
|
||||
{
|
||||
// Stub, until COM interop guys fix the exception logic
|
||||
@@ -39,13 +19,4 @@ namespace System.Runtime.WindowsRuntime.Internal
|
||||
//nothing to do for projectN
|
||||
}
|
||||
}
|
||||
|
||||
internal class Helpers
|
||||
{
|
||||
internal static unsafe void ZeroMemory(byte* src, long len)
|
||||
{
|
||||
while (len-- > 0)
|
||||
*(src + len) = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@ using Windows.Storage;
|
||||
namespace System.Resources
|
||||
{
|
||||
#if FEATURE_APPX
|
||||
[FriendAccessAllowed]
|
||||
// Please see the comments regarding thread safety preceding the implementations
|
||||
// of Initialize() and GetString() below.
|
||||
internal sealed class WindowsRuntimeResourceManager : WindowsRuntimeResourceManagerBase
|
||||
|
||||
@@ -11,6 +11,8 @@ using System.Runtime.CompilerServices;
|
||||
using System.Security;
|
||||
using System.Windows.Input;
|
||||
|
||||
using Internal.Runtime.CompilerServices;
|
||||
|
||||
namespace System.Runtime.InteropServices.WindowsRuntime
|
||||
{
|
||||
// Local definition of Windows.UI.Xaml.Interop.INotifyCollectionChangedEventArgs
|
||||
|
||||
@@ -6,7 +6,6 @@ using System.Diagnostics;
|
||||
using System.Diagnostics.Contracts;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.WindowsRuntime.Internal;
|
||||
using System.Security;
|
||||
using System.Threading;
|
||||
using Windows.Foundation;
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
using System.Diagnostics.Contracts;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Runtime.WindowsRuntime.Internal;
|
||||
using Windows.Foundation;
|
||||
using Windows.Storage.Streams;
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ using System.Diagnostics.Contracts;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices.WindowsRuntime;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.WindowsRuntime.Internal;
|
||||
using System.Threading;
|
||||
using Windows.Foundation;
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ using System.Runtime.ExceptionServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using Windows.Foundation;
|
||||
using System.Runtime.WindowsRuntime.Internal;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
|
||||
@@ -48,7 +48,6 @@ namespace System.Threading
|
||||
|
||||
#region class WinRTSynchronizationContextFactory
|
||||
|
||||
[FriendAccessAllowed]
|
||||
internal sealed class WinRTSynchronizationContextFactory : WinRTSynchronizationContextFactoryBase
|
||||
{
|
||||
//
|
||||
@@ -115,7 +114,6 @@ namespace System.Threading
|
||||
_dispatcher = dispatcher;
|
||||
}
|
||||
|
||||
[SecuritySafeCritical]
|
||||
public override void Post(SendOrPostCallback d, object state)
|
||||
{
|
||||
if (d == null)
|
||||
@@ -139,7 +137,6 @@ namespace System.Threading
|
||||
_dispatcherQueue = dispatcherQueue;
|
||||
}
|
||||
|
||||
[SecuritySafeCritical]
|
||||
public override void Post(SendOrPostCallback d, object state)
|
||||
{
|
||||
if (d == null)
|
||||
@@ -281,7 +278,6 @@ namespace System.Threading
|
||||
|
||||
#endregion class WinRTSynchronizationContext.Invoker
|
||||
|
||||
[SecuritySafeCritical]
|
||||
public override void Send(SendOrPostCallback d, object state)
|
||||
{
|
||||
throw new NotSupportedException(SR.InvalidOperation_SendNotSupportedOnWindowsRTSynchronizationContext);
|
||||
|
||||
@@ -6,7 +6,6 @@ using System.ComponentModel;
|
||||
using System.Diagnostics.Contracts;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.WindowsRuntime.Internal;
|
||||
using System.Threading.Tasks;
|
||||
using System.Threading;
|
||||
using Windows.Foundation;
|
||||
|
||||
Reference in New Issue
Block a user