Imported Upstream version 5.2.0.175

Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-07 13:16:24 +00:00
parent 4bdbaf4a88
commit 966bba02bb
8776 changed files with 346420 additions and 149650 deletions

View File

@@ -1,4 +1,3 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
@@ -8,75 +7,44 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.IsolatedStorage.T
{FAF5D1E4-BA43-4663-8429-C069066D75CB} = {FAF5D1E4-BA43-4663-8429-C069066D75CB}
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "pkg", "pkg", "{BBCAE80E-0A19-4A6B-BC93-57BFECEFD529}"
ProjectSection(SolutionItems) = preProject
pkg\System.IO.IsolatedStorage.builds = pkg\System.IO.IsolatedStorage.builds
pkg\System.IO.IsolatedStorage.pkgproj = pkg\System.IO.IsolatedStorage.pkgproj
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{0610303E-B70C-468D-B4AA-4E91573254E7}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{4779DC08-FCB3-4678-9470-2E6076F924D1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.IsolatedStorage", "src\System.IO.IsolatedStorage.csproj", "{FAF5D1E4-BA43-4663-8429-C069066D75CB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.IsolatedStorage", "ref\System.IO.IsolatedStorage.csproj", "{27225772-FE8B-49D7-8E58-29242D536130}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{8751BC6B-FD4E-40E0-A5F8-63F92D987719}"
ProjectSection(SolutionItems) = preProject
tests\System.IO.IsolatedStorage.Tests.builds = tests\System.IO.IsolatedStorage.Tests.builds
ProjectSection(ProjectDependencies) = postProject
{750200D5-661A-42AA-9E1F-2A151F5AEE74} = {750200D5-661A-42AA-9E1F-2A151F5AEE74}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.IsolatedStorage", "ref\System.IO.IsolatedStorage.csproj", "{750200D5-661A-42AA-9E1F-2A151F5AEE74}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{1A2F9F4A-A032-433E-B914-ADD5992BB178}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E107E9C1-E893-4E87-987E-04EF0DCEAEFD}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{2E666815-2EDB-464B-9DF6-380BF4789AD4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
DebugNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU = DebugNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU
ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU = ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU
DebugNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU = DebugNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU
ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU = ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU
DebugNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU = DebugNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU
ReleaseNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU = ReleaseNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU
DebugNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU = DebugNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU
ReleaseNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU = ReleaseNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.DebugNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.DebugNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.DebugNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.DebugNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.DebugNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.DebugNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.ReleaseNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.ReleaseNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.DebugNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.DebugNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.ReleaseNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.ReleaseNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.DebugNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = net461-Windows_NT-Debug|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.DebugNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = net461-Windows_NT-Debug|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = net461-Windows_NT-Release|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = net461-Windows_NT-Release|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.DebugNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = net461-Windows_NT-Debug|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.DebugNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = net461-Windows_NT-Debug|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = net461-Windows_NT-Release|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.ReleaseNETCoreAppnet461-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = net461-Windows_NT-Release|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.DebugNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Debug|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.DebugNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Debug|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.ReleaseNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Release|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.ReleaseNETCoreAppnetcoreappnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Release|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.DebugNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Debug|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.DebugNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Debug|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.ReleaseNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Release|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.ReleaseNETCoreAppnetcoreappnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Release|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.Debug|Any CPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.Debug|Any CPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.Release|Any CPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91}.Release|Any CPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.Debug|Any CPU.ActiveCfg = netcoreapp-Debug|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.Debug|Any CPU.Build.0 = netcoreapp-Debug|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.Release|Any CPU.ActiveCfg = netcoreapp-Release|Any CPU
{FAF5D1E4-BA43-4663-8429-C069066D75CB}.Release|Any CPU.Build.0 = netcoreapp-Release|Any CPU
{750200D5-661A-42AA-9E1F-2A151F5AEE74}.Debug|Any CPU.ActiveCfg = netcoreapp-Debug|Any CPU
{750200D5-661A-42AA-9E1F-2A151F5AEE74}.Debug|Any CPU.Build.0 = netcoreapp-Debug|Any CPU
{750200D5-661A-42AA-9E1F-2A151F5AEE74}.Release|Any CPU.ActiveCfg = netcoreapp-Release|Any CPU
{750200D5-661A-42AA-9E1F-2A151F5AEE74}.Release|Any CPU.Build.0 = netcoreapp-Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91} = {BF4F9507-8FBD-45EA-81C9-3ED89C052C91}
{FAF5D1E4-BA43-4663-8429-C069066D75CB} = {FAF5D1E4-BA43-4663-8429-C069066D75CB}
{BF4F9507-8FBD-45EA-81C9-3ED89C052C91} = {1A2F9F4A-A032-433E-B914-ADD5992BB178}
{FAF5D1E4-BA43-4663-8429-C069066D75CB} = {E107E9C1-E893-4E87-987E-04EF0DCEAEFD}
{750200D5-661A-42AA-9E1F-2A151F5AEE74} = {2E666815-2EDB-464B-9DF6-380BF4789AD4}
EndGlobalSection
EndGlobal

