23 references to Level
System.Web (23)
Compilation\BuildManager.cs (1)
658
specialFilesHashCodeCombiner.AddObject(casConfig.
Level
);
Hosting\ApplicationManager.cs (8)
1114
if (trustSection == null || String.IsNullOrEmpty(trustSection.
Level
)) {
1126
if (trustSection.
Level
== "Full") {
1159
if (trustSection.
Level
!= "Full") {
1381
if (securityPolicySection == null || securityPolicySection.TrustLevels[trustSection.
Level
] == null) {
1382
throw new ConfigurationErrorsException(SR.GetString(SR.Unable_to_get_policy_file, trustSection.
Level
), String.Empty, 0);
1384
String configFile = (String)securityPolicySection.TrustLevels[trustSection.
Level
].PolicyFileExpanded;
1386
throw new HttpException(SR.GetString(SR.Unable_to_get_policy_file, trustSection.
Level
));
1479
throw new ConfigurationErrorsException(SR.GetString(SR.Unable_to_get_policy_file, trustSection.
Level
));
HttpRuntime.cs (14)
468
if (trustSection == null || String.IsNullOrEmpty(trustSection.
Level
)) {
3128
string trustLevel = trustSection.
Level
;
3130
if (trustSection.
Level
== "Full") {
3135
if (securityPolicySection == null || securityPolicySection.TrustLevels[trustSection.
Level
] == null) {
3136
throw new ConfigurationErrorsException(SR.GetString(SR.Unable_to_get_policy_file, trustSection.
Level
), String.Empty, 0);
3144
if (trustSection.
Level
== "Minimal" || trustSection.
Level
== "Low" ||
3145
trustSection.
Level
== "Medium" || trustSection.
Level
== "High") {
3146
file = (String)securityPolicySection.TrustLevels[trustSection.
Level
].LegacyPolicyFileExpanded;
3149
file = (String)securityPolicySection.TrustLevels[trustSection.
Level
].PolicyFileExpanded;
3153
throw new HttpException(SR.GetString(SR.Unable_to_get_policy_file, trustSection.
Level
));
3283
_trustLevel = trustSection.
Level
;
3291
String file = (String)securityPolicySection.TrustLevels[trustSection.
Level
].PolicyFileExpanded;