* Coverage do not target CoreLib in bulk
* Fix 1 project add temp nop to 2 others
* PR feedback: reuse property to disable code coverage
* PR Feedback: add dedicated property to target runtime
* System.Transactions.Local.Tests taking too long on PR
Commit migrated from https://github.com/dotnet/corefx/commit/95eeecb5184e414810bc94fdb496c5748289a720
* Move uap, uapaot, netfx and netcoreapp constant definitions to top-level build file.
* Trying to fix compilation of PerformanceCounterLib for netcoreapp2.0 targets.
* Change netcoreapp definition to mean the current version only.
* Fix conflict in System.Private.DataContractSerialization.csproj.
* Revert change in src/shims/manual/Directory.Build.props.
* Fix condition in test.
* Bring back TargetsNetCoreApp, it was lost during rebases.
* Move definition of netstandard to top-level build file. Remove more netcoreapp/uap definitions from individual files.
* Fix vbproj compatibility.
* Address PR review and unify the definitions to use TargetGroup directly.
* Add back one "netstandard" definition.
Commit migrated from https://github.com/dotnet/corefx/commit/ac994544e749eac3e85b60bf0012ae2f85ae0e49
* Remove Crc32Helper.Managed.cs and '$(TargetGroup)' == 'netfx' conditionals from System.IO.Compression.csproj
* Remove netfx conditionals from System.Data.Common.csproj
* Remove netfx conditionals from System.Diagnostics.StackTrace.csproj
* Remove 'netfx' and 'net46' conditionals from System.Net.Http.csproj
* Remove 'netfx' conditionals from System.Net.Sockets.csproj
* Remove 'netfx', 'net462' and 'net47' conditionals from System.Runtime.InteropServices.RuntimeInformation.csproj
* Remove 'netfx' conditionals from System.Runtime.Serialization.Primitives.csproj
* Remove 'netfx' conditionals from System.Runtime.Serialization.Xml.csproj
* Remove 'netfx' and 'net47' conditionals from System.Security.Cryptography.Algorithms.csproj
* Remove 'netfx' conditionals from System.Security.SecureString.csproj
* Remove 'netfx' conditionals from System.Threading.Overlapped.csproj
* Remove 'netfx' conditionals from System.Xml.XPath.XDocument.csproj
* Trim out unused source file DeferredDisposableLifetime.cs
Commit migrated from https://github.com/dotnet/corefx/commit/6a0ecec8279504c03433f689e4a7cf6cd63da27c
* Support Add XmlTextAttribute on the derived class for Enum and primitive type.
* Add a primitive test. Disable the enum test on netframework.
* Skip test SerializePrimitiveXmlTextAttributeOnDerivedClass on NetFramework.
Commit migrated from https://github.com/dotnet/corefx/commit/e15726d2de69cdf959383d6e89d56071b978b8e9
* Fixes: System.Xml.XmlSerializer/src/MatchingRefApiCompatBaseline.uap.txt
* fixes System.Xml.XmlSerializer/src/MatchingRefApiCompatBaseline.uapaot.txt
* Fixes: System.Xml.XmlSerializer/src/MatchingRefApiCompatBaseline.netcoreapp.txt
* Fixes: System.Runtime.Serialization.Xml/src/MatchingRefApiCompatBaseline.txt
* Bring back ReadString() as it is used somewhere else
* fix build errors
Commit migrated from https://github.com/dotnet/corefx/commit/3d6e00c9be13dc047810d2ca877671b3bed6fd41
It looks like a virtual Close was added to XmlDictionaryReader when XmlReader.Close didn't yet exist in corefx. Then when XmlReader.Close was added, the virtual on the derived type was changed to an override, but that override's behavior doesn't play well with the base's. The fix is just to delete it, matching netfx.
Commit migrated from https://github.com/dotnet/corefx/commit/4982068fb9a2657cf41c6a3f72ffad2169ab1984
* Move XmlSerializer CodeGen from SGen to S.P.Xml (dotnet/corefx#24401)
* Move XmlSerializer CodeGen from SGen to S.P.Xml
The PR is moving the CodeGen code of XmlSerializer from SGen back to
System.Private.Xml.
* One minor change.
* Error handling.
* Add PreGenOnly Check for FromMappings.
* Fix the sgen generated code error for a type with mismatched attribute and property. (dotnet/corefx#24671)
* Removed XMLSERIALIZERGENERATOR entries.
Commit migrated from https://github.com/dotnet/corefx/commit/b032565f4c8186dcb82a0d6be8a94e660184405a
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
* With this change we will have the next behavior when building/running tests:
-When building the tests we will still bin place the test assets to the OutputDirectory (corefx\bin\OSGroup.Configuration\TestProject\TargetGroup/)
-When running the tests we will bin place the tests assets to this new TestPath which will be the TestPath. This new path will be the test's working directory where we will bin place the RunTests.cmd and necessary dependencies in tests.targets. Also the testResults.xml will be found here after the test execution.
-TestPath is set to be bin/tests/<TestProject>/<BuildConfiguration>/ (i.e corefx\bin\tests\System.Collections.Immutable.Tests\netcoreapp-Windows_NT-Debug-x64) in dir.props
-This TestPath will be added to the BinPlaceDir in FrameworkTargeting.targets when BinPlaceTest is set to true. Then in the BinPlaceFiles target the test assets will be hardlinked to the TestPath.
This will isolate every test execution per build configuration and will allow people to run the same test project for all of the supported configurations on the same repo without having to clean the repo.
Commit migrated from https://github.com/dotnet/corefx/commit/664ca9508a03483a7fb2714b55b9cba885593d90
Now that we've shipped the NETStandard support package we will no longer build its content
from `master`.
It will be serviced from the `release/2.0.0` branch and the only netfx builds in `master` will
correspond to package content.
Commit migrated from https://github.com/dotnet/corefx/commit/eade3b36725c8d463a40589ff749af5bb0cab8f4
* Add SGEN Automation.
* update version.
* update
* delete tfm
* print out version
* Update version
* update version
* Update tests.
* Add dummy class for UWP run.
* Disable SGEN on uap.
* add casesensitive parameter for linux run.
* use dotnet instead of dotnet.exe
* update argument.
* Copy existing json file.
* add message
* Copy json to test project
* fix casesensitive
* disable running on Linux and OSX
* Add constants.
* Update condition.
* Add more condition.
* add condition
* Update condition.
* Solve the conflict and make some fixes based on feedback.
* Remove the commented code.
* Remove OSX condition.
* Remove dummy class
* Remove osx from configuration. Add condition on the ItemGroup.
Commit migrated from https://github.com/dotnet/corefx/commit/c69764406ef2450bbf0499aa3c982972676756f3
* 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
* add common file
* Add test case with IObjectReference
* reflectiononly add files
* left a file
* update reference
* Organize the code
* Revert "Organize the code"
This reverts commit dotnet/corefx@6d5299e6e2.
* Organize the code
* Add test case DCS_BasicPerSerializerRoundTripAndCompare_SampleTypes
* remove unuseful code
* format code
* update baseline
* Put the fail scenarios in new cases
* Fix failed nativecase
* Change string content
* Update
* Change assembly name in baseline.
* Enable test case DCS_BasicPerSerializerRoundTripAndCompare_SampleTypes_FailInReflectionOnly
* With fixdotnet/corefx#22286 the failed case can pass
* Change test case with SampleICollectionTExplicit
* Refactor the code
* Update
* Add failed case targeting uapaot
* Add issue number for the failed case when targeting uapaot.
* Remove unuseful code.
Commit migrated from https://github.com/dotnet/corefx/commit/6480490953295e85f4c8c7b7c05449c6a799d42b
* Add native test case
* Add native testcase
* netnative cases
* modify project file
delete file DataContractSerializerTestData.cs because the code is included in other file.
* Update XmlSerializerTests.cs
Update
* Update XmlSerializerTests.cs
remove failed case
* Update code to not check exception message
* Address review feedback.
* Update
Commit migrated from https://github.com/dotnet/corefx/commit/62b211eaedcf704d8a57102fb6304e77c41ec369
* When a property in internal in derived type but public in base type, the GetMember need read from base type.
* change from fact to Fact
* Support multiple level base class.
* Revert the type change since it will impact the dcs test.
* Support multiple derived level for IL gen XmlSerializer. Add more test coverage.
* Update dcs test baseline due to the changes in the type.
* update the condition
Commit migrated from https://github.com/dotnet/corefx/commit/603cb4ce94eaf41cd64af7721e7e2f3d4e983859