38 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
100 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
110 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
115 return (JsonFormatGetOnlyCollectionReaderDelegate)
_ilg.
EndMethod();
151 for (
int i = 0; i < parameters.Length; i++)
167 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
251 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
275 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
317 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
375 for (
int i = 0; i <
array.Length; i++)
413 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
429 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
438 type =
type.GetGenericArguments()[0];
453 else if (
type.IsValueType)
465 if (
type.IsValueType)
480 if (!
type.IsValueType)
490 if (
type.IsValueType)
516 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
537 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
553 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
560 if (
type.IsInterface)
586 if (
type.IsValueType)
666 [
UnconditionalSuppressMessage(
"ReflectionAnalysis",
"IL2060:MakeGenericMethod", Justification =
"The call to MakeGenericMethod is safe due to the fact that EnsureArraySizeMethod and TrimArraySizeMethod are not annotated.")]
673 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
684 type =
type.GetGenericArguments()[0];
693 else if (
type.IsEnum)
748 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
825 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
837 text =
"TryReadBooleanArray";
840 text =
"TryReadDecimalArray";
843 text =
"TryReadInt32Array";
846 text =
"TryReadInt64Array";
849 text =
"TryReadSingleArray";
852 text =
"TryReadDoubleArray";
855 text =
"TryReadJsonDateTimeArray";
873 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
893 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
992 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
998 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
1004 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
virtual Type ParameterType
static void SetBit(byte[] bytes, int bitIndex)
void Ldloca(LocalBuilder localBuilder)
void Ldloc(LocalBuilder localBuilder)
void NewArray(Type elementType, object len)
void InitObj(Type valueType)
void Call(object thisObj, MethodInfo methodInfo)
void IfNotIsEmptyString(LocalBuilder strLocal)
void BeginMethod(DynamicMethod dynamicMethod, Type delegateType, string methodName, Type[] argTypes, bool allowPrivateMemberAccess)
void LoadAddress(object obj)
void ElseIfIsEmptyString(LocalBuilder strLocal)
Type LoadMember(MemberInfo memberInfo)
Label[] Switch(int labelCount)
void Stloc(LocalBuilder local)
void Break(object forState)
void CallStringFormat(string msg, params object[] values)
void BeginWhileCondition()
void StoreMember(MemberInfo memberInfo)
void Case(Label caseLabel1, string caseLabelName)
void IfFalseBreak(object forState)
void Set(LocalBuilder local, object value)
void MarkLabel(Label label)
object For(LocalBuilder local, object start, object end)
ArgBuilder GetArg(int index)
LocalBuilder DeclareLocal(Type type, string name, object initialValue)
void StoreArrayElement(object obj, object arrayIndex, object value)
void BeginWhileBody(Cmp cmpOp)
void Brfalse(Label label)
void ConvertAddress(Type source, Type target)
void ConvertValue(Type source, Type target)
void New(ConstructorInfo constructorInfo)
static int GetId(RuntimeTypeHandle typeHandle)
static bool IsTypeSerializable(Type type)
static string SanitizeTypeName(string typeName)
static string GetClrTypeFullName(Type type)
static DataContract GetDataContract(Type type)
static Exception ThrowHelperError(Exception e)
static Type TypeOfKeyValuePair
static Type TypeOfIDeserializationCallback
static Type TypeOfDictionaryGeneric
static Type TypeOfDateTimeOffset
static Type TypeOfByteArray
static Type TypeOfIObjectReference
static Type TypeOfMemoryStream
static Type TypeOfMemoryStreamAdapter
static Type TypeOfNullable
static readonly string NewObjectId
static Type TypeOfDateTimeOffsetAdapter
static Type TypeOfHashtable
static Type TypeOfExtensionDataObject
static PrimitiveDataContract GetPrimitiveDataContract(Type type)
static SerializationException CreateSerializationException(string errorMessage)
static string ValueTypeCannotHaveId
static string Format(string resourceFormat, object p1)
static string ValueTypeCannotHaveRef
static string SerializationInfo_ConstructorNotFound
static string ValueTypeCannotBeNull
static string KeyTypeCannotBeParsedInSimpleDictionary
static readonly Type[] EmptyTypes