View File

@@ -4,5 +4,6 @@
<PropertyGroup>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<IsNETCoreApp>true</IsNETCoreApp>
<IsUAP>true</IsUAP>
</PropertyGroup>
</Project>

View File

@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<ProjectGuid>{750200D5-661A-42AA-9E1F-2A151F5AEE74}</ProjectGuid>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Debug|AnyCPU'" />

View File

@@ -1,3 +0,0 @@
Compat issues with assembly System.IO.IsolatedStorage:
CannotAddAbstractMembers : Member 'System.IO.IsolatedStorage.IsolatedStorage.GetPermission(System.Security.PermissionSet)' is abstract in the implementation but is missing in the contract.
Total Issues: 1

View File

@@ -1,3 +0,0 @@
Compat issues with assembly System.IO.IsolatedStorage:
MembersMustExist : Member 'System.IO.IsolatedStorage.IsolatedStorageException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract.
Total Issues: 1

View File

@@ -2,7 +2,7 @@
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<BuildConfigurations>
net461-Windows_NT;
uap-Windows_NT;
netcoreapp;
</BuildConfigurations>
</PropertyGroup>

View File

@@ -1,64 +1,5 @@
<?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">
@@ -120,9 +61,6 @@
<data name="IsolatedStorage_StoreNotOpen" xml:space="preserve">
<value>Store must be open for this operation.</value>
</data>
<data name="IsolatedStorage_OldQuotaLarger" xml:space="preserve">
<value>The new quota must be larger than the old quota.</value>
</data>
<data name="IsolatedStorage_Operation_ISFS" xml:space="preserve">
<value>Operation not permitted on IsolatedStorageFileStream.</value>
</data>
@@ -135,9 +73,6 @@
<data name="IsolatedStorage_Operation" xml:space="preserve">
<value>Operation not permitted.</value>
</data>
<data name="IsolatedStorage_SeekOrigin" xml:space="preserve">
<value>Invalid origin, see System.IO.SeekOrigin.</value>
</data>
<data name="IsolatedStorage_DeleteFile" xml:space="preserve">
<value>Unable to delete file.</value>
</data>
@@ -162,36 +97,12 @@
<data name="Argument_EmptyPath" xml:space="preserve">
<value>Empty path name is not legal.</value>
</data>
<data name="ArgumentNull_Path" xml:space="preserve">
<value>Path cannot be null.</value>
</data>
<data name="ArgumentOutOfRange_NeedNonNegNum" xml:space="preserve">
<value>Non-negative number required.</value>
</data>
<data name="Argument_AbsolutePathRequired" xml:space="preserve">
<value>Absolute path information is required.</value>
</data>
<data name="Argument_PathFormatNotSupported" xml:space="preserve">
<value>The given path's format is not supported.</value>
</data>
<data name="PathNotFound_Path" xml:space="preserve">
<value>Could not find a part of the path '{0}'.</value>
</data>
<data name="PathNotFound_NoPathName" xml:space="preserve">
<value>Could not find a part of the path.</value>
</data>
<data name="PathTooLong" xml:space="preserve">
<value>The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.</value>
</data>
<data name="FileNotFound" xml:space="preserve">
<value>Unable to find the specified file.</value>
</data>
<data name="FileNotFound_FileName" xml:space="preserve">
<value>Could not find file '{0}'.</value>
</data>
<data name="IO_NoPermissionToDirectoryName" xml:space="preserve">
<value>&lt;Path discovery permission to the specified directory was denied.&gt;</value>
</data>
<data name="IO_AlreadyExists_Name" xml:space="preserve">
<value>Cannot create '{0}' because a file or directory with the same name already exists.</value>
</data>
@@ -210,27 +121,9 @@
<data name="UnauthorizedAccess_IODenied_NoPathName" xml:space="preserve">
<value>Access to the path is denied.</value>
</data>
<data name="DriveNotFound_Drive" xml:space="preserve">
<value>Could not find the drive '{0}'. The drive might not be ready or might not be mapped.</value>
</data>
<data name="UnknownError_Num" xml:space="preserve">
<value>Unknown error '{0}'.</value>
</data>
<data name="IsolatedStorage_ApplicationMissingIdentity" xml:space="preserve">
<value>Unable to determine application identity of the caller.</value>
</data>
<data name="IsolatedStorage_ApplicationNoEvidence" xml:space="preserve">
<value>Unable to determine identity of application.</value>
</data>
<data name="IsolatedStorage_ApplicationUndefined" xml:space="preserve">
<value>Application cannot be determined on an Assembly or Domain store.</value>
</data>
<data name="IsolatedStorage_AssemblyMissingIdentity" xml:space="preserve">
<value>Unable to determine assembly of the caller.</value>
</data>
<data name="IsolatedStorage_AssemblyNoEvidence" xml:space="preserve">
<value>Unable to determine identity of assembly.</value>
</data>
<data name="IsolatedStorage_AssemblyUndefined" xml:space="preserve">
<value>Assembly cannot be determined for an Application store.</value>
</data>
@@ -240,18 +133,6 @@
<data name="IsolatedStorage_DeleteDirectories" xml:space="preserve">
<value>Unable to delete; directory or files in the directory could be in use.</value>
</data>
<data name="IsolatedStorage_DomainMissingIdentity" xml:space="preserve">
<value>Unable to determine domain of the caller.</value>
</data>
<data name="IsolatedStorage_DomainNoEvidence" xml:space="preserve">
<value>Unable to determine the identity of domain.</value>
</data>
<data name="IsolatedStorage_DomainUndefined" xml:space="preserve">
<value>Domain cannot be determined on an Assembly or Application store.</value>
</data>
<data name="IsolatedStorage_OnlyIncreaseUserApplicationStore" xml:space="preserve">
<value>Increasing the quota of this scope is not supported. Only the user application scope’s quota can be increased.</value>
</data>
<data name="IsolatedStorage_Scope_Invalid" xml:space="preserve">
<value>Invalid scope.</value>
</data>

