1 instantiation of BuildManager
System.Web (1)
Compilation\BuildManager.cs (1)
72private static BuildManager _theBuildManager = new BuildManager(); // single instance of the class
220 references to BuildManager
System.Data.Entity.Design (1)
System\Data\Entity\Design\AspNet\EntityModelBuildProvider.cs (1)
76var entityFrameworkVersion = GetEntityFrameworkVersion(BuildManager.TargetFramework.Version);
System.Data.Services.Design (2)
System\Data\EntityModel\DataServiceBuildProvider.cs (2)
387if (BuildManager.TargetFramework.Version.Major < 4) 462bool isSentinalTypePresent = BuildManager.GetType("System.Data.Services.Client.DataServiceCollection`1", false /*throwOnError*/) != null;
System.ServiceModel.Activation (10)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
212BuildManager.GetReferencedAssemblies();
System\ServiceModel\Activation\ServiceParser.cs (1)
649Assembly a = BuildManager.GetCompiledAssembly(fullVirtualPath);
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (3)
73BuildManager.GetReferencedAssemblies(); 102BuildManager.GetReferencedAssemblies(); 462compiledCustomString = BuildManager.GetCompiledCustomString(baseAddresses[0].AbsolutePath);
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (2)
103Assembly compiledAssembly = BuildManager.GetCompiledAssembly(virtualPath); 117generatedType = BuildManager.GetCompiledType(virtualPath);
System\ServiceModel\ServiceHostingEnvironment.cs (3)
458BuildManager.GetReferencedAssemblies(); 1089result = BuildManager.GetCompiledCustomString(normalizedVirtualPath); 1124return BuildManager.GetCompiledType(normalizedVirtualPath);
System.Web (180)
Cache\SubstitutionResponseElement.cs (1)
38Type target = BuildManager.GetType(_targetTypeName, true /*throwOnFail*/, false /*ignoreCase*/);
Compilation\ApplicationBuildProvider.cs (6)
23string cacheKey = BuildManager.GlobalAsaxAssemblyName; 26BuildResultCompiledGlobalAsaxType result = BuildManager.GetBuildResultFromCache(cacheKey) as 35VirtualPath virtualPath = BuildManager.GlobalAsaxVirtualPath; 48BuildManager.GenerateRandomAssemblyName(BuildManager.GlobalAsaxAssemblyName)); 61BuildManager.CacheBuildResult(cacheKey, result, utcStart);
Compilation\AssemblyBuilder.cs (18)
121_outputAssemblyName = BuildManager.WebAssemblyNamePrefix + baseFileName; 170if (BuildManager.PrecompilingWithDebugInfo) { 174else if (BuildManager.PrecompilingForDeployment) { 351string resourceDir = BuildManager.CodegenResourceDir; 371string resourceDir = BuildManager.CodegenResourceDir; 435BuildProvider buildProvider = BuildManager.CreateBuildProvider(virtualPath, 540if (BuildManager.CompileWithAllowPartiallyTrustedCallersAttribute) { 549if (!String.IsNullOrEmpty(BuildManager.StrongNameKeyFile)) { 552new CodeAttributeArgument(new CodePrimitiveExpression(BuildManager.StrongNameKeyFile))); 559if (!String.IsNullOrEmpty(BuildManager.StrongNameKeyContainer)) { 562new CodeAttributeArgument(new CodePrimitiveExpression(BuildManager.StrongNameKeyContainer))); 569if (BuildManager.CompileWithDelaySignAttribute) { 609new CodeAttributeArgument(new CodePrimitiveExpression(BuildManager.TargetFramework.FullName))); 846if (BuildManager.PrecompilingWithCodeAnalysisSymbol) { 1038if (BuildManager.CBMCallback != null) { 1040BuildManager.CBMCallback.ReportCompilerError(error); 1285string generatedCodeFile = BuildManager.GetCacheKeyFromVirtualPath( 1294BuildManager.GenerateFileTable[buildProvider.VirtualPathObject.VirtualPathStringNoTrailingSlash] = generatedCodeFile;
Compilation\AssemblyResolver.cs (2)
334if (BuildManager.CBMCallback != null) { 335BuildManager.CBMCallback.ReportCompilerError(error);
Compilation\BaseCodeDomTreeGenerator.cs (1)
226return BuildManager.PrecompilingForUpdatableDeployment;
Compilation\BrowserCapabilitiesCompiler.cs (4)
104result = BuildManager.GetBuildResultFromCache(browerCapabilitiesCacheKey); 135BuildManager.GenerateRandomAssemblyName(BuildManager.AppBrowserCapAssemblyNamePrefix)); 148BuildManager.CacheBuildResult(browerCapabilitiesCacheKey, result, utcStart);
Compilation\BuildManager.cs (13)
72private static BuildManager _theBuildManager = new BuildManager(); // single instance of the class 75internal static BuildManager TheBuildManager { get { return _theBuildManager; } } 176if (BuildManager.CBMCallback != null) { 178BuildManager.CBMCallback.ReportParseError(parseError); 196if (BuildManager.CBMCallback == null) 204BuildManager.CBMCallback.ReportCompilerError(error); 383BuildManager.ThrowIfPreAppStartNotRunning(); 762BuildManager.RestorePortableCompilationOutputSnapshot(); 918var referencedAssemblies = BuildManager.GetReferencedAssemblies(compConfig).Cast<Assembly>(); 1319type = typeof(BuildManager).Assembly.GetType(typeName, 1700string outputAssemblyName = BuildManager.WebAssemblyNamePrefix + 1701BuildManager.GenerateRandomAssemblyName( 1760result = BuildManager.GetBuildResultFromCache(cacheKey);
Compilation\BuildManagerHost.cs (19)
40private BuildManager _buildManager; 218BuildManager.SkipTopLevelCompilationExceptions = true; 228BuildManager.SkipTopLevelCompilationExceptions = false; 240BuildManager.SkipTopLevelCompilationExceptions = true; 253BuildManager.SkipTopLevelCompilationExceptions = false; 267Type t = BuildManager.GetCompiledType(virtualPath, callback); 299return BuildManager.GenerateFileTable[virtualPath.VirtualPathStringNoTrailingSlash]; 312Dictionary<String, String>.Enumerator e = BuildManager.GenerateFileTable.GetEnumerator(); 402BuildManager.SkipTopLevelCompilationExceptions = true; 415string cacheKey = BuildManager.GetCacheKeyFromVirtualPath(virtualPath) + "_CBMResult"; 416BuildResultCodeCompileUnit result = (BuildResultCodeCompileUnit)BuildManager.GetBuildResultFromCache(cacheKey, virtualPath); 455BuildManager.CacheBuildResult(cacheKey, result, utcStart); 473BuildManager.SkipTopLevelCompilationExceptions = false; 480return BuildManager.GetNormalizedCodeAssemblyName(assemblyName) != null; 489ICollection referencedAssemblies = BuildManager.GetReferencedAssemblies(compConfig); 500ICollection referencedAssemblies = BuildManager.GetReferencedAssemblies(compConfig); 506if (StringUtil.EqualsIgnoreCase(virtualPath.VirtualPathString, BuildManager.GlobalAsaxVirtualPath.VirtualPathString)) { 513buildProvider = BuildManager.CreateBuildProvider(virtualPath, compConfig, 582_buildManager = BuildManager.TheBuildManager;
Compilation\BuildProvider.cs (1)
203BuildManager.ThrowIfPreAppStartNotRunning();
Compilation\BuildProvidersCompiler.cs (12)
57_referencedAssemblies = BuildManager.GetReferencedAssemblies(CompConfig); 66_referencedAssemblies = BuildManager.GetReferencedAssemblies(CompConfig, index); 108if (!BuildManager.ThrowOnFirstParseError) { 290_referencedAssemblies = BuildManager.GetReferencedAssemblies(_compConfig); 305BuildManager.ReportDirectoryCompilationProgress(_vdir.VirtualPathObject); 344result = BuildManager.GetVPathBuildResultFromCache(vfile.VirtualPathObject); 351if (!BuildManager.PerformingPrecompilation) { 360BuildProvider buildProvider = BuildManager.CreateBuildProvider(vfile.VirtualPathObject, 383if (retryIfDeletionHappens && BuildManager.PerformingPrecompilation) { 406if (!BuildManager.CacheVPathBuildResult(buildProvider.VirtualPathObject, result, _utcStart)) 477BuildManager.CacheVPathBuildResult(buildProvider.VirtualPathObject, result, _utcStart); 607if (!BuildManager.ThrowOnFirstParseError) {
Compilation\BuildResult.cs (1)
905Assembly localResAssembly = BuildManager.GetLocalResourcesAssembly(virtualDir);
Compilation\BuildResultCache.cs (9)
62Debug.Assert(StringUtil.StringStartsWith(assemblyName, BuildManager.AssemblyNamePrefix)); 92if (!StringUtil.StringStartsWith(name, BuildManager.AssemblyNamePrefix)) 99if (!StringUtil.StringStartsWith(assemblyName.Name, BuildManager.AssemblyNamePrefix)) 472string baseName = assemblyName.Substring(BuildManager.WebAssemblyNamePrefix.Length); 508if (!assemblyName.StartsWith(BuildManager.WebAssemblyNamePrefix, StringComparison.Ordinal)) { 513string baseName = assemblyName.Substring(BuildManager.WebAssemblyNamePrefix.Length); 706return BuildManager.WebHashFilePath; 861if (FileUtil.FileExists(codegen + BuildManager.WebAssemblyNamePrefix + baseName + ".dll")) 880string path = BuildManager.CodegenResourceDir;
Compilation\CodeDirectoryCompiler.cs (7)
69BuildResult result = BuildManager.GetBuildResultFromCache(cacheKey); 137BuildManager.ReportDirectoryCompilationProgress(virtualDir); 154outputAssemblyName = BuildManager.GenerateRandomAssemblyName(assemblyName); 227if (BuildManager.OptimizeCompilations && dirType != CodeDirectoryType.LocalResources) { 237BuildManager.CacheBuildResult(cacheKey, result, utcStart); 301BuildManager.AddFolderLevelBuildProviders(_buildProviders, vdir.VirtualPathObject, 358BuildProvider buildProvider = BuildManager.CreateBuildProvider(child.VirtualPathObject,
Compilation\CompilationLock.cs (2)
192Monitor.Enter(BuildManager.TheBuildManager); 201Monitor.Exit(BuildManager.TheBuildManager);
Compilation\CompilationUtil.cs (2)
305BuildManager.PrecompilingForUpdatableDeployment && 395BuildManager.PrecompilingForUpdatableDeployment) {
Compilation\IResourceProvider.cs (4)
94if (BuildManager.AppResourcesAssembly == null) 98BuildManager.AppResourcesAssembly); 175string cacheKey = BuildManager.GetLocalResourcesAssemblyName(virtualDir); 176BuildResult result = BuildManager.GetBuildResultFromCache(cacheKey);
Compilation\NonBatchDirectoryCompiler.cs (1)
63BuildManager.GetVPathBuildResult(vfile.VirtualPathObject);
Compilation\PageThemeBuildProvider.cs (2)
34return BuildManager.AppThemeAssemblyNamePrefix; 74return BuildManager.GlobalThemeAssemblyNamePrefix;
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
250Type appType = BuildManager.GetGlobalAsaxType();
Compilation\ThemeDirectoryCompiler.cs (7)
31return BuildManager.ScriptVirtualDir.SimpleCombineWithDir(HttpRuntime.GlobalThemesDirectoryName + "/" + themeName); 49BuildManager.GetBuildResultFromCache(appThemeCacheKey); 54result = (BuildResultCompiledType) BuildManager.GetBuildResultFromCache( 69result = (BuildResultCompiledType)BuildManager.GetBuildResultFromCache(appThemeCacheKey); 71result = (BuildResultCompiledType)BuildManager.GetBuildResultFromCache( 113themeBuildProvider.AssemblyNamePrefix + BuildManager.GenerateRandomAssemblyName(themeName)); 125BuildManager.CacheBuildResult(cacheKey, result, utcStart);
Compilation\WebReferencesBuildProvider.cs (1)
41s_indigoWebRefProviderType = BuildManager.GetType(IndigoWebRefProviderTypeName, false /*throwOnError*/);
Configuration\AuthenticationConfig.cs (1)
41Debug.Assert(BuildManager.PreStartInitStage == PreStartInitStage.DuringPreStartInit);
Configuration\CodeSubDirectory.cs (2)
76if (BuildManager.IsPrecompiledApp) { 108if (BuildManager.IsReservedAssemblyName(directoryName)) {
Configuration\CompilationSection.cs (2)
790if (BuildManager.IgnoreBadImageFormatException) { 858if (assemblyName.StartsWith(BuildManager.WebAssemblyNamePrefix, StringComparison.Ordinal))
Configuration\ConfigUtil.cs (1)
39val = BuildManager.GetType(typeName, true /*throwOnError*/, ignoreCase);
Configuration\HandlerFactoryCache.cs (1)
72return BuildManager.GetType(type, throwOnError: true, ignoreCase: false);
Configuration\HealthMonitoringSectionHelper.cs (1)
539type = BuildManager.GetType(typeName, false);
Configuration\HttpCapabilitiesBase.cs (3)
176Type writerType = BuildManager.GetType(mtw, true /* throwOnFail */, false /* ignoreCase */); 274adapterType = BuildManager.GetType(adapterTypename, false, false); 595_tagwriter = BuildManager.GetType(tagWriter, true /*throwOnError*/);
Configuration\WebConfigurationHost.cs (2)
798return BuildManager.GetType(typeName, throwOnError); 802return BuildManager.GetNormalizedTypeName(t);
Handlers\AssemblyResourceLoader.cs (1)
101_handlerExists = (typeof(AssemblyResourceLoader) == BuildManager.GetType(handlerTypeString, true /*throwOnFail*/, false /*ignoreCase*/));
Hosting\HostingEnvironment.cs (3)
392BuildManager.ExecutePreAppStart(); 394BuildManager.CallAppInitializeMethod(); 1888if (BuildManager.IsPrecompiledApp)
HttpApplicationFactory.cs (2)
195_theApplicationType = BuildManager.GetGlobalAsaxType(); 197BuildResultCompiledGlobalAsaxType result = BuildManager.GetGlobalAsaxBuildResult();
HttpCachePolicy.cs (1)
337target = BuildManager.GetType(targetTypeName, true /*throwOnFail*/, false /*ignoreCase*/);
HttpRuntime.cs (1)
525BuildManager.InitializeBuildManager();
Profile\HttpProfileBase.cs (5)
89Type t = BuildManager.GetProfileType(); 222t = BuildManager.GetType(InheritsFromTypeString, true, true); 337t = BuildManager.GetType(pps.Type, false); 362t = BuildManager.GetProfileType(); 619return BuildManager.GetType(typeName, true, true);
Profile\ProfileManager.cs (2)
38BuildManager.ThrowIfPreAppStartNotRunning(); 373bool canInitializeDefaultProvider = (!HostingEnvironment.IsHosted || BuildManager.PreStartInitStage == PreStartInitStage.AfterPreStartInit);
Routing\PageRouteHandler.cs (1)
90Page page = BuildManager.CreateInstanceFromVirtualPath(virtualPath, typeof(Page)) as Page;
Security\FormsAuthentication.cs (1)
645BuildManager.ThrowIfPreAppStartNotRunning();
Security\Membership.cs (1)
389(!HostingEnvironment.IsHosted || BuildManager.PreStartInitStage == PreStartInitStage.AfterPreStartInit);
Security\Roles.cs (2)
80BuildManager.ThrowIfPreAppStartNotRunning(); 552bool canInitializeDefaultProvider = (!HostingEnvironment.IsHosted || BuildManager.PreStartInitStage == PreStartInitStage.AfterPreStartInit);
UI\BaseTemplateParser.cs (1)
121result = BuildManager.GetVPathBuildResult(virtualPath);
UI\ClientScriptManager.cs (1)
1484_type = BuildManager.GetType(_typeNameForSerialization, true /*throwOnFail*/, false /*ignoreCase*/);
UI\ControlBuilder.cs (2)
2663if (BuildManager.PrecompilingForUpdatableDeployment) 2751if (BuildManager.PrecompilingForUpdatableDeployment)
UI\MasterPage.cs (1)
185ITypedWebObjectFactory result = (ITypedWebObjectFactory)BuildManager.GetVPathBuildResult(
UI\Page.cs (2)
3441(ITypedWebObjectFactory)BuildManager.GetVPathBuildResult(Context, _previousPagePath); 6399_scriptManagerType = BuildManager.GetType("System.Web.UI.ScriptManager", false);
UI\PageHandlerFactory.cs (1)
62Page page = BuildManager.CreateInstanceFromVirtualPath(
UI\PageParser.cs (6)
142BuildResultCompiledType result = (BuildResultCompiledType)BuildManager.GetVPathBuildResult( 690BuildManager.ThrowIfPreAppStartNotRunning(); 706BuildManager.ThrowIfPreAppStartNotRunning(); 722BuildManager.ThrowIfPreAppStartNotRunning(); 738BuildManager.ThrowIfPreAppStartNotRunning(); 751BuildManager.ThrowIfPreAppStartNotRunning();
UI\SimpleHandlerFactory.cs (1)
39BuildResultCompiledType result = (BuildResultCompiledType)BuildManager.GetVPathBuildResult(
UI\SimpleWebHandlerParser.cs (3)
118BuildResultCompiledType result = (BuildResultCompiledType) BuildManager.GetVPathBuildResult(_virtualPath); 427BuildResultCompiledAssembly result = (BuildResultCompiledAssembly) BuildManager.GetVPathBuildResult( 543BuildResultCompiledType result = (BuildResultCompiledType) BuildManager.GetVPathBuildResult(
UI\TagNameToTypeMapper.cs (1)
151return BuildManager.GetTypeFromCodeAssembly(typeName, true /*ignoreCase*/);
UI\TemplateControl.cs (2)
605BuildResult result = BuildManager.GetVPathBuildResult(Context, virtualPath); 769ITypedWebObjectFactory objectFactory = (ITypedWebObjectFactory)BuildManager.GetVPathBuildResult(
UI\TemplateParser.cs (7)
184if (BuildManager.PrecompilingForDeployment) 230BuildManager.ReportParseError(parseError); 268BuildManager.ReportParseError(parseError); 1164TextWriter precompTargetWriter = BuildManager.GetUpdatableDeploymentTargetWriter(CurrentVirtualPath, fileEncoding); 1191attribValue = BuildManager.UpdatableInheritReplacementToken; 2208BuildManager.ValidateCodeFileVirtualPath(_codeFileVirtualPath); 2241BuildResultCompiledAssembly result = BuildManager.GetVPathBuildResult(
UI\WebControls\DataBoundControlHelper.cs (1)
139Type entityType = BuildManager.GetType(entityTypeName, throwOnError: false);
UI\WebControls\ModelDataSourceView.cs (1)
1289return BuildManager.GetType(modelTypeName, true, true);
UI\WebControls\ObjectDataSourceView.cs (2)
1605Type type = BuildManager.GetType(TypeName, false, true); 2032Type dataObjectType = BuildManager.GetType(dataObjectTypeName, false, true);
UI\WebParts\WebPartUtil.cs (1)
24return BuildManager.GetType(typeName, throwOnError);
System.Web.DynamicData (8)
DynamicData\DynamicDataRouteHandler.cs (1)
26return (Page)BuildManager.CreateInstanceFromVirtualPath(s, typeof(Page));
DynamicData\DynamicHyperLink.cs (1)
257Type contextType = BuildManager.GetType(contextTypeName, /* throwOnError */ true, /* ignoreCase */ true);
DynamicData\EntityTemplateFactory.cs (1)
39return (EntityTemplateUserControl)BuildManager.CreateInstanceFromVirtualPath(
DynamicData\FieldTemplateFactory.cs (1)
327return (IFieldTemplate)BuildManager.CreateInstanceFromVirtualPath(
DynamicData\FilterFactory.cs (1)
65QueryableFilterUserControl filter = (QueryableFilterUserControl)BuildManager.CreateInstanceFromVirtualPath(
DynamicData\FilterRepeater.cs (1)
154contextType = BuildManager.GetType(contextTypeName, /*throwOnError*/ true, /*ignoreCase*/ true);
DynamicData\FilterUserControlBase.cs (1)
202contextType = BuildManager.GetType(contextTypeName, /*throwOnError*/ true, /*ignoreCase*/ true);
DynamicData\Util\TemplateFactory.cs (1)
149return BuildManager.GetObjectFactory(virtualPath, /* throwIfNotFound */ false) != null;
System.Web.Entity (3)
System\Data\WebControls\EntityDataSource.cs (1)
277_contextType = System.Web.Compilation.BuildManager.GetType(value, /*throwOnError*/false, /*ignoreCase*/true);
System\Data\WebControls\EntityDataSourceView.cs (2)
1126contextType = System.Web.Compilation.BuildManager.GetType(_owner.ContextTypeName, /*throw on error*/ true); 1152ICollection codeAssemblies = System.Web.Compilation.BuildManager.GetReferencedAssemblies();
System.Web.Extensions (14)
Compilation\WCFBuildProvider.cs (3)
121if (BuildManager.TargetFramework.Version.Major < 4) 596System.Collections.ICollection referencedAssemblyCollection = BuildManager.GetReferencedAssemblies(); 609return BuildManager.GetType(typeName, true);
Configuration\ConvertersCollection.cs (1)
80Type t = BuildManager.GetType(converter.Type, false /*throwOnError*/);
Script\Services\WebServiceData.cs (3)
102compiledType = BuildManager.GetCompiledType(virtualPath); 106object page = BuildManager.CreateInstanceFromVirtualPath(virtualPath, typeof(System.Web.UI.Page)); 120BuildDependencySet deps = BuildManager.GetCachedBuildDependencySet(context, virtualPath);
UI\BundleReflectionHelper.cs (1)
117Type bundleResolverType = BuildManager.GetType("System.Web.Optimization.BundleResolver", throwOnError: false);
UI\ScriptManager.cs (1)
321referencedAssemblies = BuildManager.GetReferencedAssemblies().OfType<Assembly>();
UI\WebControls\ContextDataSourceView.cs (1)
156entityType = BuildManager.GetType(typeName, /*throwOnFail*/ false, /*ignoreCase*/ true);
UI\WebControls\DataSourceHelper.cs (1)
102return BuildManager.GetType(typeName, true /* throwOnError */, true /* ignoreCase */);
UI\WebControls\Expressions\MethodExpression.cs (1)
61return BuildManager.GetType(typeName, false /* throwOnError */, true /* ignoreCase */);
UI\WebControls\Expressions\OfTypeExpression.cs (1)
64return BuildManager.GetType(typeName, true /* throwOnError */, true /* ignoreCase */);
UI\WebControls\LinqDataSourceView.cs (1)
117_contextType = BuildManager.GetType(typeName, /*throwOnFail*/true, /*ignoreCase*/true);
System.WorkflowServices (1)
System\ServiceModel\Activation\WorkflowServiceHostFactory.cs (1)
152compiledString = BuildManager.GetCompiledCustomString(baseAddresses[0].AbsolutePath);
System.Xaml.Hosting (1)
System\Xaml\Hosting\XamlHttpHandlerFactory.cs (1)
215return BuildManager.GetCompiledType(normalizedVirtualPath);