Files
dotnet-runtime/src/libraries/System.Linq.Queryable
Jon Hanna 144807d61c Combine is-operator-then-cast sequences.
Convert some cases of the form:

    if (value is T) ((T)value).DoSomething();

Etc. Into:

    T tValue = value as T;
    if (tValue != null) tValue.DoSomething();

Slightly smaller IL output, and removes double-cast in the case that uses it.


Commit migrated from https://github.com/dotnet/corefx/commit/6026ec5993a98c5a03c04a48a68f1d6ed346f8bc
2015-08-18 03:34:21 +01:00
..
2015-08-13 17:07:57 -07:00
2015-08-14 15:43:23 -07:00