Skip to content
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

Failure to parse type while using using NAME = CLASS #5146

Open
tilkinsc opened this issue Apr 2, 2022 · 1 comment
Open

Failure to parse type while using using NAME = CLASS #5146

tilkinsc opened this issue Apr 2, 2022 · 1 comment

Comments

@tilkinsc
Copy link

tilkinsc commented Apr 2, 2022

image
image
image

I am doing some Interop and Omnisharp is on fire.

Omnisharp doesn't detect the proper type while doing using NAME = CLASS it actually just holds the first value type it sees and replaces all type instances of that class with it.

Environment information

VSCode version: 1.65.2
C# Extension: 1.24.3

Dotnet Information .NET SDK (reflecting any global.json): Version: 6.0.102 Commit: 02d5242ed7

Runtime Environment:
OS Name: Windows
OS Version: 10.0.19043
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\6.0.102\

Host (useful for support):
Version: 6.0.2
Commit: 839cdfb0ec

.NET SDKs installed:
6.0.102 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions
Extension Author Version
better-cpp-syntax jeff-hykin 1.15.13
cmake twxs 0.0.17
cmake-tools ms-vscode 1.10.5
cpptools ms-vscode 1.9.7
cpptools-extension-pack ms-vscode 1.1.0
cpptools-themes ms-vscode 1.0.0
csharp ms-dotnettools 1.24.3
doxdocgen cschlosser 1.4.0
gc-excelviewer GrapeCity 4.2.54
java redhat 1.4.0
language-x86-64-assembly 13xforever 3.0.0
project-manager alefragnani 12.5.0
remote-containers ms-vscode-remote 0.231.2
remote-ssh ms-vscode-remote 0.76.1
remote-ssh-edit ms-vscode-remote 0.78.0
remote-wsl ms-vscode-remote 0.64.2
shader slevesque 1.1.5
vscode-icons vscode-icons-team 11.10.0
vscode-java-debug vscjava 0.40.0
vscode-java-dependency vscjava 0.19.0
vscode-java-pack vscjava 0.22.2
vscode-java-test vscjava 0.34.2
vscode-maven vscjava 0.35.1
vscodeintellicode VisualStudioExptTeam 1.2.18
@tilkinsc
Copy link
Author

It's curious on how Assemblies would work if this was indeed triaged. If it doesn't work in a local file, I'm not sure if its going to carry over to Assemblies because of retained info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants