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