-
# C# Design Language Notes for Jul 15, 2016
## Agenda
In this meeting we took a look at what the scope rules should be for variables introduced by patterns and out vars.
# Scope of locals introduced …
-
add operators to PilePointer like
`!ptr` dereferencing
-
**Is your feature request related to a problem? Please describe.**
The design of the Dialogs API is such that the developer constructs a `DialogSet` by adding _instances_ of `Dialog` subclasses to it…
-
Checks for null must be done always with ReferenceEquals(object x, object y) because overrides of operators is not a runtime operation but a compile time.
Current: if(obj == null) throw new ArgumentN…
-
### Description
Using the `nameof()` keyword operator counts against the threshold of Rule S1200.
While it is technically true that a type used as a `nameof()` parameter will be coupled to the …
-
Let's take this code:
``` CSharp
class SomeClass
{
public const string AConstString = "Foo";
public const string AnotherConstString = AConstString + "Bar";
}
```
This works as expected, ther…
-
For some strings it is usefull to use the `nameof()`-Operator but the resulting `string.Format()` is not really needed.
**Exsample**
Exceptions can be defined like this:
`throw new InvalidCastEx…
-
@alrz commented on [Tue Jan 15 2019](https://github.com/dotnet/roslyn/issues/32478)
When we're passing a `e!` where `e` is not the literal `null`, we expect it to be not null at that point but the fl…
-
The language currently doesn't support set properties that return a `ref T` only get. Furthermore one also cannot create a struct that exposes conversion operators from/to a `ref` type.
Consider th…
-
This is a discussion thread for records, as specified in https://github.com/dotnet/roslyn/blob/features/records/docs/features/records.md
Please check the spec before adding your comment - it might ha…