SitecoreFactory does not exist in current context; where is SitecoreFactory defined?

I'm working on getting a recently upgraded Sitecore 8.2 site running and I just pulled in some source code changes, but one of the updated files isn't working because The name 'SitecoreFactory' does not exist in the current context. What dll is this in, and which version do I need?