summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8/Deserializer.cs
diff options
context:
space:
mode:
authorChris King <kingces95@gmail.com>2016-03-25 20:53:19 (GMT)
committerChris King <kingces95@gmail.com>2016-03-25 20:53:19 (GMT)
commitb3365b7f7db2ab9505d9f0c704f86dd3b24b0caa (patch)
tree3e9c78ed3397f34d54daed530da2a7669c7f63b4 /Xamarin.Forms.Platform.WP8/Deserializer.cs
parent03c84382c7bfa6d8712e07dfa48e569f9a9b66a7 (diff)
downloadxamarin-forms-b3365b7f7db2ab9505d9f0c704f86dd3b24b0caa.zip
xamarin-forms-b3365b7f7db2ab9505d9f0c704f86dd3b24b0caa.tar.gz
xamarin-forms-b3365b7f7db2ab9505d9f0c704f86dd3b24b0caa.tar.bz2
Reformat using statements
Diffstat (limited to 'Xamarin.Forms.Platform.WP8/Deserializer.cs')
-rw-r--r--Xamarin.Forms.Platform.WP8/Deserializer.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/Xamarin.Forms.Platform.WP8/Deserializer.cs b/Xamarin.Forms.Platform.WP8/Deserializer.cs
index a0c2de0..29c0e37 100644
--- a/Xamarin.Forms.Platform.WP8/Deserializer.cs
+++ b/Xamarin.Forms.Platform.WP8/Deserializer.cs
@@ -18,9 +18,9 @@ namespace Xamarin.Forms.Platform.WinPhone
// Make sure to use Internal
return Task.Run(() =>
{
- using(IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication())
- using(IsolatedStorageFileStream stream = store.OpenFile(PropertyStoreFile, System.IO.FileMode.OpenOrCreate))
- using(XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(stream, XmlDictionaryReaderQuotas.Max))
+ using (IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication())
+ using (IsolatedStorageFileStream stream = store.OpenFile(PropertyStoreFile, System.IO.FileMode.OpenOrCreate))
+ using (XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(stream, XmlDictionaryReaderQuotas.Max))
{
if (stream.Length == 0)
return null;
@@ -48,9 +48,9 @@ namespace Xamarin.Forms.Platform.WinPhone
return Task.Run(() =>
{
var success = false;
- using(IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication())
- using(IsolatedStorageFileStream stream = store.OpenFile(PropertyStoreFile + ".tmp", System.IO.FileMode.OpenOrCreate))
- using(XmlDictionaryWriter writer = XmlDictionaryWriter.CreateBinaryWriter(stream))
+ using (IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication())
+ using (IsolatedStorageFileStream stream = store.OpenFile(PropertyStoreFile + ".tmp", System.IO.FileMode.OpenOrCreate))
+ using (XmlDictionaryWriter writer = XmlDictionaryWriter.CreateBinaryWriter(stream))
{
try
{
@@ -67,7 +67,7 @@ namespace Xamarin.Forms.Platform.WinPhone
if (!success)
return;
- using(IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication())
+ using (IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication())
{
try
{