Removing out var usage

This commit is contained in:
Pranav K 2014-10-01 14:33:14 -07:00
parent d58a6c8c1b
commit e5f157565c
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@ namespace Microsoft.AspNet.Razor.TagHelpers
// If we have a tag name associated with the requested name, return the descriptors +
// all of the catch-all descriptors.
if (_registrations.TryGetValue(tagName, out var matchingDescriptors))
HashSet<TagHelperDescriptor> matchingDescriptors;
if (_registrations.TryGetValue(tagName, out matchingDescriptors))
{
return matchingDescriptors.Concat(descriptors);
}