108 references to CSharpName
System.Xml (108)
System\Xml\Serialization\SourceInfo.cs (1)
51
return new SourceInfo("((" + td.
CSharpName
+ ")" + Source + ")", Arg, MemberInfo, td.Type, ILG);
System\Xml\Serialization\XmlSerializationReader.cs (39)
2037
string choiceTypeFullName = mapping.ChoiceIdentifier.Mapping.TypeDesc.
CSharpName
;
2271
Writer.Write(RaCodeGen.GetStringForTypeof(mapping.TypeDesc.
CSharpName
,mapping.TypeDesc.UseReflection));
2367
arraySource = "((" + mapping.TypeDesc.
CSharpName
+ ")" + source + ")";
2482
Writer.Write(RaCodeGen.GetStringForCreateInstance(mappings[i].TypeDesc.
CSharpName
, mappings[i].TypeDesc.UseReflection, false, false));
2526
arraySource = "((" + mapping.TypeDesc.
CSharpName
+ ")" + source + ")";
2583
string item = (td.ArrayElementTypeDesc == null ? "object" : td.ArrayElementTypeDesc.
CSharpName
) + "[]";
2599
Writer.Write(RaCodeGen.GetStringForMethod("c", td.
CSharpName
,"Add",useReflection));
2658
Writer.Write(mapping.TypeDesc.
CSharpName
);
2753
Writer.Write(mapping.TypeDesc.
CSharpName
);
2793
string fullTypeName = mapping.TypeDesc.
CSharpName
;
2930
string fullTypeName = mapping.TypeDesc.
CSharpName
;
2960
string typeName = useReflection ? "object" : nullableMapping.TypeDesc.
CSharpName
;
3010
string typeName = useReflection ? "object" : structMapping.TypeDesc.
CSharpName
;
3035
Writer.Write(RaCodeGen.GetStringForCreateInstance(structMapping.TypeDesc.
CSharpName
, useReflection, false, false));
3260
if (anyFixups) WriteFixupMethod(fixupMethodName, members, structMapping.TypeDesc.
CSharpName
, structMapping.TypeDesc.UseReflection, true, "o");
3336
WriteQuotedCSharpString(typeDesc.
CSharpName
);
3342
Writer.Write(RaCodeGen.GetStringForCreateInstance(typeDesc.
CSharpName
, typeDesc.UseReflection, typeDesc.CannotNew, true));
3373
string fullTypeName = td.
CSharpName
;
3486
Writer.Write(xmlnsMember.Mapping.TypeDesc.
CSharpName
);
3490
Writer.Write("(("+xmlnsMember.Mapping.TypeDesc.
CSharpName
+")"+ xmlnsMember.ArraySource+")");
3641
string typeDescFullName = typeDesc.
CSharpName
;
3644
WriteArrayLocalDecl(typeDesc.
CSharpName
,
3651
WriteArrayLocalDecl(member.Mapping.ChoiceIdentifier.Mapping.TypeDesc.
CSharpName
+"[]",
3679
WriteQuotedCSharpString(member.Mapping.TypeDesc.
CSharpName
);
3928
Writer.Write(RaCodeGen.GetStringForTypeof(td.
CSharpName
, td.UseReflection));
3931
Writer.Write(RaCodeGen.GetStringForTypeof(e.Mapping.TypeDesc.
CSharpName
, e.Mapping.TypeDesc.UseReflection));
3961
Writer.Write(RaCodeGen.GetStringForCreateInstance(e.Mapping.TypeDesc.
CSharpName
, e.Mapping.TypeDesc.UseReflection, false, true, "(" + td.
CSharpName
+ ")" + checkTypeSource));
4040
string arrayTypeFullName = typeDesc.ArrayElementTypeDesc.
CSharpName
;
4053
return RaCodeGen.GetStringForMethod(arrayName,typeDesc.
CSharpName
,"Add",useReflection);
4082
string arrayTypeFullName = typeDesc.ArrayElementTypeDesc.
CSharpName
;
4103
string choiceTypeName = member.Mapping.ChoiceIdentifier.Mapping.TypeDesc.
CSharpName
;
4134
Writer.Write(typeDesc.
CSharpName
);
4274
Writer.Write(RaCodeGen.GetStringForCreateInstance(element.Mapping.TypeDesc.
CSharpName
, element.Mapping.TypeDesc.UseReflection, false, false));
4438
Writer.Write(RaCodeGen.GetStringForCreateInstance(sm.TypeDesc.
CSharpName
, sm.TypeDesc.UseReflection, sm.TypeDesc.CannotNew, false));
4466
string enumTypeName = choice.Mapping.TypeDesc.
CSharpName
;
4492
Writer.Write(RaCodeGen.GetStringForCreateInstance(derived.TypeDesc.
CSharpName
, derived.TypeDesc.UseReflection, derived.TypeDesc.CannotNew, false));
4643
string fullTypeName = mapping.TypeDesc.
CSharpName
;
4691
Writer.Write(RaCodeGen.GetStringForTypeof(typeDesc.
CSharpName
, typeDesc.UseReflection));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (10)
104
string choiceTypeFullName = mapping.ChoiceIdentifier.Mapping.TypeDesc.
CSharpName
;
458
arraySource = "((" + mapping.TypeDesc.
CSharpName
+ ")" + source + ")";
1050
string fullTypeName = mapping.TypeDesc.
CSharpName
;
1356
string typeName = structMapping.TypeDesc.
CSharpName
;
2192
WriteArrayLocalDecl(typeDesc.
CSharpName
,
2198
WriteArrayLocalDecl(member.Mapping.ChoiceIdentifier.Mapping.TypeDesc.
CSharpName
+ "[]",
2228
ilg.Ldstr(member.Mapping.TypeDesc.
CSharpName
);
2631
string arrayTypeFullName = typeDesc.ArrayElementTypeDesc.
CSharpName
;
2643
return RaCodeGen.GetStringForMethod(arrayName, typeDesc.
CSharpName
, "Add");
3484
string fullTypeName = mapping.TypeDesc.
CSharpName
;
System\Xml\Serialization\XmlSerializationWriter.cs (45)
1386
Writer.Write(RaCodeGen.GetStringForTypeof(typeMapping.TypeDesc.
CSharpName
, typeMapping.TypeDesc.UseReflection));
1459
Writer.Write(typeDesc.
CSharpName
);
1733
enumSource = "((" + mapping.Members[j].TypeDesc.
CSharpName
+ ")p[" + j.ToString(CultureInfo.InvariantCulture) + "]" + ")";
1835
string fullTypeName = mapping.TypeDesc.
CSharpName
;
1933
string fullTypeName = derived.TypeDesc.
CSharpName
;
1967
string fullTypeName = mapping.TypeDesc.
CSharpName
;
1998
string fullTypeName = mapping.TypeDesc.
CSharpName
;
2001
WriteArrayTypeCompare("t", fullTypeName, mapping.TypeDesc.ArrayElementTypeDesc.
CSharpName
, mapping.TypeDesc.UseReflection);
2033
string fullTypeName = mapping.TypeDesc.
CSharpName
;
2097
xmlnsSource = "(("+member.TypeDesc.
CSharpName
+")"+xmlnsSource+")";
2215
string fullTypeName = memberTypeDesc.
CSharpName
;
2258
Writer.Write(RaCodeGen.GetReflectionVariable(memberTypeDesc.
CSharpName
, "System.Collections.Generic.IEnumerable*"));
2263
Writer.Write(arrayElementTypeDesc.
CSharpName
);
2273
Writer.Write(RaCodeGen.GetStringForMethodInvoke("a", memberTypeDesc.
CSharpName
, "GetEnumerator", memberTypeDesc.UseReflection));
2280
string arrayTypeFullName = arrayElementTypeDesc.
CSharpName
;
2294
string arrayTypeFullName = arrayElementTypeDesc.
CSharpName
;
2368
if (!typeDesc.UseReflection) source = "(("+typeDesc.
CSharpName
+")"+source+")";
2386
string arrayTypeName = arrayTypeDesc.
CSharpName
;
2395
string choiceFullName = choice.Mapping.TypeDesc.
CSharpName
;
2437
Writer.Write(RaCodeGen.GetReflectionVariable(arrayTypeDesc.
CSharpName
, "System.Collections.Generic.IEnumerable*"));
2444
Writer.Write(arrayElementTypeDesc.
CSharpName
);
2456
Writer.Write(RaCodeGen.GetStringForMethodInvoke(arrayName, arrayTypeDesc.
CSharpName
, "GetEnumerator", arrayTypeDesc.UseReflection));
2462
string arrayTypeFullName = arrayElementTypeDesc.
CSharpName
;
2489
string arrayTypeFullName = arrayElementTypeDesc.
CSharpName
;
2492
string choiceFullName = choice.Mapping.TypeDesc.
CSharpName
;
2514
source = "(("+td.
CSharpName
+")"+ source+")";
2543
string fullTypeName = element.Mapping.TypeDesc.
CSharpName
;
2573
string fullTypeName = td.
CSharpName
;
2676
string fullTypeName = text.Mapping.TypeDesc.
CSharpName
;
2754
string fullTypeName = element.Mapping.TypeDesc.BaseTypeDesc.
CSharpName
;
2782
Writer.Write(RaCodeGen.GetStringForTypeof(mapping.TypeDesc.
CSharpName
, mapping.TypeDesc.UseReflection));
2793
string fullTypeName = td.
CSharpName
;
2847
string fullTypeName = mapping.TypeDesc.
CSharpName
;
2913
Writer.Write(RaCodeGen.GetStringForTypeof(mapping.TypeDesc.
CSharpName
, mapping.TypeDesc.UseReflection));
2951
string fullTypeName = td.
CSharpName
;
3361
string typeFullName = typeDesc.
CSharpName
;
3368
typeVariable = GenerateVariableName("array", typeDesc.
CSharpName
);
3385
typeVariable = GenerateVariableName("type", typeDesc.
CSharpName
);
3429
string typeFullName = mapping.TypeDesc.
CSharpName
;
3458
string elementTypeFullName = typeDesc.ArrayElementTypeDesc.
CSharpName
;
3608
return mapping.TypeDesc.
CSharpName
+".@"+memberName;
3610
string memberAccess = GetStringForEnumMember(mapping.TypeDesc.
CSharpName
, memberName, useReflection);
3633
string typeFullName = typeDesc.
CSharpName
;
3640
return "(("+typeDesc.
CSharpName
+")"+obj+").@"+memberName;
3674
string typeFullName = arrayTypeDesc.IsCollection ? arrayTypeDesc.
CSharpName
: typeof(Array).FullName;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (13)
471
enumSource = "((" + mapping.Members[j].TypeDesc.
CSharpName
+ ")p[" + j.ToString(CultureInfo.InvariantCulture) + "]" + ")";
1116
string fullTypeName = memberTypeDesc.
CSharpName
;
1376
string arrayTypeName = arrayTypeDesc.
CSharpName
;
1388
string choiceFullName = choice.Mapping.TypeDesc.
CSharpName
;
1551
string fullTypeName = element.Mapping.TypeDesc.
CSharpName
;
1582
string fullTypeName = td.
CSharpName
;
1751
string fullTypeName = text.Mapping.TypeDesc.
CSharpName
;
1866
string fullTypeName = element.Mapping.TypeDesc.BaseTypeDesc.
CSharpName
;
1884
string fullTypeName = mapping.TypeDesc.
CSharpName
;
1956
string fullTypeName = td.
CSharpName
;
2418
Debug.Assert(typeName == arrayTypeDesc.
CSharpName
|| typeName == arrayTypeDesc.
CSharpName
+ "[]");
2419
Type localType = (typeName == arrayTypeDesc.
CSharpName
) ? arrayTypeDesc.Type : arrayTypeDesc.Type.MakeArrayType();