53 references to Mapping
System.Private.Xml (53)
System\Xml\Serialization\XmlSerializationReader.cs (53)
2572if (members.Length > 0 && members[0].Mapping.IsReturnValue) Writer.WriteLine("IsReturnValue = true;"); 2717if (members.Length > 0 && members[0].Mapping.IsReturnValue) Writer.WriteLine("IsReturnValue = true;"); 3520TypeDesc td = member.Mapping.TypeDesc!; 3523WriteAddCollectionFixup(td, member.Mapping.ReadOnly, memberSource, targetSource); 3531WriteSourceBeginTyped(memberSource, member.Mapping.TypeDesc); 3540if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite && member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0) 3548WriteCatchCastException(member.Mapping.TypeDesc!, targetSource, $"ids[{fixupIndex}]"); 3685if (member.Mapping.Xmlns != null) 3690if (member.Mapping.Ignore) 3692AttributeAccessor? attribute = member.Mapping.Attribute; 3737Writer.Write(xmlnsMember.Mapping.TypeDesc!.CSharpName); 3741Writer.Write($"(({xmlnsMember.Mapping.TypeDesc.CSharpName}){xmlnsMember.ArraySource})"); 3795AttributeAccessor attribute = member.Mapping.Attribute!; 3833string attributeSource = GetArraySource(member.Mapping.TypeDesc!, member.ArrayName); 3850if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite && member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0) 3868if (member.Mapping.Elements!.Length == 0) 3871TypeMapping? mapping = member.Mapping.Elements[0].Mapping; 3908TypeDesc typeDesc = member.Mapping.TypeDesc!; 3911if (member.Mapping.TypeDesc!.IsArray) 3919if (member.Mapping.ChoiceIdentifier != null) 3921WriteArrayLocalDecl($"{member.Mapping.ChoiceIdentifier.Mapping!.TypeDesc!.CSharpName}[]", 3923member.Mapping.ChoiceIdentifier.Mapping.TypeDesc); 3944if (member.IsList && !member.Mapping.ReadOnly && member.Mapping.TypeDesc.IsNullable) 3950if (!member.Mapping.TypeDesc.HasDefaultConstructor) 3953WriteQuotedCSharpString(member.Mapping.TypeDesc.CSharpName); 3980if (member.Mapping.Xmlns != null) 3982if (member.Mapping.Ignore) 3984if (member.Mapping.IsText || member.Mapping.IsAttribute) 3987ElementAccessor[] elements = member.Mapping.Elements!; 4074TextAccessor text = member.Mapping.Text!; 4155ElementAccessor[] elements = anyElement.Mapping.Elements!; 4161WriteElement(anyElement.ArraySource, anyElement.ArrayName, anyElement.ChoiceArraySource, element, anyElement.Mapping.ChoiceIdentifier, anyElement.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite ? anyElement.CheckSpecifiedSource : null, false, false, -1, i); 4176if (members[i].Mapping.IsParticle && members[i].Mapping.IsSequence) 4197if (member.Mapping.Xmlns != null) 4199if (member.Mapping.Ignore) 4201if (isSequence && (member.Mapping.IsText || member.Mapping.IsAttribute)) 4205ChoiceIdentifierAccessor? choice = member.Mapping.ChoiceIdentifier; 4206ElementAccessor[] elements = member.Mapping.Elements!; 4261if (member.Mapping.IsReturnValue) 4271if (member.Mapping.IsReturnValue) 4314WriteElement(member.ArraySource, member.ArrayName, member.ChoiceArraySource, e, choice, member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite ? member.CheckSpecifiedSource : null, member.IsList && member.Mapping.TypeDesc!.IsNullable, member.Mapping.ReadOnly, member.FixupIndex, j); 4316if (member.Mapping.IsReturnValue) 4426TypeDesc typeDesc = member.Mapping.TypeDesc!; 4454if (member.Mapping.ChoiceIdentifier != null) 4460bool choiceUseReflection = member.Mapping.ChoiceIdentifier.Mapping!.TypeDesc!.UseReflection; 4461string choiceTypeName = member.Mapping.ChoiceIdentifier.Mapping.TypeDesc.CSharpName;