dotnet/roslyn

In the VB sources, prefer the "Is" operator rather than Object.ReferenceEquals

Open

#2150 aperta il 21 apr 2015

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-CompilersFeature Requesthelp wanted

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

We generate slightly better code for the VB Is operator than we do for invocations of Object.ReferenceEquals. It would be nice to replaces uses of the latter with uses of the former.

Guida contributor