112 references to ScanAllMembers
System.Runtime.Serialization (112)
System\Runtime\Serialization\ClassDataContract.cs (1)
1307
ConstructorInfo ctor = UnderlyingType.GetConstructor(Globals.
ScanAllMembers
, null, SerInfoCtorArgs, null);
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (26)
149
collectionItemNameProperty = typeof(XmlObjectSerializerWriteContextComplexJson).GetProperty("CollectionItemName", Globals.
ScanAllMembers
);
161
extensionDataObjectCtor = typeof(ExtensionDataObject).GetConstructor(Globals.
ScanAllMembers
, null, new Type[] { }, null);
197
getItemContractMethod = typeof(CollectionDataContract).GetProperty("ItemContract", Globals.
ScanAllMembers
).GetGetMethod(true); // nonPublic
209
getJsonDataContractMethod = typeof(JsonDataContract).GetMethod("GetJsonDataContract", Globals.
ScanAllMembers
);
221
getJsonMemberIndexMethod = typeof(XmlObjectSerializerReadContextComplexJson).GetMethod("GetJsonMemberIndex", Globals.
ScanAllMembers
);
233
getRevisedItemContractMethod = typeof(XmlObjectSerializerWriteContextComplexJson).GetMethod("GetRevisedItemContract", Globals.
ScanAllMembers
);
245
getUninitializedObjectMethod = typeof(XmlFormatReaderGenerator).GetMethod("UnsafeGetUninitializedObject", Globals.
ScanAllMembers
, null, new Type[] { typeof(int) }, null);
257
isStartElementMethod0 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.
ScanAllMembers
, null, new Type[] { }, null);
269
isStartElementMethod2 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null);
281
localNameProperty = typeof(XmlReaderDelegator).GetProperty("LocalName", Globals.
ScanAllMembers
);
293
namespaceProperty = typeof(XmlReaderDelegator).GetProperty("NamespaceProperty", Globals.
ScanAllMembers
);
317
moveToContentMethod = typeof(XmlReaderDelegator).GetMethod("MoveToContent", Globals.
ScanAllMembers
);
329
nodeTypeProperty = typeof(XmlReaderDelegator).GetProperty("NodeType", Globals.
ScanAllMembers
);
353
readJsonValueMethod = typeof(DataContractJsonSerializer).GetMethod("ReadJsonValue", Globals.
ScanAllMembers
);
389
throwDuplicateMemberExceptionMethod = typeof(XmlObjectSerializerReadContextComplexJson).GetMethod("ThrowDuplicateMemberException", Globals.
ScanAllMembers
);
401
throwMissingRequiredMembersMethod = typeof(XmlObjectSerializerReadContextComplexJson).GetMethod("ThrowMissingRequiredMembers", Globals.
ScanAllMembers
);
437
useSimpleDictionaryFormatReadProperty = typeof(XmlObjectSerializerReadContextComplexJson).GetProperty("UseSimpleDictionaryFormat", Globals.
ScanAllMembers
);
449
useSimpleDictionaryFormatWriteProperty = typeof(XmlObjectSerializerWriteContextComplexJson).GetProperty("UseSimpleDictionaryFormat", Globals.
ScanAllMembers
);
461
writeAttributeStringMethod = typeof(XmlWriterDelegator).GetMethod("WriteAttributeString", Globals.
ScanAllMembers
, null, new Type[] { typeof(string), typeof(string), typeof(string), typeof(string) }, null);
473
writeEndElementMethod = typeof(XmlWriterDelegator).GetMethod("WriteEndElement", Globals.
ScanAllMembers
, null, new Type[] { }, null);
485
writeJsonISerializableMethod = typeof(XmlObjectSerializerWriteContextComplexJson).GetMethod("WriteJsonISerializable", Globals.
ScanAllMembers
);
497
writeJsonNameWithMappingMethod = typeof(XmlObjectSerializerWriteContextComplexJson).GetMethod("WriteJsonNameWithMapping", Globals.
ScanAllMembers
);
509
writeJsonValueMethod = typeof(DataContractJsonSerializer).GetMethod("WriteJsonValue", Globals.
ScanAllMembers
);
521
writeStartElementMethod = typeof(XmlWriterDelegator).GetMethod("WriteStartElement", Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null);
534
writeStartElementStringMethod = typeof(XmlWriterDelegator).GetMethod("WriteStartElement", Globals.
ScanAllMembers
, null, new Type[] { typeof(string), typeof(string) }, null);
560
getJsonMemberNameMethod = typeof(XmlObjectSerializerReadContextComplexJson).GetMethod("GetJsonMemberName", Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlReaderDelegator) }, null);
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (2)
507
ConstructorInfo ctor = classContract.UnderlyingType.GetConstructor(Globals.
ScanAllMembers
, null, JsonFormatGeneratorStatics.SerInfoCtorArgs, null);
986
ilg.Call(typeof(JsonReaderDelegator).GetMethod(readArrayMethod, Globals.
ScanAllMembers
));
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (3)
464
ConstructorInfo dictEnumCtor = enumeratorType.GetConstructor(Globals.
ScanAllMembers
, null, new Type[] { Globals.TypeOfIDictionaryEnumerator }, null);
471
ConstructorInfo dictEnumCtor = enumeratorType.GetConstructor(Globals.
ScanAllMembers
, null, new Type[] { ctorParam }, null);
630
ilg.Call(xmlWriterArg, typeof(JsonWriterDelegator).GetMethod(writeArrayMethod, Globals.
ScanAllMembers
, null, new Type[] { type, typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null), value, itemName, null);
System\Runtime\Serialization\PrimitiveDataContract.cs (5)
81
helper.XmlFormatWriterMethod = typeof(XmlWriterDelegator).GetMethod(WriteMethodName, Globals.
ScanAllMembers
, null, new Type[] { UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null);
83
helper.XmlFormatWriterMethod = typeof(XmlObjectSerializerWriteContext).GetMethod(WriteMethodName, Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlWriterDelegator), UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null);
99
helper.XmlFormatContentWriterMethod = typeof(XmlWriterDelegator).GetMethod(WriteMethodName, Globals.
ScanAllMembers
, null, new Type[] { UnderlyingType }, null);
101
helper.XmlFormatContentWriterMethod = typeof(XmlObjectSerializerWriteContext).GetMethod(WriteMethodName, Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlWriterDelegator), UnderlyingType }, null);
116
helper.XmlFormatReaderMethod = typeof(XmlReaderDelegator).GetMethod(ReadMethodName, Globals.
ScanAllMembers
);
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (71)
25
writeStartElementMethod2 = typeof(XmlWriterDelegator).GetMethod("WriteStartElement", Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null);
38
writeStartElementMethod3 = typeof(XmlWriterDelegator).GetMethod("WriteStartElement", Globals.
ScanAllMembers
, null, new Type[] { typeof(string), typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null);
51
writeEndElementMethod = typeof(XmlWriterDelegator).GetMethod("WriteEndElement", Globals.
ScanAllMembers
, null, new Type[] { }, null);
64
writeNamespaceDeclMethod = typeof(XmlWriterDelegator).GetMethod("WriteNamespaceDecl", Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlDictionaryString) }, null);
103
dictionaryEnumeratorCtor = Globals.TypeOfDictionaryEnumerator.GetConstructor(Globals.
ScanAllMembers
, null, new Type[] { Globals.TypeOfIDictionaryEnumerator }, null);
142
getItemContractMethod = typeof(CollectionDataContract).GetProperty("ItemContract", Globals.
ScanAllMembers
).GetGetMethod(true/*nonPublic*/);
155
isStartElementMethod2 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null);
168
isStartElementMethod0 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.
ScanAllMembers
, null, new Type[] { }, null);
181
getUninitializedObjectMethod = typeof(XmlFormatReaderGenerator).GetMethod("UnsafeGetUninitializedObject", Globals.
ScanAllMembers
, null, new Type[] { typeof(int) }, null);
220
nodeTypeProperty = typeof(XmlReaderDelegator).GetProperty("NodeType", Globals.
ScanAllMembers
);
246
extensionDataObjectCtor = typeof(ExtensionDataObject).GetConstructor(Globals.
ScanAllMembers
, null, new Type[] { }, null);
259
hashtableCtor = Globals.TypeOfHashtable.GetConstructor(Globals.
ScanAllMembers
, null, Globals.EmptyTypeArray, null);
272
getStreamingContextMethod = typeof(XmlObjectSerializerContext).GetMethod("GetStreamingContext", Globals.
ScanAllMembers
);
285
getCollectionMemberMethod = typeof(XmlObjectSerializerReadContext).GetMethod("GetCollectionMember", Globals.
ScanAllMembers
);
298
storeCollectionMemberInfoMethod = typeof(XmlObjectSerializerReadContext).GetMethod("StoreCollectionMemberInfo", Globals.
ScanAllMembers
, null, new Type[] { typeof(object) }, null);
311
storeIsGetOnlyCollectionMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("StoreIsGetOnlyCollection", Globals.
ScanAllMembers
);
324
throwNullValueReturnedForGetOnlyCollectionExceptionMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ThrowNullValueReturnedForGetOnlyCollectionException", Globals.
ScanAllMembers
);
336
throwArrayExceededSizeExceptionMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ThrowArrayExceededSizeException", Globals.
ScanAllMembers
);
349
incrementItemCountMethod = typeof(XmlObjectSerializerContext).GetMethod("IncrementItemCount", Globals.
ScanAllMembers
);
366
demandSerializationFormatterPermissionMethod = typeof(XmlObjectSerializerContext).GetMethod("DemandSerializationFormatterPermission", Globals.
ScanAllMembers
);
383
demandMemberAccessPermissionMethod = typeof(XmlObjectSerializerContext).GetMethod("DemandMemberAccessPermission", Globals.
ScanAllMembers
);
396
internalDeserializeMethod = typeof(XmlObjectSerializerReadContext).GetMethod("InternalDeserialize", Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlReaderDelegator), typeof(int), typeof(RuntimeTypeHandle), typeof(string), typeof(string) }, null);
409
moveToNextElementMethod = typeof(XmlObjectSerializerReadContext).GetMethod("MoveToNextElement", Globals.
ScanAllMembers
);
422
getMemberIndexMethod = typeof(XmlObjectSerializerReadContext).GetMethod("GetMemberIndex", Globals.
ScanAllMembers
);
435
getMemberIndexWithRequiredMembersMethod = typeof(XmlObjectSerializerReadContext).GetMethod("GetMemberIndexWithRequiredMembers", Globals.
ScanAllMembers
);
448
throwRequiredMemberMissingExceptionMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ThrowRequiredMemberMissingException", Globals.
ScanAllMembers
);
461
skipUnknownElementMethod = typeof(XmlObjectSerializerReadContext).GetMethod("SkipUnknownElement", Globals.
ScanAllMembers
);
474
readIfNullOrRefMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ReadIfNullOrRef", Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlReaderDelegator), typeof(Type), typeof(bool) }, null);
487
readAttributesMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ReadAttributes", Globals.
ScanAllMembers
);
500
resetAttributesMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ResetAttributes", Globals.
ScanAllMembers
);
513
getObjectIdMethod = typeof(XmlObjectSerializerReadContext).GetMethod("GetObjectId", Globals.
ScanAllMembers
);
526
getArraySizeMethod = typeof(XmlObjectSerializerReadContext).GetMethod("GetArraySize", Globals.
ScanAllMembers
);
539
addNewObjectMethod = typeof(XmlObjectSerializerReadContext).GetMethod("AddNewObject", Globals.
ScanAllMembers
);
552
addNewObjectWithIdMethod = typeof(XmlObjectSerializerReadContext).GetMethod("AddNewObjectWithId", Globals.
ScanAllMembers
);
565
replaceDeserializedObjectMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ReplaceDeserializedObject", Globals.
ScanAllMembers
);
578
getExistingObjectMethod = typeof(XmlObjectSerializerReadContext).GetMethod("GetExistingObject", Globals.
ScanAllMembers
);
591
getRealObjectMethod = typeof(XmlObjectSerializerReadContext).GetMethod("GetRealObject", Globals.
ScanAllMembers
);
604
readMethod = typeof(XmlObjectSerializerReadContext).GetMethod("Read", Globals.
ScanAllMembers
);
617
ensureArraySizeMethod = typeof(XmlObjectSerializerReadContext).GetMethod("EnsureArraySize", Globals.
ScanAllMembers
);
630
trimArraySizeMethod = typeof(XmlObjectSerializerReadContext).GetMethod("TrimArraySize", Globals.
ScanAllMembers
);
643
checkEndOfArrayMethod = typeof(XmlObjectSerializerReadContext).GetMethod("CheckEndOfArray", Globals.
ScanAllMembers
);
669
readSerializationInfoMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ReadSerializationInfo", Globals.
ScanAllMembers
);
682
createUnexpectedStateExceptionMethod = typeof(XmlObjectSerializerReadContext).GetMethod("CreateUnexpectedStateException", Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlNodeType), typeof(XmlReaderDelegator) }, null);
695
internalSerializeReferenceMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("InternalSerializeReference", Globals.
ScanAllMembers
);
708
internalSerializeMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("InternalSerialize", Globals.
ScanAllMembers
);
721
writeNullMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("WriteNull", Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlWriterDelegator), typeof(Type), typeof(bool) }, null);
734
incrementArrayCountMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("IncrementArrayCount", Globals.
ScanAllMembers
);
747
incrementCollectionCountMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("IncrementCollectionCount", Globals.
ScanAllMembers
, null, new Type[] { typeof(XmlWriterDelegator), typeof(ICollection) }, null);
760
incrementCollectionCountGenericMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("IncrementCollectionCountGeneric", Globals.
ScanAllMembers
);
773
getDefaultValueMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("GetDefaultValue", Globals.
ScanAllMembers
);
786
getNullableValueMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("GetNullableValue", Globals.
ScanAllMembers
);
799
throwRequiredMemberMustBeEmittedMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("ThrowRequiredMemberMustBeEmitted", Globals.
ScanAllMembers
);
812
getHasValueMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("GetHasValue", Globals.
ScanAllMembers
);
825
writeISerializableMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("WriteISerializable", Globals.
ScanAllMembers
);
838
writeExtensionDataMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("WriteExtensionData", Globals.
ScanAllMembers
);
851
writeXmlValueMethod = typeof(DataContract).GetMethod("WriteXmlValue", Globals.
ScanAllMembers
);
864
readXmlValueMethod = typeof(DataContract).GetMethod("ReadXmlValue", Globals.
ScanAllMembers
);
877
throwTypeNotSerializableMethod = typeof(DataContract).GetMethod("ThrowTypeNotSerializable", Globals.
ScanAllMembers
);
890
namespaceProperty = typeof(DataContract).GetProperty("Namespace", Globals.
ScanAllMembers
);
903
contractNamespacesField = typeof(ClassDataContract).GetField("ContractNamespaces", Globals.
ScanAllMembers
);
916
memberNamesField = typeof(ClassDataContract).GetField("MemberNames", Globals.
ScanAllMembers
);
942
childElementNamespacesProperty = typeof(ClassDataContract).GetProperty("ChildElementNamespaces", Globals.
ScanAllMembers
);
955
collectionItemNameProperty = typeof(CollectionDataContract).GetProperty("CollectionItemName", Globals.
ScanAllMembers
);
968
childElementNamespaceProperty = typeof(CollectionDataContract).GetProperty("ChildElementNamespace", Globals.
ScanAllMembers
);
981
getDateTimeOffsetMethod = typeof(DateTimeOffsetAdapter).GetMethod("GetDateTimeOffset", Globals.
ScanAllMembers
);
994
getDateTimeOffsetAdapterMethod = typeof(DateTimeOffsetAdapter).GetMethod("GetDateTimeOffsetAdapter", Globals.
ScanAllMembers
);
1007
traceInstructionMethod = typeof(SerializationTrace).GetMethod("TraceInstruction", Globals.
ScanAllMembers
);
1020
throwInvalidDataContractExceptionMethod = typeof(DataContract).GetMethod("ThrowInvalidDataContractException", Globals.
ScanAllMembers
, null, new Type[] { typeof(string), typeof(Type) }, null);
1033
serializeReadOnlyTypesProperty = typeof(XmlObjectSerializerWriteContext).GetProperty("SerializeReadOnlyTypes", Globals.
ScanAllMembers
);
1046
classSerializationExceptionMessageProperty = typeof(ClassDataContract).GetProperty("SerializationExceptionMessage", Globals.
ScanAllMembers
);
1059
collectionSerializationExceptionMessageProperty = typeof(CollectionDataContract).GetProperty("SerializationExceptionMessage", Globals.
ScanAllMembers
);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
838
ilg.Call(typeof(XmlReaderDelegator).GetMethod(readArrayMethod, Globals.
ScanAllMembers
));
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
506
ConstructorInfo dictEnumCtor = enumeratorType.GetConstructor(Globals.
ScanAllMembers
, null, new Type[] { ctorParam }, null);
625
ilg.Call(typeof(XmlWriterDelegator).GetMethod(writeArrayMethod, Globals.
ScanAllMembers
, null, new Type[] { type, typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null));
System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
122
incrementItemCountMethod = typeof(XmlObjectSerializerContext).GetMethod("IncrementItemCount", Globals.
ScanAllMembers
);