6 references to MaxIdentifierLength
System.Runtime.Serialization (6)
System\Runtime\Serialization\CodeExporter.cs (6)
1396
if (identifier.Length <=
MaxIdentifierLength
&& System.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(identifier))
1401
for (int i = 0; i < identifier.Length && builder.Length <
MaxIdentifierLength
; i++)
1420
int availableLength =
MaxIdentifierLength
- identifier.Length;
1423
identifier = identifier.Substring(0,
MaxIdentifierLength
- requiredLength);
1521
length = Math.Min(
MaxIdentifierLength
, length);
1534
for (int i = 0; i < fragment.Length && builder.Length <
MaxIdentifierLength
; i++)