4 writes to Text
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (2)
1622
accessor.
Text
= text;
1796
accessor.
Text
= text;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
1241
member.
Text
= accessor;
1288
member.
Text
= text;
29 references to Text
dotnet-svcutil-lib (29)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (4)
892
if (
Text
== null)
894
return (mapping.
Text
== null);
903
if (
Text
!= null)
905
return (mapping.
Text
!= null);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (7)
99
if (mapping.
Text
!= null)
101
ExportType(mapping.
Text
.Mapping, Accessor.UnescapeName(mapping.
Text
.Name), mapping.
Text
.Namespace, null, false);
632
EnsureTypesExported(mapping.Members[i].
Text
, mapping.Namespace);
736
if (member.
Text
!= null)
738
TypeMapping mapping = (TypeMapping)member.
Text
.Mapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (8)
868
if (member.
Text
!= null)
870
if (!member.
Text
.Mapping.TypeDesc.CanBeTextValue && member.
Text
.Mapping.IsList)
871
throw new InvalidOperationException(string.Format(ResXml.XmlIllegalTypedTextAttribute, typeName, member.
Text
.Name, member.
Text
.Mapping.TypeDesc.FullName));
876
textAccesor = member.
Text
;
1285
if (mapping.
Text
!= null)
1291
textAccessor = mapping.
Text
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (4)
104
else if (member.
Text
!= null)
105
throw new InvalidOperationException(string.Format(ResXml.XmlBareTextMember, member.
Text
.Name));
1090
if (member.
Text
!= null)
1096
textMapping = member.
Text
.Mapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (3)
2041
WriteMember(source, enumSource, member.ElementsSortedByDerivation, member.
Text
, member.ChoiceIdentifier, member.TypeDesc, writeAccessors || hasWrapperElement);
2494
bool checkShouldPersist = m.CheckShouldPersist && (m.Elements.Length > 0 || m.
Text
!= null);
2521
WriteMember(RaCodeGen.GetStringForMember("o", m.Name, mapping.TypeDesc), choiceSource, m.ElementsSortedByDerivation, m.
Text
, m.ChoiceIdentifier, m.TypeDesc, true);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
536
WriteMember(new SourceInfo(source, source, null, null, ilg), enumSource, member.ElementsSortedByDerivation, member.
Text
, member.ChoiceIdentifier, member.TypeDesc, writeAccessors || hasWrapperElement);
1160
bool checkShouldPersist = m.CheckShouldPersist && (m.Elements.Length > 0 || m.
Text
!= null);
1182
WriteMember(RaCodeGen.GetSourceForMember("o", m, m.MemberInfo, mapping.TypeDesc, ilg), choiceSource, m.ElementsSortedByDerivation, m.
Text
, m.ChoiceIdentifier, m.TypeDesc, true);