View File

@@ -4,20 +4,13 @@
<PropertyGroup>
<AssemblyName>System.IO.IsolatedStorage</AssemblyName>
<ProjectGuid>{FAF5D1E4-BA43-4663-8429-C069066D75CB}</ProjectGuid>
<EnableWinRT Condition="'$(TargetGroup)' == 'uap101'">true</EnableWinRT>
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' == 'net461'">true</IsPartialFacadeAssembly>
<ResourcesSourceOutputDirectory Condition="'$(TargetGroup)' == 'net461'">None</ResourcesSourceOutputDirectory>
</PropertyGroup>
<!-- Default configurations to help VS understand the options -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='net461-Windows_NT-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='net461-Windows_NT-Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp-Release|AnyCPU'" />
<ItemGroup Condition="'$(EnableWinRT)' == 'true'">
<ProjectReference Include="$(SourceDir)mscorlib.WinRT-Facade\mscorlib.WinRT-Facade.csproj" />
<TargetingPackReference Include="Windows" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Windows_NT-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Windows_NT-Release|AnyCPU'" />
<ItemGroup>
<Compile Include="System\IO\IsolatedStorage\IsolatedStorageException.cs" />
<Compile Include="System\IO\IsolatedStorage\IsolatedStorageFile.cs" />
<Compile Include="System\IO\IsolatedStorage\IsolatedStorageFileStream.cs" />
@@ -28,19 +21,14 @@
<Compile Include="$(CommonPath)\System\Security\IdentityHelper.cs">
<Link>Common\System\Security\IdentityHelper.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
<Compile Include="System\IO\IsolatedStorage\IsolatedStorageException.Serialization.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp' and '$(EnableWinRT)' != 'true'">
<ItemGroup Condition="'$(TargetGroup)' != 'uap'">
<Compile Include="System\IO\IsolatedStorage\Helper.Win32.Unix.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp' and '$(EnableWinRT)' == 'true'">
<ItemGroup Condition="'$(TargetGroup)' == 'uap'">
<Compile Include="System\IO\IsolatedStorage\Helper.WinRT.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'net461'">
<TargetingPackReference Include="mscorlib" />
</ItemGroup>
<ItemGroup>
<None Include="System.IO.IsolatedStorage.builds" />
<Reference Include="System.Diagnostics.Debug" />
@@ -58,6 +46,10 @@
<Reference Include="System.Security.Principal.Windows" />
<Reference Include="System.Threading" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'uap'">
<Reference Include="mscorlib" />
<Reference Include="Windows" />
</ItemGroup>
<ItemGroup>
<None Include="ApiCompatBaseline.txt" />
</ItemGroup>

View File

