Commit Graph
97 Commits
Author SHA1 Message Date
Mitchell HwangandMitchell Hwang ac847fc991 [wasm] Mark System.Threading.ThreadPool unsupported on Browser (#41891)
* System.Threading.ThreadPool enable platform attributes

* Mark System.Threading.ThreadPool APIs unsupported on browser

* System.Threading.ThreadPool Add Unsupported attribute to other ThreadPool files

* Remove Unsupported attributes from BindHandle

* Add windows Supported Attribute to BindHandle

Co-authored-by: Mitchell Hwang <[email protected]>
2020-09-08 19:24:09 -04:00
Anirudh Agnihotry 621ed57461 Correcting Mismatch between ref and src (#39741)
* minor formatting

* ref changes
2020-07-30 14:52:46 -07:00
Stephen Toub 6072e4d3a7 Update license headers (#38793) 2020-07-08 09:23:11 -04:00
Levi Broderick 0d08b0232d API review URL should be HTTPS, not HTTP (#32281) 2020-02-14 08:07:46 -08:00
Anirudh Agnihotry 725968c3c5 New Configuration System (#1787)
* libraries -restore for vertical build without test restore

* Automatic test change and regex to remove the addition of an extra line at eof

* manual test restore fixed (restore completely done for vertical build)

* build native done

* Automatic ref change and regex to remove the last line

* manual reference assebly change and generated shims build

* automatic src change and regex

* native bin place and src build manual change

* apicompat and pretest.csproj done

* fixing the package build

* fixing all config

* packaging and feedback

* adding back placeholder configuration

* fixing the shims

* delete configuration.props

* making the build work in master

* Test Change

* fixing the packageing, test restore replacing TargetFramework -> OriginalTargetFramework

* delete test configuraiton.props, trailing semicolon and use targetFramework

* reverting the package change

* enable apicompat and fixing configurationGroup for individual projects

* fixing the api compat

* making ilproj work

* adding the outerBuildTest

* adding the arcade package version

* fixing the merge conflicts

* minor changes

* adding additional configs and setting the runtimeOS

* making the  vs stuff work

* removing the target Group to fix the apicompat

* fixing the linux build and some minor changes

* making additionalBuildTargetFramework LOcalProperty

* fixing the allConfigurations build

* fixing the netfx build

* fixing package Testing and restore

* Missing  TargetFrameworks tag

* making the VSdesgin stuff work

* Remove OriginalFramework Entirely

* some minor pr feedback

* RemoveExtraSemicolon

* use boolean exclude flag

* fixing yml scripts to pass tests

* adding comments and some minor feedback

* moving packaging property to correct plave

* fixing the build for web assembly

* Fixing the live ci build

* Fixing the live build for shims

* fixing the tests

* fixing the packaging and enterprise linux

* fixing  package sizes

* Fix the targetFramework

* updating the targetFramework sdl

* removing the buildOS and be able to use OSGroup as done in the old system

* Fixing the osgroup stuff for send to helix task

* Fix OSX failures

* Fixing the osx build

* uploading tmp folder to artifacts

* running restore for runtime.deproj correctly
2020-02-06 05:24:08 +00:00
Jan Kotas 099a512445 Merging small assemblies (part 1/N) (#2189)
* Delete unnecessary ClsCompliant

* Merge System.Diagnostics.Tools\src into CoreLib

* Merge System.Security.Pricipal\src into CoreLib

* Delete System.IO.UnmanagedMemoryStream\ref\System.IO.UnmanagedMemoryStream.cs

* Delete System.Reflection\ref\System.Reflection.cs

* Delete  System.Threading.Timer\src\ApiCompatBaseline.uapaot.txt

* Delete System.Buffers\src\Resources\Strings.resx

* Merge System.Buffers\ref into System.Runtime

* Merge System.Diagnostics.Debug\ref into System.Runtime

* Delete *\MatchingRefApiCompatBaseline.txt

* Merge System.Diagnostics.Tools into System.Runtime\ref

* Merge System.Resources.ResourceManager into System.Runtime\ref

* Cleanup System.IO.* project references

* Cleanup System.Reflection project references

* Cleanup System.Runtime.Handles project references

* Merge System.Threading.Thread\src into CoreLib

* Merge System.Threading.Timer\ref into System.Runtime

* Merge System.Threading.Tasks\ref into System.Runtime
2020-01-29 10:02:22 -08:00
Anirudh Agnihotry 3b9abae5aa Removing "netcoreapp" and "netfx" TargetGroup (#457)
* netcoreapp -> netcoreapp5.0 in .sln files

* netcoreapp; -> netcoreapp5.0;  , netcoreapp- to netcoreapp5.0-

* netcoreapp- -> netcoreapp5.0 in .csproj

* 'netcoreapp -> 'netcoreapp5.0 in .csproj

* done with libraries sub folder

* missed semicolon

* minor changes

* netcoreapp -> netcoreapp5.0 in some extra files

* vNext target variable in configurations.props

* netcoreapp => netcoreapp5/0 in some other .props file

* netcoreapp -> vnext in .csproj

* making the netcorepap framework switch work

* fixing sendToHelix and linux build

* TargetFrameworkVNext -> netcoreappCurrent

* case correct netcoreappcurrent

* fixing send to helix zip path

* netfx -> net472 in .sln

* netfx; -> net472; in .props

* netfx- -> net472- in .props

* netfx - -> net472- in .csproj

* 'netfx-> 'net472 in .csproj

* netfx -> net472 manual change

* fixing ci build for netfx

* Not trying to change the global property

* Fixing build failure due to master changes in net https tests

* adding documentaiton and fixing filtering

* netcoreapp -> netcore5.0 in py file

* changing the path to use netcoreapp5.0 version

* feedback and override corefx path corrected in installers

* remaing netcoreapp5.0 changes done

* netcoreapp-> netcoreapp5.0 after live builds

* net472 -> netframeworkcurrent
2019-12-14 12:22:29 -08:00
Viktor Hofer 9b88ca1d72 Remove UAP target (dotnet/corefx#41759)
* Remove Uap target

* Remove RemoteInvokeForUap wrapper calls entirely

* Harvest S.D.SqlClient on UWP

* Disable UWP PInvoke analyzer

* Enable WindowsRuntime* tests on netcoreapp

Commit migrated from https://github.com/dotnet/corefx/commit/3b6ec2ba944fb72f921f95b99b6ebf2e7bb3dc5a
2019-10-17 15:04:39 +02:00
Viktor Hofer d5079dda17 Remove ProjectGUIDs from project files and Project and Name attributes from P2Ps (dotnet/corefx#40926)
* Remove ProjectGUIDs from P2Ps

* Remove ProjectGUIDs from project files

Commit migrated from https://github.com/dotnet/corefx/commit/c22714d65151968a17c3b232748880d5e7961dee
2019-09-09 18:21:25 +02:00
Stephen Toub 6e335aa872 Enable several StyleCopAnalyzers (dotnet/corefx#39921)
* Fix ordering of keywords in member signatures

* Add StyeCop.Analyzers

Most rules are disabled.  Many of them we'll want to leave disabled, however there are a handful it'll be good to enable over time.

* Use built-in type alias

* Fix straggling stylecop warnings in all configurations

* Replace tabs with spaces


Commit migrated from https://github.com/dotnet/corefx/commit/a12c557a72988070b8624cc7ecc46899629895c4
2019-07-31 19:10:59 -04:00
Santiago Fernandez Madero f99391a048 Add nullable annotations to System.Threading.ThreadPool ref assembly. (dotnet/corefx#38239)
* Re-generate System.Threading.ThreadPool ref assembly against implementation

* Enable nullable context on System.Threading.ThreadPool

* Add nullable annotations to System.Threading.ThreadPool


Commit migrated from https://github.com/dotnet/corefx/commit/040b28ca57fbe57db32a0b56c977d4956991e34c
2019-06-14 18:55:23 -07:00
Koundinya Veluri 8ea83020c4 Expose and test APIs for some threading metrics (CoreFX) (dotnet/corefx#37401)
* Expose and test APIs for some threading metrics (CoreFX)

- API review: https://github.com/dotnet/corefx/issues/35500
- Depends on https://github.com/dotnet/coreclr/pull/22754, https://github.com/dotnet/corert/pull/7066

* Separate and expose pending local vs global work item count

* Remove local/global variants of PendingWorkItemCount

* Remove unrelated test

* Add test for a fix to ThreadLocal.Values property throwing NullReferenceException when disposed

Fix is in https://github.com/dotnet/corert/pull/7066

* Fix build

* Fix test

* Add API compat baselines for uapaot

* Fix test

* Use RemoteExecutor for MetricsTest

* Address feedback


Commit migrated from https://github.com/dotnet/corefx/commit/34fe566b6f6bd739a876e7e1dc48cf631647e5d7
2019-05-09 06:44:39 -04: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
Stephen Toub 42ba83bf19 Expose\test generic UnsafeQueueUserWorkItem overload (dotnet/corefx#33637)
* Expose\test generic UnsafeQueueUserWorkItem overload

* Suppress ApiCompat warning


Commit migrated from https://github.com/dotnet/corefx/commit/a3cef9c4c589a414a4add343f154bc8eaa9e21fd
2018-11-27 14:55:27 -05:00
Stephen Toub d8493736a7 Expose ThreadPool.UnsafeQueueUserWorkItem(IThreadPoolWorkItem, bool) (dotnet/corefx#32859)
Commit migrated from https://github.com/dotnet/corefx/commit/e67b42976c48b4ac581c11f6cefcb935208deca2
2018-10-23 21:04:12 -07: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
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
Stephen Toub 41524bf7b8 Change new ThreadPool.QueueUserWorkItem overload to be generic
Commit migrated from https://github.com/dotnet/corefx/commit/3980e74d867f260702310d59773fa1d5a28b81f9
2018-02-28 08:13:58 -05:00
Jan Kotas 27d98c0776 Delete unnecessary SecurityCritical and SecuritySafeCritical annotations
Commit migrated from https://github.com/dotnet/corefx/commit/0bb106232745aedfc0d0c5a84ff2b244bf190317
2017-11-19 10:37:38 -08:00
Stephen Toub 5e94726b83 Expose/test ThreadPool.QueueUserWorkItem(..., bool preferLocal) (dotnet/corefx#24396)
Commit migrated from https://github.com/dotnet/corefx/commit/59f127d39937a97b5b2bce27c70785b1cde2ade0
2017-10-03 13:37:02 -04:00
Wes Haggard 4effd546bc Add ProjectGuids for all projects and empty configs for projects without BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/d00bb5d18ac91189b12ed2fb7131d0ff62da9034
2017-02-02 15:02:57 -08:00
Eric St. John 2ef0e9bfd8 Sync PropertyGroups and BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/7e4792af39bd7faba20dd3390b411f3afaee3c66
2017-01-30 13:23:56 -08:00
Jose Perez Rodriguez dd708b105d Adding missing Configurations.props for refs and fixing the existing ones (dotnet/corefx#15291)
Adding missing Configurations.props for refs and fixing the existing ones

Commit migrated from https://github.com/dotnet/corefx/commit/2847e0ec9f7c9ac42d44d2bc8c6fd39e504b7a9b
2017-01-19 16:38:55 -08:00
Alex Perovich 573869c47f Automated update of ns1.7->ns2.0 and nca1.1->nca2.0
Commit migrated from https://github.com/dotnet/corefx/commit/1f8b5264a8156f91c48b2dc344d5410ee6f574cb
2017-01-10 16:20:42 -08:00
Jose Perez Rodriguez 846d8ab24b Merge branch master into dev/eng
Commit migrated from https://github.com/dotnet/corefx/commit/44b68e694948065c1b61457cec125d3d64c1fa22
2017-01-05 14:03:56 -08:00
dotnet-bot f6c2208f04 Update CoreClr, CoreFx, ProjectNTfs to beta-24904-02, beta-24904-01, beta-24904-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/81832da776d1502b0a68219cba6b8cbaf9399ed6
2017-01-04 09:48:26 +00:00
dotnet bot db5f76dc34 Update CoreClr, CoreFx to beta-24903-03, beta-24903-02, respectively (dotnet/corefx#14819)
Commit migrated from https://github.com/dotnet/corefx/commit/c379ecd7f3b53ee00521b91c4e8421e15fe6178a
2017-01-03 10:58:17 -08:00
dotnet-bot 80435753bd Update CoreClr, CoreFx, ProjectNTfs to beta-24903-02, beta-24903-01, beta-24903-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/14a3a5b6c2dce0ea80209ef3c4f34d4c6d460177
2017-01-03 09:43:53 +00:00
dotnet-bot d45b4d8506 Update CoreClr, CoreFx to beta-24902-03, beta-24902-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/ecb70894ab9e82f08fb8afcfe01e1f663f10a2e5
2017-01-02 17:29:07 +00:00
dotnet-bot d3b238de6a Update CoreClr, CoreFx, ProjectNTfs to beta-24902-02, beta-24902-01, beta-24902-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d52cb08c73cdf51b363d721cfbd3299347eb6a03
2017-01-02 09:45:03 +00:00
dotnet bot a92d96c1a8 Update CoreClr, CoreFx, ProjectNTfs to beta-24829-03, beta-24829-02, beta-24829-00, respectively (dotnet/corefx#14755)
Commit migrated from https://github.com/dotnet/corefx/commit/3860fe87088c38e0093952ecfcc01f9cc01c628e
2016-12-29 11:22:00 -08:00
dotnet bot b4eb941d9a Update CoreClr, CoreFx, ProjectNTfs to beta-24828-03, beta-24828-03, beta-24828-00, respectively (dotnet/corefx#14743)
Commit migrated from https://github.com/dotnet/corefx/commit/24d0731401fa324f6f75ac711f966f488372f6c1
2016-12-28 14:32:38 -08:00
dotnet-bot 60a7566d99 Update CoreClr, CoreFx, ProjectNTfs to beta-24827-03, beta-24827-01, beta-24827-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/f7f3a2ed0b236af4d7e77cbeb4c170a5b9c3f69d
2016-12-27 19:42:49 -08:00
dotnet-bot 5b05514dc1 Update CoreClr, CoreFx, ProjectNTfs to beta-24814-02, beta-24814-01, beta-24814-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/5e7220551ecf55c32227aa51a94113f82ff3e318
2016-12-14 09:32:55 +00:00
dotnet-bot 2265a63681 Update CoreClr, CoreFx, ProjectNTfs to beta-24813-01, beta-24813-02, beta-24813-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/ff7001d51c4263298b4790206edcde74f5d0ff39
2016-12-13 04:16:59 +00:00
dotnet-bot 7b26a7e899 Update CoreClr, CoreFx to beta-24811-03, beta-24811-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/f77687d070721a2e16d427236dba471e5641a22c
2016-12-11 17:25:16 +00:00
dotnet-bot 496e3fb9b2 Update CoreClr, CoreFx to beta-24811-01, beta-24811-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/311289fced622546cf385e5255684694f5161f3c
2016-12-11 03:39:39 +00:00
dotnet-bot 03ec1ebf0f Update CoreClr, CoreFx to beta-24810-04, beta-24810-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/9635d682c4a900e8031aea35ca6d3b66defb5009
2016-12-10 17:24:57 +00:00
dotnet-bot 4cb4a40ec4 Update CoreFx to beta-24810-02
Commit migrated from https://github.com/dotnet/corefx/commit/8f23fefaecca3650396bb10786e5b93e9cb397d9
2016-12-10 09:32:35 -05:00
Jeremy Kuhne 9b64ad7df6 Revert "Strip out SecurityCritical attributes" (dotnet/corefx#14393)
Commit migrated from https://github.com/dotnet/corefx/commit/e0aa1e7697fb66057ed4f0be1b93e9adccd1b8c5
2016-12-09 18:06:12 -08:00
Jeremy Kuhne 7fc1664e7e Strip out SecurityCritical attributes (dotnet/corefx#14383)
They don't have any function in Core.

Stripped via regex:

^.*\[(System\.Security\.)?Security(Safe)?Critical(Attribute)?\](\s*//.*|\s*)$[\r\n]*

Commit migrated from https://github.com/dotnet/corefx/commit/1abd60c9f57777e1fcb3b0727285d7478a1c7788
2016-12-09 17:48:55 -08:00
dotnet-bot c28ef9e19d Update CoreFx to beta-24809-03
Commit migrated from https://github.com/dotnet/corefx/commit/4580bd85e5075c8dcca9feda219684d1ec939253
2016-12-09 21:11:25 +00:00
Stephen Toub 757582b621 More ordering consistency
- "static unsafe" instead of "unsafe static"
- "extern unsafe" instead of "unsafe extern"
- "protected internal" instead of "internal protected"


Commit migrated from https://github.com/dotnet/corefx/commit/9c06da6a34fcefa6fb37776ac57b80730e37387c
2016-12-09 10:27:50 -05:00
dotnet-bot 97d4fc14a1 Update CoreClr, CoreFx to beta-24809-02, beta-24808-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/4f6ae2b2664f6785d837f91e684b999fc888b271
2016-12-09 02:13:34 +00:00
Eric Mellino 966c8e0251 [dev/eng] Overhaul ref and src project references, and start binplacing things (dotnet/corefx#14062)
* Used GenerateBuilds.ps1 script to generate the P2P references from the project.json files in ref

* Update refs to build with ProjectReference's instead of package references

This deletes all the ref\project.json files and instead adds ProjectReference
to other refs that are used to build.

There is only one exception which was System.Net.Http which needed a project.json
to get the net46 targeting pack otherwise everything else is P2P.

* Update Reflection.Emit contracts to support latest version of contracts

* Add depproj to get windows.winmd support when building refs

* Special handle System.Net.Http ref project to deal with net46 targeting pack

* Moved CLSCompliant to SecureString ctor instead of type

* Add P2P reference from S.IO -> S.R.Extensions

* Add additional ProjectReferences to more ref projects after master rebase

* Start binplacing ref assemblies and disable rest of build

* Simplify all ref projects to only build for netcoreapp (default target group)

* Only binplace netcoreapp refs

* Allow Reference's to be resolved from targeting pack directories

* Use GenerateBuilds.ps1 to convert src project.json refs to References

* Allow overriding stuff in Tools

* System.Runtime src project building against targeting pack

* Re-purpose GenerateBuilds.ps1 to re-write src references

* Only build csproj files in src.builds

* More custom stuff in GenerateBuilds.ps1

* Binplace all netstandard assemblies into netcoreapp as well.

* Add project.json to System.Collections.Immutable

* More custom generatebuilds.ps1 stuff

* Normalize csproj files before running GenerateBuilds.ps1

* Better match the replaced  'None Include="project.json"' line.

* Another missing project.json inclusion in csproj

* Remove ExcludeFromCodeCoverageAttribute from Immutable project

* Include another project.json

* Add some P2P references

* Add another project.json include

* Disable Http.Rtc project.

* Disable two more UWP projects and another P2P ref"

* More Cleanup

* Run GenerateBuilds.ps1 to re-write all nuget refs as <Reference>'s

* Binplace netstandard runtime assemblies to netcoreapp as well.

* Re-hook all src projects into build.proj

* Fix bin clashing caused by bad ProjectReference metadata

* Use 'copy' instead of 'cp' in init-tools.cmd. Add copying to init-tools.sh as well.

* Correct casing of windows.winmd in depproj

* Disable System.Memory.csproj outside of Windows

* Fix unix exclusion of System.Memory, and include vbproj files

* Fix VisualBasic compilation

* There was an extra definition of MemberTypes that was internal to the
  assembly. It's now defined in System.Private.CoreLib, so I deleted the
  extra here.
* There was an invalid call in Operators.vb that I fixed.

* Add additional project references and configuration fixes after rebase

* Fix build warnings in ref projects

* Fix build warnings in src projects


Commit migrated from https://github.com/dotnet/corefx/commit/a9f6d7d749f9946cc6b10c50b54bcae0e43e859e
2016-11-29 18:01:35 -08:00
dotnet-bot f7a208ba73 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24721-04, beta-24721-02, beta-24721-00, beta-24721-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/bd9f87de00538052b6cf4c4faa261c0d22e04f90
2016-11-21 23:52:28 +00:00
Koundinya Veluri da77e87b10 Expose some threading-related things for ns2.0 (dotnet/corefx#13722)
Expose some threading-related things for ns2.0

Fixes dotnet/corefxdotnet/corefx#11638
Fixes dotnet/corefxdotnet/corefx#11633
Fixes dotnet/corefxdotnet/corefx#11635
Fixes dotnet/corefxdotnet/corefx#11636
Fixes dotnet/corefxdotnet/corefx#13484

Commit migrated from https://github.com/dotnet/corefx/commit/1ee59d81e35fb9576ba37d0071388da0d8a6cc5e
2016-11-18 14:37:11 -08:00
dotnet-bot 17b9d2afa6 Update CoreFx, ProjectNTfs to beta-24717-03, beta-24718-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/dbccc58ac0186bbcf9fe0445b255b33ea583ff56
2016-11-18 04:16:59 +00:00
dotnet-bot 709886b4f3 Update CoreClr, CoreFx, ProjectNTfs to beta-24717-03, beta-24717-02, beta-24717-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/67690bd0f2bff10db494e829755fffa667184600
2016-11-17 14:43:31 -05:00