1 write to Values
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1202
dataContract.
Values
= new List<long>();
12 references to Values
System.Private.DataContractSerialization (12)
System\Runtime\Serialization\EnumDataContract.cs (7)
286
for (int i = 0; i <
Values
!.Count; i++)
288
if (longValue ==
Values
[i])
298
for (int i = 0; i <
Values
.Count; i++)
300
long current =
Values
[i];
383
return
Values
![i];
422
if (Members.Count != enumContract.Members.Count ||
Values
?.Count != enumContract.
Values
?.Count)
System\Runtime\Serialization\SchemaExporter.cs (4)
434
if (enumDataContract.
Values
!= null)
436
for (int i = 0; i < enumDataContract.
Values
.Count; i++)
440
if (enumDataContract.
Values
[i] != GetDefaultEnumValue(enumDataContract.IsFlags, i))
441
facet.Annotation = GetSchemaAnnotation(EnumerationValueAnnotationName, enumDataContract.GetStringFromEnumValue(enumDataContract.
Values
[i]), schema);
System\Runtime\Serialization\SchemaImporter.cs (1)
1215
dataContract.
Values
.Add(enumValue);