Commit Graph
28 Commits
Author SHA1 Message Date
Wes Haggard fc9b090ef0 Update references assemblies to include private fields for structs
Contributes to https://github.com/dotnet/corefx/issues/6185.


Commit migrated from https://github.com/dotnet/corefx/commit/2e97d43060dfb589907a15dbfef0cc7db6e90546
2018-01-12 08:53:41 -08:00
Jon Hanna 5ecc221cc7 Add license headers. (dotnet/corefx#26009)
Any *.cs file found without the usual license header has it added except:

1. Files that note they are auto-generated.
2. Files with a different header (unless it is very close to the usual,
in which case adjust for typos and old versions).
3. FxCopBaseline.cs files.

Commit migrated from https://github.com/dotnet/corefx/commit/e5da05d7100a64ab1d98c865436a1fb8b0ddd507
2017-12-22 12:51:37 -06:00
Stephen Toub 54c1d578d8 Mark applicable structs as readonly
Commit migrated from https://github.com/dotnet/corefx/commit/54e889a7c71bf22f9f1ef244a9d040fee64c74d5
2017-11-03 09:48:47 -04:00
Viktor Hofer fcc00e81f3 Make corefx exceptions serializable and add typeforwards (dotnet/corefx#24427)
* Add serializable attribute and typeforward and adding serialization impl
* Expose ZLibException in impl assembly
* Remove deserialization negative tests
* Adding tests for exceptions
* Adding SqlError data to base exception data table
* System Data Facade
* Add netfx471 blob diffs for Hashtable and ListDictionary
* Build Microsoft.NETCore.App.deps.json after manual shims
* Disable currently failing uap/uapaot tests because of shim assembly load errors


Commit migrated from https://github.com/dotnet/corefx/commit/e3f74deb999571d3f34a6b2b8011caebcf06dbfc
2017-10-27 18:00:52 +02:00
Brian Chavez 232a1dfac0 Grammar check - "a [a,e]" rule. (dotnet/corefx#23697)
* Grammar check - "a [a,e]" rule.

* Corrected "a attributes" to "an attribute"


Commit migrated from https://github.com/dotnet/corefx/commit/be75987c628347e1d44bba15c5272ade3dcfa65c
2017-08-31 09:29:39 -04:00
Brian Chavez 88875187b0 XML doc spelling corrections - D through H. 🚿 (dotnet/corefx#23638)
Commit migrated from https://github.com/dotnet/corefx/commit/a27929935d2782cdc3e7be21653e8c4530274c6f
2017-08-29 17:10:01 -07:00
Brian Chavez f866987b74 XML doc spelling corrections - I through P. 🚿 (dotnet/corefx#23651)
Commit migrated from https://github.com/dotnet/corefx/commit/b09fab5799bb1ca4bea4b4bb086d2c9870dd5191
2017-08-29 15:42:23 -07:00
Brian Chavez caeee5a506 XML doc spelling corrections - Q through Z. (dotnet/corefx#23655)
Commit migrated from https://github.com/dotnet/corefx/commit/723c7feed515abbeece068e05fdf2f918a74ca85
2017-08-29 15:40:48 -07:00
Hugh Bellamy 98b18432b7 Move AssertExtensions to Corefx.Private.TestUtilities (dotnet/corefx#21799)
* Move AssertExtensions to Corefx.Private.TestUtilities

* Update csprojs

* Fix Linq.Expressions uapaot build


Commit migrated from https://github.com/dotnet/corefx/commit/7e3b0db2892c56a431f8e99af9cd9381adec385a
2017-07-03 09:27:30 -07:00
Hugh Bellamy 7cbcd5ed85 Convert most Assert.Throws<ArgumentException> without param name to AssertExtensions (dotnet/corefx#21455)
* Registry

* Collections

* ComponentModel

* Configuration

* Data

* Globalization

* Drawing

* Diagnostics

* IO

* Linq

* Add System.Net param names in tests

* Move ArgumentExceptions in System.Private.Xml to AssertExtensions

* Add System.Reflection.* ArgumentException param names

* Add param names for System.Runtime* ArgumentExceptions

* Add ArgumentException param names to System.Security.*

* Add ArgumentException param names to System.Text.*

* Add param names to ArgumentExceptions in misc projects

* Add System.Threading.* ArgumentException param names

* Fix missing files

* Fixes for unix and netfx

* Fix more failures and revert a IdnaConformance tests to avoid merge conflicts with dotnet/corefx#21463


Commit migrated from https://github.com/dotnet/corefx/commit/59915687bb261efeae70565d0ca8990ac45ceb9c
2017-06-23 12:33:47 -07:00
Hugh Bellamy dc800b2134 Fixup instances of [ThreadStatic] naming in product code
Commit migrated from https://github.com/dotnet/corefx/commit/38e9be7ef701e80add8d279f8cfb1c0d1ad95a38
2017-06-18 07:08:03 +07:00
Morgan Brown c748507f03 ISerializable cleanup (dotnet/corefx#20220)
* Changes to throw PlatformNotSupportedException from ISerializable.GetObjectData and serialization constructors on non-serializable types. Also removes private serialization constructors and some unneeded code that was used to support serializing non-serializable types. A few tests testing GetObjectData implementations are also removed.

* Address code review comments.

* Change exceptions' GetObjectData to just call base rather than throw. This makes them behave consistently with exceptions that didn't override GetObjectData.


Commit migrated from https://github.com/dotnet/corefx/commit/a82f54bd51e22ec3eb14eb5d8f572f022becb8e3
2017-05-25 12:38:09 -07:00
Gaurav Khanna f167b0de93 Merge pull request dotnet/corefx#19842 from ericstj/incrementVersions
Increment versions post 2.0

Commit migrated from https://github.com/dotnet/corefx/commit/45d30e6bdf44d4a0e55df5a6064e8275cdf14d25
2017-05-17 12:03:29 -07:00
Morgan Brown 975ad3c685 Scale back [Serializable] CoreFX types (dotnet/corefx#19742)
* Remove SerializableAttribute from many CoreFX types that will not be serializable.

* Removes serialization tests for types that are no longer serializable and fixes serializing a couple of types. Includes marking some internal serializable types as public so that they'll be reflectible with .NET Native.

* Remove unneeded pragmas

* Update based on review comments


Commit migrated from https://github.com/dotnet/corefx/commit/6dd451f51451a7d0ceea6104b51bd17005e9a0e6
2017-05-16 18:16:29 -04:00
Eric St. John e02c675179 Increment versions post 2.0
Commit migrated from https://github.com/dotnet/corefx/commit/6c5f87319a4785499008c95b2ff5e7f13a413d22
2017-05-16 14:12:16 -07:00
Atsushi Kanamori fa070b32b6 System.Transactions.Local.Tests now at 0 failures on ILC.
Commit migrated from https://github.com/dotnet/corefx/commit/e520b6d522fccc067337bf74dca8046fea0e8c3b
2017-05-10 07:52:03 -07:00
Stephen Toub 41e65ea761 Skip two transactions tests on desktop
The tests are expecting a PlatformNotSupportedException, as it the operation isn't supported on core.


Commit migrated from https://github.com/dotnet/corefx/commit/ef2a8c41624bc8dc4a7cc6358458b389608dd1b2
2017-04-19 12:37:44 -04:00
Daniel Harvey 252cdc5e95 Bulk updates of tests for AssertExtensions (dotnet/corefx#18491)
Bulk update to AssertExtensions.Throws for AOT support. This doesn't disable Assert.Throws.

Commit migrated from https://github.com/dotnet/corefx/commit/b43b4df2e0e2182154bb0f425cb4a61bc1269828
2017-04-18 09:52:02 -07:00
Wes Haggard 4185183e8c Updates how we define which key an assembly uses
Now instead of Use*Key a project can instead define the assembly key
in the project (genreally the common dir.pops for a project) using
the AssemblyKey property. The accepted values are Open, ECMA, MSFT,
Test.

This change allows for a repo to set the default key they want to use
for projects. In corefx we have switched the default to use the Open
key instead of the old BuildTools default of MSFT key.

As part of this update we are explicitly setting the AssemblyKey in
all the library projects (although it is really only necessary for
projects that aren't the default).

Also with this change we are updating all the new libraries that have
not yet shipped stable (compared to our 1.1 release) and making them
use the Open key. Which means that for prerelease dependencies there
might be some binary breaking changes to consume.

The following libraries ahven't shipped so there key is being
changed from MSFT to Open:
Microsoft.XmlSerializer.Generator
System.CodeDom
System.Configuration.ConfigurationManager
System.Data.Odbc
System.DirectoryServices
System.DirectoryServices.AccountManagement
System.DirectoryServices.Protocols
System.IO.Ports
System.Json
System.Memory
System.Net.HttpListener
System.Net.Mail
System.Net.ServicePoint
System.Net.WebClient
System.Net.WebProxy
System.Private.Xml
System.Private.Xml.Linq
System.Security.Cryptography.Xml
System.Security.Permissions
System.Transactions.Local
System.Web.HttpUtility


Commit migrated from https://github.com/dotnet/corefx/commit/ac09a797d09502ebab61f7167bb856846602e1e6
2017-04-10 12:51:50 -07:00
qizhanMS 69f6d3f477 Update localization resource string for etw tracing event source to reflect the System.Transctions.Local name change.
Commit migrated from https://github.com/dotnet/corefx/commit/81ae134665374706db4dc9c861e252c7fbecafdc
2017-03-17 14:26:02 -07:00
Stephen Toub 7a8f36869d Merge pull request dotnet/corefx#16909 from WinCPP/issue-3862
Fix dotnet/corefx#3862 Replace double-check lock with lazy initialization.

Commit migrated from https://github.com/dotnet/corefx/commit/6abde68de9611895fa8697fb7fc17105e906081e
2017-03-13 12:50:14 -04:00
WinCPP 4cd686bf46 Issue dotnet/corefx#3862 Replace double-check lock with lazy initialization.
Commit migrated from https://github.com/dotnet/corefx/commit/84967d03d5f6f74d6be3fab39204e78d61f11374
2017-03-10 21:14:02 +05:30
Qi Zhang d976628246 Update distributed transaction test blocking issue number from 16755 to 13532 for System.Transactions.Local. (dotnet/corefx#16931)
Commit migrated from https://github.com/dotnet/corefx/commit/0e8f11a3a8551a97ad992c08434cd5b4cec0cc2d
2017-03-09 16:21:07 -08:00
Jiayi Li d8b41f8f9e Cleanup disabled tests missing correct issue numbers (dotnet/corefx#16756)
* Move a System.Collections test

Just moves the test to a more derived test class.  In its current location, it's unnecessarily getting run multiple times but without any variation.

* 20170306 - Audit some active issues/v-lijiay

* Remove Active Issue 16750 and change performancetest to [Benchmark], remove the link in Fact when it has activeissue.

* The type or namespace name 'BenchmarkAttribute' could not be found, add using Microsoft.Xunit.Performance;

* 20170306 - Audit some active issues/v-lijiay

* Remove Active Issue 16750 and change performancetest to [Benchmark], remove the link in Fact when it has activeissue.

* The type or namespace name 'BenchmarkAttribute' could not be found, add using Microsoft.Xunit.Performance;


Commit migrated from https://github.com/dotnet/corefx/commit/31e2eb9779b8ec07c3363ed52c32e1838c4eb4de
2017-03-07 22:10:33 -08:00
Wes Haggard dd758af366 Remove System.Transactions.Local individual package
System.Transactions.Local doesn't need to ship as an individual package
because it is part of netstandard2.0 and will be included in the NETCore app
platform package.

Update the package baseline file to marke it as inbox and also add the System.Transaction
inbox entries as well.


Commit migrated from https://github.com/dotnet/corefx/commit/9bade79936a704964a87445ed5c32ca60b712f9a
2017-03-02 11:50:34 -08:00
qizhanMS e5f533fbfd Remove the assembly name in System.Transactions.Local.csproj and update the reference in System.Data.Common.csproj
Commit migrated from https://github.com/dotnet/corefx/commit/92923d53879ad34179b1a464bb6937f17d06364c
2017-02-24 16:17:26 -08:00
qizhanMS e62710444b Rename assembly to System.Transactions.Local.dll
Commit migrated from https://github.com/dotnet/corefx/commit/93cdfddad56bcb1e1de90542326e296284059d85
2017-02-24 09:52:23 -08:00
qizhanMS 43fee4e578 Rename assembly to System.Transactions.Local.dll
Commit migrated from https://github.com/dotnet/corefx/commit/b891a91e177ed2de61b43bb74529aa902fa48423
2017-02-24 09:46:55 -08:00