Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Incorporate feedback comments raised while open sourcing System.IO.IsolatedStorage #4975

Merged
merged 1 commit into from
Dec 15, 2015

Conversation

pallavit
Copy link

Fixes Issue#4954

@pallavit
Copy link
Author

@stephentoub Could you please review the change.
@dsgouda It might be a good idea to consider updating instance members from m_ to _ and converting Contract.Assert to Debug.Assert() across all libraries while open sourcing, since these will be common across the board.

@@ -7,6 +7,7 @@
using System.Collections.Generic;
using System.Security;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Diagnostics.Contracts;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming we aren't using anything from Contracts anymore, this can be removed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes please sort and remove unused. We should make CodeFormatter tool do that :)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are using Contract via Contract.EndContractBlock and PureAttribute :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, sounds good to me. How do we feel about removing the EndContractBlock calls? I thought those were only useful if we were using Code Contracts.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my personal opinion, they are not very useful, however, its merits are still under debate (#503 , dotnet/corert#320, dotnet/roslyn#98) and I do see other libraries relying on it. So for now, I don't see any harm in letting them stay.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed I've held back on doing a scrub of all the contract calls for now until we figure out our longer term story around them.

@mellinoe
Copy link
Contributor

A minor nit, otherwise LGTM

@weshaggard
Copy link
Member

LGTM otherwise.

@pallavit
Copy link
Author

Thanks for the review merging the changes.

pallavit added a commit that referenced this pull request Dec 15, 2015
Incorporate feedback comments raised while open sourcing System.IO.IsolatedStorage
@pallavit pallavit merged commit cdbd35f into dotnet:master Dec 15, 2015
@pallavit pallavit deleted the Issue#4954 branch December 15, 2015 22:17
@karelz karelz modified the milestone: 1.0.0-rtm Dec 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants