34 references to MakeValid
System.Web.Services (10)
System\Web\Services\Description\HttpProtocolImporter.cs (1)
104
parameter.Name = CodeIdentifier.
MakeValid
(XmlConvert.DecodeName(part.Name));
System\Web\Services\Description\MimeTextImporter.cs (3)
35
methodName = CodeIdentifier.
MakeValid
(ImportContext.OperationBinding.Name);
64
string name = members.AddUnique(CodeIdentifier.
MakeValid
(match.Name.Length == 0 ? methodName + "Match" : match.Name), match);
105
fieldTypeName = ImportContext.ClassNames.AddUnique(CodeIdentifier.
MakeValid
(match.Type.Length == 0 ? name : match.Type), match);
System\Web\Services\Description\ProtocolImporter.cs (2)
146
return CodeIdentifier.
MakeValid
(XmlConvert.DecodeName(Operation.Name));
386
className = ClassNames.AddUnique(CodeIdentifier.
MakeValid
(className), null);
System\Web\Services\Description\SoapProtocolImporter.cs (4)
91
parameter.name = identifiers.MakeUnique(CodeIdentifier.
MakeValid
(parameter.mapping.MemberName));
590
string fieldName = CodeIdentifier.
MakeValid
(mapping.ElementName);
722
string methodName = CodeIdentifier.
MakeValid
(XmlConvert.DecodeName(this.Operation.Name));
726
string uniqueMethodName = MethodNames.AddUnique(CodeIdentifier.
MakeValid
(XmlConvert.DecodeName(methodName)), this.Operation);
System.Xml (24)
System\Xml\Serialization\CodeIdentifier.cs (3)
38
identifier =
MakeValid
(identifier);
52
identifier =
MakeValid
(identifier);
84
return
MakeValid
(identifier);
System\Xml\Serialization\Compilation.cs (2)
360
suffix = CodeIdentifier.
MakeValid
(types[0].Name);
464
suffix = CodeIdentifier.
MakeValid
(types[0].Name);
System\Xml\Serialization\SchemaImporter.cs (1)
159
typeName = CodeIdentifier.
MakeValid
(typeName);
System\Xml\Serialization\SoapSchemaImporter.cs (2)
497
member.Name = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(accessor.Name));
575
string constantName = CodeIdentifier.
MakeValid
(enumeration.Value);
System\Xml\Serialization\Types.cs (1)
830
typeDesc = new TypeDesc(type, CodeIdentifier.
MakeValid
(TypeName(type)), type.ToString(), kind, null, flags, null);
System\Xml\Serialization\XmlSchemaImporter.cs (11)
238
member.Name = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(accessor.Name));
306
identifier = CodeIdentifier.
MakeValid
(unescapedName);
442
typeName = CodeIdentifier.
MakeValid
(typeName);
1042
identifier = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(element.Name));
1252
string refElementIdentifier = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(refElement.Name));
1333
string name = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(accessor.Name));
1374
member.Name = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(accessor.Name));
1454
member.Name = CodeIdentifier.
MakeValid
(xmlnsMemberName == null ? "Namespaces" : xmlnsMemberName);
1497
identifier = CodeIdentifier.
MakeValid
(attribute.Name);
1627
string constantName = CodeIdentifier.
MakeValid
(enumeration.Value);
1669
string constantName = CodeIdentifier.
MakeValid
(element.Name);
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (2)
212
baseSerializer = CodeIdentifier.
MakeValid
(baseSerializer);
250
string serializerName = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(mapping.Accessor.Mapping.TypeDesc.Name));
System\Xml\Serialization\XmlSerializationILGen.cs (2)
248
baseSerializer = CodeIdentifier.
MakeValid
(baseSerializer);
296
string serializerName = CodeIdentifier.
MakeValid
(Accessor.UnescapeName(mapping.Accessor.Mapping.TypeDesc.Name));