22 references to MakeValid
System.Private.Xml (22)
System\Xml\Serialization\CodeIdentifier.cs (3)
30
identifier =
MakeValid
(identifier);
55
identifier =
MakeValid
(identifier);
103
return
MakeValid
(identifier);
System\Xml\Serialization\Compilation.cs (2)
378
suffix = CodeIdentifier.
MakeValid
(types[0]!.Name);
474
suffix = CodeIdentifier.
MakeValid
(mainType.Name);
System\Xml\Serialization\SchemaImporter.cs (1)
105
typeName = CodeIdentifier.
MakeValid
(typeName);
System\Xml\Serialization\Types.cs (1)
914
typeDesc = new TypeDesc(type, CodeIdentifier.
MakeValid
(TypeName(type)), type.ToString(), kind, null, flags, null);
System\Xml\Serialization\XmlSchemaImporter.cs (11)
207
member.Name = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(accessor.Name));
289
identifier = CodeIdentifier.
MakeValid
(unescapedName);
387
typeName = CodeIdentifier.
MakeValid
(typeName);
1104
identifier = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(element.Name!));
1336
string refElementIdentifier = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(refElement.Name!));
1420
string name = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(accessor.Name));
1470
member.Name = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(accessor.Name));
1563
member.Name = CodeIdentifier.
MakeValid
(xmlnsMemberName ?? "Namespaces");
1616
identifier = CodeIdentifier.
MakeValid
(attribute.Name);
1766
string constantName = CodeIdentifier.
MakeValid
(enumeration.Value!);
1816
string constantName = CodeIdentifier.
MakeValid
(element.Name);
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (2)
202
baseSerializer = CodeIdentifier.
MakeValid
(baseSerializer);
241
string serializerName = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(mapping.Accessor.Mapping!.TypeDesc!.Name));
System\Xml\Serialization\XmlSerializationILGen.cs (2)
269
baseSerializer = CodeIdentifier.
MakeValid
(baseSerializer);
314
string serializerName = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(mapping.Accessor.Mapping!.TypeDesc!.Name));