Commit Graph
817 Commits
Author SHA1 Message Date
Ahson Khan 2ea4e4f134 Update dummy fields within the ref by auto-generating them from the source assembly. (dotnet/corefx#39687)
* Update dummy fields within the ref by auto-generating them from the
source assembly.

* Address feedback.


Commit migrated from https://github.com/dotnet/corefx/commit/c50b758727a041aec2dc959ee5ca2df5614a3c16
2019-07-24 06:28:07 +00:00
William Godbe d285b6c662 Update branding in master to 5.0 (dotnet/corefx#39503)
* Update branding in master to 5.0

* Revert to old AssemblyVersions

* Update to correct package versions

* Update Prerelease to alpha1

* Remove redundant PackageVersions

* Disable index check

* Update packageIndex

* Update PackageIndex again

* Revert incorrect packageIndex versions


Commit migrated from https://github.com/dotnet/corefx/commit/1acaa2017cfc64ef1aabcf3b19d0e097af692616
2019-07-16 15:47:57 -07:00
Tomáš Matoušek 87572a799b Remove incorrect statement from Portable PDB spec (dotnet/corefx#38963)
Commit migrated from https://github.com/dotnet/corefx/commit/d91384ac28ecf8e3ac7bae769cd542c2e00717ed
2019-06-26 14:30:02 -07:00
Jose Perez Rodriguez 275f6d0636 Making Exceptions serializable (dotnet/corefx#38893)
* Making Exceptions serializable

* Remove EventLog serialization exceptions from tests since they won't work on non-Windows platforms

* Fix build and add internal exceptions as well

* Add parameter-less constructor to RethrowException

* Adding PR Feedback

* Fix allConfigurations build


Commit migrated from https://github.com/dotnet/corefx/commit/7075587321a1b6b59248b1a6c7ea04fc803eab96
2019-06-26 11:59:59 -07:00
Viktor Hofer a8ddd4b577 PR feedback nits
Commit migrated from https://github.com/dotnet/corefx/commit/13ad3d0b841a611e775f51bd66375c9587584a72
2019-05-31 00:19:45 +02:00
Viktor Hofer b661c58b1c Replace netstandard test projects with tfms
Netstandard test projects are broken by design and don't support the
Microsoft.Net.Test.SDK. Replacing the netstandard tfm with the concrete
implementation tfms.


Commit migrated from https://github.com/dotnet/corefx/commit/d29c16c99c6045ee67444a7a693dd4476861c463
2019-05-30 16:18:41 +02:00
Tanner Gooding 5a5ed7652a Regenerating reference sources in order to reorder enum fields (dotnet/corefx#37045)
Commit migrated from https://github.com/dotnet/corefx/commit/17382def0f680653870c31af1acf086ac41dcc0b
2019-04-23 13:40:45 -07:00
dotnet-maestro[bot] c5de21aae5 [master] Update dependencies from dotnet/coreclr (dotnet/corefx#36816)
- Microsoft.NET.Sdk.IL - 3.0.0-preview5-27612-73
- Microsoft.NETCore.ILAsm - 3.0.0-preview5-27612-73
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-preview5-27612-73
- Also react to changes in the UTF-8 transcoding logic (dotnet/corefx#36712)


Commit migrated from https://github.com/dotnet/corefx/commit/4c3d4a083488b9f89676926a8b75aa5f7572f67f
2019-04-13 11:53:57 -07:00
Marco Rossignoli 0474ec9b5d Fixes race in NamespaceCache (dotnet/corefx#36699)
* fix race

* address PR feedback

* address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/ce62a086814fdfecea1d6ba6657c3fb88763e1d6
2019-04-11 16:53:08 -04:00
Stephen Toub 1de0f651e4 Improve StaticTestGenerator and fix some visibility (dotnet/corefx#36472)
Worked through a bunch of additional assemblies and fixed cases where StaticTestGenerator was doing the wrong thing.  Also fixed the visibility on a bunch of test methods it wasn't able to access.

Commit migrated from https://github.com/dotnet/corefx/commit/475542441df2f054d5e9aa39576019775a5d2f52
2019-03-29 17:40:05 -04:00
Nick Schonning f1bb17c664 typo: Double word "never" (dotnet/corefx#36300)
Commit migrated from https://github.com/dotnet/corefx/commit/e86b522c7d25985224e6e06f4746e2ae42a50b77
2019-03-24 13:44:51 -07:00
Osman Turan a09742ed1b Add unit tests for PEHeaderBuilder factory methods
See: dotnet/corefx#35758


Commit migrated from https://github.com/dotnet/corefx/commit/07dfb7b7530528a065a2eccb09b6df560e2547c5
2019-03-12 10:11:55 -07:00
Osman Turan de8a8293b4 Fix ImageCharacteristics of PEHeaderBuilder when initialized by CreateLibraryHeader
Fixes: dotnet/corefx#35758


Commit migrated from https://github.com/dotnet/corefx/commit/a04be5028544df36b11cabd4081896ba8037b71e
2019-03-12 10:11:55 -07:00
Stephen Toub dce7647bbc Clean up lots of string.Format / SR.Format usage (dotnet/corefx#35777)
* Clean up lots of string.Format usage

This PR does a few things:
- Adds new SR.Format overloads, in particular to support accepting an IFormatProvider as the first argument.
- Fixes a bunch of calls to string.Format that should have been using SR.Format.  This not only helps in AOT builds where we want to be able to more cleanly remove resource strings, it enables easier auditing of the remaining string.Format uses to determine whether there are more appropriate implementations.
- Replaces some string.Format uses, in particular in asserts, with easier to read and maintain string interpolation
- Replaces some string.Format uses with string concatenation where it's simple and cheaper
- Fixes a bunch of SR.Format(SR.Something) calls where the SR.Format part is extraneous and should just be removed.
- Replaces a bunch of Debug.Assert(false, ...) calls with Debug.Fail(...).  This isn't directly related to string.Format, but I started this cleanup as part of cleaning up asserts that were using string.Format, and then ended up accidentally merging the chain into the same commit, and decided it was simple enough that I should just leave it rather than trying to separate it out again.

* Address PR feedback

* Fix breaks due to lower netstandard builds


Commit migrated from https://github.com/dotnet/corefx/commit/a6f76f4f620cbe74821c6445af3f13e048361658
2019-03-06 12:03:00 -08:00
Viktor Hofer f8a8530d0f Project msbuild syntax cleanup (dotnet/corefx#35686)
* Remove license header from non-shipping files

* Remove obsolete Project attributes

* Remove xml header and remove DefaultTargets


Commit migrated from https://github.com/dotnet/corefx/commit/c390ce7df50252e11f5d322276e9d19e046d1332
2019-03-03 18:55:25 +01:00
Ahson Khan 4fed6ab881 Auto-generate the reference assemblies and separate type forwards (dotnet/corefx#35557)
* Auto-generate the reference assemblies

* Add back type forwards.

* Revert "Add back type forwards."

This reverts commit dotnet/corefx@3acf74aabb.

* Add back TypeForwardedTo in .Forward.cs files

* Add new type forward files to the csproj files

* Add back if-defs and move TestUtilities comment from ref to source

* Remove duplicate definitions, delete unnecessary manual files,

* Fix build breaks

* Add back missing AsyncMethodBuilderAttr to S.Runtime ref

* Fix typo between XmlDocument and XPath.XDocument

* Add type forward fild missed from previous commit

* Fix ECDiffieHellmanCngPublicKey internal ctor for netfx 4.6.1

* Remove "this type was moved to comments" from the type forwards.

* Add back the Xml and Debugger* attributes to Xml.ReaderWriter

* Add back struct layout attributes

* Add back attributes missing (highlighted from api compat)

* Add missing toolbox item attribute in s.data.common.

* Add missing struct layout attributes and remove unnecessary additions

* Add back InterfaceTypeAttribute


Commit migrated from https://github.com/dotnet/corefx/commit/16689aa0a933517dc45465fc6edb6223222414a6
2019-02-27 19:39:21 -08:00
Krzysztof Wicher 3ed51b67e9 Fix casing of files to get closer to ./build.sh -allConfiguration working on linux (dotnet/corefx#35085)
* Rename directories to use CamelCasing

* Fix CsProj files to match file names and their casing

* fix couple of Compile items which were not in csproj file


Commit migrated from https://github.com/dotnet/corefx/commit/8c5260061b11323dfd97fbab614d54402405513f
2019-02-07 10:41:44 -08:00
AraHaan f108845249 Turn on xml documentation validation globally. (dotnet/corefx#32934)
* Turn on xml documentation validation globally.

* Ignore warning 1591 globally.

* Fixed build failures.

* Move the Original DocumentationFile Condition to the Group.

Now NoWarn has no Condition on it.

* Fixed NoWarn overwrite.

* Update Directory.Build.props

* Update System.Runtime.CompilerServices.Unsafe.ilproj

* Update file on github web.

Sadly it seems I can only do this on my phone now. RIP

* Update System.Security.Cryptography.Csp.csproj

* Update Directory.Build.props

* Suppress some warnings.

* Fixed remaining compile errors.

* Update System.Diagnostics.StackTrace.csproj

* Update System.Security.Cryptography.Xml.csproj

* Fixed xml documentation typo in Microsoft.VisualBasic.

* Fixed missing suppressions.

* Suppress more errors.

* Suppress more errors.

* Suppress more errors.

* Suppress even more errors.

* Suppress more errors.

* Update Directory.Build.props

* Suppress more errors.

Also fix a documentation issue specific to OSX.

* Suppress more errors.

* Suppress more errors.

* Disable xml documentation for System.Diagnostics.Process.

* Do not overwrite NoWarn.

* Enable docs for S.D.P


Commit migrated from https://github.com/dotnet/corefx/commit/6abb4cd0bafa2a3c7486fb23bcc611bd211d0f8e
2018-12-08 22:21:50 -08:00
Viktor Hofer 66e8f64d31 Consume Microsoft.DotNet.CoreFxTesting package (dotnet/corefx#33423)
* Consume Microsoft.DotNet.CoreFxTesting package

* Remove code coverage dedicated runtime dir config files and switch to Coverlet

* Add global tool support in corefx

* Update code coverage docs

Commit migrated from https://github.com/dotnet/corefx/commit/ae38b7cc3762d832fdcebe27a0aab7b22ab2f3fa
2018-12-06 02:56:11 +01:00
Wes Haggard 954fb511b3 Rename AssemblyKey properties to StrongNameKeyId as part of arcade work
Commit migrated from https://github.com/dotnet/corefx/commit/7edd861bf2dd59ecdb4284e0fd291d7458198a9d
2018-10-30 15:14:01 -07:00
Wes Haggard 5d69a0e45d Test now have Open key so update some tests related to that.
Commit migrated from https://github.com/dotnet/corefx/commit/cf9c77ffa9fdc30fe39d4e9cec8fdcd0355ae290
2018-10-29 09:24:27 -07:00
Michal Strehovský ed720ceb7f Build S.R.Metadata on AOT configs same as netcoreapp (dotnet/corefx#32823)
Fixes dotnet/corefx#32594.

Commit migrated from https://github.com/dotnet/corefx/commit/074ab97c88f1b9748d7c28ccd8ac14160dd93a4f
2018-10-15 20:03:08 -07:00
Filip Navara 2a2c2ef521 Move uap, uapaot, netfx, netcoreapp and netcoreapp20 constant definitions to top-level build file. (dotnet/corefx#31470)
* 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
2018-08-29 08:49:33 -07:00
Viktor Hofer a177aa4888 Promote tests to netstandard (dotnet/corefx#31966)
* Promote tests to netstandard

* Disable uap test run

* Uncomment constant define, file condition positive

* Disable failing uap tests


Commit migrated from https://github.com/dotnet/corefx/commit/559d5401e6bb8a487ff499f4beff5bf5d83961a3
2018-08-27 20:03:05 +02:00
Eric Erhardt 779486884e Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/ec546de620c5248f3662d6aaca989ed382b86b6b
2018-06-28 21:28:41 -05:00
Eric Erhardt 8b6d5baf20 Change .csproj to new Configurations property
Change .sln to use the managed C# project system GUID.


Commit migrated from https://github.com/dotnet/corefx/commit/e05508a62d28f4807f85abe9cb7adf8382f792b4
2018-06-28 17:49:22 -05:00
Stephen Toub 4c9eb2ec25 Simplify built-in types across corefx tests (dotnet/corefx#30660)
Commit migrated from https://github.com/dotnet/corefx/commit/7ae1a252d7e68c5513d2658de7a401c37e9b0504
2018-06-25 22:42:04 -07:00
Stephen Toub 2fb9f847fc Simplify built-in types across corefx (dotnet/corefx#30656)
Commit migrated from https://github.com/dotnet/corefx/commit/e0ba7aa8026280ee3571179cc06431baf1dfaaac
2018-06-25 16:54:41 -07:00
Eric Erhardt 2053139c9a merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/1c91f96ec67a78a33268181d99a73a736b48c13e
2018-06-15 22:24:40 -05:00
Eric Erhardt 1df03e5bbd Rename dir files to Directory.Build
dir.props => Directory.Build.props
dir.targets => Directory.Build.targets


Commit migrated from https://github.com/dotnet/corefx/commit/204a8dbbc23bfc51d419c93f2f2ddaf50db8020f
2018-06-15 17:07:48 -05:00
Dan Moseley 7154dd21e6 Move #pragma warning disable BCL0015 to baseline files (dotnet/corefx#30378)
* Move #pragma warning disable BCL0015 to baseline files

* Fix baselines


Commit migrated from https://github.com/dotnet/corefx/commit/9c3f3d59f415e184487a8d244c2dacbe01756b4a
2018-06-13 19:21:43 -07:00
Eric Erhardt 70091b9c8b Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/ad505eb98c6a887db2d2932fec256d9e4e394169
2018-06-11 17:20:10 -05:00
Marco Rossignoli e714204d7a Replace files with CoreLib mirror(manual check) (dotnet/corefx#29954)
* remove dups

* Address PR feedback Padding.cs

* address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/8e53c7efea4efd28ba9d111dd4e70e3ca2f987f3
2018-05-30 19:48:51 -04:00
wtgodbe f38ceb30be Convert all .csproj files in src to SDK-style projects
Commit migrated from https://github.com/dotnet/corefx/commit/91d7e62bbf28094a2b419b87847bcd6a7658564d
2018-05-21 11:53:46 -07:00
Wes Haggard 90e6643a41 Bump minor versions of all packages produced
Commit migrated from https://github.com/dotnet/corefx/commit/63f6be575c97f3d7ca6406c5de732105892e146a
2018-04-27 14:56:19 -07:00
Wes Haggard fc526e8605 Bump assembly versions for libraries with packages
Commit migrated from https://github.com/dotnet/corefx/commit/6a1b5c0aeee747a535579da7374c05b8d878fb65
2018-04-27 14:56:18 -07:00
Tomas Matousek 1023c55398 Fix SRM nuspec
Commit migrated from https://github.com/dotnet/corefx/commit/c723a9fb05f9fafdce79a05f390ed917b70946be
2018-03-21 14:15:26 -07:00
Stephen Toub 9be933ea49 Synchronize access to dictionary in MetadataReaderTests (dotnet/corefx#28185)
Commit migrated from https://github.com/dotnet/corefx/commit/251d65c237aa26b49bc91bac25012340a93e64de
2018-03-19 08:26:44 -04:00
Wes Haggard 4d97955681 Consolidate matching ref generated baseline files
This change collapses some baseline files as well as fixes
some of the reference mis-matches


Commit migrated from https://github.com/dotnet/corefx/commit/8842923d3d6bc357d39b34c93353df952ac02079
2018-03-09 15:43:29 -08:00
Tarek Mahmoud Sayed 8fc79728e6 Collapse AsSpan().Slice(...) into .AsSpan(...) (dotnet/corefx#27867)
Commit migrated from https://github.com/dotnet/corefx/commit/8ad2b10cff945e4428520c6932e8de499af2931b
2018-03-08 13:56:43 -08:00
Tomáš Matoušek 60360b1cfc Add API that allows the emitter to indicate presence of localloc (dotnet/corefx#27589)
* Add API that allows the emitter to indicate presence of localloc

* Regenerate ref assembly source


Commit migrated from https://github.com/dotnet/corefx/commit/3fc3900a4b22d1444010b90dfba57f14bbe43961
2018-03-08 10:22:42 -08:00
Tomáš Matoušek 13301c9a92 Keep memory a MetadataReader created from provider/PEReader accesses alive until the provider/PEReader is released (dotnet/corefx#27759)
* Keep MetadataReader created from provider alive

* Keep MetadataReader returned by PEReader alive


Commit migrated from https://github.com/dotnet/corefx/commit/da62b6a922e353eb5e2a19e717fee7063d3ac035
2018-03-07 21:35:46 -08:00
Brian Robbins fb63ccf9cd Use the default supported nuget versions. (dotnet/corefx#27622)
Commit migrated from https://github.com/dotnet/corefx/commit/ac65c0f3fc79303e92da38a40bec52555afe2ff7
2018-03-03 20:55:44 -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
Tomáš Matoušek 1614ccbdba Windows PDB Checksum spec (dotnet/corefx#27421)
* Windows PDB Checksum spec

* Update PE-COFF.md

* Update PE-COFF.md


Commit migrated from https://github.com/dotnet/corefx/commit/d9e55a9f6c0deacd7ec1b866faffaeeeedef4b7e
2018-02-26 15:30:02 -05:00
Tomáš Matoušek 273fbc8b1f Add support for PDB Checksum debug directory entry (dotnet/corefx#26976)
Commit migrated from https://github.com/dotnet/corefx/commit/6b099e771d3b775b5cd273ec1b6fcec12ee7abbe
2018-02-14 15:01:55 -08:00
Tomáš Matoušek 520a20dd8d Remove 'PDBC' data signature
Commit migrated from https://github.com/dotnet/corefx/commit/a3647d844791f916dff1053665bbce4574d0b8ee
2018-02-13 11:41:05 -08:00
Tomáš Matoušek 92400871a5 PDB Checksum Debug Directory Record Specification (dotnet/corefx#26912)
* PDB Checksum Debug Directory Record Specification

* Hash zeroed PDB ID

* Update PE-COFF.md

* Update PE-COFF.md


Commit migrated from https://github.com/dotnet/corefx/commit/d374be89418236e29ed3f88a3f622a3719242089
2018-02-08 15:59:47 -08:00
Anirudh Agnihotry dd44b47581 Tests for span overloaded path api (dotnet/corefx#26017)
tests added for span overload for path Apis

Commit migrated from https://github.com/dotnet/corefx/commit/1a21a67b178a4fdbfcc4d1e4f449e5c285af9056
2018-02-06 15:54:23 -08:00
Kassem Sandarusi c935fac773 TypeDefinition.IsNested Property (dotnet/corefx#25963)
* Adding API TypeDefinition.IsNested. Closes dotnet/corefx#5377

* Adding related tests.

* fixing backward asserts.

* Switching to expression-bodied syntax.

* Adding doc comment. Switching to an assembly that actually has nested types.

* Fixing xml doc comment to align with msdn comment style.

* Update TypeDefinition.cs

Fixing bad grammar in comments.


Commit migrated from https://github.com/dotnet/corefx/commit/af18a5fe0d4aab25d8fcb6900fcffa8c99befb60
2018-02-04 13:26:16 -08:00