1. 25 3月, 2022 19 次提交
  2. 24 3月, 2022 21 次提交
    • S
    • E
      Ensure Sync stream serialization is handling IAsyncEnumerable correctly (#67035) · 2bf30a03
      Eirik Tsarpalis 提交于
      * Fix #66687
      
      * enable small buffer async tests for collections
      2bf30a03
    • K
      Update the latest node (#67060) · 3c745324
      Kevin Jones 提交于
      3c745324
    • E
      Fix #66727. (#67041) · 53bb7dd1
      Eirik Tsarpalis 提交于
      53bb7dd1
    • T
      9836d5a1
    • E
      Fix entry point for EnumPrinters (#67081) · c49593c0
      Elinor Fung 提交于
      c49593c0
    • R
      Add timestamp-based expiration to cached SafeFreeCredentials (#66334) · e97af550
      Radek Zikmund 提交于
      * Add Expiry timestamp on SafeFreeCredentials handle
      
      * Recalculate expiration timestamp based on CertificateContext
      
      * Fix case when user provides CertificateContext
      e97af550
    • J
      CoreCLR runtime tests on Mono Windows x64. (#64281) · 7d1191e3
      Johan Lorensson 提交于
      Fixed and enabled CoreCLR runtime tests running on Mono Windows x64.
      7d1191e3
    • D
      [main] Update dependencies from 8 repositories (#66826) · c33d6141
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/arcade build 20220317.4
      
      Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk
       From Version 2.5.1-beta.22166.1 -> To Version 2.5.1-beta.22167.4
      
      * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220317.1
      
      Microsoft.CodeAnalysis.NetAnalyzers
       From Version 7.0.0-preview1.22166.1 -> To Version 7.0.0-preview1.22167.1
      
      * Update dependencies from https://github.com/dotnet/arcade build 20220318.2
      
      Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk
       From Version 2.5.1-beta.22166.1 -> To Version 2.5.1-beta.22168.2
      
      * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220318.1
      
      Microsoft.CodeAnalysis.NetAnalyzers
       From Version 7.0.0-preview1.22166.1 -> To Version 7.0.0-preview1.22168.1
      
      * Update dependencies from https://github.com/dotnet/runtime build 20220321.1
      
      runtime.native.System.IO.Ports , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.ILAsm , Microsoft.NETCore.DotNetHostPolicy , System.Text.Json , Microsoft.NET.Sdk.IL
       From Version 7.0.0-preview.3.22163.2 -> To Version 7.0.0-preview.3.22171.1
      
      * Update dependencies from https://github.com/dotnet/arcade build 20220321.2
      
      Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk
       From Version 2.5.1-beta.22166.1 -> To Version 2.5.1-beta.22171.2
      
      * Update dependencies from https://github.com/dotnet/icu build 20220321.4
      
      Microsoft.NETCore.Runtime.ICU.Transport
       From Version 7.0.0-preview.3.22157.1 -> To Version 7.0.0-preview.4.22171.4
      
      * Update dependencies from https://github.com/dotnet/runtime-assets build 20220321.1
      
      Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
       From Version 7.0.0-beta.22166.2 -> To Version 7.0.0-beta.22171.1
      
      * Update dependencies from https://github.com/dotnet/emsdk build 20220321.3
      
      Microsoft.NET.Workload.Emscripten.Manifest-7.0.100
       From Version 7.0.0-preview.3.22167.1 -> To Version 7.0.0-preview.4.22171.3
      
      * Update dependencies from https://github.com/dotnet/hotreload-utils build 20220321.1
      
      Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
       From Version 1.0.2-alpha.0.22164.2 -> To Version 1.0.2-alpha.0.22171.1
      
      * Update dependencies from https://github.com/dotnet/llvm-project build 20220321.2
      
      runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools
       From Version 11.1.0-alpha.1.22164.2 -> To Version 11.1.0-alpha.1.22171.2
      
      * Update dependencies from https://github.com/dotnet/emsdk build 20220322.1
      
      Microsoft.NET.Workload.Emscripten.Manifest-7.0.100
       From Version 7.0.0-preview.3.22121.1 -> To Version 7.0.0-preview.4.22172.1
      
      * Update dependencies from https://github.com/dotnet/icu build 20220322.1
      
      Microsoft.NETCore.Runtime.ICU.Transport
       From Version 7.0.0-preview.3.22121.1 -> To Version 7.0.0-preview.4.22172.1
      
      * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220322.1
      
      Microsoft.CodeAnalysis.NetAnalyzers
       From Version 7.0.0-preview1.22166.1 -> To Version 7.0.0-preview1.22172.1
      
      * Revert changes from Roslyn-Analyzers
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      Co-authored-by: NLarry Ewing <lewing@microsoft.com>
      Co-authored-by: NJuan Hoyos <juan.hoyos@microsoft.com>
      c33d6141
    • J
      Improve vectorization of String.Split (#64899) · b4e258a3
      Jesper Meyer 提交于
      b4e258a3
    • E
      Update coding-style to include target-typed new() guideline (#67061) · 7508080e
      Eric Erhardt 提交于
      * Update coding-style to include target-typed new guideline
      
      Similar to `var` usage, `new()` usage is only allowed when the Type can be understood from the same line.
      
      Fix #53369
      
      * Fix coding style violations
      7508080e
    • Z
      Add a --aot-lazy-assembly-load command line option to load assemblies… (#67024) · 0e1c91b6
      Zoltan Varga 提交于
      * Add a --aot-lazy-assembly-load command line option to load assemblies referenced by AOT images lazily.
      
      Note that this requires the assemblies used at AOT time to exactly match
      the assemblies loaded at runtime, otherwise the runtime will abort
      when it loads the mismatching reference.
      
      * Handle the options added by options.h in mono_jit_parse_options ().
      0e1c91b6
    • S
      Eat cancellation exceptions from WaitAsync in Parallel.ForEachAsync (#66712) · a5665daf
      Stephen Toub 提交于
      We can safely ignore cancellation exceptions due to WaitAsync being canceled.  They do not represent work that was started and interrupted, and we know exactly the source of the exception (as compared to if the exception emerged from either MoveNextAsync or the loop body).
      a5665daf
    • Z
      [mono] Optimize generic sharing for generic methods. (#64129) · 47c09fa1
      Zoltan Varga 提交于
      * [mono] Optimize generic sharing for generic methods.
      
        Previously, rgctx entries where stored either in the class rgctx
      or the method rgctx in linked structures, and accessed using
      rgctx trampolines (for non-llvmonly configuration), or
      inline code and fallback C code (for llvmonly configuration).
      However, if a method has an mrgctx parameter, all the rgctx entries
      can be stored as an array in the mrgctx and accessed using a simple
      load.
      One complication is that the mrgctx might need to be allocated before
      the method is compiled/loaded, so the rgctx entries need to be stored
      in a separate array, and the array needs to be initialized on
      demand.
      
      * Add an 'entries' field to MonoMethodRuntimeGenericContext which stores
      the rgctx entries.
      * Add a MonoGSharedMethodInfo structure which stores the information
      needed to initialize a MonoMethodRuntimeGenericContext, i.e. the
      number of rgctx entries and their contents.
      * Add a MONO_PATCH_INFO_GSHARED_METHOD_INFO patch type to refer
      to the previous structure.
      * Add a mini_init_method_rgctx () JIT icall, which initializes
      an mrgctx if needed and generate code in the prolog of gshared methods
      to call it.
      
      * [mono] Pass an mrgctx to static/valuetype gshared methods.
      
      Previously, these methods were passed a vtable. Passing the mrgctx
      instead simplifies some runtime code and allows smaller/faster access to
      rgctx entries.
      
      * Add rgctx trampolines in get_ftnptr_for_method ().
      
      * [mono][wasm] Avoid AOTing Microsoft.CodeAnalysis.dll as well.
      47c09fa1
    • M
      Update EventSourceLogger.cs (#67065) · 475554d6
      Maksym Koshovyi 提交于
      475554d6
    • S
    • S
    • M
      [Group 4] Enable nullable annotations for `Microsoft.Extensions.Logging.EventSource` (#66802) · 103fb847
      Maksym Koshovyi 提交于
      * Annotate src
      
      * Annotate ref
      
      * Make internal parameters non-nullable if they never receive null
      103fb847
    • A
      Remove libunwind disabled warnings. (#67042) · 0d4b279b
      Aaron Robinson 提交于
      0d4b279b
    • K
      [resubmit] BigInteger parsing optimization for large decimal string (#55121) · 8ed8517d
      keymoon 提交于
      * implement divide-and-conquer method for parsing digits
      
      * fix argument order in Assert when x equals to 0
      
      * Apply format fix
      Co-authored-by: NStephen Toub <stoub@microsoft.com>
      
      * add test for non-naive algorithm
      
      * add description for naiveThreshold
      
      * fix trivial part
      
      * add check for boundary condition
      
      * add assertions and descriptions
      
      * change variable name
      
      * remove inappropreate use of var
      
      * to use ArrayPool<int>.Shared.Rent for newBuffer allocation
      
      * move both algorithms to separate methods
      
      * add and fix comments
      
      * trivial fix
      Co-authored-by: NStephen Toub <stoub@microsoft.com>
      8ed8517d
    • T
      Ensure that fgMorphFieldToSimdGetElement doesn't call gtNewSimdGetElementNode... · de5582b3
      Tanner Gooding 提交于
      Ensure that fgMorphFieldToSimdGetElement doesn't call gtNewSimdGetElementNode if the ISA is unsupported (#66853)
      
      * Ensure that fgMorphFieldToSimdGetElement doesn't call gtNewSimdGetElementNode if the ISA is unsupported
      
      * Ensure fgMorphFieldToSimdGetElement is correctly checking for AdvSimd support on Arm64
      
      * Ensure impExpandHalfConstEqualsSIMD checks for baseline simd support
      de5582b3