You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSC : warning AD0001: Analyzer 'ILLink.RoslynAnalyzer.RequiresAssemblyFilesAnalyzer' threw an exception of type 'System.InvalidCastException' with message 'Unable to cast object of type 'Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel.TypeParameterSymbol' to type 'Microsoft.CodeAnalysis.INamedTypeSymbol'.'.
Repro project details:
PublishSingleFile=true must be set in the project file, and both type constraints are needed in the source file.
Version Used: 6.0.200, bug is new in this version, i.e. was not present in 6.0.1
Steps to Reproduce:
dotnet build
Expected Behavior:
No compile time exception and no warning.
Actual Behavior:
Repro project details:
PublishSingleFile=true
must be set in the project file, and both type constraints are needed in the source file.Test1.csproj
Class1.cs
The text was updated successfully, but these errors were encountered: