Zev Spitz

Results 225 comments of Zev Spitz

@bandleader So are you saying there should be multiple syntaxes for optional parameters: 1. `Optional ` 2. ` = ` which is confusing? Or are you saying that VB.NET should...

@bandleader @AdamSpeight2008 As an aside, there is another place where a declaration defaults to `Object` -- class members: ```vb Class Foo Dim bar = 123 ' typed as Object End...

@reduckted It's interesting to note that even in the UseNameofInPlaceOfString analyzer, the only language-specific parts are to figure out if `NameOf` exists in the current version. ```vb ' VB.NET '...

@reduckted From [.NET Compiler Platform - Language-Agnostic Code Generation with Roslyn](https://msdn.microsoft.com/en-us/magazine/mt707527.aspx): > You can use the Roslyn APIs and the `SyntaxGenerator` class whenever you need to perform rich analysis over...

@paul1956 The directions [here](https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix) seem straightforward. The 'Analyzer with code fix" template produces a .vsix, which can then be published to the Marketplace as described [here](https://docs.microsoft.com/en-us/visualstudio/extensibility/walkthrough-publishing-a-visual-studio-extension?view=vs-2017#package-your-extension). Once you upload to...

@paul1956 > these are not open source on GitHub I'm not sure what you mean. You don't have to publish your analyzer to GitHub or any other open-source repository. If...

@AdamSpeight2008 Regarding [this](https://github.com/dotnet/roslyn/issues/15458#issuecomment-262319959): > `if (TypeOf obj Is TypeA Or TypeB ) then` could be an issue with operator precendance. Eg Being treated as `TypeOf( obj Is (TypeA Or TypeB...

@AnthonyDGreen @gafter I've rewritten and expanded this proposal; specifically the use case for union types.

@AnthonyDGreen > they do give you a way to enforce that a Select Case/pattern match handles all cases Could you clarify this? I don't see how the two are related....

Pinging @KathleenDollard