From fa8c2eac3ef7c9ab149495dd88aeea2813c32c7c Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Thu, 7 Jan 2016 09:09:16 -0800 Subject: [PATCH] Check encoded and unencoded values against element body in `OptionTagHelper` - #3386 - initialize comparison `HashSet` with unencoded values to ensure both are checked - address perf and correctness issues in this code - `context.Items[typeof(SelectTagHelper)]` entry read as `ICollection` but written as `IReadOnlyCollection` - `IReadOnlyCollection` worse because it does not include `Contains()`, causing Linq use - every `