Valery Semenchuk
Valery Semenchuk
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/patterns#property-pattern
```csharp effectObject = effect switch { TutorialEffect.Joystick => MaskJoystickTutorial, TutorialEffect.ActionBtn => MaskActionBtnTutorial, _ => effectObject }; ```
Need option for UI too. Initial from https://github.com/consulo/consulo-csharp/issues/553 CS8632=The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. ``` -nullable[+|-] Specify nullable context...
```csharp test(ref this); ```
```csharp void test() { void test() {} } ```
```csharp using System; class Example { static void Main() { int b = 1; string str = $"test {{"; Console.WriteLine(str); str = $"test }}"; Console.WriteLine(str); str = $"test {{}}"; Console.WriteLine(str);...
https://github.com/consulo/consulo-csharp/issues/518#issuecomment-364409670
Error: Cannot implicitly convert type 'int' to 'short'. An explicit conversion exists (are you missing a cast?)(CS0266) Code ```csharp public void test() { short count = 0; count -= Math.Min(1,...
Error: Cannot implicitly convert type 'dsadas.DA' to 'short'. An explicit conversion exists (are you missing a cast?)(CS0266) Code: ```csharp public enum DA { STRING, STRING2 } public class EnumError {...
```csharp namespace highlightError { public class HighError { public static void me() { HighError error = new HighError(); error.Call().Trim(); error.Call.Trim(); // Call resolved. Make better error - method found }...