[Proposal]: Mark methods of Microsoft.VisualBasic.Information module with [Extension]
- Dominant language
- No language data
- Stars
- 328
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
Based on #546, #547 I suggest to:
1. Mark methods of Microsoft.VisualBasic.Information module with the ExtensionAttribute.
2. Make the compiler look at this special module first to resolve extension methods for objects if they are not members of the type itself, ignoring `Option Strict On` and any current limitations due to late binding. After all this is only one intrinsic module containing object-related jobs. SO, we can write:
```VB.NET
If x.IsDbNull Then
```
3. Add some more useful functions to the module to shorten object checks syntax, such as `IsSomething` or `HasValue`or alike as proposed in #546.
```VB.NET
If x.HasValue Then
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.