dotnet/roslyn

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

Open

#2,150 建立於 2015年4月21日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)C# (20,414 star) (4,257 fork)batch import
Area-CompilersFeature Requesthelp wanted

描述

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.

貢獻者指南