This works as well however I was thinking something more like below. Pass "f" to Where method. 

Func<bool, RoleSize> f = 
         string.IsNullOrEmpty(this.InstanceSize)  ?  (roleSize) => true : 
                   (roleSize) => string.Equals(this.InstanceSize, roleSize.Name, StringComparison.OrdinalIgnoreCase));