@@ -3,6 +3,7 @@
// See the LICENSE file in the project root for more information.
using System;
using System.Security;
using Windows.ApplicationModel;
using Windows.Storage;
@@ -44,7 +45,7 @@ namespace System.IO.IsolatedStorage
Directory.CreateDirectory(path);
}
internal static void GetDefaultIdentityAndHash(ref object identity, ref string hash, char separator)
internal static void GetDefaultIdentityAndHash(out object identity, out string hash, char separator)
{
// WinRT creates an ApplicationSecurityInfo off of the AppDomain.CurrentDomain.ActivationContext.
// Evidence is built as follows:
@@ -59,7 +60,7 @@ namespace System.IO.IsolatedStorage
// Codebase to unify the logic. For now we'll use installed location from the package.
Uri codeBase = new Uri(Package.Current.InstalledLocation.Path);
hash = GetNormalizedUriHash(codeBase);
hash = IdentityHelper.GetNormalizedUriHash(codeBase);
hash = "Url" + separator + hash;
identity = codeBase;
}

View File

@@ -4,6 +4,8 @@
<BuildConfigurations>
netstandard-Unix;
netstandard-Windows_NT;
netcoreapp-Unix;
netcoreapp-Windows_NT;
</BuildConfigurations>
</PropertyGroup>
</Project>

View File

@@ -1,64 +1,5 @@
<?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">

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<ItemGroup>
<Project Include="System.IO.IsolatedStorage.Tests.csproj">
<OSGroup>Unix</OSGroup>
</Project>
<Project Include="System.IO.IsolatedStorage.Tests.csproj">
<OSGroup>Windows_NT</OSGroup>
</Project>
<Project Include="System.IO.IsolatedStorage.Tests.csproj">
<OSGroup>Windows_NT</OSGroup>
<TestTFMs>net463</TestTFMs>
</Project>
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
</Project>

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
@@ -6,10 +6,18 @@
<TestCategories>InnerLoop;OuterLoop</TestCategories>
</PropertyGroup>
<!-- Default configurations to help VS understand the options -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netstandard-Unix-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netstandard-Unix-Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netstandard-Windows_NT-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netstandard-Windows_NT-Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Unix-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Unix-Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Windows_NT-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Windows_NT-Release|AnyCPU'" />
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
<Compile Include="System\IO\IsolatedStorage\IdentityTests.cs" />
<Compile Include="System\IO\IsolatedStorage\IsolatedStorageBaseClassTests.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="$(CommonTestPath)\System\IO\TempDirectory.cs">
<Link>Common\System\IO\TempDirectory.cs</Link>
@@ -42,8 +50,6 @@
<Compile Include="System\IO\IsolatedStorage\GetLastWriteTimeTests.cs" />
<Compile Include="System\IO\IsolatedStorage\HelperTests.cs" />
<Compile Include="System\IO\IsolatedStorage\GetStoreTests.cs" />
<Compile Include="System\IO\IsolatedStorage\IdentityTests.cs" />
<Compile Include="System\IO\IsolatedStorage\IsolatedStorageBaseClassTests.cs" />
<Compile Include="System\IO\IsolatedStorage\IsoStorageTest.cs" />
<Compile Include="System\IO\IsolatedStorage\MoveDirectoryTests.cs" />
<Compile Include="System\IO\IsolatedStorage\MoveFileTests.cs" />
@@ -52,4 +58,4 @@
<Compile Include="System\IO\IsolatedStorage\RemoveTests.cs" />
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>
</Project>

View File

@@ -70,7 +70,7 @@ namespace System.IO.IsolatedStorage
}
}
[Theory MemberData("ValidStores")]
[Theory MemberData(nameof(ValidStores))]
public void DirectoryExists_Existance(PresetScopes scope)
{
using (var isf = GetPresetScope(scope))

View File

@@ -59,7 +59,7 @@ namespace System.IO.IsolatedStorage
[Fact]
[ActiveIssue(12539, TestPlatforms.Linux)]
[PlatformSpecific(TestPlatforms.FreeBSD | TestPlatforms.Linux | TestPlatforms.NetBSD)]
[PlatformSpecific(TestPlatforms.FreeBSD | TestPlatforms.Linux | TestPlatforms.NetBSD)] // Filesystem timestamps vary in granularity
public void GetCreationTime_GetsTime_Unix()
{
using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForAssembly())
@@ -75,7 +75,7 @@ namespace System.IO.IsolatedStorage
[Fact]
[PlatformSpecific(TestPlatforms.Windows | TestPlatforms.OSX)]
[PlatformSpecific(TestPlatforms.Windows | TestPlatforms.OSX)] // Filesystem timestamps vary in granularity
public void GetCreationTime_GetsTime_Windows_OSX()
{
using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForAssembly())