* 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
* 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
* 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
* 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
* 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
* Adding API TypeDefinition.IsNested. Closesdotnet/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