Petr Onderka
Petr Onderka
I'm using `EnhancedStackTrace.GetMethodDisplayString` on its own to decode the name of a lambda nested in another lambda, but the result is not correct. Specifically, it reproduces with this code: ```c#...
As far as I can tell, when specifying `ArgumentsRule` for an argument, the options for specifying suggestions are: * static list: `public static ArgumentsRule WithSuggestionsFrom(this ArgumentsRule rule, params string[] values)`...
**Describe the bug** It seems attributes are not displayed for parameters in method signatures of .Net methods that have them. **To Reproduce** 1. Go to [the API reference for `ArgumentNullException.ThrowIfNull`](https://docs.microsoft.com/en-us/dotnet/api/system.argumentnullexception.throwifnull?view=net-6.0#system-argumentnullexception-throwifnull(system-object-system-string))....
In the Syntax Visualizer, when you right-click on a syntax node, a context menu appears that lets you view semantic information about that node. But the context menu is not...
As I understand it, the System.Reflection.Emit package claims to support .Net Standard, even though AOT platforms like UWP do not support it. Does it make sense to produce a warning...
1. Create a new .Net Framework 4.6 class library in Visual Studio. 2. Install the IgnoresAccessChecksToGenerator NuGet package (select the PackageReference package manager format) 3. Install the Microsoft.CodeAnalysis.Common package. 4....
This seems to be a mistake copied from the old spec. The C# 4.0 spec says: > Note that an explicit conversion to a type parameter will be executed as...
**Version Used**: VS 15.8.0 Preview 1.1, .Net Core SDK 2.1.4 **Steps to Reproduce**: 1. `dotnet new classlib` 2. `dotnet add package Microsoft.CodeQuality.Analyzers` 3. Change code in Class1.cs to: ```c# namespace...
**Version Used**: VS 17.5.0 Preview 1.0 **Steps to Reproduce**: 1. Create a console application that uses `GeneratedRegex`: ```c# using System.Text.RegularExpressions; partial class Program { static void Main() { } [GeneratedRegex(".")]...
Watching issues in [the dotnet/announcements repo](https://github.com/dotnet/announcements) is a good way to get notified about security problems in .Net. The problem is that when you go to watch that repo, you...