-
Beta Was this translation helpful? Give feedback.
Answered by
333fred
Feb 6, 2021
Replies: 2 comments 2 replies
-
I'm not seeing the same errors. What version of Visual Studio are you using? |
Beta Was this translation helpful? Give feedback.
1 reply
-
You can if T is actually resolved to a real type. You can also pass default at the location you showed. As to the CA warning, that looks like a bug. Please file an issue on dotnet/roslyn-analyzers. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Cyl18
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can if T is actually resolved to a real type. You can also pass default at the location you showed.
As to the CA warning, that looks like a bug. Please file an issue on dotnet/roslyn-analyzers.