Commit Graph
100 Commits
Author SHA1 Message Date
Wes Haggard dccc06ade2 Baseline all reverse apicompat issues
Commit migrated from https://github.com/dotnet/corefx/commit/ddb31b5d2f393cf1a16653ff99736a6f25cd98b5
2018-03-09 15:43:29 -08:00
Jose Perez Rodriguez 2b978b922f Updating the package index for UAP and updating buildtools (dotnet/corefx#27787)
* Updating the package index for UAP and updating buildtools

* Having System.Reflection.DispatchProxy crosscompile for uap RS3

* Updating buildtools and fixing PR feedback

* Re-add support for uap to the assemblies that already had a netcoreapp2.0 config for Windows


Commit migrated from https://github.com/dotnet/corefx/commit/7be44d2de8661cd925955e540d940b4eb47e5753
2018-03-08 09:43:06 -08:00
Jlalond a1f1c75d4b Added Tests for Setting Element (dotnet/corefx#27807)
* Added Tests for Setting Element

* Cleaning as per the corefx standards

* including .net license


Commit migrated from https://github.com/dotnet/corefx/commit/7e6436467cebb844bdad1a54b8f9877460a25ec5
2018-03-08 09:14:02 -08:00
Jeremy Kuhne 5e5c83f923 Add missing IInternalConfigHost method (dotnet/corefx#27832)
The intital implementation of ConfigurationManager predated the Core impl of Security.

Commit migrated from https://github.com/dotnet/corefx/commit/122cad4d21a474a48e23e6f9686b39171d7d30b7
2018-03-07 20:45:47 -08:00
Marco Rossignoli b11ba00852 Scrub error messages for missing arguments(throw new) (dotnet/corefx#27553)
* fix error message missing argument

* address PR feedback

* fix tests

* address PR feedback

* address PR feedback

* fix syntax


Commit migrated from https://github.com/dotnet/corefx/commit/fbe2ff101137abed0bc7fa67f40491d277088a79
2018-02-28 23:20:16 -05:00
Jan Kotas 08ba25d62c Delete TODO against issue that has been fixed (dotnet/corefx#27454)
Commit migrated from https://github.com/dotnet/corefx/commit/18b4f897f69586f9f7178ba22618b119cd075d76
2018-02-26 14:25:25 -05: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
Stano Peťko 075d9bd420 Added tests for throwing correct Exception. (dotnet/corefx#25822)
Commit migrated from https://github.com/dotnet/corefx/commit/06967ad9b2344438527745bb749ba1402c19f598
2017-12-14 15:08:30 -05:00
Stano Peťko 6fe57f72f5 Removed throwing general Exception in ConfigurationManager (dotnet/corefx#25139)
* Removed throwing general Exception.

* Exception is not recreated, removed unnecessary foreach.

* Try-catch moved where exception really can occur, removed unnecessary variables.


Commit migrated from https://github.com/dotnet/corefx/commit/30f1bddf073d523f9456d54f5dd193f5a47ea2c1
2017-12-06 13:25:56 -08:00
Jan Kotas 688b8a6e34 Delete unnecessary ComVisible annotations
Commit migrated from https://github.com/dotnet/corefx/commit/0eb5e7451028e9374b8bb03972aa945c128193e1
2017-11-19 10:37:38 -08:00
Jan Kotas 3df183ba68 Delete unnecessary CAS permission annotations
Commit migrated from https://github.com/dotnet/corefx/commit/80ba32d2c2ec22c80bea3b14d5ce966e0363f255
2017-11-19 10:37:38 -08: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
John Doe bb6abf5000 Typo (dotnet/corefx#23644)
* typo

* typo

* Typo

* Typo


Commit migrated from https://github.com/dotnet/corefx/commit/40368b2aa9ade8e5f495bfb6f474cd16561abe59
2017-08-30 08:48:29 -04: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
Eric St. John e047f03838 Fix errors with new CSC due to missing comma between attributes
Commit migrated from https://github.com/dotnet/corefx/commit/535828b1423795a71f0b17e0c9d00e99021deed5
2017-08-25 14:05:48 -07:00
Atsushi Kanamori 7472eecd29 Disable tests that fail on ILC due to not actually running in AppX (dotnet/corefx#23295)
Fixes https://github.com/dotnet/corefx/issues/23000

Commit migrated from https://github.com/dotnet/corefx/commit/91d8d189c0bb33ad36cfadfef5f49be31cb2dfa7
2017-08-16 09:53:04 -07:00
Atsushi Kanamori f99b8ccd00 Fix System.Configuration.ConfigurationManagerNullComparerThrows test on ILC (dotnet/corefx#23163)
Fixes https://github.com/dotnet/corefx/issues/21004

Commit migrated from https://github.com/dotnet/corefx/commit/3048b7329f98354e69e1ef844da400289ed9851f
2017-08-11 10:39:35 -07:00
Tarek Mahmoud Sayed 3765a6069b Moving PlatformDetection to Corefx.Private.TestUtilities assembly (dotnet/corefx#23109)
* Moving PlatformDetection to Corefx.Private.TestUtilities assembly

The purpose of this change is to clean up all test projects instead of including the PlatformDetection code inside every test project, we’ll have it in the Corefx.Private.TestUtilities.
I have refactored the PlatformDetection to split the different implementation of Windows and Linux. If we need to do more refactoring there we can do it later as needed.

* Fix Linux BB

* Update the xunit package reference

* Fix wrong condition on one of the tests

* Update the ConditionalFact/Theory to use Type as a parameter


Commit migrated from https://github.com/dotnet/corefx/commit/878e2fcf5a9f1068015e5fada9231088663e3490
2017-08-10 22:37:36 -07:00
Jeremy Kuhne f3351916d9 Use new WinRT APIs for SpecialFolders (dotnet/corefx#22664)
* Use new WinRT APIs for SpecialFolders

* Update tests

* Update test package

Fix test verification

* Clean up project files

* Add back test skip condition

* Add comments and fallback Windows dir.


Commit migrated from https://github.com/dotnet/corefx/commit/aaaffdf7b8330846f6832f43700fbcc060460c9f
2017-08-03 14:49:35 -07:00
Jeremy Kuhne 76fe8a7ed9 Some code cleanup of PropertyValue (dotnet/corefx#22200)
No functional changes. This just cleans up some
of the code for clarity and coding standards.

There is a lot more room for improvement- this
is just a small incremental step.

Commit migrated from https://github.com/dotnet/corefx/commit/d89f341cb932ae6f0d9bfde88dbc8158adcd0c74
2017-07-17 23:41:22 -07:00
Hugh Bellamy 887c94e252 Expose SystemDrawingSection
Commit migrated from https://github.com/dotnet/corefx/commit/66c5b99c8ce7b705fc1798e1a12ffba5a75556d5
2017-07-11 09:17:30 +07:00
Jose Perez Rodriguez 370b49763c Merge pull request dotnet/corefx#21836 from joperezr/uapvnext
Renaming uap10.1 to uap10.0.15138

Commit migrated from https://github.com/dotnet/corefx/commit/32f3e82596c8c35691b7cdbf1a27e27784acc652
2017-07-03 15:41:09 -07:00
Jose Perez Rodriguez c9a146ca2a Renaming uap10.1 to uap10.0.15138
Commit migrated from https://github.com/dotnet/corefx/commit/60fe0c60dc418a6856955c215a9695f6f900acf1
2017-07-03 14:32:24 -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 7cdcaf5fc5 Convert Assert.Throws<ArgumentException> to AssertExtensions (dotnet/corefx#21491)
Commit migrated from https://github.com/dotnet/corefx/commit/868f123881e520285ab09600380e38abdd457a06
2017-06-27 21:13:26 -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
tijoytk b151debb5c Fix the netcore test runs
Commit migrated from https://github.com/dotnet/corefx/commit/7da80436ffcebe031593dfc9e354613ceba02f5e
2017-06-15 17:07:49 -07:00
tijoytk 9bbf5d75b2 Fix the remaining System.ConfigManager tests.
Commit migrated from https://github.com/dotnet/corefx/commit/69a86949938828b2845bafaf6e236330f4086a80
2017-06-13 13:03:31 -07:00
Tijoy Tom Kalathiparambil 8ae3625415 Use Assembly.ManifestModule.Name instead of
Assembly.Name


Commit migrated from https://github.com/dotnet/corefx/commit/8b2db17fad914af66d6087ddf8183080cf83f340
2017-05-31 10:14:45 -07:00
Tijoy Tom Kalathiparambil fd29ad5094 ConfigurationManager fix for UAPAOT
Use Assembly.CodeBase is not available on
uapaot,replacing with
Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
assemblyName.Name)


Commit migrated from https://github.com/dotnet/corefx/commit/35415f44b7d09be16659bd37e519647f9f6b2b9c
2017-05-30 17:50:08 -07:00
Santiago Fernandez Madero e8c0db60b4 Update buildtools and extensions and do tests cleanup for new attributes behavior (dotnet/corefx#20333)
* Update buildtools and extensions and do tests cleanup for new attributes behavior


Commit migrated from https://github.com/dotnet/corefx/commit/bc73a9b7ca2a644efd9fc3cb51dde3bc3726ecd7
2017-05-26 02:13:52 -05: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
Tijoy Tom Kalathiparambil 177ea50a33 uapaot fixes for System.Config.ConfigurationManager.
Explicit default public ctor for ProtectedConfigurationSection.
Reflection enable ProtectedConfigurationSection.
Add skip reflection block attribute


Commit migrated from https://github.com/dotnet/corefx/commit/cb00d2005b36e6a30b6716940ad16b323c95e60d
2017-05-23 15:55:54 -07:00
Tijoy Tom f32635fa66 Merge pull request dotnet/corefx#20027 from tijoytom/config
Reflection enable type clientconfigurationhost.

Commit migrated from https://github.com/dotnet/corefx/commit/7f196cc42103978a5dc5f8fa99f6329111ead974
2017-05-19 23:44:07 -07:00
Tijoy Tom Kalathiparambil 882573fd1e Reflection enable type clientconfigurationhost.
ClientConfigurationHost is internal with
an internal default ctor and instantiated
from configsystem with Activator.CreateInstance.
Using new is not possible since IConfigSystem.Init
signature is public and cannot be changed.


Commit migrated from https://github.com/dotnet/corefx/commit/7aafb1a8facbf55d0476d7c2478b3fe939872dfe
2017-05-19 16:06:03 -07:00
Dan Moseley ffeb4a6fd1 Disable 2 configuration tests failing on unix (dotnet/corefx#19962)
* Disable failing tests

* Fix activeissue


Commit migrated from https://github.com/dotnet/corefx/commit/dc98063aa36ff017ac02cd553b07190f6d676084
2017-05-18 22:24:38 -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
Eric St. John f79b378efb Fix System.Configuration.ConfigurationManager desktop ref
The desktop reference assembly for System.Configuration.ConfigurationManager
incorrectly had typedefs rather than type forwards.

This was because it was missing a reference to System.Configuration
so none of the types in that assembly were replaced with TypeForwards.


Commit migrated from https://github.com/dotnet/corefx/commit/6df88e427411bb05b9cc6b67e30de113a468354b
2017-05-11 15:51:51 -07:00
Jeremy Kuhne 4599f929c0 Don't manually define UriSection on NetFX (dotnet/corefx#19574)
Desktop defines UriSection in the machine.config. We don't define
anything that lives outside of ConfigurationManager in the implicit
machine.config in CoreFX.

Commit migrated from https://github.com/dotnet/corefx/commit/b92843e3f0e3bc314018b3e9dc6ac53e14213d0b
2017-05-09 20:08:21 -07:00
Jeremy Kuhne f5618778fc Disable Core unit test on Desktop (dotnet/corefx#19576)
Test is unit testing a CoreFx internal implemenation

Commit migrated from https://github.com/dotnet/corefx/commit/28ecf0345716ea1a58eb6851d3a2b3c2f2d53bd0
2017-05-09 19:51:48 -07:00
Viktor Hofer 3e81e922b1 Disabling xunit AppDomain in System.Configuration.ConfigurationManager in favor of consistent BaseDirectory path behavior (dotnet/corefx#19546)
* Disabled xunit AppDomain in favor of consistent BaseDirectory behavior

* Activated test again

* Refined XUnitNoAppdomain comment


Commit migrated from https://github.com/dotnet/corefx/commit/bf5ffea787235fdb095adaeb842b3362f58fcc7c
2017-05-09 17:48:36 -04:00
Jiayi Li 84b8adf536 Disable failed tests for 9 issues. (dotnet/corefx#19463)
* Disable failed tests for 9 issues.


Commit migrated from https://github.com/dotnet/corefx/commit/4d89905a77edf6e6ff42fdb682a4c70c3dfc1239
2017-05-08 13:35:34 -07:00
Jiayi Li 8ca8c4b8c8 Disable failed tests for issue 18196 and 18718. (dotnet/corefx#19465)
* Disable Failed tests For issue 18196.


Commit migrated from https://github.com/dotnet/corefx/commit/c7f5b4bb55e66ea5c6ff9eb5dc5c8781f63f03f9
2017-05-08 11:45:04 -07:00
Jiayi Li ab9698db27 Disable failed tests for 6 issues. (dotnet/corefx#19464)
Commit migrated from https://github.com/dotnet/corefx/commit/5efe9f60ffe252496ca6cf98cb94e29b7d088b49
2017-05-08 02:43:56 -07:00
Jiayi Li 843c8d7398 Disable failed tests for issue 19339. (dotnet/corefx#19393)
Commit migrated from https://github.com/dotnet/corefx/commit/064f192251a20fc44612b50b507ae9eb29eca912
2017-05-05 01:44:24 -07:00
Jiayi Li daa445156e Disable failed test for 19340. (dotnet/corefx#19394)
Commit migrated from https://github.com/dotnet/corefx/commit/15155258ae6957d735ed1204d78701dad81722ce
2017-05-05 01:43:48 -07:00
Jiayi Li b0769d0e32 Disable failed tests for issue 19341. (dotnet/corefx#19395)
Commit migrated from https://github.com/dotnet/corefx/commit/4caae55d8e8357abddcfe1a1c0b2317f571f75a5
2017-05-05 01:41:45 -07:00