Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasHubelbauer committed Feb 12, 2018
0 parents commit 2d94ba0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
@@ -0,0 +1,10 @@
# C# `log` keyword

Me trying to see if there is a way to bend Roslyn to introduce a new keyword `log` that works like this:

```csharp
int ClamToPositive(int positiveOrNegative) {
log $"Input ${positiveOrNegative}";
return positiveOrNegative >= 0 ? positiveOrNegative : 0;
}
```

0 comments on commit 2d94ba0

Please sign in to comment.