platform/upstream/dotnet/runtime.git
13 months ago[release/8.0] Use strategy in StrategyBasedComWrappers.ComputeVtables (#92250)
github-actions[bot] [Tue, 19 Sep 2023 04:38:55 +0000 (21:38 -0700)]
[release/8.0] Use strategy in StrategyBasedComWrappers.ComputeVtables (#92250)

* Use strategy in StrategyBasedComWrappers.ComputeVtables

We didn't actually use the strategy object here, so users like WinForms can't actually use it.

* Update src/libraries/System.Runtime.InteropServices/src/System/Runtime/InteropServices/Marshalling/StrategyBasedComWrappers.cs

Co-authored-by: Jackson Schuster <36744439+jtschuster@users.noreply.github.com>
---------

Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
Co-authored-by: Jackson Schuster <36744439+jtschuster@users.noreply.github.com>
13 months agoLocalized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 227045...
dotnet bot [Tue, 19 Sep 2023 04:38:23 +0000 (21:38 -0700)]
Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2270458 (#92258)

13 months ago[release/8.0] Fix: Config binder generator doesn't generate code when named arguments...
github-actions[bot] [Tue, 19 Sep 2023 04:38:03 +0000 (21:38 -0700)]
[release/8.0] Fix: Config binder generator doesn't generate code when named arguments are out of order (#92257)

* Fix Named parameters bug

* Test the generator only, don't compare generated file row by row

* Add other named parameter combinatios for other overloads in the test, add test for OptionsBuilder... and ServiceCollection extensins

* Adjust line numbers with source generator updates

* Move similar code section into helper method, don't exact exact line count

* Apply feedbacks

---------

Co-authored-by: Buyaa Namnan <bunamnan@microsoft.com>
13 months ago[release/8.0] Numerics and Tensors backport (#92245)
Michael Sharp [Tue, 19 Sep 2023 01:55:53 +0000 (19:55 -0600)]
[release/8.0] Numerics and Tensors backport (#92245)

* added Bcl.Numerics

* Adding a naive implementation of various primitive tensor operations (#91228)

* Adding a naive implementation of various primitive tensor operations

* Adding tests covering the new tensor primitives APIs

* Adding tensor primitives APIs to the ref assembly

* Allow .NET Framework to build/run

* Sync TFMs between ref and src, csproj simplication and clean-up

* Apply suggestions from code review

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
* Don't use var

* Fix the S.N.Tensors readme and remove the file marking it as non-shipping

---------

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Michael Sharp <51342856+michaelgsharp@users.noreply.github.com>
* Start vectorizing TensorPrimitives (#91596)

* Start vectorizing TensorPrimitives

Just does two functions to establish the files into which the rest of the implementations can be moved.

* 6 more naive methods for Tensor Primitives. (#92142)

* 6 more naive methods

* updates from pr comments

* Add remaining set of TensorPrimitives APIs for .NET 8 (#92154)

* Add remaining set of TensorPrimitives APIs for .NET 8

Adds non-vectorized implementations of:
- Max
- Min
- MaxMagnitude
- MinMagnitude
- IndexOfMax
- IndexOfMin
- IndexOfMaxMagnitude
- ConvertToHalf (only on .NET Core)
- ConvertToSingle (only on .NET Core)
- IndexOfMinMagnitude

Adds vectorized implementations of:
- Sum
- SumOfSquares
- SumOfMagnitudes
- Product
- ProductOfSums
- ProductOfDifferences

Also includes the helpers that'll make it trivial to vectorize Dot.

Beyond vectorizing the non-vectorized ones, the vectorized implementations should be improved further, including:
- Handling alignment better
- Vectorizing the remainder that doesn't fit in a vector rather than falling back to scalar

* Cleanup after previous PR, vectorize CosineSimilarity/Dot/L2Normalize/Distance, add tests

* Address PR feedback, and fix a few other issues

* Fix TensorPrimitives.CosineSimilarity to use vectorized implementations (#92204)

* Fixed duplicated code from merge.

* New Microsoft.BCL.Numerics package (#91074)

* bcl numberics library added

* bcl done

* added explicit 2.1 target

* Minor doc updates

* Apply suggestions from code review

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
* fixes from PR comments

* minor csproj fixes

* fixed ref target frameworks

* minor ref csproj updates

* minor csproj updates

---------

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
* Microsoft.Bcl.Numerics.Tests: fix restore failure when DotNetBuildFromSource. (#91402)

* Microsoft.Bcl.Numerics.Tests: fix restore failure when DotNetBuildFromSource.

* Use NetCoreAppCurrent.

* Try fix CI test failures.

---------

Co-authored-by: Tanner Gooding <tagoo@outlook.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: Tom Deseyn <tom.deseyn@gmail.com>
13 months ago[release/8.0] Update HttpClientJsonExtensions.Get.AsyncEnumerable.cs (#92199)
github-actions[bot] [Mon, 18 Sep 2023 23:54:39 +0000 (16:54 -0700)]
[release/8.0] Update HttpClientJsonExtensions.Get.AsyncEnumerable.cs (#92199)

* Update HttpClientJsonExtensions.Get.AsyncEnumerable.cs

reuse method from ReadFromJsonAsAsyncEnumerable

* fix trailing space

* feat: add test case

* Update HttpClientJsonExtensions.Get.AsyncEnumerable.cs

add httpClient null check

* Update HttpClientJsonExtensions.Get.AsyncEnumerable.cs

fix trailing space style

* Update src/libraries/System.Net.Http.Json/tests/FunctionalTests/HttpClientJsonExtensionsTests.cs

Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
* refine updates

---------

Co-authored-by: Weihan Li <weihanli@outlook.com>
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
13 months ago[release/8.0] Make src gen for property setters consistent with reflection (#92167)
github-actions[bot] [Mon, 18 Sep 2023 19:50:42 +0000 (12:50 -0700)]
[release/8.0] Make src gen for property setters consistent with reflection (#92167)

* Make src gen for property setters consistent with reflection

* Don't default value during initialization

* Remove unnecessary bang operator

* Don't default a property when it is a collection or child type

* Simply use of new variable; add to test

* Review feedback

---------

Co-authored-by: Steve Harter <steveharter@users.noreply.github.com>
13 months ago[release/8.0] Fix wasi build. (#92232)
github-actions[bot] [Mon, 18 Sep 2023 18:43:24 +0000 (11:43 -0700)]
[release/8.0] Fix wasi build. (#92232)

* Fix wasi build.

* dummy change in wasi README to trigger a build

* dummy change in wasi to trigger a build

---------

Co-authored-by: Zoltan Varga <vargaz@gmail.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
13 months ago[release/8.0] Check if loop body occured before loopTop and if so unmark alignment...
github-actions[bot] [Mon, 18 Sep 2023 18:31:42 +0000 (11:31 -0700)]
[release/8.0] Check if loop body occured before loopTop and if so unmark alignment (#91918)

* Check if loop body occured before loopTop"

* Check if bbNatLoopNum is not NOT_IN_LOOP

* review feedback

---------

Co-authored-by: Kunal Pathak <Kunal.Pathak@microsoft.com>
13 months ago[release/8.0] JIT: Initialize jitstdout lazily (#92212)
Jakob Botsch Nielsen [Mon, 18 Sep 2023 17:24:19 +0000 (19:24 +0200)]
[release/8.0] JIT: Initialize jitstdout lazily (#92212)

* JIT: Initialize jitstdout lazily

Avoid duplicating a handle and doing several I/O operations on the
startup path. Fixes #91856 as a side effect.

* Fix jitShutdown

* Add volatile

* CSE

* Ensure jitstdout() is not used eagerly

* Move comment, fix printf -> jitprintf

* Clean up

13 months agoJIT: Extract all side effects of the index in optRemoveRangeCheck (#92210)
github-actions[bot] [Mon, 18 Sep 2023 17:23:48 +0000 (10:23 -0700)]
JIT: Extract all side effects of the index in optRemoveRangeCheck (#92210)

optRemoveRangeCheck extracts only GTF_ASG from the bounds check. If the
BOUNDS_CHECK is complex, that results in silently dropping side effects
on the floor (see the example case).

The ideal fix is that we should always extract all side effects from the
index and length operands, however this has large regressions because
the length typically has an ARR_LENGTH that we then extract. This PR
instead has a surgical fix for the problem case that can be backported
to .NET 8. It extracts all side effects from the index, but keeps
extracting only GTF_ASG from the length to get around the issue
mentioned above.

Fix #91862

Co-authored-by: Jakob Botsch Nielsen <jakob.botsch.nielsen@gmail.com>
13 months ago[release/8.0] [browser] Add link to docs to interop error messages (#92182)
github-actions[bot] [Mon, 18 Sep 2023 17:22:10 +0000 (10:22 -0700)]
[release/8.0] [browser] Add link to docs to interop error messages (#92182)

* JS part

* C# part

---------

Co-authored-by: Marek Fišera <mara@neptuo.com>
13 months ago[mono][aot] Avoid compiling the same method multiple times during dedup. (#92178)
github-actions[bot] [Mon, 18 Sep 2023 17:21:39 +0000 (10:21 -0700)]
[mono][aot] Avoid compiling the same method multiple times during dedup. (#92178)

Co-authored-by: Zoltan Varga <vargaz@gmail.com>
13 months ago[release/8.0] Update dependencies from dnceng/internal/dotnet-optimization (#92177)
dotnet-maestro[bot] [Mon, 18 Sep 2023 17:20:30 +0000 (10:20 -0700)]
[release/8.0] Update dependencies from dnceng/internal/dotnet-optimization (#92177)

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20230915.3

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23464.6 -> To Version 1.0.0-prerelease.23465.3

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20230915.3

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23464.6 -> To Version 1.0.0-prerelease.23465.3

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20230915.3

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23464.6 -> To Version 1.0.0-prerelease.23465.3

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
13 months ago[workloads] Opt into using package groups (#92168)
github-actions[bot] [Mon, 18 Sep 2023 17:13:31 +0000 (10:13 -0700)]
[workloads] Opt into using package groups (#92168)

This is to make sure the MSI's we generate for VS are recognized as the same. Enabling sxs workloads by itself caused the package id's that wrap the manifest MSI's to be different. This prevents that from happening.

Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
13 months ago[release/8.0] Avoid marking property/event attributes multiple times (#92153)
github-actions[bot] [Mon, 18 Sep 2023 17:11:57 +0000 (10:11 -0700)]
[release/8.0] Avoid marking property/event attributes multiple times (#92153)

* Avoid marking property attributes multiple times

* Fix test for nativeaot

* Add issue link

* Simplify test, fix bug for events, add more coverage

* Fix event tests

* Fix test for nativeaot

NativeAot requires a call to GetCustomAttribute for the
attributes to be kept.

---------

Co-authored-by: Sven Boemer <sbomer@gmail.com>
13 months ago[release/8.0] Remove public provider from rundown session (#92048)
github-actions[bot] [Mon, 18 Sep 2023 17:09:53 +0000 (10:09 -0700)]
[release/8.0] Remove public provider from rundown session (#92048)

* add rundown check

* Update ep-session.c

* Check for rundown provider

* Fix

* Update src/mono/mono/eventpipe/ep-rt-types-mono.h

Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
* Fix cross plat build

* Revert previous changes

* Remove public provider from rundown session

* Finish reverting

* Update ep-session.c

---------

Co-authored-by: David Mason <davmason@microsoft.com>
Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
13 months agoMerge pull request #92224 from dotnet/PackageREADMEsRelease80
Viktor Hofer [Mon, 18 Sep 2023 15:10:45 +0000 (17:10 +0200)]
Merge pull request #92224 from dotnet/PackageREADMEsRelease80

[release/8.0] Add package readmes

13 months agoLast clean-up
Viktor Hofer [Mon, 18 Sep 2023 14:33:59 +0000 (16:33 +0200)]
Last clean-up

13 months agoConfigurationManager clean-up
Viktor Hofer [Mon, 18 Sep 2023 14:00:28 +0000 (16:00 +0200)]
ConfigurationManager clean-up

13 months agoMore clean-up
Viktor Hofer [Mon, 18 Sep 2023 13:57:55 +0000 (15:57 +0200)]
More clean-up

13 months agoClean-up
Viktor Hofer [Mon, 18 Sep 2023 13:51:32 +0000 (15:51 +0200)]
Clean-up

13 months agoAdd ServiceController package readme
Viktor Hofer [Mon, 18 Sep 2023 13:30:08 +0000 (15:30 +0200)]
Add ServiceController package readme

13 months agoFix trailing whitespace
Viktor Hofer [Mon, 18 Sep 2023 12:57:53 +0000 (14:57 +0200)]
Fix trailing whitespace

13 months agoAdd System.Management packag readme
Viktor Hofer [Mon, 18 Sep 2023 12:52:31 +0000 (14:52 +0200)]
Add System.Management packag readme

13 months agoMathF PR feedback
Viktor Hofer [Mon, 18 Sep 2023 12:19:24 +0000 (14:19 +0200)]
MathF PR feedback

13 months agoReplace important markdown tag with bold
Viktor Hofer [Mon, 18 Sep 2023 12:17:31 +0000 (14:17 +0200)]
Replace important markdown tag with bold

13 months agoRemove en-US culture from links
Viktor Hofer [Mon, 18 Sep 2023 12:15:47 +0000 (14:15 +0200)]
Remove en-US culture from links

13 months agoUpdate Feedback library name markdown style
Viktor Hofer [Mon, 18 Sep 2023 12:15:20 +0000 (14:15 +0200)]
Update Feedback library name markdown style

13 months agoRemove undocumented P2 package readmes
Viktor Hofer [Mon, 18 Sep 2023 12:14:49 +0000 (14:14 +0200)]
Remove undocumented P2 package readmes

13 months agoAdd Microsoft.Extensions.Configuration.Binder readme.
Eric StJohn [Sat, 16 Sep 2023 19:46:24 +0000 (12:46 -0700)]
Add Microsoft.Extensions.Configuration.Binder readme.

13 months agoFill template for Microsoft.Extensions.Configuration & Abstractions
Eric StJohn [Sat, 16 Sep 2023 19:20:41 +0000 (12:20 -0700)]
Fill template for Microsoft.Extensions.Configuration & Abstractions

13 months agoadded Bcl.Numerics
Michael Sharp [Wed, 13 Sep 2023 05:13:22 +0000 (23:13 -0600)]
added Bcl.Numerics

13 months agoApply suggestions for System.Diagnostics.EventLog & PerformanceCounter
Carlos Sánchez López [Mon, 11 Sep 2023 14:44:36 +0000 (08:44 -0600)]
Apply suggestions for System.Diagnostics.EventLog & PerformanceCounter

13 months agoApply suggestions from code review
Dan Moseley [Fri, 8 Sep 2023 20:49:07 +0000 (14:49 -0600)]
Apply suggestions from code review

Co-authored-by: Shay Rojansky <roji@roji.org>
13 months agoUpdate src/libraries/System.Speech/src/PACKAGE.md
Dan Moseley [Fri, 8 Sep 2023 19:29:14 +0000 (13:29 -0600)]
Update src/libraries/System.Speech/src/PACKAGE.md

13 months agoUpdate src/libraries/Microsoft.Extensions.Http/src/PACKAGE.md
Dan Moseley [Fri, 8 Sep 2023 19:26:56 +0000 (13:26 -0600)]
Update src/libraries/Microsoft.Extensions.Http/src/PACKAGE.md

Co-authored-by: Anton Firszov <Anton.Firszov@microsoft.com>
13 months agoUpdate src/libraries/System.Speech/src/PACKAGE.md
Dan Moseley [Fri, 8 Sep 2023 19:26:15 +0000 (13:26 -0600)]
Update src/libraries/System.Speech/src/PACKAGE.md

Co-authored-by: MSDN.WhiteKnight <35516665+MSDN-WhiteKnight@users.noreply.github.com>
13 months agotweak
Dan Moseley [Fri, 8 Sep 2023 17:15:26 +0000 (11:15 -0600)]
tweak

13 months agoadd oledb and odbc
Dan Moseley [Fri, 8 Sep 2023 17:11:33 +0000 (11:11 -0600)]
add oledb and odbc

13 months agoRemove unnecessary brackets
Buyaa Namnan [Fri, 8 Sep 2023 16:27:53 +0000 (09:27 -0700)]
Remove unnecessary brackets

13 months agoUpdate Hosting
Steve Harter [Fri, 8 Sep 2023 15:03:03 +0000 (10:03 -0500)]
Update Hosting

13 months agoUpdate Hosting
Steve Harter [Fri, 8 Sep 2023 15:02:00 +0000 (10:02 -0500)]
Update Hosting

13 months agoUpdate PACKAGE.md
Steve Harter [Fri, 8 Sep 2023 14:59:46 +0000 (09:59 -0500)]
Update PACKAGE.md

13 months agoUpdate PACKAGE.md
Steve Harter [Fri, 8 Sep 2023 14:57:35 +0000 (09:57 -0500)]
Update PACKAGE.md

13 months agoAdd Microsoft.Extensions.Hosting.Abstractions
Steve Harter [Fri, 8 Sep 2023 14:54:36 +0000 (09:54 -0500)]
Add Microsoft.Extensions.Hosting.Abstractions

13 months agospace
Dan Moseley [Thu, 7 Sep 2023 23:06:29 +0000 (17:06 -0600)]
space

13 months agoRemove extra space
Buyaa Namnan [Thu, 7 Sep 2023 23:03:00 +0000 (16:03 -0700)]
Remove extra space

13 months agoUpdate System.DirectoryServices.AccountManagement PACKAGE.md
Buyaa Namnan [Thu, 7 Sep 2023 22:57:49 +0000 (15:57 -0700)]
Update System.DirectoryServices.AccountManagement PACKAGE.md

13 months agoApply suggestions from code review
Buyaa Namnan [Thu, 7 Sep 2023 21:32:13 +0000 (14:32 -0700)]
Apply suggestions from code review

13 months agoUpdate PACKAGE.md for System.DirectoryServices
Buyaa Namnan [Thu, 7 Sep 2023 20:47:14 +0000 (13:47 -0700)]
Update PACKAGE.md for System.DirectoryServices

13 months agoAdd Microsoft.Extensions.Hosting.WindowsServices
Steve Harter [Thu, 7 Sep 2023 19:33:55 +0000 (14:33 -0500)]
Add Microsoft.Extensions.Hosting.WindowsServices

13 months agoAdd Microsoft.Extensions.Hosting
Steve Harter [Thu, 7 Sep 2023 17:55:33 +0000 (12:55 -0500)]
Add Microsoft.Extensions.Hosting

13 months agoAdd Microsoft.Extensions.DependencyInjections.Abstractions
Steve Harter [Thu, 7 Sep 2023 16:58:44 +0000 (11:58 -0500)]
Add Microsoft.Extensions.DependencyInjections.Abstractions

13 months agoAdd Microsoft.Extensions.DependencyInjection
Steve Harter [Thu, 7 Sep 2023 16:10:45 +0000 (11:10 -0500)]
Add Microsoft.Extensions.DependencyInjection

13 months agoAdd Microsoft.Extensions.Caching.Memory package.md details
David Cantú [Thu, 7 Sep 2023 15:54:12 +0000 (10:54 -0500)]
Add Microsoft.Extensions.Caching.Memory package.md details

13 months agoFill Microsoft.Bcl.TimeProvider doc
Tarek Mahmoud Sayed [Wed, 6 Sep 2023 20:56:28 +0000 (13:56 -0700)]
Fill Microsoft.Bcl.TimeProvider doc

13 months agoUpdate Microsoft.Extensions.Http
Natalia Kondratyeva [Wed, 6 Sep 2023 20:04:45 +0000 (22:04 +0200)]
Update Microsoft.Extensions.Http

13 months agoFill Microsoft.Extensions.Options.ConfigurationExtensions doc
Tarek Mahmoud Sayed [Wed, 6 Sep 2023 18:39:41 +0000 (11:39 -0700)]
Fill Microsoft.Extensions.Options.ConfigurationExtensions doc

13 months agoReadme for WinHttpHandler
Anton Firszov [Wed, 6 Sep 2023 16:18:55 +0000 (18:18 +0200)]
Readme for WinHttpHandler

13 months agoAdd System.Net.Http.Json README
Eirik Tsarpalis [Wed, 6 Sep 2023 15:40:23 +0000 (16:40 +0100)]
Add System.Net.Http.Json README

13 months agoAdd System.IO.Ports
Krzysztof Wicher [Wed, 6 Sep 2023 07:27:14 +0000 (09:27 +0200)]
Add System.IO.Ports

13 months agoFill System.Text.Encoding.CodePages doc
Tarek Mahmoud Sayed [Wed, 6 Sep 2023 00:33:29 +0000 (17:33 -0700)]
Fill System.Text.Encoding.CodePages doc

13 months agoFill Microsoft.Extensions.Options doc
Tarek Mahmoud Sayed [Tue, 5 Sep 2023 23:52:01 +0000 (16:52 -0700)]
Fill Microsoft.Extensions.Options doc

13 months agoRemove trailing spaces from Speech doc file
Tarek Mahmoud Sayed [Tue, 5 Sep 2023 22:51:53 +0000 (15:51 -0700)]
Remove trailing spaces from Speech doc file

13 months agoFill Microsoft.Extensions.Primitives doc
Tarek Mahmoud Sayed [Tue, 5 Sep 2023 22:00:48 +0000 (15:00 -0700)]
Fill Microsoft.Extensions.Primitives doc

13 months agoAdd System.Threading.Channels package.md details
Stephen Toub [Tue, 5 Sep 2023 21:43:54 +0000 (17:43 -0400)]
Add System.Threading.Channels package.md details

13 months agoAdd Microsoft.Bcl.Async package.md details
Stephen Toub [Tue, 5 Sep 2023 21:34:15 +0000 (17:34 -0400)]
Add Microsoft.Bcl.Async package.md details

13 months agoFill Microsoft.Extensions.Logging.Debug doc
Tarek Mahmoud Sayed [Tue, 5 Sep 2023 19:57:26 +0000 (12:57 -0700)]
Fill Microsoft.Extensions.Logging.Debug doc

13 months agoFill Microsoft.Extensions.Logging.Console doc
Tarek Mahmoud Sayed [Tue, 5 Sep 2023 19:36:37 +0000 (12:36 -0700)]
Fill Microsoft.Extensions.Logging.Console doc

13 months agoFill Microsoft.Extensions.Logging doc
Tarek Mahmoud Sayed [Tue, 5 Sep 2023 19:09:35 +0000 (12:09 -0700)]
Fill Microsoft.Extensions.Logging doc

13 months agoFill Microsoft.Extensions.Logging.Abstraction doc
Tarek Mahmoud Sayed [Tue, 5 Sep 2023 18:20:28 +0000 (11:20 -0700)]
Fill Microsoft.Extensions.Logging.Abstraction doc

13 months agoAdd package readme for System.Speech
Eric StJohn [Tue, 5 Sep 2023 17:12:30 +0000 (10:12 -0700)]
Add package readme for System.Speech

13 months agoSystem.Diagnostics.PerformanceCounter
Carlos Sánchez López [Fri, 1 Sep 2023 17:25:06 +0000 (10:25 -0700)]
System.Diagnostics.PerformanceCounter

13 months agoSystem.Diagnostics.EventLog
carlossanlop [Fri, 1 Sep 2023 02:06:26 +0000 (19:06 -0700)]
System.Diagnostics.EventLog

13 months agoAdd package readmes
Viktor Hofer [Mon, 28 Aug 2023 11:59:05 +0000 (13:59 +0200)]
Add package readmes

13 months agoUpdate Package readme guidelines with new template (#90842)
MSDN.WhiteKnight [Mon, 21 Aug 2023 10:44:18 +0000 (15:44 +0500)]
Update Package readme guidelines with new template (#90842)

* Update package readme guidelines

* Fix typo

13 months agoAdding PACKAGE.md to System.Runtime.Caching package (#90701)
Hong Li [Mon, 21 Aug 2023 18:55:01 +0000 (11:55 -0700)]
Adding PACKAGE.md to System.Runtime.Caching package (#90701)

* Adding PACKAGE.md to System.Runtime.Caching package

* add Remarks

* move PACKAGE.md to src folder

* update per PR feedback

* add important block

13 months agoLocalized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 226864...
dotnet bot [Sat, 16 Sep 2023 21:10:14 +0000 (14:10 -0700)]
Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2268640 (#92159)

13 months ago[release/8.0] [NativeAOT] Fix iOS library build by linking standard C++ library by...
github-actions[bot] [Sat, 16 Sep 2023 21:05:36 +0000 (14:05 -0700)]
[release/8.0] [NativeAOT] Fix iOS library build by linking standard C++ library by default (#92141)

* Link with standard C++ library when building a iOS library with NativeAOT

* PR feedback

---------

Co-authored-by: Ivan Povazan <ivan.povazan@gmail.com>
13 months ago[release/8.0] Fix type parameter mapping logic in ILLink/ILCompiler (#92139)
github-actions[bot] [Sat, 16 Sep 2023 21:05:12 +0000 (14:05 -0700)]
[release/8.0] Fix type parameter mapping logic in ILLink/ILCompiler (#92139)

* Fix type parameter mapping bug in illink

* Same in ILCompiler

* Check dataflow of mapped type parameter

* Fix test for analyzer

---------

Co-authored-by: Sven Boemer <sbomer@gmail.com>
13 months ago[release/8.0] Fix support of FromKeyedServicesAttribute in ActivatorUtilities.CreateF...
github-actions[bot] [Sat, 16 Sep 2023 01:26:40 +0000 (18:26 -0700)]
[release/8.0] Fix support of FromKeyedServicesAttribute in ActivatorUtilities.CreateFactory (#92144)

* Fix support of FromKeyedServicesAttribute in ActivatorUtilities.CreateFactory

* Addressing comment and adding a test

---------

Co-authored-by: Benjamin Petit <bpetit@microsoft.com>
13 months agoFix URL for syslib diagnostics (#92160)
github-actions[bot] [Sat, 16 Sep 2023 00:44:33 +0000 (17:44 -0700)]
Fix URL for syslib diagnostics (#92160)

Co-authored-by: Eric StJohn <ericstj@microsoft.com>
13 months ago[release/8.0] Improve binder gen binding logic (init, member binding, polymorphism...
Layomi Akinrinade [Sat, 16 Sep 2023 00:41:58 +0000 (17:41 -0700)]
[release/8.0] Improve binder gen binding logic (init, member binding, polymorphism) (#92118)

13 months ago[release/8.0] [NativeAOT] Switch macOS to mmap thunks like iOS platforms (#92136)
github-actions[bot] [Fri, 15 Sep 2023 20:51:31 +0000 (13:51 -0700)]
[release/8.0] [NativeAOT] Switch macOS to mmap thunks like iOS platforms (#92136)

* Switch macOS to mmap thunks like iOS platforms

* Relax expected binary size

---------

Co-authored-by: Filip Navara <filip.navara@gmail.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
13 months ago[release/8.0] fix ReceiveFrom with dual mode socket (#92103)
github-actions[bot] [Fri, 15 Sep 2023 18:19:06 +0000 (11:19 -0700)]
[release/8.0] fix ReceiveFrom with dual mode socket (#92103)

* fix ReceiveFrom with dual mode socket

* test

* feedback

---------

Co-authored-by: wfurt <tweinfurt@yahoo.com>
Co-authored-by: Anton Firszov <Anton.Firszov@microsoft.com>
13 months agoUpdate dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimizati...
dotnet-maestro[bot] [Fri, 15 Sep 2023 17:50:41 +0000 (10:50 -0700)]
Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20230914.6 (#92122)

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23463.3 -> To Version 1.0.0-prerelease.23464.6

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
13 months ago[release/8.0] Implement support for `InlineArray` in the trimmer (#92107)
github-actions[bot] [Fri, 15 Sep 2023 17:23:10 +0000 (10:23 -0700)]
[release/8.0] Implement support for `InlineArray` in the trimmer (#92107)

* Implement support for InlineArray in the trimmer

Types annotated with `InlineArray` need to preserve all of their fields, even if otherwise this would not be the case. It's possible to have a struct with `LayoutKind.Auto` and with `InlineArray` - trimmer would normally trim fields on such struct. This leads to corruption since the field is never accessed directly.

This changes the marking to preserve all fields on a type with `InlineArray` attribute just like we would for explicit layout struct and similar other types.

Adds tests to cover both the explicit usage of `InlineArray` attribute as well as the compiler generate usage via collection literals.

* Update src/tools/illink/test/Mono.Linker.Tests.Cases/DataFlow/InlineArrayDataflow.cs

Co-authored-by: Sven Boemer <sbomer@gmail.com>
---------

Co-authored-by: vitek-karas <10670590+vitek-karas@users.noreply.github.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
13 months ago[release/8.0] [browser] ENVIRONMENT_IS_WEB is also true on WebWorker (#91627)
github-actions[bot] [Fri, 15 Sep 2023 17:20:59 +0000 (10:20 -0700)]
[release/8.0] [browser] ENVIRONMENT_IS_WEB is also true on WebWorker (#91627)

* ENVIRONMENT_IS_WEB is now also true on WebWorker

* noExitRuntime stay false on pthread

---------

Co-authored-by: pavelsavara <pavel.savara@gmail.com>
13 months agoUpdate dependencies from https://github.com/dotnet/roslyn-analyzers build 20230914...
dotnet-maestro[bot] [Fri, 15 Sep 2023 16:40:22 +0000 (09:40 -0700)]
Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20230914.2 (#92121)

Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers
 From Version 3.11.0-beta1.23458.2 -> To Version 3.11.0-beta1.23464.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
13 months ago[release/8.0] Update FixupPrecode and StubPrecode types for ARM (#92075)
github-actions[bot] [Fri, 15 Sep 2023 16:36:40 +0000 (09:36 -0700)]
[release/8.0] Update FixupPrecode and StubPrecode types for ARM (#92075)

* Update FixupPrecode and StubPrecode types for ARM

Co-authored-by: Jan Vorlicek <janvorli@microsoft.com>
* Update ThisPtrRetBufPrecode and NDirectImportPrecode types for arm

Co-authored-by: Jan Vorlicek <janvorli@microsoft.com>
* Addressing PR feedback - remove unnecessary #ifdef's

* FIx riscv64 build break due to NDirectImportPrecode::Type conflict with ThisPtrRetBufPrecode::Type

---------

Co-authored-by: Tom McDonald <tommcdon@microsoft.com>
Co-authored-by: Jan Vorlicek <janvorli@microsoft.com>
13 months agoLocalized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 226775...
dotnet bot [Fri, 15 Sep 2023 14:31:13 +0000 (07:31 -0700)]
Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2267753 (#92090)

13 months agoReplace newline characters in NoWarn (#92062)
github-actions[bot] [Thu, 14 Sep 2023 22:08:14 +0000 (15:08 -0700)]
Replace newline characters in NoWarn (#92062)

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
13 months ago[release/8.0] Fix binder gen compile issues due to inaccessible members and identifie...
github-actions[bot] [Thu, 14 Sep 2023 21:58:50 +0000 (14:58 -0700)]
[release/8.0] Fix binder gen compile issues due to inaccessible members and identifier name clashes (#91967)

* Fix binder gen compile issues due to inaccessible members and identifier name clashes

* Minimize net diff of binder-gen visibility/identifier-clash fix

* Improve identifier formatting

* Use built-in API for accessiblity check

---------

Co-authored-by: Layomi Akinrinade <laakinri@microsoft.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
13 months ago[release/8.0] Replace http.error.reason with OTel standard error.type (#91996)
github-actions[bot] [Thu, 14 Sep 2023 20:20:31 +0000 (13:20 -0700)]
[release/8.0] Replace http.error.reason with OTel standard error.type (#91996)

* implement standard semantics for the request.duration error tag

* delete unused using

* reduce s_statusCodeStrings size

---------

Co-authored-by: antonfirsov <antonfir@gmail.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
Co-authored-by: Anton Firszov <Anton.Firszov@microsoft.com>
13 months ago[release/8.0] Remove implicit narrowing conversions from zlib (#91962)
github-actions[bot] [Thu, 14 Sep 2023 20:19:27 +0000 (13:19 -0700)]
[release/8.0] Remove implicit narrowing conversions from zlib (#91962)

* Make zlib compile clean against MSVC C4244 and clang implicit-int-conversion

Descriptions of each changes are in the respective .patch files.

* Unbreak mono build

---------

Co-authored-by: Levi Broderick <levib@microsoft.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
13 months ago[release/8.0] Update dependencies from dotnet/emsdk dotnet/cecil dotnet/hotreload...
dotnet-maestro[bot] [Thu, 14 Sep 2023 19:22:13 +0000 (12:22 -0700)]
[release/8.0] Update dependencies from dotnet/emsdk dotnet/cecil dotnet/hotreload-utils dotnet/arcade dotnet/source-build-reference-packages (#91928)

* Update dependencies from https://github.com/dotnet/cecil build 20230911.1

Microsoft.DotNet.Cecil
 From Version 0.11.4-alpha.23454.2 -> To Version 0.11.4-alpha.23461.1

* Update dependencies from https://github.com/dotnet/arcade build 20230911.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
 From Version 8.0.0-beta.23451.1 -> To Version 8.0.0-beta.23461.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20230911.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23455.2 -> To Version 8.0.0-alpha.0.23461.1

* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230911.1

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23457.1 -> To Version 8.0.0-alpha.1.23461.1

* Update dependencies from https://github.com/dotnet/emsdk build 20230912.1

Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.0-rc.2.23460.1 -> To Version 8.0.0-rc.2.23462.1

* Update dependencies from https://github.com/dotnet/cecil build 20230911.1

Microsoft.DotNet.Cecil
 From Version 0.11.4-alpha.23454.2 -> To Version 0.11.4-alpha.23461.1

* Update dependencies from https://github.com/dotnet/arcade build 20230911.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
 From Version 8.0.0-beta.23451.1 -> To Version 8.0.0-beta.23461.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20230911.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23455.2 -> To Version 8.0.0-alpha.0.23461.1

* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230912.1

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23457.1 -> To Version 8.0.0-alpha.1.23462.1

* Update dependencies from https://github.com/dotnet/emsdk build 20230913.1

Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.0-rc.2.23460.1 -> To Version 8.0.0-rc.2.23463.1

* Update dependencies from https://github.com/dotnet/cecil build 20230911.1

Microsoft.DotNet.Cecil
 From Version 0.11.4-alpha.23454.2 -> To Version 0.11.4-alpha.23461.1

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20230911.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23455.2 -> To Version 8.0.0-alpha.0.23461.1

* Update dependencies from https://github.com/dotnet/arcade build 20230913.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
 From Version 8.0.0-beta.23451.1 -> To Version 8.0.0-beta.23463.1

* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230913.1

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23457.1 -> To Version 8.0.0-alpha.1.23463.1

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
13 months ago[release/8.0] Update dependencies from dotnet/roslyn (#91913)
dotnet-maestro[bot] [Thu, 14 Sep 2023 19:21:43 +0000 (12:21 -0700)]
[release/8.0] Update dependencies from dotnet/roslyn (#91913)

* Update dependencies from https://github.com/dotnet/roslyn build 20230911.1

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23459.2 -> To Version 4.8.0-3.23461.1

* Update dependencies from https://github.com/dotnet/roslyn build 20230911.4

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23459.2 -> To Version 4.8.0-3.23461.4

* Update dependencies from https://github.com/dotnet/roslyn build 20230912.1

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23459.2 -> To Version 4.8.0-3.23462.1

* Update dependencies from https://github.com/dotnet/roslyn build 20230912.2

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23459.2 -> To Version 4.8.0-3.23462.2

* Update dependencies from https://github.com/dotnet/roslyn build 20230912.3

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23459.2 -> To Version 4.8.0-3.23462.3

* Update dependencies from https://github.com/dotnet/roslyn build 20230912.4

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23459.2 -> To Version 4.8.0-3.23462.4

* Update dependencies from https://github.com/dotnet/roslyn build 20230912.6

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23459.2 -> To Version 4.8.0-3.23462.6

* Update dependencies from https://github.com/dotnet/roslyn build 20230912.7

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23459.2 -> To Version 4.8.0-3.23462.7

* Update dependencies from https://github.com/dotnet/roslyn build 20230912.8

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23459.2 -> To Version 4.8.0-3.23462.8

* Update dependencies from https://github.com/dotnet/roslyn build 20230912.9

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23459.2 -> To Version 4.8.0-3.23462.9

* Update dependencies from https://github.com/dotnet/roslyn build 20230912.10

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23459.2 -> To Version 4.8.0-3.23462.10

* Permit TypeAttributes.BeforeFieldInit for InterfaceTypeTestBase

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
13 months agoDo not throw PNSE exception from NegotiateAuthentication constructor, report Unsuppor...
Filip Navara [Thu, 14 Sep 2023 19:13:43 +0000 (23:13 +0400)]
Do not throw PNSE exception from NegotiateAuthentication constructor, report Unsupported status instead (#91753)

Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
13 months ago[wasi] Work arounbd WASI's mmap implementation not returning aligned memory. (#92061)
github-actions[bot] [Thu, 14 Sep 2023 17:49:25 +0000 (10:49 -0700)]
[wasi] Work arounbd WASI's mmap implementation not returning aligned memory. (#92061)

Some code in sgen like sgen_los_free_object () expects the return address to be aligned.

Hopefully fixes https://github.com/dotnet/runtime/issues/88501 and others.

Co-authored-by: Zoltan Varga <vargaz@gmail.com>
13 months agoUpdate dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimizati...
dotnet-maestro[bot] [Thu, 14 Sep 2023 17:49:06 +0000 (10:49 -0700)]
Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20230913.3 (#92059)

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23462.6 -> To Version 1.0.0-prerelease.23463.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>