55 references to CodeIdentifier
dotnet-svcutil-lib (55)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
380
return
CodeIdentifier
.MakeCamel(name) + "Field";
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeIdentifiers.cs (3)
90
return
CodeIdentifier
.MakeCamel(identifier);
92
return
CodeIdentifier
.MakePascal(identifier);
114
if (identifier.Length >
CodeIdentifier
.MaxIdentifierLength)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaImporter.cs (1)
176
typeName =
CodeIdentifier
.MakeValid(typeName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (1)
534
itemTypeName =
CodeIdentifier
.MakePascal(itemTypeName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (4)
462
arrayMapping.TypeName = "ArrayOf" +
CodeIdentifier
.MakePascal(itemAccessor.Mapping.TypeName);
523
arrayMapping.TypeName = "ArrayOf" +
CodeIdentifier
.MakePascal(itemAccessor.Mapping.TypeName);
558
member.Name =
CodeIdentifier
.MakeValid(Accessor.UnescapeName(accessor.Name));
648
string constantName =
CodeIdentifier
.MakeValid(enumeration.Value);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SourceInfo.cs (1)
193
Debug.Assert(match.Groups["cast"].Value ==
CodeIdentifier
.GetCSharpName(Type));
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (3)
172
_cSharpName = _type == null ?
CodeIdentifier
.GetCSharpName(_fullName) :
CodeIdentifier
.GetCSharpName(_type);
960
typeDesc = new TypeDesc(type,
CodeIdentifier
.MakeValid(TypeName(type)), type.ToString(), kind, null, flags, null);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
1067
string uniqueName = name = generateTypeName ? "ArrayOf" +
CodeIdentifier
.MakePascal(name) : name;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (16)
260
member.Name =
CodeIdentifier
.MakeValid(Accessor.UnescapeName(accessor.Name));
336
identifier =
CodeIdentifier
.MakeValid(unescapedName);
338
identifier +=
CodeIdentifier
.MakePascal(unescapedName);
500
typeName =
CodeIdentifier
.MakeValid(typeName);
1207
identifier =
CodeIdentifier
.MakeValid(Accessor.UnescapeName(element.Name));
1209
identifier +=
CodeIdentifier
.MakePascal(Accessor.UnescapeName(element.Name));
1399
arrayMapping.TypeName = (type.Name == null || type.Name.Length == 0) ? "ArrayOf" +
CodeIdentifier
.MakePascal(arrayMapping.TypeDesc.Name) : type.Name;
1416
arrayMapping.TypeName = (type.Name == null || type.Name.Length == 0) ? "ArrayOf" +
CodeIdentifier
.MakePascal(itemAccessor.Mapping.TypeDesc.Name) : type.Name;
1439
string refElementIdentifier =
CodeIdentifier
.MakeValid(Accessor.UnescapeName(refElement.Name));
1527
string name =
CodeIdentifier
.MakeValid(Accessor.UnescapeName(accessor.Name));
1575
member.Name =
CodeIdentifier
.MakeValid(Accessor.UnescapeName(accessor.Name));
1667
member.Name =
CodeIdentifier
.MakeValid(xmlnsMemberName == null ? "Namespaces" : xmlnsMemberName);
1715
identifier =
CodeIdentifier
.MakeValid(attribute.Name);
1717
identifier +=
CodeIdentifier
.MakePascal(attribute.Name);
1869
string constantName =
CodeIdentifier
.MakeValid(enumeration.Value);
1917
string constantName =
CodeIdentifier
.MakeValid(element.Name);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
204
_writer.Write(
CodeIdentifier
.GetCSharpName(type));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (4)
265
baseSerializer =
CodeIdentifier
.MakeValid(baseSerializer);
270
CodeIdentifier
.GetCSharpName(baseSerializer),
306
string serializerName =
CodeIdentifier
.MakeValid(Accessor.UnescapeName(mapping.Accessor.Mapping.TypeDesc.Name));
311
CodeIdentifier
.GetCSharpName(serializerName),
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (13)
2125
return "Write" + (++NextMethodNumber).ToString(null, NumberFormatInfo.InvariantInfo) + "_" +
CodeIdentifier
.MakeValidInternal(name);
2203
CodeIdentifier
.CheckValidIdentifier(c.Name);
2419
CodeIdentifier
.CheckValidIdentifier(member.Name);
2454
CodeIdentifier
.CheckValidIdentifier(m.Name);
2493
CodeIdentifier
.CheckValidIdentifier(m.Name);
2518
CodeIdentifier
.CheckValidIdentifier(m.ChoiceIdentifier.MemberName);
3706
CodeIdentifier
.CheckValidIdentifier(enumValue);
3953
string typeFullName =
CodeIdentifier
.GetCSharpName(type);
4062
_writer.Write(GetStringForTypeof(
CodeIdentifier
.GetCSharpName(type), collectionUseReflection));
4067
_writer.Write(GetStringForTypeof(
CodeIdentifier
.GetCSharpName(defaultIndexer.PropertyType), elementUseReflection));
4079
CodeIdentifier
.MakeValidInternal(fullName.Replace('.', '_'));
4126
CodeIdentifier
.CheckValidIdentifier(memberName);
4343
CodeIdentifier
.CheckValidIdentifier(c.Name);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (6)
609
return "Write" + (++NextMethodNumber).ToString(null, NumberFormatInfo.InvariantInfo) + "_" +
CodeIdentifier
.MakeValidInternal(name);
1078
CodeIdentifier
.CheckValidIdentifier(member.Name);
1128
CodeIdentifier
.CheckValidIdentifier(m.Name);
1159
CodeIdentifier
.CheckValidIdentifier(m.Name);
1178
CodeIdentifier
.CheckValidIdentifier(m.ChoiceIdentifier.MemberName);
2417
CodeIdentifier
.CheckValidIdentifier(enumValue);