Extend postcondition on Path.GetTempFileName#305
Extend postcondition on Path.GetTempFileName#305SergeyTeplyakov merged 1 commit intomicrosoft:masterfrom
Conversation
Extends postcondition to not-null or whitespace, and length >= 4 since it must end with ".TMP"
Extend postcondition on Path.GetTempFileName
|
The merge resutls in a build failure when invoking buildCC.bat It seems like IsNullOrWhitespace is only awailible for .Net 4+ and Silverlight, |
|
a) All other contracts in system.io use "IsNullOrEmpty" - we should not start using "IsNullOrWhitespace" now for no special reason. |
|
Ok. Without build automation, I'll kindly ask for the proof that build is working before merging PR. |
|
I'll create a PR with a fix in a couple of minutes. |
|
If someone will take a quick look, I'll merge the fix. I've checked the build, It passed;) |
|
👍 |
|
Sorry about this. I forgot to verify this one. Is anything happening with AppVeyor? I remember seeing something about that mentioned on another issue. |
Extends postcondition to not-null or whitespace, and length >= 4 since it must end with ".TMP"
Resolves #298.