30 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
53 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
84 for (
int i = 0; i < parameters.Length; i++)
92 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
171 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
196 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
263 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
340 if (
type.IsInterface)
455 [
UnconditionalSuppressMessage(
"ReflectionAnalysis",
"IL2060:MakeGenericMethod", Justification =
"The call to MakeGenericMethod is safe due to the fact that IncrementCollectionCountGeneric is not annotated.")]
462 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
470 if (
type.IsValueType)
505 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
517 text =
"WriteJsonBooleanArray";
520 text =
"WriteJsonDateTimeArray";
523 text =
"WriteJsonDecimalArray";
526 text =
"WriteJsonInt32Array";
529 text =
"WriteJsonInt64Array";
532 text =
"WriteJsonSingleArray";
535 text =
"WriteJsonDoubleArray";
544 typeof(XmlDictionaryString),
545 typeof(XmlDictionaryString)
563 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
577 if (
type.IsValueType && !flag)
720 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
726 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
732 [
UnconditionalSuppressMessage(
"ReflectionAnalysis",
"IL2070:UnrecognizedReflectionPattern", Justification =
"The trimmer will never remove the Invoke method from delegates.")]
virtual Type ParameterType
void LoadArrayElement(object obj, object arrayIndex)
void EndForEach(MethodInfo moveNextMethod)
void InitObj(Type valueType)
void Call(object thisObj, MethodInfo methodInfo)
void BeginMethod(DynamicMethod dynamicMethod, Type delegateType, string methodName, Type[] argTypes, bool allowPrivateMemberAccess)
void LoadAddress(object obj)
Type LoadMember(MemberInfo memberInfo)
void Stloc(LocalBuilder local)
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 Brfalse(Label label)
void ForEach(LocalBuilder local, Type elementType, Type enumeratorType, LocalBuilder enumerator, MethodInfo getCurrentMethod)
void IfNotDefaultValue(object value)
void ConvertValue(Type source, Type target)
void New(ConstructorInfo constructorInfo)
static MethodInfo GetTargetMethodWithName(string name, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] Type interfaceType)
static int GetId(RuntimeTypeHandle typeHandle)
static bool IsTypeSerializable(Type type)
static string SanitizeTypeName(string typeName)
static DataContract GetDataContract(Type type)
static Type TypeOfIEnumerator
static Type TypeOfKeyValuePair
static Type TypeOfDateTimeOffset
static Type TypeOfDictionaryEnumerator
static Type TypeOfKeyValue
static Type TypeOfMemoryStream
static Type TypeOfMemoryStreamAdapter
static Type TypeOfNullable
static Type TypeOfValueType
static Type TypeOfGenericDictionaryEnumerator
static Type TypeOfIEnumeratorGeneric
static Type TypeOfDateTimeOffsetAdapter
static Type TypeOfIExtensibleDataObject
static Type TypeOfKeyValuePairAdapter
static Type TypeOfIDictionaryEnumerator
static Type TypeOfExtensionDataObject
static bool CheckIfXmlNameRequiresMapping(string xmlName)
static PrimitiveDataContract GetPrimitiveDataContract(Type type)
virtual Type[] GetGenericArguments()
override MemberTypes MemberType
static TypeCode GetTypeCode(Type? type)
static readonly Type[] EmptyTypes