Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public static void RegisterPackages ()
#endif // def MONODROID_TIMING
}

#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage ("Trimming", "IL2057")]
#endif
static Type Lookup (string[] mappings, string javaType)
{
var managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ public static void GenerateTypeRegistrations (CodeGenerationOptions opt, Generat
sw.WriteLine ("#endif // def MONODROID_TIMING");
sw.WriteLine ("\t\t}");
sw.WriteLine ();
sw.WriteLine ("#if NET5_0_OR_GREATER");
sw.WriteLine("\t\t[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage (\"Trimming\", \"IL2057\")]");
sw.WriteLine ("#endif");
sw.WriteLine ("\t\tstatic Type{0} Lookup (string[] mappings, string javaType)", opt.NullableOperator);
sw.WriteLine ("\t\t{");
sw.WriteLine ("\t\t\tvar managedType = Java.Interop.TypeManager.LookupTypeMapping (mappings, javaType);");
Expand Down