Quantcast
Channel: roslyn Source Code Rss Feed
Viewing all articles
Browse latest Browse all 70

Source code checked in, #5296864eb630de5dbeec8d958bb6f0bdb0fc10d7

$
0
0
Small codegen improvement when "?." is used in branch conditions. When conditional access operator is used as a branch condition, it is often unnecessary to emit actual bool values. Example: if (arr?.Length > 0) { ... } In simple cases like above the branches can be emitted directly based on null-ness of arr, truth-ness of the access and the sense of the condition. . (changeset 1342701)

Viewing all articles
Browse latest Browse all 70

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>