131 references to LineNumber
System.IdentityModel (2)
System\IdentityModel\DiagnosticUtilityExtensions.cs (2)
79configElement.ElementInformation.Properties[propertyName].LineNumber)); 112configElement.ElementInformation.Properties[propertyName].LineNumber));
System.Web (129)
Cache\SqlCacheDependency.cs (3)
694config.ElementInformation.Properties["enabled"].Source, config.ElementInformation.Properties["enabled"].LineNumber); 702sqlDepDB.ElementInformation.Properties["pollTime"].Source, sqlDepDB.ElementInformation.Properties["pollTime"].LineNumber); 717sqlDepDB.ElementInformation.Properties["connectionStringName"].Source, sqlDepDB.ElementInformation.Properties["connectionStringName"].LineNumber);
Compilation\ProfileBuildProvider.cs (2)
118if (prop != null && prop.Source != null && prop.LineNumber > 0) 119type.LinePragma = new CodeLinePragma(HttpRuntime.GetSafePath(prop.Source), prop.LineNumber);
Configuration\BufferModeSettings.cs (3)
222elem.ElementInformation.Properties["urgentFlushThreshold"].Source, elem.ElementInformation.Properties["urgentFlushThreshold"].LineNumber); 232elem.ElementInformation.Properties["maxFlushSize"].Source, elem.ElementInformation.Properties["maxFlushSize"].LineNumber); 242elem.ElementInformation.Properties["urgentFlushInterval"].Source, elem.ElementInformation.Properties["urgentFlushInterval"].LineNumber);
Configuration\CodeSubDirectory.cs (4)
84ElementInformation.Properties[dirNameAttribName].Source, ElementInformation.Properties[dirNameAttribName].LineNumber); 93ElementInformation.Properties[dirNameAttribName].Source, ElementInformation.Properties[dirNameAttribName].LineNumber); 105ElementInformation.Properties[dirNameAttribName].Source, ElementInformation.Properties[dirNameAttribName].LineNumber); 111ElementInformation.Properties[dirNameAttribName].Source, ElementInformation.Properties[dirNameAttribName].LineNumber);
Configuration\CompilationSection.cs (3)
260configLineNumber = ElementInformation.Properties[tempDirectoryAttributeName].LineNumber; 452ElementInformation.Properties[assemblyPostProcessorTypeAttributeName].LineNumber); 815int lineNumber = ElementInformation.Properties["assemblies"].LineNumber;
Configuration\Compiler.cs (1)
132ElementInformation.Properties[compilerOptionsAttribName].LineNumber);
Configuration\ConfigsHelper.cs (1)
17config.ElementInformation.Properties[propName].Source, config.ElementInformation.Properties[propName].LineNumber);
Configuration\ConfigUtil.cs (5)
26configElement.ElementInformation.Properties[propertyName].LineNumber); 53configElement.ElementInformation.Properties[propertyName].LineNumber); 101configElement.ElementInformation.Properties[propertyName].Source, configElement.ElementInformation.Properties[propertyName].LineNumber); 110configElement.ElementInformation.Properties[propertyName].LineNumber); 120return new ConfigurationErrorsException(message, innerException, (configProperty != null) ? configProperty.Source : null, (configProperty != null) ? configProperty.LineNumber : 0);
Configuration\FormsAuthenticationConfiguration.cs (2)
402elem.ElementInformation.Properties["loginUrl"].LineNumber); 409elem.ElementInformation.Properties["defaultUrl"].LineNumber);
Configuration\GlobalizationSection.cs (12)
275errorLine = ElementInformation.Properties[errorProperty.Name].LineNumber; 284if (errorLine > ElementInformation.Properties[_propResponseHeaderEncoding.Name].LineNumber) { 286errorLine = ElementInformation.Properties[errorProperty.Name].LineNumber; 296if (errorLine > ElementInformation.Properties[_propRequestEncoding.Name].LineNumber) { 298errorLine = ElementInformation.Properties[errorProperty.Name].LineNumber; 308if (errorLine > ElementInformation.Properties[_propFileEncoding.Name].LineNumber) { 310errorLine = ElementInformation.Properties[errorProperty.Name].LineNumber; 319if (errorLine > ElementInformation.Properties[_propCulture.Name].LineNumber) { 321errorLine = ElementInformation.Properties[_propCulture.Name].LineNumber; 331if (errorLine > ElementInformation.Properties[_propUICulture.Name].LineNumber) { 333errorLine = ElementInformation.Properties[_propUICulture.Name].LineNumber; 339ElementInformation.Properties[errorProperty.Name].Source, ElementInformation.Properties[errorProperty.Name].LineNumber);
Configuration\HealthMonitoringSectionHelper.cs (10)
118providerSettings.ElementInformation.Properties["type"].LineNumber, 133if (eventMappingSettings.ElementInformation.Properties[attribute].LineNumber == 0) { 135Debug.Assert(eventMappingSettings.ElementInformation.Properties[attribute].LineNumber != 0, 141eventMappingSettings.ElementInformation.Properties[attribute].Source, eventMappingSettings.ElementInformation.Properties[attribute].LineNumber); 146eventMappingSettings.ElementInformation.Properties["type"].LineNumber, 165rule.ElementInformation.Properties["provider"].LineNumber); 175rule.ElementInformation.Properties["profile"].LineNumber); 182rule.ElementInformation.Properties["eventName"].Source, rule.ElementInformation.Properties["eventName"].LineNumber); 304ruleInfo._customEvaluatorConfig.ElementInformation.Properties["custom"].LineNumber, 558providerSettings.ElementInformation.Properties["type"].LineNumber);
Configuration\HttpModuleAction.cs (4)
100return ElementInformation.Properties["name"].LineNumber; 114ElementInformation.Properties[_propType.Name].Source, ElementInformation.Properties[_propType.Name].LineNumber); 145elem.ElementInformation.Properties["type"].LineNumber); 152elem.ElementInformation.Properties["name"].LineNumber);
Configuration\HttpRuntimeSection.cs (4)
426ElementInformation.Properties[_propMaxRequestLength.Name].LineNumber); 442ElementInformation.Properties[_propRequestLengthDiskThreshold.Name].LineNumber); 570line: targetFrameworkPropInfo.LineNumber); 829ElementInformation.Properties[_propRequestPathInvalidCharacters.Name].LineNumber);
Configuration\IdentitySection.cs (5)
181ElementInformation.Properties["password"].LineNumber); 188ElementInformation.Properties["userName"].LineNumber); 194ElementInformation.Properties["userName"].LineNumber); 210ElementInformation.Properties["userName"].LineNumber); 216ElementInformation.Properties["userName"].LineNumber);
Configuration\MachineKeySection.cs (14)
183throw new ConfigurationErrorsException(SR.GetString(SR.Wrong_decryption_enum), ElementInformation.Properties["decryption"].Source, ElementInformation.Properties["decryption"].LineNumber); 188throw new ConfigurationErrorsException(SR.GetString(SR.Wrong_decryption_enum), ElementInformation.Properties["decryption"].Source, ElementInformation.Properties["decryption"].LineNumber); 362throw new ConfigurationErrorsException(SR.GetString(SR.Unable_to_get_cookie_authentication_validation_key, strKey.Length.ToString(CultureInfo.InvariantCulture)), ElementInformation.Properties["validationKey"].Source, ElementInformation.Properties["validationKey"].LineNumber); 368throw new ConfigurationErrorsException(SR.GetString(SR.Invalid_validation_key), ElementInformation.Properties["validationKey"].Source, ElementInformation.Properties["validationKey"].LineNumber); 418throw new ConfigurationErrorsException(SR.GetString(SR.Invalid_decryption_key), ElementInformation.Properties["decryptionKey"].Source, ElementInformation.Properties["decryptionKey"].LineNumber); 424throw new ConfigurationErrorsException(SR.GetString(SR.Invalid_decryption_key), ElementInformation.Properties["decryptionKey"].Source, ElementInformation.Properties["decryptionKey"].LineNumber); 948throw new ConfigurationErrorsException(SR.GetString(SR.Bad_machine_key, e.Message), ElementInformation.Properties["decryptionKey"].Source, ElementInformation.Properties["decryptionKey"].LineNumber); 1098ElementInformation.Properties["validation"].LineNumber); 1108ElementInformation.Properties["validation"].LineNumber); 1113ElementInformation.Properties["validation"].LineNumber); 1121ElementInformation.Properties["validation"].LineNumber); 1182ElementInformation.Properties["decryption"].LineNumber); 1189ElementInformation.Properties["decryption"].LineNumber); 1194ElementInformation.Properties["decryption"].LineNumber);
Configuration\MembershipSection.cs (1)
148throw new ConfigurationErrorsException(SR.GetString(SR.Invalid_hash_algorithm_type, HashAlgorithmType), ElementInformation.Properties["hashAlgorithmType"].Source, ElementInformation.Properties["hashAlgorithmType"].LineNumber);
Configuration\NamespaceCollection.cs (1)
103namespaceEntry.Line = ni.ElementInformation.Properties["namespace"].LineNumber;
Configuration\OutputCacheSection.cs (1)
221ElementInformation.Properties["defaultProvider"].LineNumber);
Configuration\PagesSection.cs (7)
472ElementInformation.Properties["masterPageFile"].LineNumber); 483ElementInformation.Properties["masterPageFile"].LineNumber); 490ElementInformation.Properties["masterPageFile"].LineNumber); 501ElementInformation.Properties["masterPageFile"].LineNumber); 537ElementInformation.Properties["theme"].LineNumber); 566ElementInformation.Properties["styleSheetTheme"].LineNumber); 729tpi.ElementInformation.Properties["src"].LineNumber);
Configuration\ProcessModelSection.cs (2)
623elem.ElementInformation.Properties["cpuMask"].LineNumber); 630elem.ElementInformation.Properties["cpuMask"].LineNumber);
Configuration\ProtocolsSection.cs (2)
274this.ElementInformation.Properties["ProcessHandlerType"].LineNumber); 289this.ElementInformation.Properties["AppDomainHandlerType"].LineNumber);
Configuration\ProvidersHelper.cs (1)
45throw new ConfigurationErrorsException(e.Message, e, providerSettings.ElementInformation.Properties["type"].Source, providerSettings.ElementInformation.Properties["type"].LineNumber);
Configuration\SessionStateSection.cs (2)
485ElementInformation.Properties["cookieless"].LineNumber); 516elem.ElementInformation.Properties["timeout"].LineNumber);
Configuration\SiteMapSection.cs (1)
138ElementInformation.Properties[_propDefaultProvider.Name].LineNumber);
Configuration\SqlCacheDependencyDatabase.cs (1)
98elem.ElementInformation.Properties["pollTime"].LineNumber);
Configuration\SqlCacheDependencySection.cs (1)
107elem.ElementInformation.Properties["pollTime"].LineNumber);
Configuration\TagMapCollection.cs (1)
91tmi.ElementInformation.Properties["mappedTagType"].LineNumber);
Configuration\TransformerInfoCollection.cs (3)
95ti.ElementInformation.Properties["type"].LineNumber); 109ti.ElementInformation.Properties["type"].LineNumber); 129ti.ElementInformation.Properties["type"].LineNumber);
Configuration\WebPartsPersonalization.cs (2)
98rule.ElementInformation.Properties["verbs"].LineNumber); 105rule.ElementInformation.Properties["verbs"].LineNumber);
Hosting\ProcessHost.cs (1)
380lineNum = propInfo.LineNumber;
HttpRuntime.cs (9)
1058if (runtimeConfig.ElementInformation.Properties["minFreeThreads"].LineNumber == 0) { 1059if (processConfig.ElementInformation.Properties["maxWorkerThreads"].LineNumber != 0) { 1062processConfig.ElementInformation.Properties["maxWorkerThreads"].LineNumber); 1067processConfig.ElementInformation.Properties["maxIoThreads"].LineNumber); 1073runtimeConfig.ElementInformation.Properties["minFreeThreads"].LineNumber); 1078if (runtimeConfig.ElementInformation.Properties["minLocalRequestFreeThreads"].LineNumber == 0) { 1081processConfig.ElementInformation.Properties["minFreeThreads"].LineNumber); 1086runtimeConfig.ElementInformation.Properties["minLocalRequestFreeThreads"].LineNumber); 2726propInfo.Source, propInfo.LineNumber);
ModulesEntry.cs (1)
48configElement.ElementInformation.Properties["type"].Source, configElement.ElementInformation.Properties["type"].LineNumber);
Profile\HttpProfileBase.cs (10)
228throw new ConfigurationErrorsException(SR.GetString(SR.Wrong_profile_base_type), null, config.ElementInformation.Properties["inherits"].Source, config.ElementInformation.Properties["inherit"].LineNumber); 251throw new ConfigurationErrorsException(SR.GetString(SR.Wrong_profile_base_type), null, config.ElementInformation.Properties["inherits"].Source, config.ElementInformation.Properties["inherit"].LineNumber); 347prop.LineNumber = pps.ElementInformation.Properties["name"].LineNumber; 432throw new ConfigurationErrorsException(SR.GetString(SR.Annoymous_id_module_not_enabled, prop.Name), config.ElementInformation.Properties["inherits"].Source, config.ElementInformation.Properties["inherits"].LineNumber); 446throw new ConfigurationErrorsException(SR.GetString(SR.Profile_provider_not_found, ((ProfileProviderAttribute)attrib).ProviderName), config.ElementInformation.Properties["inherits"].Source, config.ElementInformation.Properties["inherits"].LineNumber); 492throw new ConfigurationErrorsException(SR.GetString(SR.Profile_property_already_added), null, pps.ElementInformation.Properties["name"].Source, pps.ElementInformation.Properties["name"].LineNumber); 500throw new ConfigurationErrorsException(SR.GetString(SR.Profile_could_not_create_type, e.Message), e, pps.ElementInformation.Properties["type"].Source, pps.ElementInformation.Properties["type"].LineNumber); 505throw new ConfigurationErrorsException(SR.GetString(SR.Annoymous_id_module_not_enabled, pps.Name), pps.ElementInformation.Properties["allowAnonymous"].Source, pps.ElementInformation.Properties["allowAnonymous"].LineNumber); 516throw new ConfigurationErrorsException(SR.GetString(SR.Property_not_serializable, pps.Name), pps.ElementInformation.Properties["serializeAs"].Source, pps.ElementInformation.Properties["serializeAs"].LineNumber); 541throw new ConfigurationErrorsException(SR.GetString(SR.Profile_provider_not_found, pps.Provider), pps.ElementInformation.Properties["provider"].Source, pps.ElementInformation.Properties["provider"].LineNumber);
Profile\ProfileManager.cs (1)
382throw new ConfigurationErrorsException(SR.GetString(SR.Profile_default_provider_not_found), config.ElementInformation.Properties["providers"].Source, config.ElementInformation.Properties["providers"].LineNumber);
Security\Membership.cs (1)
496throw new ConfigurationErrorsException(SR.GetString(SR.Def_membership_provider_not_found), settings.ElementInformation.Properties["defaultProvider"].Source, settings.ElementInformation.Properties["defaultProvider"].LineNumber);
Security\Roles.cs (1)
568s_InitializeException = new ConfigurationErrorsException(SR.GetString(SR.Def_role_provider_not_found), settings.ElementInformation.Properties["defaultProvider"].Source, settings.ElementInformation.Properties["defaultProvider"].LineNumber);
State\OutOfProcStateClientManager.cs (1)
90s_configStateConnectionStringLineNumber = config.ElementInformation.Properties["stateConnectionString"].LineNumber;
State\SessionStateModule.cs (3)
274config.ElementInformation.Properties["customProvider"].Source, config.ElementInformation.Properties["customProvider"].LineNumber); 281config.ElementInformation.Properties["customProvider"].Source, config.ElementInformation.Properties["customProvider"].LineNumber); 299config.ElementInformation.Properties["partitionResolverType"].Source, config.ElementInformation.Properties["partitionResolverType"].LineNumber);
State\sqlstateclientmanager.cs (1)
135s_configSqlConnectionLineNumber = config.ElementInformation.Properties["sqlConnectionString"].LineNumber;
UI\WebParts\PersonalizationAdministration.cs (1)
77personalization.ElementInformation.Properties["defaultProvider"].LineNumber);