1. 14 8月, 2023 21 次提交
  2. 13 8月, 2023 9 次提交
  3. 12 8月, 2023 10 次提交
    • П
      runtime: fix variable null check (#89920) · 32a25db6
      Павел Харьков 提交于
      Fixed error when _hashtableContentsToEnumerate is null.
      It appears always when using 'Length' property when variable is null.
      Also reduced nesting.
      32a25db6
    • D
      [main] Update dependencies from dotnet/arcade dotnet/emsdk (#90461) · 57105ef5
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/arcade build 20230811.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.23409.5 -> To Version 8.0.0-beta.23411.1
      
      * Update dependencies from https://github.com/dotnet/emsdk build 20230811.2
      
      Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
       From Version 8.0.0-rc.1.23411.1 -> To Version 8.0.0-rc.1.23411.2
      
      Dependency coherency updates
      
      runtime.linux-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.win-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.win-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.osx-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.osx-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-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.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools
       From Version 16.0.5-alpha.1.23401.4 -> To Version 16.0.5-alpha.1.23408.1 (parent: Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
      
      ---------
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      57105ef5
    • S
    • J
      JIT: Prevent generic context runaway during inlining of polymorphic recursive methods (#90306) · 6c38f2ce
      Jakob Botsch Nielsen 提交于
      The inliner heuristics do not take into account that inlining methods
      causes type/method loading of the generic context. After #88749 this can
      quickly cause significant resources to be consumed as part of inlining
      when polymorphic recursion is involved (the blow-up can be exponential,
      as we see in the failing test under jitstress).
      
      This PR adds another safe-guard to the recursive inlining check in terms
      of a complexity limit on the generic context of the inline candidate.
      
      Fix #90144
      6c38f2ce
    • S
      Remove all use of <Nullable>annotations</Nullable> (#90401) · 616f7581
      Stephen Toub 提交于
      * Remove all use of <Nullable>annotations</Nullable>
      
      We've inadvertently shipped multiple libraries with incorrect nullable reference type annotations because:
      a) Their ref assemblies aren't actually being shipped, and/or
      b) Their src projects using `<Nullable>annotations</Nullable>`
      
      `<Nullable>annotations</Nullable>` means "I'm nullable annotated but don't validate them", which means consumers of these libraries see annotations that we haven't thoughtfully added or reviewed.
      
      This removes all use of it and gets us back to a place where we're only shipping nullable annotations for libraries where we've done the work to ensure they're correct.  We can subsequently finish annotating these stragglers.
      
      * Don't disable LibraryImportGenerator when nullable is disabled
      
      * Add #nullable enable to LibraryImportAttribute file for polyfill scenarios.
      
      * Disable LibraryImportGenerator on ILCompiler.TypeSystem.Tests assemblies.
      Convert a DllImport in HostWriter that now gets the polyfill experience.
      
      ---------
      Co-authored-by: NEric StJohn <ericstj@microsoft.com>
      Co-authored-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      616f7581
    • E
      Add DiagnosticDescriptorHelper to set HelpURI for generator / analyzer diagnostics (#90353) · 7325cc4c
      Eric StJohn 提交于
      * Add DiagnosticDescriptorHelper
      
      Create a helper method that formats and sets the helpLink for
      DiagnosticDescriptors
      
      * Add HelpLinkUris to ILLink
      
      * Handle different DiagnosticCategories
      7325cc4c
    • S
      [workloads] Add telemetry for mobile and wasm workloads (#90208) · b02e5e15
      Steve Pfister 提交于
      This change adds CLI telemetry for common mobile and wasm scenarios.
      
      Total app size is another element we plan on tracking and that will be added in a follow up.
      
      Fixes https://github.com/dotnet/runtime/issues/88844
      b02e5e15
    • J
      Update Versions.props (#90425) · 39c0dbf5
      Jackson Schuster 提交于
      39c0dbf5
    • J
      Prefix type names with global and use static TypeSyntax and NameSyntax instead... · 05dfb7ed
      Jackson Schuster 提交于
      Prefix type names with global and use static TypeSyntax and NameSyntax instead of Parse(Type)Name (#90339)
      
      * Prefix type names with global and use static TypeSyntax and NameSyntax instead of Parse(Type)Name
      05dfb7ed
    • T