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