Skip to content

Conversation

@peterwald
Copy link
Member

To fix ngen errors with Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll

10/23/2025 12:11:39.887 [7296]: 4>    Compiling assembly C:\VisualStudio\Common7\IDE\CommonExtensions\Microsoft\TypeScript\Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll (CLR v4.0.30319) ...
10/23/2025 12:11:40.700 [7296]: 4>Warning: System.MissingMethodException: Method not found: 'Void Microsoft.CodeAnalysis.DocumentSpan..ctor(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Text.TextSpan)'. while resolving 0xa000bf1 - Microsoft.CodeAnalysis.DocumentSpan..ctor.
10/23/2025 12:11:40.734 [7296]: 3>    Compiling assembly C:\VisualStudio\Common7\IDE\CommonExtensions\Microsoft\TypeScript\Microsoft.VisualStudio.LanguageServices.TypeScript.dll (CLR v4.0.30319) ...
10/23/2025 12:11:41.617 [7296]: 4>Method not found: 'Void Microsoft.CodeAnalysis.DocumentSpan..ctor(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Text.TextSpan)'. while compiling method DefinitionItemReader.NewObject

@peterwald peterwald requested a review from a team as a code owner October 23, 2025 14:46
@peterwald peterwald enabled auto-merge (squash) October 23, 2025 14:57
@peterwald peterwald merged commit 8418ac3 into dotnet:main Oct 23, 2025
24 of 25 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Oct 23, 2025
333fred added a commit to 333fred/roslyn that referenced this pull request Oct 24, 2025
* upstream/main: (332 commits)
  Cache lambdas in analyzer driver (dotnet#80759)
  Add information for NuGet package version 4.14 (dotnet#80870)
  Add missing search keywords to VB Advanced options page
  Fix IDE0031 false positive when preprocessor directives are used in if statements (dotnet#80878)
  Use core compiler on netfx hosts with toolset package (dotnet#80631)
  Make string concat assert more precise (dotnet#80619)
  Extensions: address some diagnostic quality issues (dotnet#80827)
  Add note on traversal order for bound nodes (dotnet#80872)
  Ensure that locals at the top level of a constructor have the same safe-context as parameters (dotnet#80807)
  Fix handling of SymbolDisplayCompilerInternalOptions.UseArityForGenericTypes option for non-native symbol implementations (dotnet#80826)
  Update src/Analyzers/CSharp/Tests/UseCollectionInitializer/UseCollectionInitializerTests.cs
  Add IsValidContainingStatement check to prevent collection initializers in using declarations
  Add back old DocumentSpan constructor (dotnet#80864)
  Add tests verifying pointer types in type parameters require unsafe context (dotnet#80776)
  Add regression test for Interlocked.Exchange with nullable types (dotnet#80796)
  Add regression test for ParseAttributeArgumentList with invalid input (fixes dotnet#8699) (dotnet#80705)
  Add regression test for compiler crash with syntax error in indexer declaration (dotnet#80772)
  Add runtime NullReferenceException validation to foreach null iteration tests (dotnet#80839)
  Update MicrosoftBuildTasksCoreVersionForMetrics to 17.11.48 (dotnet#80812)
  Mark CS4009 error as a "build only" error. (dotnet#80698)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants