2 writes to StreamName
System.Configuration (2)
System\Configuration\BaseConfigurationRecord.cs (1)
609ConfigStreamInfo.StreamName = Host.GetStreamName(_configPath);
System\Configuration\MgmtConfigurationRecord.cs (1)
1170ConfigStreamInfo.StreamName = filename;
41 references to StreamName
System.Configuration (41)
System\Configuration\BaseConfigurationRecord.cs (19)
194get {return ConfigStreamInfo.StreamName;} 569string streamname = (ConfigStreamInfo != null) ? ConfigStreamInfo.StreamName : null; 610if (!String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 612ConfigStreamInfo.StreamVersion = MonitorStream(null, null, ConfigStreamInfo.StreamName); 613using (Stream stream = Host.OpenStreamForRead(ConfigStreamInfo.StreamName)) { 622_flags[PrefetchAll] = Host.PrefetchAll(_configPath, ConfigStreamInfo.StreamName); 624using (XmlUtil xmlUtil = new XmlUtil(stream, ConfigStreamInfo.StreamName, true, _initErrors)) { 653ExceptionUtil.WrapAsConfigException(SR.GetString(SR.Config_error_loading_XML_file), e, ConfigStreamInfo.StreamName, 0)); 657ExceptionUtil.WrapAsConfigException(SR.GetString(SR.Config_error_loading_XML_file), e, ConfigStreamInfo.StreamName, 0), 684if (!String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 685StreamInfo fileStreamInfo = (StreamInfo) streamInfos[ConfigStreamInfo.StreamName]; 689streamInfos.Remove(ConfigStreamInfo.StreamName); 690ConfigStreamInfo.StreamInfos.Add(ConfigStreamInfo.StreamName, fileStreamInfo); 771using (Stream stream = Host.OpenStreamForRead(ConfigStreamInfo.StreamName)) { 775using (XmlUtil xmlUtil = new XmlUtil(stream, ConfigStreamInfo.StreamName, true, errors)) { 808ExceptionUtil.WrapAsConfigException(SR.GetString(SR.Config_error_loading_XML_file), e, ConfigStreamInfo.StreamName, lineNumber), 3164configSourceStreamName = Host.GetStreamNameForConfigSource(ConfigStreamInfo.StreamName, configSource); 3991if (forceEvaluatation && !IsInitDelayed && !String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 4003ConfigStreamInfo.StreamName, 0, null, null,
System\Configuration\MgmtConfigurationRecord.cs (22)
501e, ConfigStreamInfo.StreamName, 0); 639if (String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 645newConfigSourceStreamName = Host.GetStreamNameForConfigSource(ConfigStreamInfo.StreamName, newConfigSource); 809ConfigStreamInfo.StreamName, 978factoryRecord = new FactoryRecord(configKey, group, name, typeName, ConfigStreamInfo.StreamName, -1); 1121string filepath = UpdateConfigHost.GetNewStreamname(ConfigStreamInfo.StreamName); 1166if (String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 1171ConfigStreamInfo.StreamVersion = MonitorStream(null, null, ConfigStreamInfo.StreamName); 1177UpdateConfigHost.AddStreamname(ConfigStreamInfo.StreamName, filename, Host.IsRemote); 1204using (Stream streamRead = Host.OpenStreamForRead(ConfigStreamInfo.StreamName)) { 1206throw new ConfigurationErrorsException(SR.GetString(SR.Config_file_has_changed), ConfigStreamInfo.StreamName, 0); 1217using (StreamReader reader = new StreamReader(ConfigStreamInfo.StreamName)) { 1246using (Stream streamWrite = Host.OpenStreamForWrite(ConfigStreamInfo.StreamName, null, ref writeContext)) { 1254ConfigStreamInfo.StreamName, NamespaceChangeNeeded, utilWriter); 1264Host.WriteCompleted(ConfigStreamInfo.StreamName, false, writeContext); 1275throw ExceptionUtil.WrapAsConfigException(SR.GetString(SR.Config_error_loading_XML_file), e, ConfigStreamInfo.StreamName, 0); 1278Host.WriteCompleted(ConfigStreamInfo.StreamName, true, writeContext); 1283ConfigStreamInfo.StreamVersion = MonitorStream(null, null, ConfigStreamInfo.StreamName); 1905factoryRecord.Filename = ConfigStreamInfo.StreamName; 1993ConfigStreamInfo.StreamName, 0, ConfigStreamInfo.StreamVersion, null, 2027throw new ConfigurationErrorsException(SR.GetString(SR.Config_exception_in_config_section_handler, sectionRecord.ConfigKey), e, ConfigStreamInfo.StreamName, 0); 3117templateStreamName = ConfigStreamInfo.StreamName;