56 references to CompilationUtil
System.Web (56)
Compilation\AssemblyBuilder.cs (5)
190
_codeProvider =
CompilationUtil
.CreateCodeDomProviderNonPublic(
873
IDictionary<string, string> providerOptions =
CompilationUtil
.GetProviderOptions(codeDomProviderType);
882
if (codeDomProviderType == null || !
CompilationUtil
.IsCompilerVersion35OrAbove(codeDomProviderType))
902
throw new System.Configuration.ConfigurationErrorsException(SR.GetString(SR.Property_NullOrEmpty,
CompilationUtil
.CodeDomProviderOptionPath + providerOptionName));
915
throw new System.Configuration.ConfigurationErrorsException(SR.GetString(SR.Value_must_be_boolean,
CompilationUtil
.CodeDomProviderOptionPath + providerOptionName));
Compilation\AssemblyResolver.cs (1)
526
if (
CompilationUtil
.WarnAsError(info.CodeDomProviderType)) {
Compilation\BaseTemplateBuildProvider.cs (1)
44
CodeDomProvider codeDomProvider =
CompilationUtil
.CreateCodeDomProviderNonPublic(
Compilation\BuildManager.cs (8)
1081
CodeSubDirectoriesCollection codeSubDirectories =
CompilationUtil
.GetCodeSubDirectories();
1096
CodeSubDirectoriesCollection codeSubDirectories =
CompilationUtil
.GetCodeSubDirectories();
1398
Type buildProviderType =
CompilationUtil
.GetBuildProviderTypeFromExtension(compConfig,
1420
List<Type> buildProviderTypes =
CompilationUtil
.GetFolderLevelBuildProviderTypes(compConfig, appliesTo);
1908
return
CompilationUtil
.IsBatchingEnabled(virtualDir.VirtualPathString);
2008
CodeSubDirectoriesCollection codeSubDirectories =
CompilationUtil
.GetCodeSubDirectories();
2989
if (
CompilationUtil
.NeedToCopyFile(vfile.VirtualPathObject, PrecompilingForUpdatableDeployment,
3312
CodeSubDirectoriesCollection codeSubDirectories =
CompilationUtil
.GetCodeSubDirectories();
Compilation\BuildManagerHost.cs (1)
374
CodeDomProvider codeProvider =
CompilationUtil
.CreateCodeDomProvider(codeDomProviderType);
Compilation\BuildProvider.cs (3)
235
return
CompilationUtil
.GetCompilerInfoFromLanguage(VirtualPathObject, language);
243
return
CompilationUtil
.GetDefaultLanguageCompilerInfo(null /*compConfig*/, VirtualPathObject);
414
CompilationUtil
.CheckCompilerOptionsAllowed(compilerType.CompilerParameters.CompilerOptions,
Compilation\BuildProvidersCompiler.cs (2)
212
int maxConcurrent = Math.Min(_satelliteAssemblyBuilders.Count,
CompilationUtil
.MaxConcurrentCompilations);
758
int maxConcurrent = Math.Min(assemblyBuilders.Count,
CompilationUtil
.MaxConcurrentCompilations);
Compilation\BuildResultCache.cs (1)
407
s_maxRecompilations =
CompilationUtil
.GetRecompilationsBeforeAppRestarts();
Compilation\CompilationUtil.cs (1)
572
IDictionary<string, string> providerOptions =
CompilationUtil
.GetProviderOptions(codeDomProviderType);
Compilation\CompilerTypeWithParams.cs (1)
108
return
CompilationUtil
.GetCSharpCompilerInfo(compConfig, configPath);
Compilation\MultiTargetingUtil.cs (8)
297
Version vbVersion =
CompilationUtil
.GetVersionFromVString(vbCompilerVersion);
298
Version csVersion =
CompilationUtil
.GetVersionFromVString(csharpCompilerVersion);
314
if (
CompilationUtil
.IsCompilerVersion35(compilerVersion)) {
333
if (
CompilationUtil
.IsCompilerVersion35(compilerVersion)) {
340
return
CompilationUtil
.GetCompilerVersion(typeof(CSharpCodeProvider));
344
return
CompilationUtil
.GetCompilerVersion(typeof(VBCodeProvider));
348
throw new ConfigurationErrorsException(SR.GetString(SR.Invalid_attribute_value, compilerVersion,
CompilationUtil
.CodeDomProviderOptionPath + "CompilerVersion"));
374
Version version =
CompilationUtil
.GetVersionFromVString(compilerVersion);
Compilation\NonBatchDirectoryCompiler.cs (1)
46
Type buildProviderType =
CompilationUtil
.GetBuildProviderTypeFromExtension(_compConfig,
Compilation\SourceFileBuildProvider.cs (1)
27
return
CompilationUtil
.GetCompilerInfoFromVirtualPath(VirtualPathObject);
Compilation\XsdBuildProvider.cs (2)
55
bool isVer35OrAbove =
CompilationUtil
.IsCompilerVersion35OrAbove(assemblyBuilder.CodeDomProvider.GetType());
70
var isVer35 =
CompilationUtil
.IsCompilerVersion35(assemblyBuilder.CodeDomProvider.GetType());
Configuration\BuildProvider.cs (1)
122
_type =
CompilationUtil
.LoadTypeWithChecks(_buildProvider.Type, typeof(System.Web.Compilation.BuildProvider), null, _buildProvider, "type");
Configuration\CompilationSection.cs (3)
646
CompilationUtil
.CheckCompilerOptionsAllowed(compilerType.CompilerParameters.CompilerOptions,
885
_recompilationHash =
CompilationUtil
.GetRecompilationHash(this);
925
_controlBuilderInterceptorType =
CompilationUtil
.LoadTypeWithChecks(ControlBuilderInterceptorType, typeof(ControlBuilderInterceptor), null, this, controlBuilderInterceptorTypeAttributeName);
Configuration\Compiler.cs (2)
117
Type codeDomProviderType =
CompilationUtil
.LoadTypeWithChecks(
130
CompilationUtil
.CheckCompilerOptionsAllowed(compilerOptions, true /*config*/,
Configuration\ExpressionBuilder.cs (1)
86
return
CompilationUtil
.LoadTypeWithChecks(Type,
Configuration\FolderLevelBuildProvider.cs (1)
96
_type =
CompilationUtil
.LoadTypeWithChecks(Type, typeof(System.Web.Compilation.BuildProvider), null, this, "type");
Configuration\PagesSection.cs (1)
495
CompilationUtil
.GetBuildProviderTypeFromExtension(_virtualPath, extension, BuildProviderAppliesTo.Web, false);
HttpContext.cs (3)
1356
return
CompilationUtil
.IsDebuggingEnabled(this);
1789
if (
CompilationUtil
.IsDebuggingEnabled(this) || System.Diagnostics.Debugger.IsAttached)
1826
if (
CompilationUtil
.IsDebuggingEnabled(this) || System.Diagnostics.Debugger.IsAttached) {
UI\PageParserFilter.cs (1)
117
Type buildProviderType =
CompilationUtil
.GetBuildProviderTypeFromExtension(
UI\SimpleWebHandlerParser.cs (2)
325
CompilationUtil
.CheckCompilerOptionsAllowed(compilerOptions, false /*config*/, null, 0);
423
CompilationUtil
.GetCompilerInfoFromVirtualPath(fullVirtualPath);
UI\TemplateParser.cs (5)
1244
_compilerType =
CompilationUtil
.GetDefaultLanguageCompilerInfo(
1249
_compilerType =
CompilationUtil
.GetCodeDefaultLanguageCompilerInfo();
1926
CompilationUtil
.CheckCompilerOptionsAllowed(compilerOptions, false /*config*/, null, 0);
2170
CompilerType compilerType =
CompilationUtil
.GetCompilerInfoFromLanguage(
2194
CompilerType compilerType =
CompilationUtil
.GetCompilerInfoFromVirtualPath(