New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReflectionTypeLoadException: CodeGenerationParameterSymbol.get_IsParamsArray #72811
Comments
This is occurring because roslyn/src/Compilers/Core/Portable/Symbols/ISymbol.cs Lines 22 to 23 in 0f35ec3
This type must be removed from the code style layer and/or updated to no longer implement |
That's not the case. Isymbol does not allow 3rd party impls. It allows first party impls. I know, I created it for that purpose :-) When this interface was updated, we appropriately updated all our apis. We need to ship that updated API now. |
I have this in VS Code since earlier this morning, after I bumped some assets. I think it was the It's pretty intrusive too. Haven't analyzed it much, but it breaks commonly used code actions, e.g. Sample:
|
Same issue here, using latest preview of the C# DevKit (
|
Affects the misplaced using directives quick fix / code action, too.
|
I have been having this exact problem on my M1 Mac as well. Happens on pretty much any codeAction which makes those unable to be used entirely. I'm using Visual Studio Code
|
More investigation this morning on this |
Version Used: 4.10.0-3.24175.2+919d4dbfb0dffb35a702417e28ceea652d248bc6
Steps to Reproduce: Trigger CSharpUseCollectionInitializerCodeFixProvider
Expected Behavior:
Fix applied
Actual Behavior:
"Method 'get_IsParamsArray' in type 'Microsoft.CodeAnalysis.CodeGeneration.CodeGenerationParameterSymbol' from assembly 'Microsoft.CodeAnalysis.CodeStyle.Fixes, Version=4.10.10.15805, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation." string
The text was updated successfully, but these errors were encountered: