1 write to _configRecord
System.Configuration.ConfigurationManager (1)
System\Configuration\ConfigurationElement.cs (1)
408
_configRecord
= configRecord;
27 references to _configRecord
System.Configuration.ConfigurationManager (27)
System\Configuration\ConfigurationElement.cs (21)
210
if (
_configRecord
== null)
216
_evalContext = new ContextInformation(
_configRecord
);
225
protected bool HasContext =>
_configRecord
!= null;
227
public Configuration CurrentConfiguration =>
_configRecord
?.CurrentConfiguration;
886
AssociateContext(sourceElement.
_configRecord
);
1011
if ((
_configRecord
!= null) && (
_configRecord
.TargetFramework != null))
1014
if (
_configRecord
.SectionsStack.Count > 0)
1015
section =
_configRecord
.SectionsStack.Peek() as ConfigurationSection;
1017
!section.ShouldSerializeElementInTargetVersion(this, elementName,
_configRecord
.TargetFramework))
1056
if (prop.IsVersionCheckRequired && (
_configRecord
!= null) && (
_configRecord
.TargetFramework != null))
1059
if (
_configRecord
.SectionsStack.Count > 0)
1060
section =
_configRecord
.SectionsStack.Peek() as ConfigurationSection;
1063
!section.ShouldSerializePropertyInTargetVersion(prop, prop.Name,
_configRecord
.TargetFramework,
1860
if ((typeName == null) || (
_configRecord
== null) || !
_configRecord
.TypeStringTransformerIsSet)
1863
return
_configRecord
.TypeStringTransformer(typeName);
1868
if ((assemblyName == null) || (
_configRecord
== null) || !
_configRecord
.AssemblyStringTransformerIsSet)
1871
return
_configRecord
.AssemblyStringTransformer(assemblyName);
System\Configuration\ConfigurationElementCollection.cs (4)
265
AssociateContext(sourceElement.
_configRecord
);
616
element.AssociateContext(
_configRecord
);
1168
elem.AssociateContext(
_configRecord
);
1176
elem.AssociateContext(
_configRecord
);
System\Configuration\ConfigurationSection.cs (2)
69
_configRecord
.SectionsStack.Push(this);
74
_configRecord
.SectionsStack.Pop();