From 30f826da9ff8e332b6d715e3224813138264340f Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Mon, 2 Dec 2019 16:05:48 -0500 Subject: [PATCH 01/17] [Localization] Add generator error messages --- src/Resources.Designer.cs | 638 ++++++++++++++++++++++ src/Resources.resx | 890 +++++++++++++++++++++++++++++++ src/generator.cs | 192 +++---- src/generator.csproj | 12 + src/packages.config | 4 + src/xlf/Resources.cs.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.de.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.es.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.fr.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.it.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.ja.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.ko.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.pl.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.pt-BR.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.ru.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.tr.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.zh-Hans.xlf | 964 ++++++++++++++++++++++++++++++++++ src/xlf/Resources.zh-Hant.xlf | 964 ++++++++++++++++++++++++++++++++++ 18 files changed, 14174 insertions(+), 94 deletions(-) create mode 100644 src/Resources.Designer.cs create mode 100644 src/Resources.resx create mode 100644 src/packages.config create mode 100644 src/xlf/Resources.cs.xlf create mode 100644 src/xlf/Resources.de.xlf create mode 100644 src/xlf/Resources.es.xlf create mode 100644 src/xlf/Resources.fr.xlf create mode 100644 src/xlf/Resources.it.xlf create mode 100644 src/xlf/Resources.ja.xlf create mode 100644 src/xlf/Resources.ko.xlf create mode 100644 src/xlf/Resources.pl.xlf create mode 100644 src/xlf/Resources.pt-BR.xlf create mode 100644 src/xlf/Resources.ru.xlf create mode 100644 src/xlf/Resources.tr.xlf create mode 100644 src/xlf/Resources.zh-Hans.xlf create mode 100644 src/xlf/Resources.zh-Hant.xlf diff --git a/src/Resources.Designer.cs b/src/Resources.Designer.cs new file mode 100644 index 000000000000..e2df37969470 --- /dev/null +++ b/src/Resources.Designer.cs @@ -0,0 +1,638 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace bgen { + using System; + using System.Reflection; + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static System.Resources.ResourceManager resourceMan; + + private static System.Globalization.CultureInfo resourceCulture; + + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Resources.ResourceManager ResourceManager { + get { + if (object.Equals(null, resourceMan)) { + System.Resources.ResourceManager temp = new System.Resources.ResourceManager("bgen.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static string BI0000 { + get { + return ResourceManager.GetString("BI0000", resourceCulture); + } + } + + internal static string BI0001 { + get { + return ResourceManager.GetString("BI0001", resourceCulture); + } + } + + internal static string BI0002 { + get { + return ResourceManager.GetString("BI0002", resourceCulture); + } + } + + internal static string BI0026 { + get { + return ResourceManager.GetString("BI0026", resourceCulture); + } + } + + internal static string BI0068 { + get { + return ResourceManager.GetString("BI0068", resourceCulture); + } + } + + internal static string BI0070 { + get { + return ResourceManager.GetString("BI0070", resourceCulture); + } + } + + internal static string BI0086 { + get { + return ResourceManager.GetString("BI0086", resourceCulture); + } + } + + internal static string BI0087 { + get { + return ResourceManager.GetString("BI0087", resourceCulture); + } + } + + internal static string BI0099 { + get { + return ResourceManager.GetString("BI0099", resourceCulture); + } + } + + internal static string BI1000 { + get { + return ResourceManager.GetString("BI1000", resourceCulture); + } + } + + internal static string BI1001 { + get { + return ResourceManager.GetString("BI1001", resourceCulture); + } + } + + internal static string BI1002 { + get { + return ResourceManager.GetString("BI1002", resourceCulture); + } + } + + internal static string BI1003 { + get { + return ResourceManager.GetString("BI1003", resourceCulture); + } + } + + internal static string BI1004 { + get { + return ResourceManager.GetString("BI1004", resourceCulture); + } + } + + internal static string BI1005 { + get { + return ResourceManager.GetString("BI1005", resourceCulture); + } + } + + internal static string BI1006 { + get { + return ResourceManager.GetString("BI1006", resourceCulture); + } + } + + internal static string BI1007 { + get { + return ResourceManager.GetString("BI1007", resourceCulture); + } + } + + internal static string BI1008 { + get { + return ResourceManager.GetString("BI1008", resourceCulture); + } + } + + internal static string BI1009 { + get { + return ResourceManager.GetString("BI1009", resourceCulture); + } + } + + internal static string BI1010 { + get { + return ResourceManager.GetString("BI1010", resourceCulture); + } + } + + internal static string BI1011 { + get { + return ResourceManager.GetString("BI1011", resourceCulture); + } + } + + internal static string BI1012 { + get { + return ResourceManager.GetString("BI1012", resourceCulture); + } + } + + internal static string BI1013 { + get { + return ResourceManager.GetString("BI1013", resourceCulture); + } + } + + internal static string BI1014 { + get { + return ResourceManager.GetString("BI1014", resourceCulture); + } + } + + internal static string BI1015 { + get { + return ResourceManager.GetString("BI1015", resourceCulture); + } + } + + internal static string BI1016 { + get { + return ResourceManager.GetString("BI1016", resourceCulture); + } + } + + internal static string BI1017 { + get { + return ResourceManager.GetString("BI1017", resourceCulture); + } + } + + internal static string BI1018 { + get { + return ResourceManager.GetString("BI1018", resourceCulture); + } + } + + internal static string BI1019 { + get { + return ResourceManager.GetString("BI1019", resourceCulture); + } + } + + internal static string BI1020 { + get { + return ResourceManager.GetString("BI1020", resourceCulture); + } + } + + internal static string BI1021 { + get { + return ResourceManager.GetString("BI1021", resourceCulture); + } + } + + internal static string BI1022 { + get { + return ResourceManager.GetString("BI1022", resourceCulture); + } + } + + internal static string BI1023 { + get { + return ResourceManager.GetString("BI1023", resourceCulture); + } + } + + internal static string BI1024 { + get { + return ResourceManager.GetString("BI1024", resourceCulture); + } + } + + internal static string BI1025 { + get { + return ResourceManager.GetString("BI1025", resourceCulture); + } + } + + internal static string BI1026 { + get { + return ResourceManager.GetString("BI1026", resourceCulture); + } + } + + internal static string BI1027 { + get { + return ResourceManager.GetString("BI1027", resourceCulture); + } + } + + internal static string BI1028 { + get { + return ResourceManager.GetString("BI1028", resourceCulture); + } + } + + internal static string BI1029 { + get { + return ResourceManager.GetString("BI1029", resourceCulture); + } + } + + internal static string BI1030 { + get { + return ResourceManager.GetString("BI1030", resourceCulture); + } + } + + internal static string BI1031 { + get { + return ResourceManager.GetString("BI1031", resourceCulture); + } + } + + internal static string BI1034 { + get { + return ResourceManager.GetString("BI1034", resourceCulture); + } + } + + internal static string BI1035 { + get { + return ResourceManager.GetString("BI1035", resourceCulture); + } + } + + internal static string BI1036 { + get { + return ResourceManager.GetString("BI1036", resourceCulture); + } + } + + internal static string BI1037 { + get { + return ResourceManager.GetString("BI1037", resourceCulture); + } + } + + internal static string BI1038 { + get { + return ResourceManager.GetString("BI1038", resourceCulture); + } + } + + internal static string BI1039 { + get { + return ResourceManager.GetString("BI1039", resourceCulture); + } + } + + internal static string BI1040 { + get { + return ResourceManager.GetString("BI1040", resourceCulture); + } + } + + internal static string BI1041 { + get { + return ResourceManager.GetString("BI1041", resourceCulture); + } + } + + internal static string BI1042 { + get { + return ResourceManager.GetString("BI1042", resourceCulture); + } + } + + internal static string BI1043 { + get { + return ResourceManager.GetString("BI1043", resourceCulture); + } + } + + internal static string BI1044 { + get { + return ResourceManager.GetString("BI1044", resourceCulture); + } + } + + internal static string BI1045 { + get { + return ResourceManager.GetString("BI1045", resourceCulture); + } + } + + internal static string BI1046 { + get { + return ResourceManager.GetString("BI1046", resourceCulture); + } + } + + internal static string BI1047 { + get { + return ResourceManager.GetString("BI1047", resourceCulture); + } + } + + internal static string BI1048 { + get { + return ResourceManager.GetString("BI1048", resourceCulture); + } + } + + internal static string BI1049 { + get { + return ResourceManager.GetString("BI1049", resourceCulture); + } + } + + internal static string BI1050 { + get { + return ResourceManager.GetString("BI1050", resourceCulture); + } + } + + internal static string BI1051 { + get { + return ResourceManager.GetString("BI1051", resourceCulture); + } + } + + internal static string BI1052 { + get { + return ResourceManager.GetString("BI1052", resourceCulture); + } + } + + internal static string BI1053 { + get { + return ResourceManager.GetString("BI1053", resourceCulture); + } + } + + internal static string BI1054 { + get { + return ResourceManager.GetString("BI1054", resourceCulture); + } + } + + internal static string BI1055 { + get { + return ResourceManager.GetString("BI1055", resourceCulture); + } + } + + internal static string BI1056 { + get { + return ResourceManager.GetString("BI1056", resourceCulture); + } + } + + internal static string BI1057 { + get { + return ResourceManager.GetString("BI1057", resourceCulture); + } + } + + internal static string BI1058 { + get { + return ResourceManager.GetString("BI1058", resourceCulture); + } + } + + internal static string BI1059 { + get { + return ResourceManager.GetString("BI1059", resourceCulture); + } + } + + internal static string BI1060 { + get { + return ResourceManager.GetString("BI1060", resourceCulture); + } + } + + internal static string BI1061 { + get { + return ResourceManager.GetString("BI1061", resourceCulture); + } + } + + internal static string BI1062 { + get { + return ResourceManager.GetString("BI1062", resourceCulture); + } + } + + internal static string BI1063 { + get { + return ResourceManager.GetString("BI1063", resourceCulture); + } + } + + internal static string BI1064 { + get { + return ResourceManager.GetString("BI1064", resourceCulture); + } + } + + internal static string BI1065 { + get { + return ResourceManager.GetString("BI1065", resourceCulture); + } + } + + internal static string BI1066 { + get { + return ResourceManager.GetString("BI1066", resourceCulture); + } + } + + internal static string BI1067 { + get { + return ResourceManager.GetString("BI1067", resourceCulture); + } + } + + internal static string BI1068 { + get { + return ResourceManager.GetString("BI1068", resourceCulture); + } + } + + internal static string BI1069 { + get { + return ResourceManager.GetString("BI1069", resourceCulture); + } + } + + internal static string BI1070 { + get { + return ResourceManager.GetString("BI1070", resourceCulture); + } + } + + internal static string BI1071 { + get { + return ResourceManager.GetString("BI1071", resourceCulture); + } + } + + internal static string BI1072 { + get { + return ResourceManager.GetString("BI1072", resourceCulture); + } + } + + internal static string BI1101 { + get { + return ResourceManager.GetString("BI1101", resourceCulture); + } + } + + internal static string BI1102 { + get { + return ResourceManager.GetString("BI1102", resourceCulture); + } + } + + internal static string BI1103 { + get { + return ResourceManager.GetString("BI1103", resourceCulture); + } + } + + internal static string BI1104 { + get { + return ResourceManager.GetString("BI1104", resourceCulture); + } + } + + internal static string BI1105 { + get { + return ResourceManager.GetString("BI1105", resourceCulture); + } + } + + internal static string BI1106 { + get { + return ResourceManager.GetString("BI1106", resourceCulture); + } + } + + internal static string BI1107 { + get { + return ResourceManager.GetString("BI1107", resourceCulture); + } + } + + internal static string BI1108 { + get { + return ResourceManager.GetString("BI1108", resourceCulture); + } + } + + internal static string BI1109 { + get { + return ResourceManager.GetString("BI1109", resourceCulture); + } + } + + internal static string BI1110 { + get { + return ResourceManager.GetString("BI1110", resourceCulture); + } + } + + internal static string BI1111 { + get { + return ResourceManager.GetString("BI1111", resourceCulture); + } + } + + internal static string BI1112 { + get { + return ResourceManager.GetString("BI1112", resourceCulture); + } + } + + internal static string BI1113 { + get { + return ResourceManager.GetString("BI1113", resourceCulture); + } + } + + internal static string BI1114 { + get { + return ResourceManager.GetString("BI1114", resourceCulture); + } + } + + internal static string BI1115 { + get { + return ResourceManager.GetString("BI1115", resourceCulture); + } + } + + internal static string BI1116 { + get { + return ResourceManager.GetString("BI1116", resourceCulture); + } + } + + internal static string BI1117 { + get { + return ResourceManager.GetString("BI1117", resourceCulture); + } + } + + internal static string BI1118 { + get { + return ResourceManager.GetString("BI1118", resourceCulture); + } + } + } +} diff --git a/src/Resources.resx b/src/Resources.resx new file mode 100644 index 000000000000..2ded72a42334 --- /dev/null +++ b/src/Resources.resx @@ -0,0 +1,890 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + + The .NET runtime could not load the {0} type. Message: {1} + + + + + + Could not compile the API bindings. + + + + + + Could not parse the command line argument '{0}': {1} + + + + + + Invalid value for target framework: {0}. + + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + + BI1000: Could not compile the generated API bindings. + + + + + + + + Do not know how to make a trampoline for {0} + + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + + Unknown attribute {0} on {1}.{2} + + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + + No selector specified for method `{0}.{1}' + + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + + Do not know how to make a signature for {0} + + + + + + + + No [Export] attribute on property {0}.{1} + + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + + Model classes can not be categories + + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + + No selector specified for property '{0}.{1}' + + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + + Internal error: invalid enum mode for type '{0}' + + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + + Internal error: unknown target framework '{0}'. + + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + + Trying to use a string as a [Target] + + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + + Binding error: test unable to find property: {0} on {1} + + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + diff --git a/src/generator.cs b/src/generator.cs index 5b3134861af8..6a2826718ee2 100644 --- a/src/generator.cs +++ b/src/generator.cs @@ -378,7 +378,7 @@ public GeneratedType (Type t, GeneratedTypes root) // protected against a StackOverflowException - bug #19751 // it does not protect against large cycles (but good against copy/paste errors) if (Parent == Type) - throw new BindingException (1030, true, "{0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency", Type, Parent); + throw new BindingException (1030, true, bgen.Resources.BI1030, Type, Parent); ParentGenerated = Root.Lookup (Parent); // If our parent had UIAppearance, we flag this class as well @@ -549,7 +549,7 @@ public MemberInformation (Generator generator, IMemberGatherer gather, MethodInf if (attr.Length != 1) { attr = AttributeManager.GetCustomAttributes (mi); if (attr.Length != 1) - throw new BindingException (1012, true, "No Export or Bind attribute defined on {0}.{1}", type, mi.Name); + throw new BindingException (1012, true, bgen.Resources.BI1012, type, mi.Name); var wrapAtt = (WrapAttribute) attr [0]; wrap_method = wrapAtt.MethodName; @@ -608,7 +608,7 @@ public MemberInformation (Generator generator, IMemberGatherer gather, PropertyI // Wrap can only be used either at property level or getter/setter level at a given time. if (wrap_method != null && has_inner_wrap_attribute) - throw new BindingException (1063, true, $"The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{pi.DeclaringType}.{pi.Name}'"); + throw new BindingException (1063, true, bgen.Resources.BI1063, pi.DeclaringType, pi.Name); } } @@ -838,7 +838,7 @@ bool GetValue (string framework) frameworks = macosframeworks; break; default: - throw new BindingException (1047, "Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", CurrentPlatform); + throw new BindingException (1047, bgen.Resources.BI1047, CurrentPlatform); } } @@ -1093,7 +1093,7 @@ public string PrimitiveType (Type t, bool formatted = false, EnumMode enum_mode if (AttributeManager.HasAttribute (enumType)) { if (t != TypeManager.System_Int64 && t != TypeManager.System_UInt64) throw new BindingException (1026, true, - "`{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong`", + bgen.Resources.BI1026, enumType.FullName, "NativeAttribute"); if (enum_mode == EnumMode.Bit32) { @@ -1105,7 +1105,7 @@ public string PrimitiveType (Type t, bool formatted = false, EnumMode enum_mode } else if (enum_mode == EnumMode.Bit64) { // Nothing to do } else { - throw new BindingException (1029, "Internal error: invalid enum mode for type '{0}'", t.FullName); + throw new BindingException (1029, bgen.Resources.BI1029, t.FullName); } } } @@ -1209,7 +1209,7 @@ string ParameterGetMarshalType (MarshalInfo mai, bool formatted = false) if (mai.Type.IsGenericParameter) return "IntPtr"; - throw new BindingException (1017, true, "Do not know how to make a signature for {0}", mai.Type); + throw new BindingException (1017, true, bgen.Resources.BI1017, mai.Type); } bool IsProtocolInterface (Type type, bool checkPrefix = true) @@ -1241,7 +1241,7 @@ string FindProtocolInterface (Type type, MemberInfo pi) var declType = isArray ? type.GetElementType () : type; if (!AttributeManager.HasAttribute (declType)) - throw new BindingException (1034, true, "The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol.", + throw new BindingException (1034, true, bgen.Resources.BI1034, pi.DeclaringType, pi.Name, declType); return "I" + type.Name; @@ -1283,7 +1283,7 @@ static string GetBindAsExceptionString (string box, string retType, string conta if (declaringType != null && memberName != null) memberName = declaringType.FullName + "." + memberName; - return $"Could not {box} type {retType} from {containerType} {container} used on member {memberName} decorated with [BindAs]."; + return string.Format (bgen.Resources.BI1049, box, retType, containerType, container, memberName); } bool IsMemberInsideProtocol (Type type) => IsProtocol (type) || IsModel (type); @@ -1345,7 +1345,7 @@ string GetToBindAsWrapper (MethodInfo mi, MemberInformation minfo = null, Parame var declaringType = minfo?.mi?.DeclaringType ?? pi?.Member?.DeclaringType; if (IsMemberInsideProtocol (declaringType)) - throw new BindingException (1050, true, "[BindAs] cannot be used inside Protocol or Model types. Type: {0}", declaringType.Name); + throw new BindingException (1050, true, bgen.Resources.BI1050, declaringType.Name); if (pi == null) { attrib = GetBindAsAttribute (minfo.mi); @@ -1358,7 +1358,7 @@ string GetToBindAsWrapper (MethodInfo mi, MemberInformation minfo = null, Parame } if (originalType.IsByRef) - throw new BindingException (1048, true, $"Unsupported type 'ref/out {originalType.Name.Replace ("&", string.Empty)}' decorated with [BindAs]"); + throw new BindingException (1048, true, bgen.Resources.BI1048, originalType.Name); var retType = TypeManager.GetUnderlyingNullableType (attrib.Type) ?? attrib.Type; var isNullable = attrib.IsNullable (this); @@ -1390,7 +1390,7 @@ string GetToBindAsWrapper (MethodInfo mi, MemberInformation minfo = null, Parame temp += $"{FormatType (retType.DeclaringType, retType)}Extensions.GetConstant ({parameterName}{denullify});"; } else if (originalType.IsArray && originalType.GetArrayRank () == 1) { if (!retType.IsArray) { - throw new BindingException (1072, true, "The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array.", + throw new BindingException (1072, true, bgen.Resources.BI1072, parameterName,mi.DeclaringType.FullName, mi.Name); } var arrType = originalType.GetElementType (); @@ -1490,7 +1490,7 @@ string GetFromBindAsWrapper (MemberInformation minfo, out string suffix) { var declaringType = minfo.mi.DeclaringType; if (IsMemberInsideProtocol (declaringType)) - throw new BindingException (1050, true, "[BindAs] cannot be used inside Protocol or Model types. Type: {0}", declaringType.Name); + throw new BindingException (1050, true, bgen.Resources.BI1050, declaringType.Name); suffix = string.Empty; @@ -1760,9 +1760,9 @@ public TrampolineInfo MakeTrampoline (Type t) } else { if (!AttributeManager.HasAttribute (pi)) { if (t.FullName.StartsWith ("System.Action`", StringComparison.Ordinal) || t.FullName.StartsWith ("System.Func`", StringComparison.Ordinal)) { - ErrorHelper.Warning (1116, "The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter.", pi.Name.GetSafeParamName (), t.FullName); + ErrorHelper.Warning (1116, bgen.Resources.BI1116, pi.Name.GetSafeParamName (), t.FullName); } else { - ErrorHelper.Warning (1115, "The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback].", pi.Name.GetSafeParamName (), t.FullName); + ErrorHelper.Warning (1115, bgen.Resources.BI1115, pi.Name.GetSafeParamName (), t.FullName); } } pars.AppendFormat ("IntPtr {0}", pi.Name.GetSafeParamName ()); @@ -1771,7 +1771,7 @@ public TrampolineInfo MakeTrampoline (Type t) continue; } - throw new BindingException (1001, true, $"Do not know how to make a trampoline for {pi.ParameterType.FullName}"); + throw new BindingException (1001, true, bgen.Resources.BI1001, pi.ParameterType.FullName); } var rt = mi.ReturnType; @@ -1893,7 +1893,7 @@ public string MarshalParameter (MethodInfo mi, ParameterInfo pi, bool null_allow } // This means you need to add a new MarshalType in the method "Go" - throw new BindingException (1002, true, "Unknown kind {0} in method '{1}.{2}'", pi.ParameterType.FullName, mi.DeclaringType.FullName, mi.Name.GetSafeParamName ()); + throw new BindingException (1002, true, bgen.Resources.BI1002, pi.ParameterType.FullName, mi.DeclaringType.FullName, mi.Name.GetSafeParamName ()); } public bool ParameterNeedsNullCheck (ParameterInfo pi, MethodInfo mi, PropertyInfo propInfo = null) @@ -1957,9 +1957,7 @@ public bool IsTarget (ParameterInfo pi) { var is_target = AttributeManager.HasAttribute (pi); if (is_target) { - throw new BindingException (1031, true, - "The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). " + - "For Objective-C categories, create an api definition interface with the [Category] attribute instead.", + throw new BindingException (1031, true, bgen.Resources.BI1031, pi.Member.DeclaringType.FullName, pi.Member.Name.GetSafeParamName ()); } return is_target; @@ -2146,7 +2144,7 @@ public ExportAttribute GetExportAttribute (MemberInfo mo, out string wrap) var export = (ExportAttribute) attrs [0]; if (string.IsNullOrEmpty (export.Selector)) - throw new BindingException (1024, true, "No selector specified for member '{0}.{1}'", mo.DeclaringType.FullName, mo.Name); + throw new BindingException (1024, true, bgen.Resources.BI1024, mo.DeclaringType.FullName, mo.Name); if (export.Selector.IndexOfAny (invalid_selector_chars) != -1){ Console.Error.WriteLine ("Export attribute contains invalid selector name: {0}", export.Selector); @@ -2320,7 +2318,7 @@ public void Go () continue; if (AttributeManager.HasAttribute (pi) && !AttributeManager.HasAttribute (pi)) - throw new BindingException (1008, true, "[IsThreadStatic] is only valid on properties that are also [Static]"); + throw new BindingException (1008, true, bgen.Resources.BI1008); string wrapname; var export = GetExportAttribute (pi, out wrapname); @@ -2344,7 +2342,7 @@ public void Go () if (hasWrapGet || hasWrapSet) continue; - throw new BindingException (1018, true, "No [Export] attribute on property {0}.{1}", t.FullName, pi.Name); + throw new BindingException (1018, true, bgen.Resources.BI1018, t.FullName, pi.Name); } if (AttributeManager.HasAttribute (pi)) need_static [t] = true; @@ -2439,12 +2437,12 @@ public void Go () case "XpcInterfaceAttribute": continue; default: - throw new BindingException (1007, true, "Unknown attribute {0} on {1}.{2}", attr.GetType (), mi.DeclaringType, mi.Name); + throw new BindingException (1007, true, bgen.Resources.BI1007, attr.GetType (), mi.DeclaringType, mi.Name); } } if (selector == null) - throw new BindingException (1009, true, "No selector specified for method `{0}.{1}'", mi.DeclaringType, mi.Name); + throw new BindingException (1009, true, bgen.Resources.BI1009, mi.DeclaringType, mi.Name); tselectors.Add (selector); if (selector_use.ContainsKey (selector)){ @@ -2454,9 +2452,9 @@ public void Go () } if (seenNoDefaultValue && seenAbstract) - throw new BindingException (1019, true, "Cannot use [NoDefaultValue] on abstract method `{0}.{1}'", mi.DeclaringType, mi.Name); + throw new BindingException (1019, true, bgen.Resources.BI1019, mi.DeclaringType, mi.Name); else if (seenNoDefaultValue && seenDefaultValue) - throw new BindingException (1019, true, "Cannot use both [NoDefaultValue] and [DefaultValue] on method `{0}.{1}'", mi.DeclaringType, mi.Name); + throw new BindingException (1019, true, bgen.Resources.BI1019, mi.DeclaringType, mi.Name); DeclareInvoker (mi); } @@ -2948,7 +2946,7 @@ void GenerateEventArgsFile () continue; var attrs = AttributeManager.GetCustomAttributes (prop); if (attrs.Length == 0) - throw new BindingException (1010, true, "No Export attribute on {0}.{1} property", eventType, prop.Name); + throw new BindingException (1010, true, bgen.Resources.BI1010, eventType, prop.Name); var is_internal = prop.IsInternal (this); var export = attrs [0]; @@ -3071,7 +3069,7 @@ void GenerateEventArgsFile () else if (underlying == TypeManager.System_nuint) print (GenerateNSNumber (cast, "NUIntValue")); else - throw new BindingException (1011, true, "Do not know how to extract type {0}/{1} from an NSDictionary", propertyType, underlying); + throw new BindingException (1011, true, bgen.Resources.BI1011, propertyType, underlying); } } indent -= 2; @@ -3440,7 +3438,7 @@ public string MakeSignature (MemberInformation minfo, bool is_async, ParameterIn var hasReturnTypeProtocolize = Protocolize (AttributeManager.GetReturnTypeCustomAttributes (minfo.method)); if (hasReturnTypeProtocolize) { if (!IsProtocol (minfo.method.ReturnType)) { - ErrorHelper.Warning (1108, "The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute.", minfo.method.DeclaringType, minfo.method, minfo.method.ReturnType.FullName); + ErrorHelper.Warning (1108, bgen.Resources.BI1108, minfo.method.DeclaringType, minfo.method, minfo.method.ReturnType.FullName); } else { prefix = "I"; } @@ -3448,15 +3446,15 @@ public string MakeSignature (MemberInformation minfo, bool is_async, ParameterIn if (minfo.method.ReturnType.IsArray) { var et = minfo.method.ReturnType.GetElementType (); if (IsModel (et)) - ErrorHelper.Warning (1109, "The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}).", minfo.method.DeclaringType, minfo.method.Name, et, et.Namespace, et.Name); + ErrorHelper.Warning (1109, bgen.Resources.BI1109, minfo.method.DeclaringType, minfo.method.Name, et, et.Namespace, et.Name); } if (IsModel (minfo.method.ReturnType) && !hasReturnTypeProtocolize) - ErrorHelper.Warning (1107, "The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}).", minfo.method.DeclaringType, minfo.method.Name, minfo.method.ReturnType, minfo.method.ReturnType.Namespace, minfo.method.ReturnType.Name); + ErrorHelper.Warning (1107, bgen.Resources.BI1107, minfo.method.DeclaringType, minfo.method.Name, minfo.method.ReturnType, minfo.method.ReturnType.Namespace, minfo.method.ReturnType.Name); } if (minfo.is_bindAs) { if (IsMemberInsideProtocol (minfo.mi.DeclaringType)) - throw new BindingException (1050, true, "[BindAs] cannot be used inside Protocol or Model types. Type: {0}", minfo.mi.DeclaringType.Name); + throw new BindingException (1050, true, bgen.Resources.BI1050, minfo.mi.DeclaringType.Name); var bindAsAttrib = GetBindAsAttribute (minfo.mi); sb.Append (prefix + FormatType (bindAsAttrib.Type.DeclaringType, GetCorrectGenericType (bindAsAttrib.Type))); @@ -3655,7 +3653,7 @@ void GetReturnsWrappers (MethodInfo mi, MemberInformation minfo, Type declaringT if (minfo != null && minfo.is_bindAs) { var bindAttrType = GetBindAsAttribute (minfo.mi).Type; if (!bindAttrType.IsArray) { - throw new BindingException (1071, true, "The BindAs type for the member \"{0}.{1}\" must be an array when the member's type is an array.", minfo.mi.DeclaringType.FullName, minfo.mi.Name); + throw new BindingException (1071, true, bgen.Resources.BI1071, minfo.mi.DeclaringType.FullName, minfo.mi.Name); } var bindAsT = bindAttrType.GetElementType (); var suffix = string.Empty; @@ -3671,7 +3669,7 @@ void GetReturnsWrappers (MethodInfo mi, MemberInformation minfo, Type declaringT cast_a = "NSArray.ArrayFromHandle("; cast_b = ")"; } else if (etype == TypeManager.Selector) { - exceptions.Add (ErrorHelper.CreateError (1066, "Unsupported return type '{0}' in {1}.{2}.", mai.Type.FullName, mi.DeclaringType.FullName, mi.Name)); + exceptions.Add (ErrorHelper.CreateError (1066, bgen.Resources.BI1066, mai.Type.FullName, mi.DeclaringType.FullName, mi.Name)); } else { if (NamespaceManager.NamespacesThatConflictWithTypes.Contains (NamespaceManager.Get(etype.Namespace))) cast_a = "NSArray.ArrayFromHandle("; @@ -3695,7 +3693,7 @@ void GenerateInvoke (bool stret, bool supercall, MethodInfo mi, MemberInformatio var mai = new MarshalInfo (this, mi, pi); if (mai.PlainString) - ErrorHelper.Warning (1101, "Trying to use a string as a [Target]"); + ErrorHelper.Warning (1101, bgen.Resources.BI1101); if (mai.ZeroCopyStringMarshal){ target_name = "(IntPtr)(&_s" + pi.Name + ")"; @@ -4026,7 +4024,7 @@ void GenerateTypeLowering (MethodInfo mi, bool null_allowed_override, EnumMode e disposes.AppendFormat ("nsa_{0}.Dispose ();\n", pi.Name); } } else if (etype == TypeManager.Selector) { - exceptions.Add (ErrorHelper.CreateError (1065, "Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}.", mai.Type.FullName, string.IsNullOrEmpty (pi.Name) ? $"#{pi.Position}" : pi.Name, mi.DeclaringType.FullName, mi.Name)); + exceptions.Add (ErrorHelper.CreateError (1065, bgen.Resources.BI1065, mai.Type.FullName, string.IsNullOrEmpty (pi.Name) ? $"#{pi.Position}" : pi.Name, mi.DeclaringType.FullName, mi.Name)); } else { if (null_allowed_override || AttributeManager.HasAttribute (pi)) { convs.AppendFormat ("var nsa_{0} = {1} == null ? null : NSArray.FromNSObjects ({1});\n", pi.Name, pi.Name.GetSafeParamName ()); @@ -4066,7 +4064,7 @@ void GenerateTypeLowering (MethodInfo mi, bool null_allowed_override, EnumMode e } else { if (mai.Type.IsClass && !mai.Type.IsByRef && (mai.Type != TypeManager.Selector && mai.Type != TypeManager.Class && mai.Type != TypeManager.System_String && !TypeManager.INativeObject.IsAssignableFrom (mai.Type))) - throw new BindingException (1020, true, "Unsupported type {0} used on exported method {1}.{2} -> {3}'", mai.Type, mi.DeclaringType, mi.Name, mai.Type.IsByRef); + throw new BindingException (1020, true, bgen.Resources.BI1020, mai.Type, mi.DeclaringType, mi.Name, mai.Type.IsByRef); } // Handle ByRef @@ -4092,7 +4090,7 @@ void GenerateTypeLowering (MethodInfo mi, bool null_allowed_override, EnumMode e var isArrayOfSelector = isArray && elementType.GetElementType () == TypeManager.Selector; if (!isString && !isArrayOfNSObject && !isNSObject && !isArrayOfString && !isINativeObjectSubclass && !isArrayOfINativeObjectSubclass || isINativeObject || isArrayOfSelector || isArrayOfINativeObject) { - exceptions.Add (ErrorHelper.CreateError (1064, "Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}.", elementType.FullName, string.IsNullOrEmpty (pi.Name) ? $"#{pi.Position}" : pi.Name, mi.DeclaringType.FullName, mi.Name)); + exceptions.Add (ErrorHelper.CreateError (1064, bgen.Resources.BI1064, elementType.FullName, string.IsNullOrEmpty (pi.Name) ? $"#{pi.Position}" : pi.Name, mi.DeclaringType.FullName, mi.Name)); continue; } @@ -4162,7 +4160,7 @@ void GenerateArgumentChecks (MethodInfo mi, bool null_allowed_override, Property if (!BindThirdPartyLibrary) { if (!mi.IsSpecialName && IsModel (pi.ParameterType) && !Protocolize (pi)) - ErrorHelper.Warning (1106, "The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}).", + ErrorHelper.Warning (1106, bgen.Resources.BI1106, mi.DeclaringType, mi.Name, pi.Name, pi.ParameterType, pi.ParameterType.Namespace, pi.ParameterType.Name); } @@ -4211,7 +4209,7 @@ bool CheckNeedStret (MethodInfo mi) return Stret.NeedStret (mi.ReturnType, this); } catch (TypeLoadException ex) { - throw new BindingException (0001, true, $"The .NET runtime could not load the {mi.ReturnType.Name} type. Message: {ex.Message}"); + throw new BindingException (0001, true, bgen.Resources.BI0001, mi.ReturnType.Name, ex.Message); } } @@ -4239,7 +4237,7 @@ public void GenerateMethodBody (MemberInformation minfo, MethodInfo mi, string s var hasStaticAtt = AttributeManager.HasAttribute (mi); if (category_type != null && hasStaticAtt && !minfo.ignore_category_static_warnings) { var baseTypeAtt = AttributeManager.GetCustomAttribute (minfo.type); - ErrorHelper.Warning (1117, "The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class.", mi.Name, type.FullName, baseTypeAtt?.BaseType.FullName); + ErrorHelper.Warning (1117, bgen.Resources.BI1117, mi.Name, type.FullName, baseTypeAtt?.BaseType.FullName); } indent++; @@ -4273,7 +4271,7 @@ public void GenerateMethodBody (MemberInformation minfo, MethodInfo mi, string s sane &= by_ref_processing2 [0].ToString () == by_ref_processing2 [1].ToString (); sane &= by_ref_init2 [0].ToString () == by_ref_init2 [1].ToString (); if (!sane) - throw new BindingException (1028, "Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case."); + throw new BindingException (1028, bgen.Resources.BI1028); } var convs = convs2 [0]; @@ -4644,7 +4642,7 @@ void GenerateProperty (Type type, PropertyInfo pi, List instance_fields_ if (wrap == null && ((pi.CanRead && (GetGetterExportAttribute (pi).Selector != GetGetterExportAttribute (parentBaseType).Selector)) || pi.CanWrite && (GetSetterExportAttribute (pi).Selector != GetSetterExportAttribute (parentBaseType).Selector))) { - throw new BindingException (1035, true, "The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match.", pi.Name, type, parentBaseType.DeclaringType); + throw new BindingException (1035, true, bgen.Resources.BI1035, pi.Name, type, parentBaseType.DeclaringType); } // Then let's not write out our copy, since we'll reduce visibility return; @@ -4654,7 +4652,7 @@ void GenerateProperty (Type type, PropertyInfo pi, List instance_fields_ var elType = pi.PropertyType.IsArray ? pi.PropertyType.GetElementType () : pi.PropertyType; if (IsModel (elType) && !minfo.protocolize) { - ErrorHelper.Warning (1110, "The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}).", pi.DeclaringType, pi.Name, pi.PropertyType, pi.PropertyType.Namespace, pi.PropertyType.Name); + ErrorHelper.Warning (1110, bgen.Resources.BI1110, pi.DeclaringType, pi.Name, pi.PropertyType, pi.PropertyType.Namespace, pi.PropertyType.Name); } } @@ -4872,7 +4870,7 @@ void GenerateProperty (Type type, PropertyInfo pi, List instance_fields_ var ba = GetBindAttribute (setter); bool null_allowed = AttributeManager.HasAttribute (setter); if (null_allowed) - ErrorHelper.Show (new BindingException (1118, false, $"[NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values.")); + ErrorHelper.Show (new BindingException (1118, false, bgen.Resources.BI1118)); null_allowed |= AttributeManager.HasAttribute (pi); var not_implemented_attr = AttributeManager.GetCustomAttribute (setter); string sel; @@ -4947,7 +4945,7 @@ public AsyncMethodInfo (Generator generator, IMemberGatherer gather, Type type, var lastType = mi.GetParameters ().Last ().ParameterType; if (!lastType.IsSubclassOf (generator.TypeManager.System_Delegate)) - throw new BindingException (1036, true, "The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}').", mi.DeclaringType.FullName, mi.Name, lastType.FullName); + throw new BindingException (1036, true, bgen.Resources.BI1036, mi.DeclaringType.FullName, mi.Name, lastType.FullName); var cbParams = lastType.GetMethod ("Invoke").GetParameters (); async_completion_params = cbParams; @@ -5078,13 +5076,13 @@ void GenerateAsyncMethod (MemberInformation original_minfo, AsyncMethodKind asyn if (minfo.async_initial_params != null) { foreach (var param in minfo.async_initial_params) { if (param.ParameterType.IsByRef) { - throw new BindingException (1062, true, $"The member '{original_minfo.type.Name}.{mi.Name}' contains ref/out parameters and must not be decorated with [Async]."); + throw new BindingException (1062, true, bgen.Resources.BI1062, original_minfo.type.Name, mi.Name); } } } foreach (var param in minfo.async_completion_params) { if (param.ParameterType.IsByRef) { - throw new BindingException (1062, true, $"The member '{original_minfo.type.Name}.{mi.Name}' contains ref/out parameters and must not be decorated with [Async]."); + throw new BindingException (1062, true, bgen.Resources.BI1062, original_minfo.type.Name, mi.Name); } } @@ -5191,9 +5189,10 @@ void PrintMethodAttributes (MemberInformation minfo) PrintPlatformAttributes (minfo.method.DeclaringType); } - // in theory we could check for `minfo.is_ctor` but some manual bindings are using methods for `init*` - if (AttributeManager.HasAttribute (mi)) + foreach (var di in AttributeManager.GetCustomAttributes (mi)) { print ("[DesignatedInitializer]"); + break; + } } @@ -5273,7 +5272,7 @@ void GenerateMethod (MemberInformation minfo) argCount++; } if (minfo.method.GetParameters ().Length != argCount) { - ErrorHelper.Warning (1105, "Potential selector/argument mismatch [Export (\"{0}\")] has {1} arguments and {2} has {3} arguments", + ErrorHelper.Warning (1105, bgen.Resources.BI1105, minfo.selector, argCount, minfo.method, minfo.method.GetParameters ().Length); } } @@ -5841,8 +5840,8 @@ void GenerateProtocolTypes (Type type, string class_visibility, string TypeName, foreach (var gr in duplicateMethodsGroupedBySelector) { var distinctMethodsBySignature = gr.GroupBy ((v) => v.Signature).Select ((v) => v.First ()).ToArray (); if (distinctMethodsBySignature.Length > 1) { - exceptions.Add (ErrorHelper.CreateError (1069, $"The type '{type.FullName}' is trying to inline the methods binding the selector '{gr.Key}' from the protocols '{distinctMethodsBySignature [0].Method.DeclaringType.FullName}' and '{distinctMethodsBySignature [1].Method.DeclaringType.FullName}'," + -$" using methods with different signatures ('{distinctMethodsBySignature [0].Method.ToString ()}' vs '{distinctMethodsBySignature [1].Method.ToString ()}').")); + exceptions.Add (ErrorHelper.CreateError (1069, bgen.Resources.BI1069, type.FullName, gr.Key, distinctMethodsBySignature [0].Method.DeclaringType.FullName, distinctMethodsBySignature [1].Method.DeclaringType.FullName, + distinctMethodsBySignature [0].Method.ToString (), distinctMethodsBySignature [1].Method.ToString ())); continue; } @@ -5872,9 +5871,9 @@ void GenerateProtocolTypes (Type type, string class_visibility, string TypeName, // Check that all the duplicates use the same selector, and if not show a warning. exportAttributes [i] = GetExportAttribute (properties [i]); if (i > 0 && exportAttributes [i].Selector != exportAttributes [0].Selector) { - ErrorHelper.Warning (1068, $"The type '{type.FullName}' is trying to inline the property '{gr.Key}' from the protocols '{properties [0].DeclaringType.FullName}' and '{properties [i].DeclaringType.FullName}'," + - $" and the inlined properties use different selectors ({properties [0].DeclaringType.Name}.{properties [0].Name} uses '{exportAttributes [0].Selector}', and {properties [i].DeclaringType.Name}.{properties [i].Name} uses '{exportAttributes [i].Selector}'."); - } + ErrorHelper.Warning (1068, bgen.Resources.BI1068, type.FullName, gr.Key, properties [0].DeclaringType.FullName, properties [i].DeclaringType.FullName, + properties [0].DeclaringType.Name, properties [0].Name, exportAttributes [0].Selector, properties [i].DeclaringType.Name, properties [i].Name, exportAttributes [i].Selector); + } if (properties [i].CanRead && properties [i].CanWrite) { readwrite = properties [i]; } else if (!properties [i].CanRead) { @@ -5887,8 +5886,8 @@ void GenerateProtocolTypes (Type type, string class_visibility, string TypeName, // Check that all the duplicates have the same property type var propertyTypes = properties.GroupBy ((v) => v.PropertyType.FullName).Select ((v) => v.First ()).ToArray (); if (propertyTypes.Length > 1) { - exceptions.Add (ErrorHelper.CreateError (1070, $"The type '{type.FullName}' is trying to inline the property '{gr.Key}' from the protocols '{propertyTypes [0].DeclaringType.FullName}' and '{propertyTypes [1].DeclaringType.FullName}'," + - $" but the inlined properties are of different types ('{propertyTypes [0]}' is {FormatType (type, propertyTypes [0].PropertyType)}, while '{propertyTypes [1]}' is {FormatType (type, propertyTypes [0].PropertyType)}).")); + exceptions.Add (ErrorHelper.CreateError (1070, bgen.Resources.BI1070, type.FullName, gr.Key, propertyTypes [0].DeclaringType.FullName, propertyTypes [1].DeclaringType.FullName, + propertyTypes [0], FormatType (type, propertyTypes [0].PropertyType), propertyTypes [1], FormatType (type, propertyTypes [0].PropertyType))); } // Select the best match of the properties: prefer a read/write property if it exists, otherwise a readonly or writeonly property. @@ -5896,8 +5895,8 @@ void GenerateProtocolTypes (Type type, string class_visibility, string TypeName, if (readwrite != null) { bestMatch = readwrite; } else if (@readonly != null && writeonly != null) { - exceptions.Add (ErrorHelper.CreateError (1067, $"The type '{type.FullName}' is trying to inline the property '{gr.Key}' from the protocols '{@readonly.DeclaringType.FullName}' and '{writeonly.DeclaringType.FullName}'," + - $" but the inlined properties don't share the same accessors ('{@readonly}' is read-only, while '${writeonly}' is write-only).")); + exceptions.Add (ErrorHelper.CreateError (1067, bgen.Resources.BI1067,type.FullName, gr.Key, @readonly.DeclaringType.FullName, writeonly.DeclaringType.FullName, + @readonly, writeonly)); continue; } else if (@readonly != null) { bestMatch = @readonly; @@ -5965,7 +5964,7 @@ StreamWriter GetOutputStream (string @namespace, string name) StreamWriter GetOutputStreamForType (Type type) { if (type.Namespace == null) - ErrorHelper.Warning (1103, "'{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice", type.FullName); + ErrorHelper.Warning (1103, bgen.Resources.BI1103, type.FullName); var tn = GetGeneratedTypeName (type); if (type.IsGenericType) @@ -6107,7 +6106,7 @@ public void ComputeLibraryName (FieldAttribute fieldAttr, Type type, string prop } } else if (BindThirdPartyLibrary) { // User should provide a LibraryName - throw new BindingException (1042, true, $"Missing '[Field (LibraryName=value)]' for {propertyName} (e.g.\"__Internal\")"); + throw new BindingException (1042, true, bgen.Resources.BI1042); } else { library_name = type.Namespace; } @@ -6144,7 +6143,7 @@ string GetAssemblyName () public void Generate (Type type) { if (ZeroCopyStrings) { - ErrorHelper.Warning (1027, "Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings."); + ErrorHelper.Warning (1027, bgen.Resources.BI1027); ZeroCopyStrings = false; } @@ -6197,9 +6196,9 @@ public void Generate (Type type) if (is_protocol) { if (is_static_class) - throw new BindingException (1025, true, "[Static] and [Protocol] are mutually exclusive ({0})", type.FullName); + throw new BindingException (1025, true, bgen.Resources.BI1025, type.FullName); if (is_model && base_type == TypeManager.System_Object) - ErrorHelper.Warning (1060, "The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model].", type.FullName); + ErrorHelper.Warning (1060, bgen.Resources.BI1060, type.FullName); GenerateProtocolTypes (type, class_visibility, TypeName, protocol.Name ?? objc_type_name, protocol); } @@ -6249,7 +6248,7 @@ public void Generate (Type type) if (is_model){ if (is_category_class) - ErrorHelper.Show (new BindingException (1022, true, "Category classes can not use the [Model] attribute")); + ErrorHelper.Show (new BindingException (1022, true, bgen.Resources.BI1022)); print ("[Model]"); } @@ -6275,7 +6274,7 @@ public void Generate (Type type) string nonInterfaceName = protocolType.Name.Substring (1); if (protocolType.Name[0] == 'I' && types.Any (x => x.Name.Contains(nonInterfaceName))) if (protocolType.Name.Contains ("MKUserLocation")) // We can not fix MKUserLocation without breaking API, and we don't want warning forever in build until then... - ErrorHelper.Warning (1111, "Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead?", protocolType, type, nonInterfaceName); + ErrorHelper.Warning (1111, bgen.Resources.BI1111, protocolType, type, nonInterfaceName); continue; } @@ -6408,8 +6407,10 @@ public void Generate (Type type) if (external) { if (!disable_default_ctor) { GeneratedCode (sw, 2); - if (AttributeManager.HasAttribute (type)) + foreach (var ta in AttributeManager.GetCustomAttributes (type)) { sw.WriteLine ("\n\n[DesignatedInitializer]"); + break; + } sw.WriteLine ("\t\t[EditorBrowsable (EditorBrowsableState.Advanced)]"); sw.WriteLine ("\t\t[Export (\"init\")]"); sw.WriteLine ("\t\t{0} {1} () : base (NSObjectFlag.Empty)", v, TypeName); @@ -6432,8 +6433,10 @@ public void Generate (Type type) } else { if (!disable_default_ctor) { GeneratedCode (sw, 2); - if (AttributeManager.HasAttribute (type)) + foreach (var ta in AttributeManager.GetCustomAttributes (type)) { sw.WriteLine ("\t\t[DesignatedInitializer]"); + break; + } sw.WriteLine ("\t\t[EditorBrowsable (EditorBrowsableState.Advanced)]"); sw.WriteLine ("\t\t[Export (\"init\")]"); sw.WriteLine ("\t\t{0} {1} () : base (NSObjectFlag.Empty)", v, TypeName); @@ -6542,10 +6545,10 @@ public void Generate (Type type) var methodParams = mi.GetParameters (); foreach (var duplicateMethod in protocolsThatHaveThisMethod) { if (mi.ReturnType != duplicateMethod.ReturnType) - throw new BindingException (1038, true, "The selector {0} on type {1} is found multiple times with different return types.", mi.Name, type.Name); + throw new BindingException (1038, true, bgen.Resources.BI1038, mi.Name, type.Name); if (methodParams.Length != duplicateMethod.GetParameters().Length) - throw new BindingException (1039, true, "The selector {0} on type {1} is found multiple times with different argument length {2} : {3}.", minfo.selector, type.Name, mi.GetParameters ().Length, duplicateMethod.GetParameters ().Length); + throw new BindingException (1039, true, bgen.Resources.BI1039, minfo.selector, type.Name, mi.GetParameters ().Length, duplicateMethod.GetParameters ().Length); } int i = 0; @@ -6553,9 +6556,9 @@ public void Generate (Type type) foreach (var duplicateMethod in protocolsThatHaveThisMethod) { var duplicateParam = duplicateMethod.GetParameters ()[i]; if (param.IsOut != duplicateParam.IsOut) - throw new BindingException (1040, true, "The selector {0} on type {1} is found multiple times with different argument out states on argument {2}.", minfo.selector, type.Name, i); + throw new BindingException (1040, true, bgen.Resources.BI1040, minfo.selector, type.Name, i); if (param.ParameterType != duplicateParam.ParameterType) - throw new BindingException (1041, true, "The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}.", minfo.selector, type.Name, i, param.ParameterType, duplicateParam.ParameterType); + throw new BindingException (1041, true, bgen.Resources.BI1041, minfo.selector, type.Name, i, param.ParameterType, duplicateParam.ParameterType); } i++; } @@ -6612,7 +6615,7 @@ public void Generate (Type type) // Verify all of the versions have the same get/set abilities since there is no universal get/set version // And just generate the first one (us) if (!protocolsThatHaveThisProp.All (x => x.CanRead == pi.CanRead && x.CanWrite == pi.CanWrite)) - throw new BindingException (1037, true, "The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version.", pi.Name, type.Name); + throw new BindingException (1037, true, bgen.Resources.BI1037, pi.Name, type.Name); } } } @@ -6736,9 +6739,9 @@ public void Generate (Type type) } } else { if (field_pi.PropertyType == TypeManager.System_String) - throw new BindingException (1013, true, "Unsupported type for Fields (string), you probably meant NSString"); + throw new BindingException (1013, true, bgen.Resources.BI1013); else - throw new BindingException (1014, true, $"Unsupported type for Fields: {fieldTypeName} for '{field_pi}'."); + throw new BindingException (1014, true, bgen.Resources.BI1014, fieldTypeName, field_pi); } indent--; @@ -6787,7 +6790,7 @@ public void Generate (Type type) else if (btype == TypeManager.System_nuint || (BindThirdPartyLibrary && btype == TypeManager.System_UInt64)) print ($"Dlfcn.SetNUInt (Libraries.{library_name}.Handle, \"{fieldAttr.SymbolName}\", (nuint) (ulong) value);"); else - throw new BindingException (1021, true, "Unsupported type for read/write Fields: {0} for {1}.{2}", fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); + throw new BindingException (1021, true, bgen.Resources.BI1021, fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); } else { if (btype == TypeManager.System_Int32) print ($"Dlfcn.SetInt32 (Libraries.{library_name}.Handle, \"{fieldAttr.SymbolName}\", (int) value);"); @@ -6798,10 +6801,10 @@ public void Generate (Type type) else if (btype == TypeManager.System_UInt64) print ($"Dlfcn.SetUInt64 (Libraries.{library_name}.Handle, \"{fieldAttr.SymbolName}\", (ulong) value);"); else - throw new BindingException (1021, true, "Unsupported type for read/write Fields: {0} for {1}.{2}", fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); + throw new BindingException (1021, true, bgen.Resources.BI1021, fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); } } else - throw new BindingException (1021, true, "Unsupported type for read/write Fields: {0} for {1}.{2}", fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); + throw new BindingException (1021, true, bgen.Resources.BI1021, fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); indent--; print ("}"); } @@ -6814,14 +6817,14 @@ public void Generate (Type type) if (bta != null && bta.Events != null){ if (bta.Delegates == null) - throw new BindingException (1015, true, "In class {0} You specified the Events property, but did not bind those to names with Delegates", type.FullName); + throw new BindingException (1015, true, bgen.Resources.BI1015, type.FullName); print ("//"); print ("// Events and properties from the delegate"); print ("//\n"); if (bta.Events.Length != bta.Delegates.Length) - throw new BindingException (1023, true, "The number of events and delegates must match for `{0}`", type.FullName); + throw new BindingException (1023, true, bgen.Resources.BI1023, type.FullName); int delidx = 0; foreach (var dtype in bta.Events) { @@ -6954,7 +6957,7 @@ public void Generate (Type type) noDefaultValue.Add (mi); if (pars.Length < minPars) - throw new BindingException (1003, true, "The delegate method {0}.{1} needs to take at least one parameter", dtype.FullName, mi.Name); + throw new BindingException (1003, true, bgen.Resources.BI1003, dtype.FullName, mi.Name); var sender = pars.Length == 0 ? "this" : pars [0].Name; @@ -7440,16 +7443,16 @@ bool CoreIsProtocolizedEventBacked (string propertyName, Type type, bool shouldT } if (props.Count () == 1) throw new BindingException (1112, true, - "Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work.", props[0], false); + bgen.Resources.BI1112, props[0], false); else if (props.Count () > 1) throw new BindingException (1112, true, - "Properties {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work.", + bgen.Resources.BI1112, String.Join (", ", props.ToArray ()), false); else throw new BindingException (1113, true, - "BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties.", false); + bgen.Resources.BI1113, false); } else - throw new BindingException (1114, "Binding error: test unable to find property: {0} on {1}", propertyName, type, false); + throw new BindingException (1114, bgen.Resources.BI1114, propertyName, type, false); } else return false; } @@ -7663,7 +7666,7 @@ string GetDelegateApiName (MethodInfo mi) var a = AttributeManager.GetCustomAttribute (mi); if (repeatedDelegateApiNames.Contains (mi.Name) && a == null) - throw new BindingException (1043, true, $"Repeated overload {mi.Name} and no [DelegateApiNameAttribute] provided to generate property name on host class."); + throw new BindingException (1043, true, bgen.Resources.BI1043, mi.Name); if (a == null) { repeatedDelegateApiNames.Add (mi.Name); return mi.Name; @@ -7671,7 +7674,7 @@ string GetDelegateApiName (MethodInfo mi) var apiName = (DelegateApiNameAttribute) a; if (repeatedDelegateApiNames.Contains (apiName.Name)) - throw new BindingException (1044, true, $"Repeated name '{apiName.Name}' provided in [DelegateApiNameAttribute]"); + throw new BindingException (1044, true, bgen.Resources.BI1044, apiName.Name); return apiName.Name; } @@ -7683,11 +7686,11 @@ string GetEventArgName (MethodInfo mi) var a = AttributeManager.GetCustomAttribute (mi); if (a == null) - throw new BindingException (1004, true, "The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters)", mi.DeclaringType.FullName, mi.Name, mi.GetParameters ().Length); + throw new BindingException (1004, true, bgen.Resources.BI1004, mi.DeclaringType.FullName, mi.Name, mi.GetParameters ().Length); var ea = (EventArgsAttribute) a; if (ea.ArgName.EndsWith ("EventArgs", StringComparison.Ordinal)) - throw new BindingException (1005, true, "EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end", mi.DeclaringType.FullName, mi.Name); + throw new BindingException (1005, true, bgen.Resources.BI1005, mi.DeclaringType.FullName, mi.Name); if (ea.SkipGeneration){ skipGeneration [ea.FullName ? ea.ArgName : ea.ArgName + "EventArgs"] = true; @@ -7707,9 +7710,9 @@ string GetDelegateName (MethodInfo mi) a = AttributeManager.GetCustomAttribute (mi); if (a == null) - throw new BindingException (1006, true, "The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs)", mi.DeclaringType.FullName, mi.Name); + throw new BindingException (1006, true, bgen.Resources.BI1006, mi.DeclaringType.FullName, mi.Name); - ErrorHelper.Warning (1102, "Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead.", mi.DeclaringType.FullName, mi.Name); + ErrorHelper.Warning (1102, bgen.Resources.BI1102, mi.DeclaringType.FullName, mi.Name); return ((EventArgsAttribute) a).ArgName; } @@ -7723,7 +7726,7 @@ object GetDefaultValue (MethodInfo mi) return fvfa.Argument; } - throw new BindingException (1016, true, "The delegate method {0}.{1} is missing the [DefaultValue] attribute", mi.DeclaringType.FullName, mi.Name); + throw new BindingException (1016, true, bgen.Resources.BI1016, mi.DeclaringType.FullName, mi.Name); } var def = ((DefaultValueAttribute) a).Default; if (def == null) @@ -7830,3 +7833,4 @@ public static string FormatProvider (ICustomAttributeProvider provider) } } } + diff --git a/src/generator.csproj b/src/generator.csproj index a4ae31393189..930ef6620ffd 100644 --- a/src/generator.csproj +++ b/src/generator.csproj @@ -1,5 +1,6 @@ + Debug AnyCPU @@ -382,8 +383,19 @@ Execution.cs + + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + diff --git a/src/packages.config b/src/packages.config new file mode 100644 index 000000000000..11a50b9116bb --- /dev/null +++ b/src/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/xlf/Resources.cs.xlf b/src/xlf/Resources.cs.xlf new file mode 100644 index 000000000000..808e5a297f15 --- /dev/null +++ b/src/xlf/Resources.cs.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.de.xlf b/src/xlf/Resources.de.xlf new file mode 100644 index 000000000000..989f954ae522 --- /dev/null +++ b/src/xlf/Resources.de.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.es.xlf b/src/xlf/Resources.es.xlf new file mode 100644 index 000000000000..5775a294859e --- /dev/null +++ b/src/xlf/Resources.es.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.fr.xlf b/src/xlf/Resources.fr.xlf new file mode 100644 index 000000000000..a1a4bc0d6a6c --- /dev/null +++ b/src/xlf/Resources.fr.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.it.xlf b/src/xlf/Resources.it.xlf new file mode 100644 index 000000000000..a9d2712a9fba --- /dev/null +++ b/src/xlf/Resources.it.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.ja.xlf b/src/xlf/Resources.ja.xlf new file mode 100644 index 000000000000..4a77d0ee518c --- /dev/null +++ b/src/xlf/Resources.ja.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.ko.xlf b/src/xlf/Resources.ko.xlf new file mode 100644 index 000000000000..c9017a6d412e --- /dev/null +++ b/src/xlf/Resources.ko.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.pl.xlf b/src/xlf/Resources.pl.xlf new file mode 100644 index 000000000000..d2786cce8617 --- /dev/null +++ b/src/xlf/Resources.pl.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.pt-BR.xlf b/src/xlf/Resources.pt-BR.xlf new file mode 100644 index 000000000000..68444618c3de --- /dev/null +++ b/src/xlf/Resources.pt-BR.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.ru.xlf b/src/xlf/Resources.ru.xlf new file mode 100644 index 000000000000..58bf3ae18a8a --- /dev/null +++ b/src/xlf/Resources.ru.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.tr.xlf b/src/xlf/Resources.tr.xlf new file mode 100644 index 000000000000..790e6a9659cc --- /dev/null +++ b/src/xlf/Resources.tr.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.zh-Hans.xlf b/src/xlf/Resources.zh-Hans.xlf new file mode 100644 index 000000000000..ebd7102a7d18 --- /dev/null +++ b/src/xlf/Resources.zh-Hans.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file diff --git a/src/xlf/Resources.zh-Hant.xlf b/src/xlf/Resources.zh-Hant.xlf new file mode 100644 index 000000000000..41ea3f164c76 --- /dev/null +++ b/src/xlf/Resources.zh-Hant.xlf @@ -0,0 +1,964 @@ + + + + + + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + + + + + The .NET runtime could not load the {0} type. Message: {1} + The .NET runtime could not load the {0} type. Message: {1} + + + + + Could not compile the API bindings. + Could not compile the API bindings. + + + + + Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '{0}': {1} + + + + + Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + + + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + Invalid target framework: {0}. Valid target frameworks are: {1}. + + + + + + + A target framework (--target-framework) must be specified when building for {0}. + + + A target framework (--target-framework) must be specified when building for {0}. + + + + + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + + + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + BI1000: Could not compile the generated API bindings. + + + BI1000: Could not compile the generated API bindings. + + + + + + + Do not know how to make a trampoline for {0} + + + Do not know how to make a trampoline for {0} + + + + + + + Unknown kind {0} in method '{1}.{2}' + + + Unknown kind {0} in method '{1}.{2}' + + + + + + + The delegate method {0}.{1} needs to take at least one parameter + + + The delegate method {0}.{1} needs to take at least one parameter + + + + + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + + + + + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + + + + + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + + + + + + + Unknown attribute {0} on {1}.{2} + + + Unknown attribute {0} on {1}.{2} + + + + + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + [IsThreadStatic] is only valid on properties that are also [Static] + + + + + + + No selector specified for method `{0}.{1}' + + + No selector specified for method `{0}.{1}' + + + + + + + BI1010: No Export attribute on {0}.{1} property + + + BI1010: No Export attribute on {0}.{1} property + + + + + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + Do not know how to extract type {0}/{1} from an NSDictionary + + + + + + + No Export or Bind attribute defined on {0}.{1} + + + No Export or Bind attribute defined on {0}.{1} + + + + + + + Unsupported type for Fields (string), you probably meant NSString + + + Unsupported type for Fields (string), you probably meant NSString + + + + + + + Unsupported type for Fields: {0} for '{1}'. + + + Unsupported type for Fields: {0} for '{1}'. + + + + + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + In class {0} You specified the Events property, but did not bind those to names with Delegates + + + + + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + The delegate method {0}.{1} is missing the [DefaultValue] attribute + + + + + + + Do not know how to make a signature for {0} + + + Do not know how to make a signature for {0} + + + + + + + No [Export] attribute on property {0}.{1} + + + No [Export] attribute on property {0}.{1} + + + + + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + Invalid [NoDefaultValue] attribute on method '{0}.{1}' + + + + + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + Unsupported type {0} used on exported method {1}.{2} -> {3} + + + + + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + Unsupported type for read/write Fields: {0} for {1}.{2} + + + + + + + Model classes can not be categories + + + Model classes can not be categories + + + + + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + The number of Events (Type) and Delegates (string) must match for `{0}` + + + + + + + No selector specified for property '{0}.{1}' + + + No selector specified for property '{0}.{1}' + + + + + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + [Static] and [Protocol] are mutually exclusive ({0}) + + + + + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + + + + + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + + + + + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: invalid enum mode for type '{0}' + + + Internal error: invalid enum mode for type '{0}' + + + + + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + + + + + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + + + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + + + + + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + + + + + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + + + + + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + + + + + + + The selector {0} on type {1} is found multiple times with different return types. + + + The selector {0} on type {1} is found multiple times with different return types. + + + + + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + + + + + + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + + + + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + + + + + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + + + + + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + Repeated name '{0}' provided in [DelegateApiNameAttribute]. + + + + + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + + + + + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + The [Field] constant {0} cannot only be used once inside enum {1}. + + + + + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + Unsupported type 'ref/out {0} decorated with [BindAs]. + + + + + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + + + + + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + [BindAs] cannot be used inside Protocol or Model types. Type: {0} + + + + + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: unknown target framework '{0}'. + + + Internal error: unknown target framework '{0}'. + + + + + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + Found {0} {1} attributes on the member {2}. At most one was expected. + + + + + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + + + + + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + + + + + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + + + + + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + + + + + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + + + + + + + Unsupported return type '{0}' in {1}.{2}. + + + Unsupported return type '{0}' in {1}.{2}. + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + + + + + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + + + + + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + + + + + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + + + + + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + + + + + + + Trying to use a string as a [Target] + + + Trying to use a string as a [Target] + + + + + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + + + + + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + + + + + + + BI1104: Could not load the referenced library '{0}': {1}. + + + BI1104: Could not load the referenced library '{0}': {1}. + + + + + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + + + + + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + + + + + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + + + + + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + + + + + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + + + + + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + + + + + + + Binding error: test unable to find property: {0} on {1} + + + Binding error: test unable to find property: {0} on {1} + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + + + + + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + + + + + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + + + + + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + + + + + + + \ No newline at end of file From 2058f96c95fbf4f775b92e1ac3904fb7f4db0c32 Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Mon, 2 Dec 2019 16:15:22 -0500 Subject: [PATCH 02/17] undo changes caused by copy/pasting --- src/generator.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/generator.cs b/src/generator.cs index 6a2826718ee2..9d036f868736 100644 --- a/src/generator.cs +++ b/src/generator.cs @@ -6407,10 +6407,8 @@ public void Generate (Type type) if (external) { if (!disable_default_ctor) { GeneratedCode (sw, 2); - foreach (var ta in AttributeManager.GetCustomAttributes (type)) { + if (AttributeManager.HasAttribute (type)) sw.WriteLine ("\n\n[DesignatedInitializer]"); - break; - } sw.WriteLine ("\t\t[EditorBrowsable (EditorBrowsableState.Advanced)]"); sw.WriteLine ("\t\t[Export (\"init\")]"); sw.WriteLine ("\t\t{0} {1} () : base (NSObjectFlag.Empty)", v, TypeName); @@ -6433,10 +6431,8 @@ public void Generate (Type type) } else { if (!disable_default_ctor) { GeneratedCode (sw, 2); - foreach (var ta in AttributeManager.GetCustomAttributes (type)) { + if (AttributeManager.HasAttribute (type)) sw.WriteLine ("\t\t[DesignatedInitializer]"); - break; - } sw.WriteLine ("\t\t[EditorBrowsable (EditorBrowsableState.Advanced)]"); sw.WriteLine ("\t\t[Export (\"init\")]"); sw.WriteLine ("\t\t{0} {1} () : base (NSObjectFlag.Empty)", v, TypeName); From f4391129de94aa8844f50a85091bd9e814ecdbff Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Tue, 3 Dec 2019 17:54:06 -0500 Subject: [PATCH 03/17] Add reflection and other updates --- src/Resources.resx | 18 ++-- src/btouch.cs | 27 +++--- src/error.cs | 48 ++++++---- src/generator.cs | 163 +++++++++++++++++----------------- src/xlf/Resources.cs.xlf | 36 ++++---- src/xlf/Resources.de.xlf | 36 ++++---- src/xlf/Resources.es.xlf | 36 ++++---- src/xlf/Resources.fr.xlf | 36 ++++---- src/xlf/Resources.it.xlf | 36 ++++---- src/xlf/Resources.ja.xlf | 36 ++++---- src/xlf/Resources.ko.xlf | 36 ++++---- src/xlf/Resources.pl.xlf | 36 ++++---- src/xlf/Resources.pt-BR.xlf | 36 ++++---- src/xlf/Resources.ru.xlf | 36 ++++---- src/xlf/Resources.tr.xlf | 36 ++++---- src/xlf/Resources.zh-Hans.xlf | 36 ++++---- src/xlf/Resources.zh-Hant.xlf | 36 ++++---- 17 files changed, 394 insertions(+), 330 deletions(-) diff --git a/src/Resources.resx b/src/Resources.resx index 2ded72a42334..fd1e9ea9fc96 100644 --- a/src/Resources.resx +++ b/src/Resources.resx @@ -117,7 +117,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -129,13 +129,15 @@ - Could not compile the API bindings. + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} @@ -156,7 +158,7 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -179,8 +181,8 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -292,7 +294,7 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -769,7 +771,7 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/btouch.cs b/src/btouch.cs index 0252ac4cc4ea..d9d79ea95b3d 100644 --- a/src/btouch.cs +++ b/src/btouch.cs @@ -103,7 +103,7 @@ string GetAttributeLibraryPath () } else if (target_framework == TargetFramework.Xamarin_Mac_2_0_Mobile) { return Path.Combine (GetSDKRoot (), "lib", "bgen", "Xamarin.Mac-mobile.BindingAttributes.dll"); } else { - throw ErrorHelper.CreateError (1043, "Internal error: unknown target framework '{0}'.", target_framework); + throw ErrorHelper.CreateError (1053, target_framework); } default: throw new BindingException (1047, "Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", CurrentPlatform); @@ -132,7 +132,7 @@ IEnumerable GetLibraryDirectories () } else if (target_framework == TargetFramework.Xamarin_Mac_2_0_Mobile) { yield return Path.Combine (GetSDKRoot (), "lib", "mono", "Xamarin.Mac"); } else { - throw ErrorHelper.CreateError (1043, "Internal error: unknown target framework '{0}'.", target_framework); + throw ErrorHelper.CreateError (1053, target_framework); } break; default: @@ -185,11 +185,11 @@ void SetTargetFramework (string fx) { TargetFramework tf; if (!TargetFramework.TryParse (fx, out tf)) - throw ErrorHelper.CreateError (68, "Invalid value for target framework: {0}.", fx); + throw ErrorHelper.CreateError (68, fx); target_framework = tf; if (Array.IndexOf (TargetFramework.ValidFrameworks, target_framework.Value) == -1) - throw ErrorHelper.CreateError (70, "Invalid target framework: {0}. Valid target frameworks are: {1}.", target_framework.Value, string.Join (" ", TargetFramework.ValidFrameworks.Select ((v) => v.ToString ()).ToArray ())); + throw ErrorHelper.CreateError (70, target_framework.Value, string.Join (" ", TargetFramework.ValidFrameworks.Select ((v) => v.ToString ()).ToArray ())); } static int Main2 (string [] args) @@ -287,7 +287,7 @@ int Main3 (string [] args) ErrorHelper.SetWarningLevel (ErrorHelper.WarningLevel.Error); } } catch (Exception ex) { - throw ErrorHelper.CreateError (26, $"Could not parse the command line argument '--warnaserror': {ex.Message}"); + throw ErrorHelper.CreateError (26, ex.Message); } } }, @@ -300,7 +300,7 @@ int Main3 (string [] args) ErrorHelper.SetWarningLevel (ErrorHelper.WarningLevel.Disable); } } catch (Exception ex) { - throw ErrorHelper.CreateError (26, $"Could not parse the command line argument '--nowarn': {ex.Message}"); + throw ErrorHelper.CreateError (26, ex.Message); } } }, @@ -321,7 +321,7 @@ int Main3 (string [] args) } if (!target_framework.HasValue) - throw ErrorHelper.CreateError (86, "A target framework (--target-framework) must be specified."); + throw ErrorHelper.CreateError (86); switch (target_framework.Value.Identifier.ToLowerInvariant ()) { case "xamarin.ios": @@ -357,7 +357,7 @@ int Main3 (string [] args) else if (target_framework == TargetFramework.Xamarin_Mac_4_5_Full || target_framework == TargetFramework.Xamarin_Mac_4_5_System) baselibdll = Path.Combine (GetSDKRoot (), "lib", "reference", "full", "Xamarin.Mac.dll"); else - throw ErrorHelper.CreateError (1043, "Internal error: unknown target framework '{0}'.", target_framework); + throw ErrorHelper.CreateError (1053, target_framework); } if (target_framework == TargetFramework.Xamarin_Mac_2_0_Mobile) { skipSystemDrawing = true; @@ -371,12 +371,12 @@ int Main3 (string [] args) skipSystemDrawing = false; ReferenceFixer.FixSDKReferences ("/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/4.5", references, forceSystemDrawing : true); } else { - throw ErrorHelper.CreateError (1043, "Internal error: unknown target framework '{0}'.", target_framework); + throw ErrorHelper.CreateError (1053, target_framework); } break; default: - throw ErrorHelper.CreateError (1043, "Internal error: unknown target framework '{0}'.", target_framework); + throw ErrorHelper.CreateError (1053, target_framework); } if (sources.Count > 0) { @@ -432,7 +432,8 @@ int Main3 (string [] args) cargs.Add ("-lib:" + Path.GetDirectoryName (baselibdll)); if (Driver.RunCommand (compiler, cargs, null, out var compile_output, true, verbose ? 1 : 0) != 0) - throw ErrorHelper.CreateError (2, "Could not compile the API bindings.\n\t" + compile_output.ToString ().Replace ("\n", "\n\t")); + throw ErrorHelper.CreateError (2, compile_output.ToString ().Replace ("\n", "\n\t")); + universe = new Universe (UniverseOptions.EnableFunctionPointers | UniverseOptions.ResolveMissingMembers | UniverseOptions.MetadataOnly); @@ -479,7 +480,7 @@ int Main3 (string [] args) try { universe.LoadFile (r); } catch (Exception ex) { - ErrorHelper.Warning (1104, "Could not load the referenced library '{0}': {1}.", r, ex.Message); + ErrorHelper.Warning (1104, r, ex.Message); } } } @@ -540,7 +541,7 @@ int Main3 (string [] args) cargs.Add ("-lib:" + Path.GetDirectoryName (baselibdll)); if (Driver.RunCommand (compiler, cargs, null, out var generated_compile_output, true, verbose ? 1 : 0) != 0) - throw ErrorHelper.CreateError (1000, "Could not compile the generated API bindings.\n\t" + generated_compile_output.ToString ().Replace ("\n", "\n\t")); + throw ErrorHelper.CreateError (1000, generated_compile_output.ToString ().Replace ("\n", "\n\t")); } finally { if (delete_temp) Directory.Delete (tmpdir, true); diff --git a/src/error.cs b/src/error.cs index 58a5aa16250e..df853e47bcb1 100644 --- a/src/error.cs +++ b/src/error.cs @@ -11,6 +11,7 @@ using System; using System.Collections.Generic; +using System.Reflection; using ProductException=BindingException; @@ -18,30 +19,41 @@ public class BindingException : Exception { - public BindingException (int code, bool error, string message) : - base (message) + public BindingException (int code, bool error) : + base (GetMessage(code)) { Code = code; Error = error || ErrorHelper.GetWarningLevel (code) == ErrorHelper.WarningLevel.Error; } - public BindingException (int code, string message, params object[] args) : - this (code, false, message, args) + public BindingException (int code, params object[] args) : + this (code, false, args) { } - public BindingException (int code, bool error, string message, params object[] args) : - this (code, error, null, message, args) + public BindingException (int code, bool error, params object[] args) : + this (code, error, null, args) { } - public BindingException (int code, bool error, Exception innerException, string message, params object[] args) : - base (String.Format (message, args), innerException) + public BindingException (int code, bool error, Exception innerException, params object[] args) : + base (String.Format (GetMessage(code), args), innerException) { Code = code; Error = error || ErrorHelper.GetWarningLevel (code) == ErrorHelper.WarningLevel.Error; } + static string GetMessage (int code) + { + Type resourceType = Type.GetType ("bgen.Resources"); + string errorCode = string.Format ("BI{0:0000}", code); + PropertyInfo prop = resourceType.GetProperty (errorCode, BindingFlags.NonPublic | + BindingFlags.Static | + BindingFlags.GetProperty); + var errorMessage = (String) prop.GetValue (null); + return errorMessage; + } + public int Code { get; private set; } public bool Error { get; private set; } @@ -49,13 +61,13 @@ public BindingException (int code, bool error, Exception innerException, string // http://blogs.msdn.com/b/msbuild/archive/2006/11/03/msbuild-visual-studio-aware-error-messages-and-message-formats.aspx public override string ToString () { - return String.Format ("{0} BI{1:0000}: {3}: {2}", + + return String.Format ("{0} BI{1:0000}: {3}: {2}", Error ? "error" : "warning", Code, Message, BindingTouch.ToolName); } } public static class ErrorHelper { - public enum WarningLevel { Error = -1, Warning = 0, @@ -69,24 +81,24 @@ public enum WarningLevel { [ThreadStatic] static Dictionary warning_levels; - public static ProductException CreateError (int code, string message) + public static ProductException CreateError (int code) { - return new ProductException (code, true, message); + return new ProductException (code, true); } - public static ProductException CreateError (int code, string message, params object[] args) + public static ProductException CreateError (int code, params object[] args) { - return new ProductException (code, true, message, args); + return new ProductException (code, true, args); } - public static void Warning (int code, string message) + public static void Warning (int code) { - Show (new ProductException (code, false, message)); + Show (new ProductException (code, false)); } - public static void Warning (int code, string message, params object[] args) + public static void Warning (int code, params object[] args) { - Show (new ProductException (code, false, message, args)); + Show (new ProductException (code, false, args)); } static public void Show (Exception e, bool rethrow_errors = true) diff --git a/src/generator.cs b/src/generator.cs index 9d036f868736..0af7042773ef 100644 --- a/src/generator.cs +++ b/src/generator.cs @@ -378,7 +378,7 @@ public GeneratedType (Type t, GeneratedTypes root) // protected against a StackOverflowException - bug #19751 // it does not protect against large cycles (but good against copy/paste errors) if (Parent == Type) - throw new BindingException (1030, true, bgen.Resources.BI1030, Type, Parent); + throw new BindingException (1030, true, Type, Parent); ParentGenerated = Root.Lookup (Parent); // If our parent had UIAppearance, we flag this class as well @@ -549,7 +549,7 @@ public MemberInformation (Generator generator, IMemberGatherer gather, MethodInf if (attr.Length != 1) { attr = AttributeManager.GetCustomAttributes (mi); if (attr.Length != 1) - throw new BindingException (1012, true, bgen.Resources.BI1012, type, mi.Name); + throw new BindingException (1012, true, type, mi.Name); var wrapAtt = (WrapAttribute) attr [0]; wrap_method = wrapAtt.MethodName; @@ -608,7 +608,7 @@ public MemberInformation (Generator generator, IMemberGatherer gather, PropertyI // Wrap can only be used either at property level or getter/setter level at a given time. if (wrap_method != null && has_inner_wrap_attribute) - throw new BindingException (1063, true, bgen.Resources.BI1063, pi.DeclaringType, pi.Name); + throw new BindingException (1063, true, pi.DeclaringType, pi.Name); } } @@ -838,7 +838,7 @@ bool GetValue (string framework) frameworks = macosframeworks; break; default: - throw new BindingException (1047, bgen.Resources.BI1047, CurrentPlatform); + throw new BindingException (1047, CurrentPlatform); } } @@ -1093,7 +1093,6 @@ public string PrimitiveType (Type t, bool formatted = false, EnumMode enum_mode if (AttributeManager.HasAttribute (enumType)) { if (t != TypeManager.System_Int64 && t != TypeManager.System_UInt64) throw new BindingException (1026, true, - bgen.Resources.BI1026, enumType.FullName, "NativeAttribute"); if (enum_mode == EnumMode.Bit32) { @@ -1105,7 +1104,7 @@ public string PrimitiveType (Type t, bool formatted = false, EnumMode enum_mode } else if (enum_mode == EnumMode.Bit64) { // Nothing to do } else { - throw new BindingException (1029, bgen.Resources.BI1029, t.FullName); + throw new BindingException (1029, t.FullName); } } } @@ -1209,7 +1208,7 @@ string ParameterGetMarshalType (MarshalInfo mai, bool formatted = false) if (mai.Type.IsGenericParameter) return "IntPtr"; - throw new BindingException (1017, true, bgen.Resources.BI1017, mai.Type); + throw new BindingException (1017, true, mai.Type); } bool IsProtocolInterface (Type type, bool checkPrefix = true) @@ -1241,7 +1240,7 @@ string FindProtocolInterface (Type type, MemberInfo pi) var declType = isArray ? type.GetElementType () : type; if (!AttributeManager.HasAttribute (declType)) - throw new BindingException (1034, true, bgen.Resources.BI1034, + throw new BindingException (1034, true, pi.DeclaringType, pi.Name, declType); return "I" + type.Name; @@ -1345,7 +1344,7 @@ string GetToBindAsWrapper (MethodInfo mi, MemberInformation minfo = null, Parame var declaringType = minfo?.mi?.DeclaringType ?? pi?.Member?.DeclaringType; if (IsMemberInsideProtocol (declaringType)) - throw new BindingException (1050, true, bgen.Resources.BI1050, declaringType.Name); + throw new BindingException (1050, true, declaringType.Name); if (pi == null) { attrib = GetBindAsAttribute (minfo.mi); @@ -1358,7 +1357,7 @@ string GetToBindAsWrapper (MethodInfo mi, MemberInformation minfo = null, Parame } if (originalType.IsByRef) - throw new BindingException (1048, true, bgen.Resources.BI1048, originalType.Name); + throw new BindingException (1048, true, originalType.Name); var retType = TypeManager.GetUnderlyingNullableType (attrib.Type) ?? attrib.Type; var isNullable = attrib.IsNullable (this); @@ -1390,7 +1389,7 @@ string GetToBindAsWrapper (MethodInfo mi, MemberInformation minfo = null, Parame temp += $"{FormatType (retType.DeclaringType, retType)}Extensions.GetConstant ({parameterName}{denullify});"; } else if (originalType.IsArray && originalType.GetArrayRank () == 1) { if (!retType.IsArray) { - throw new BindingException (1072, true, bgen.Resources.BI1072, + throw new BindingException (1072, true, parameterName,mi.DeclaringType.FullName, mi.Name); } var arrType = originalType.GetElementType (); @@ -1490,7 +1489,7 @@ string GetFromBindAsWrapper (MemberInformation minfo, out string suffix) { var declaringType = minfo.mi.DeclaringType; if (IsMemberInsideProtocol (declaringType)) - throw new BindingException (1050, true, bgen.Resources.BI1050, declaringType.Name); + throw new BindingException (1050, true, declaringType.Name); suffix = string.Empty; @@ -1760,9 +1759,9 @@ public TrampolineInfo MakeTrampoline (Type t) } else { if (!AttributeManager.HasAttribute (pi)) { if (t.FullName.StartsWith ("System.Action`", StringComparison.Ordinal) || t.FullName.StartsWith ("System.Func`", StringComparison.Ordinal)) { - ErrorHelper.Warning (1116, bgen.Resources.BI1116, pi.Name.GetSafeParamName (), t.FullName); + ErrorHelper.Warning (1116, pi.Name.GetSafeParamName (), t.FullName); } else { - ErrorHelper.Warning (1115, bgen.Resources.BI1115, pi.Name.GetSafeParamName (), t.FullName); + ErrorHelper.Warning (1115, pi.Name.GetSafeParamName (), t.FullName); } } pars.AppendFormat ("IntPtr {0}", pi.Name.GetSafeParamName ()); @@ -1771,7 +1770,7 @@ public TrampolineInfo MakeTrampoline (Type t) continue; } - throw new BindingException (1001, true, bgen.Resources.BI1001, pi.ParameterType.FullName); + throw new BindingException (1001, true, pi.ParameterType.FullName); } var rt = mi.ReturnType; @@ -1893,7 +1892,7 @@ public string MarshalParameter (MethodInfo mi, ParameterInfo pi, bool null_allow } // This means you need to add a new MarshalType in the method "Go" - throw new BindingException (1002, true, bgen.Resources.BI1002, pi.ParameterType.FullName, mi.DeclaringType.FullName, mi.Name.GetSafeParamName ()); + throw new BindingException (1002, true, pi.ParameterType.FullName, mi.DeclaringType.FullName, mi.Name.GetSafeParamName ()); } public bool ParameterNeedsNullCheck (ParameterInfo pi, MethodInfo mi, PropertyInfo propInfo = null) @@ -1957,7 +1956,7 @@ public bool IsTarget (ParameterInfo pi) { var is_target = AttributeManager.HasAttribute (pi); if (is_target) { - throw new BindingException (1031, true, bgen.Resources.BI1031, + throw new BindingException (1031, true, pi.Member.DeclaringType.FullName, pi.Member.Name.GetSafeParamName ()); } return is_target; @@ -2144,7 +2143,7 @@ public ExportAttribute GetExportAttribute (MemberInfo mo, out string wrap) var export = (ExportAttribute) attrs [0]; if (string.IsNullOrEmpty (export.Selector)) - throw new BindingException (1024, true, bgen.Resources.BI1024, mo.DeclaringType.FullName, mo.Name); + throw new BindingException (1024, true, mo.DeclaringType.FullName, mo.Name); if (export.Selector.IndexOfAny (invalid_selector_chars) != -1){ Console.Error.WriteLine ("Export attribute contains invalid selector name: {0}", export.Selector); @@ -2318,7 +2317,7 @@ public void Go () continue; if (AttributeManager.HasAttribute (pi) && !AttributeManager.HasAttribute (pi)) - throw new BindingException (1008, true, bgen.Resources.BI1008); + throw new BindingException (1008, true); string wrapname; var export = GetExportAttribute (pi, out wrapname); @@ -2342,7 +2341,7 @@ public void Go () if (hasWrapGet || hasWrapSet) continue; - throw new BindingException (1018, true, bgen.Resources.BI1018, t.FullName, pi.Name); + throw new BindingException (1018, true, t.FullName, pi.Name); } if (AttributeManager.HasAttribute (pi)) need_static [t] = true; @@ -2437,12 +2436,12 @@ public void Go () case "XpcInterfaceAttribute": continue; default: - throw new BindingException (1007, true, bgen.Resources.BI1007, attr.GetType (), mi.DeclaringType, mi.Name); + throw new BindingException (1007, true, attr.GetType (), mi.DeclaringType, mi.Name); } } if (selector == null) - throw new BindingException (1009, true, bgen.Resources.BI1009, mi.DeclaringType, mi.Name); + throw new BindingException (1009, true, mi.DeclaringType, mi.Name); tselectors.Add (selector); if (selector_use.ContainsKey (selector)){ @@ -2452,9 +2451,9 @@ public void Go () } if (seenNoDefaultValue && seenAbstract) - throw new BindingException (1019, true, bgen.Resources.BI1019, mi.DeclaringType, mi.Name); + throw new BindingException (1019, true, mi.DeclaringType, mi.Name); else if (seenNoDefaultValue && seenDefaultValue) - throw new BindingException (1019, true, bgen.Resources.BI1019, mi.DeclaringType, mi.Name); + throw new BindingException (1019, true, mi.DeclaringType, mi.Name); DeclareInvoker (mi); } @@ -2946,7 +2945,7 @@ void GenerateEventArgsFile () continue; var attrs = AttributeManager.GetCustomAttributes (prop); if (attrs.Length == 0) - throw new BindingException (1010, true, bgen.Resources.BI1010, eventType, prop.Name); + throw new BindingException (1010, true, eventType, prop.Name); var is_internal = prop.IsInternal (this); var export = attrs [0]; @@ -3069,7 +3068,7 @@ void GenerateEventArgsFile () else if (underlying == TypeManager.System_nuint) print (GenerateNSNumber (cast, "NUIntValue")); else - throw new BindingException (1011, true, bgen.Resources.BI1011, propertyType, underlying); + throw new BindingException (1011, true, propertyType, underlying); } } indent -= 2; @@ -3438,7 +3437,7 @@ public string MakeSignature (MemberInformation minfo, bool is_async, ParameterIn var hasReturnTypeProtocolize = Protocolize (AttributeManager.GetReturnTypeCustomAttributes (minfo.method)); if (hasReturnTypeProtocolize) { if (!IsProtocol (minfo.method.ReturnType)) { - ErrorHelper.Warning (1108, bgen.Resources.BI1108, minfo.method.DeclaringType, minfo.method, minfo.method.ReturnType.FullName); + ErrorHelper.Warning (1108, minfo.method.DeclaringType, minfo.method, minfo.method.ReturnType.FullName); } else { prefix = "I"; } @@ -3446,15 +3445,15 @@ public string MakeSignature (MemberInformation minfo, bool is_async, ParameterIn if (minfo.method.ReturnType.IsArray) { var et = minfo.method.ReturnType.GetElementType (); if (IsModel (et)) - ErrorHelper.Warning (1109, bgen.Resources.BI1109, minfo.method.DeclaringType, minfo.method.Name, et, et.Namespace, et.Name); + ErrorHelper.Warning (1109, minfo.method.DeclaringType, minfo.method.Name, et, et.Namespace, et.Name); } if (IsModel (minfo.method.ReturnType) && !hasReturnTypeProtocolize) - ErrorHelper.Warning (1107, bgen.Resources.BI1107, minfo.method.DeclaringType, minfo.method.Name, minfo.method.ReturnType, minfo.method.ReturnType.Namespace, minfo.method.ReturnType.Name); + ErrorHelper.Warning (1107, minfo.method.DeclaringType, minfo.method.Name, minfo.method.ReturnType, minfo.method.ReturnType.Namespace, minfo.method.ReturnType.Name); } if (minfo.is_bindAs) { if (IsMemberInsideProtocol (minfo.mi.DeclaringType)) - throw new BindingException (1050, true, bgen.Resources.BI1050, minfo.mi.DeclaringType.Name); + throw new BindingException (1050, true, minfo.mi.DeclaringType.Name); var bindAsAttrib = GetBindAsAttribute (minfo.mi); sb.Append (prefix + FormatType (bindAsAttrib.Type.DeclaringType, GetCorrectGenericType (bindAsAttrib.Type))); @@ -3653,7 +3652,7 @@ void GetReturnsWrappers (MethodInfo mi, MemberInformation minfo, Type declaringT if (minfo != null && minfo.is_bindAs) { var bindAttrType = GetBindAsAttribute (minfo.mi).Type; if (!bindAttrType.IsArray) { - throw new BindingException (1071, true, bgen.Resources.BI1071, minfo.mi.DeclaringType.FullName, minfo.mi.Name); + throw new BindingException (1071, true, minfo.mi.DeclaringType.FullName, minfo.mi.Name); } var bindAsT = bindAttrType.GetElementType (); var suffix = string.Empty; @@ -3669,7 +3668,7 @@ void GetReturnsWrappers (MethodInfo mi, MemberInformation minfo, Type declaringT cast_a = "NSArray.ArrayFromHandle("; cast_b = ")"; } else if (etype == TypeManager.Selector) { - exceptions.Add (ErrorHelper.CreateError (1066, bgen.Resources.BI1066, mai.Type.FullName, mi.DeclaringType.FullName, mi.Name)); + exceptions.Add (ErrorHelper.CreateError (1066, mai.Type.FullName, mi.DeclaringType.FullName, mi.Name)); } else { if (NamespaceManager.NamespacesThatConflictWithTypes.Contains (NamespaceManager.Get(etype.Namespace))) cast_a = "NSArray.ArrayFromHandle("; @@ -3693,7 +3692,7 @@ void GenerateInvoke (bool stret, bool supercall, MethodInfo mi, MemberInformatio var mai = new MarshalInfo (this, mi, pi); if (mai.PlainString) - ErrorHelper.Warning (1101, bgen.Resources.BI1101); + ErrorHelper.Warning (1101); if (mai.ZeroCopyStringMarshal){ target_name = "(IntPtr)(&_s" + pi.Name + ")"; @@ -4024,7 +4023,7 @@ void GenerateTypeLowering (MethodInfo mi, bool null_allowed_override, EnumMode e disposes.AppendFormat ("nsa_{0}.Dispose ();\n", pi.Name); } } else if (etype == TypeManager.Selector) { - exceptions.Add (ErrorHelper.CreateError (1065, bgen.Resources.BI1065, mai.Type.FullName, string.IsNullOrEmpty (pi.Name) ? $"#{pi.Position}" : pi.Name, mi.DeclaringType.FullName, mi.Name)); + exceptions.Add (ErrorHelper.CreateError (1065, mai.Type.FullName, string.IsNullOrEmpty (pi.Name) ? $"#{pi.Position}" : pi.Name, mi.DeclaringType.FullName, mi.Name)); } else { if (null_allowed_override || AttributeManager.HasAttribute (pi)) { convs.AppendFormat ("var nsa_{0} = {1} == null ? null : NSArray.FromNSObjects ({1});\n", pi.Name, pi.Name.GetSafeParamName ()); @@ -4064,7 +4063,7 @@ void GenerateTypeLowering (MethodInfo mi, bool null_allowed_override, EnumMode e } else { if (mai.Type.IsClass && !mai.Type.IsByRef && (mai.Type != TypeManager.Selector && mai.Type != TypeManager.Class && mai.Type != TypeManager.System_String && !TypeManager.INativeObject.IsAssignableFrom (mai.Type))) - throw new BindingException (1020, true, bgen.Resources.BI1020, mai.Type, mi.DeclaringType, mi.Name, mai.Type.IsByRef); + throw new BindingException (1020, true, mai.Type, mi.DeclaringType, mi.Name, mai.Type.IsByRef); } // Handle ByRef @@ -4090,7 +4089,7 @@ void GenerateTypeLowering (MethodInfo mi, bool null_allowed_override, EnumMode e var isArrayOfSelector = isArray && elementType.GetElementType () == TypeManager.Selector; if (!isString && !isArrayOfNSObject && !isNSObject && !isArrayOfString && !isINativeObjectSubclass && !isArrayOfINativeObjectSubclass || isINativeObject || isArrayOfSelector || isArrayOfINativeObject) { - exceptions.Add (ErrorHelper.CreateError (1064, bgen.Resources.BI1064, elementType.FullName, string.IsNullOrEmpty (pi.Name) ? $"#{pi.Position}" : pi.Name, mi.DeclaringType.FullName, mi.Name)); + exceptions.Add (ErrorHelper.CreateError (1064, elementType.FullName, string.IsNullOrEmpty (pi.Name) ? $"#{pi.Position}" : pi.Name, mi.DeclaringType.FullName, mi.Name)); continue; } @@ -4160,7 +4159,7 @@ void GenerateArgumentChecks (MethodInfo mi, bool null_allowed_override, Property if (!BindThirdPartyLibrary) { if (!mi.IsSpecialName && IsModel (pi.ParameterType) && !Protocolize (pi)) - ErrorHelper.Warning (1106, bgen.Resources.BI1106, + ErrorHelper.Warning (1106, mi.DeclaringType, mi.Name, pi.Name, pi.ParameterType, pi.ParameterType.Namespace, pi.ParameterType.Name); } @@ -4209,7 +4208,7 @@ bool CheckNeedStret (MethodInfo mi) return Stret.NeedStret (mi.ReturnType, this); } catch (TypeLoadException ex) { - throw new BindingException (0001, true, bgen.Resources.BI0001, mi.ReturnType.Name, ex.Message); + throw new BindingException (0001, true, mi.ReturnType.Name, ex.Message); } } @@ -4237,7 +4236,7 @@ public void GenerateMethodBody (MemberInformation minfo, MethodInfo mi, string s var hasStaticAtt = AttributeManager.HasAttribute (mi); if (category_type != null && hasStaticAtt && !minfo.ignore_category_static_warnings) { var baseTypeAtt = AttributeManager.GetCustomAttribute (minfo.type); - ErrorHelper.Warning (1117, bgen.Resources.BI1117, mi.Name, type.FullName, baseTypeAtt?.BaseType.FullName); + ErrorHelper.Warning (1117, mi.Name, type.FullName, baseTypeAtt?.BaseType.FullName); } indent++; @@ -4271,7 +4270,7 @@ public void GenerateMethodBody (MemberInformation minfo, MethodInfo mi, string s sane &= by_ref_processing2 [0].ToString () == by_ref_processing2 [1].ToString (); sane &= by_ref_init2 [0].ToString () == by_ref_init2 [1].ToString (); if (!sane) - throw new BindingException (1028, bgen.Resources.BI1028); + throw new BindingException (1028); } var convs = convs2 [0]; @@ -4642,7 +4641,7 @@ void GenerateProperty (Type type, PropertyInfo pi, List instance_fields_ if (wrap == null && ((pi.CanRead && (GetGetterExportAttribute (pi).Selector != GetGetterExportAttribute (parentBaseType).Selector)) || pi.CanWrite && (GetSetterExportAttribute (pi).Selector != GetSetterExportAttribute (parentBaseType).Selector))) { - throw new BindingException (1035, true, bgen.Resources.BI1035, pi.Name, type, parentBaseType.DeclaringType); + throw new BindingException (1035, true, pi.Name, type, parentBaseType.DeclaringType); } // Then let's not write out our copy, since we'll reduce visibility return; @@ -4652,7 +4651,7 @@ void GenerateProperty (Type type, PropertyInfo pi, List instance_fields_ var elType = pi.PropertyType.IsArray ? pi.PropertyType.GetElementType () : pi.PropertyType; if (IsModel (elType) && !minfo.protocolize) { - ErrorHelper.Warning (1110, bgen.Resources.BI1110, pi.DeclaringType, pi.Name, pi.PropertyType, pi.PropertyType.Namespace, pi.PropertyType.Name); + ErrorHelper.Warning (1110, pi.DeclaringType, pi.Name, pi.PropertyType, pi.PropertyType.Namespace, pi.PropertyType.Name); } } @@ -4870,7 +4869,7 @@ void GenerateProperty (Type type, PropertyInfo pi, List instance_fields_ var ba = GetBindAttribute (setter); bool null_allowed = AttributeManager.HasAttribute (setter); if (null_allowed) - ErrorHelper.Show (new BindingException (1118, false, bgen.Resources.BI1118)); + ErrorHelper.Show (new BindingException (1118, false)); null_allowed |= AttributeManager.HasAttribute (pi); var not_implemented_attr = AttributeManager.GetCustomAttribute (setter); string sel; @@ -4945,7 +4944,7 @@ public AsyncMethodInfo (Generator generator, IMemberGatherer gather, Type type, var lastType = mi.GetParameters ().Last ().ParameterType; if (!lastType.IsSubclassOf (generator.TypeManager.System_Delegate)) - throw new BindingException (1036, true, bgen.Resources.BI1036, mi.DeclaringType.FullName, mi.Name, lastType.FullName); + throw new BindingException (1036, true, mi.DeclaringType.FullName, mi.Name, lastType.FullName); var cbParams = lastType.GetMethod ("Invoke").GetParameters (); async_completion_params = cbParams; @@ -5076,13 +5075,13 @@ void GenerateAsyncMethod (MemberInformation original_minfo, AsyncMethodKind asyn if (minfo.async_initial_params != null) { foreach (var param in minfo.async_initial_params) { if (param.ParameterType.IsByRef) { - throw new BindingException (1062, true, bgen.Resources.BI1062, original_minfo.type.Name, mi.Name); + throw new BindingException (1062, true, original_minfo.type.Name, mi.Name); } } } foreach (var param in minfo.async_completion_params) { if (param.ParameterType.IsByRef) { - throw new BindingException (1062, true, bgen.Resources.BI1062, original_minfo.type.Name, mi.Name); + throw new BindingException (1062, true, original_minfo.type.Name, mi.Name); } } @@ -5272,7 +5271,7 @@ void GenerateMethod (MemberInformation minfo) argCount++; } if (minfo.method.GetParameters ().Length != argCount) { - ErrorHelper.Warning (1105, bgen.Resources.BI1105, + ErrorHelper.Warning (1105, minfo.selector, argCount, minfo.method, minfo.method.GetParameters ().Length); } } @@ -5840,7 +5839,7 @@ void GenerateProtocolTypes (Type type, string class_visibility, string TypeName, foreach (var gr in duplicateMethodsGroupedBySelector) { var distinctMethodsBySignature = gr.GroupBy ((v) => v.Signature).Select ((v) => v.First ()).ToArray (); if (distinctMethodsBySignature.Length > 1) { - exceptions.Add (ErrorHelper.CreateError (1069, bgen.Resources.BI1069, type.FullName, gr.Key, distinctMethodsBySignature [0].Method.DeclaringType.FullName, distinctMethodsBySignature [1].Method.DeclaringType.FullName, + exceptions.Add (ErrorHelper.CreateError (1069, type.FullName, gr.Key, distinctMethodsBySignature [0].Method.DeclaringType.FullName, distinctMethodsBySignature [1].Method.DeclaringType.FullName, distinctMethodsBySignature [0].Method.ToString (), distinctMethodsBySignature [1].Method.ToString ())); continue; } @@ -5871,7 +5870,7 @@ void GenerateProtocolTypes (Type type, string class_visibility, string TypeName, // Check that all the duplicates use the same selector, and if not show a warning. exportAttributes [i] = GetExportAttribute (properties [i]); if (i > 0 && exportAttributes [i].Selector != exportAttributes [0].Selector) { - ErrorHelper.Warning (1068, bgen.Resources.BI1068, type.FullName, gr.Key, properties [0].DeclaringType.FullName, properties [i].DeclaringType.FullName, + ErrorHelper.Warning (1068, type.FullName, gr.Key, properties [0].DeclaringType.FullName, properties [i].DeclaringType.FullName, properties [0].DeclaringType.Name, properties [0].Name, exportAttributes [0].Selector, properties [i].DeclaringType.Name, properties [i].Name, exportAttributes [i].Selector); } if (properties [i].CanRead && properties [i].CanWrite) { @@ -5886,7 +5885,7 @@ void GenerateProtocolTypes (Type type, string class_visibility, string TypeName, // Check that all the duplicates have the same property type var propertyTypes = properties.GroupBy ((v) => v.PropertyType.FullName).Select ((v) => v.First ()).ToArray (); if (propertyTypes.Length > 1) { - exceptions.Add (ErrorHelper.CreateError (1070, bgen.Resources.BI1070, type.FullName, gr.Key, propertyTypes [0].DeclaringType.FullName, propertyTypes [1].DeclaringType.FullName, + exceptions.Add (ErrorHelper.CreateError (1070, type.FullName, gr.Key, propertyTypes [0].DeclaringType.FullName, propertyTypes [1].DeclaringType.FullName, propertyTypes [0], FormatType (type, propertyTypes [0].PropertyType), propertyTypes [1], FormatType (type, propertyTypes [0].PropertyType))); } @@ -5895,7 +5894,7 @@ void GenerateProtocolTypes (Type type, string class_visibility, string TypeName, if (readwrite != null) { bestMatch = readwrite; } else if (@readonly != null && writeonly != null) { - exceptions.Add (ErrorHelper.CreateError (1067, bgen.Resources.BI1067,type.FullName, gr.Key, @readonly.DeclaringType.FullName, writeonly.DeclaringType.FullName, + exceptions.Add (ErrorHelper.CreateError (1067, type.FullName, gr.Key, @readonly.DeclaringType.FullName, writeonly.DeclaringType.FullName, @readonly, writeonly)); continue; } else if (@readonly != null) { @@ -5964,7 +5963,7 @@ StreamWriter GetOutputStream (string @namespace, string name) StreamWriter GetOutputStreamForType (Type type) { if (type.Namespace == null) - ErrorHelper.Warning (1103, bgen.Resources.BI1103, type.FullName); + ErrorHelper.Warning (1103, type.FullName); var tn = GetGeneratedTypeName (type); if (type.IsGenericType) @@ -6106,7 +6105,7 @@ public void ComputeLibraryName (FieldAttribute fieldAttr, Type type, string prop } } else if (BindThirdPartyLibrary) { // User should provide a LibraryName - throw new BindingException (1042, true, bgen.Resources.BI1042); + throw new BindingException (1042, true); } else { library_name = type.Namespace; } @@ -6143,7 +6142,7 @@ string GetAssemblyName () public void Generate (Type type) { if (ZeroCopyStrings) { - ErrorHelper.Warning (1027, bgen.Resources.BI1027); + ErrorHelper.Warning (1027); ZeroCopyStrings = false; } @@ -6196,9 +6195,9 @@ public void Generate (Type type) if (is_protocol) { if (is_static_class) - throw new BindingException (1025, true, bgen.Resources.BI1025, type.FullName); + throw new BindingException (1025, true, type.FullName); if (is_model && base_type == TypeManager.System_Object) - ErrorHelper.Warning (1060, bgen.Resources.BI1060, type.FullName); + ErrorHelper.Warning (1060, type.FullName); GenerateProtocolTypes (type, class_visibility, TypeName, protocol.Name ?? objc_type_name, protocol); } @@ -6248,7 +6247,7 @@ public void Generate (Type type) if (is_model){ if (is_category_class) - ErrorHelper.Show (new BindingException (1022, true, bgen.Resources.BI1022)); + ErrorHelper.Show (new BindingException (1022, true)); print ("[Model]"); } @@ -6274,7 +6273,7 @@ public void Generate (Type type) string nonInterfaceName = protocolType.Name.Substring (1); if (protocolType.Name[0] == 'I' && types.Any (x => x.Name.Contains(nonInterfaceName))) if (protocolType.Name.Contains ("MKUserLocation")) // We can not fix MKUserLocation without breaking API, and we don't want warning forever in build until then... - ErrorHelper.Warning (1111, bgen.Resources.BI1111, protocolType, type, nonInterfaceName); + ErrorHelper.Warning (1111, protocolType, type, nonInterfaceName); continue; } @@ -6541,10 +6540,10 @@ public void Generate (Type type) var methodParams = mi.GetParameters (); foreach (var duplicateMethod in protocolsThatHaveThisMethod) { if (mi.ReturnType != duplicateMethod.ReturnType) - throw new BindingException (1038, true, bgen.Resources.BI1038, mi.Name, type.Name); + throw new BindingException (1038, true, mi.Name, type.Name); if (methodParams.Length != duplicateMethod.GetParameters().Length) - throw new BindingException (1039, true, bgen.Resources.BI1039, minfo.selector, type.Name, mi.GetParameters ().Length, duplicateMethod.GetParameters ().Length); + throw new BindingException (1039, true, minfo.selector, type.Name, mi.GetParameters ().Length, duplicateMethod.GetParameters ().Length); } int i = 0; @@ -6552,9 +6551,9 @@ public void Generate (Type type) foreach (var duplicateMethod in protocolsThatHaveThisMethod) { var duplicateParam = duplicateMethod.GetParameters ()[i]; if (param.IsOut != duplicateParam.IsOut) - throw new BindingException (1040, true, bgen.Resources.BI1040, minfo.selector, type.Name, i); + throw new BindingException (1040, true, minfo.selector, type.Name, i); if (param.ParameterType != duplicateParam.ParameterType) - throw new BindingException (1041, true, bgen.Resources.BI1041, minfo.selector, type.Name, i, param.ParameterType, duplicateParam.ParameterType); + throw new BindingException (1041, true, minfo.selector, type.Name, i, param.ParameterType, duplicateParam.ParameterType); } i++; } @@ -6611,7 +6610,7 @@ public void Generate (Type type) // Verify all of the versions have the same get/set abilities since there is no universal get/set version // And just generate the first one (us) if (!protocolsThatHaveThisProp.All (x => x.CanRead == pi.CanRead && x.CanWrite == pi.CanWrite)) - throw new BindingException (1037, true, bgen.Resources.BI1037, pi.Name, type.Name); + throw new BindingException (1037, true, pi.Name, type.Name); } } } @@ -6735,9 +6734,9 @@ public void Generate (Type type) } } else { if (field_pi.PropertyType == TypeManager.System_String) - throw new BindingException (1013, true, bgen.Resources.BI1013); + throw new BindingException (1013, true); else - throw new BindingException (1014, true, bgen.Resources.BI1014, fieldTypeName, field_pi); + throw new BindingException (1014, true, fieldTypeName, field_pi); } indent--; @@ -6786,7 +6785,7 @@ public void Generate (Type type) else if (btype == TypeManager.System_nuint || (BindThirdPartyLibrary && btype == TypeManager.System_UInt64)) print ($"Dlfcn.SetNUInt (Libraries.{library_name}.Handle, \"{fieldAttr.SymbolName}\", (nuint) (ulong) value);"); else - throw new BindingException (1021, true, bgen.Resources.BI1021, fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); + throw new BindingException (1021, true, fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); } else { if (btype == TypeManager.System_Int32) print ($"Dlfcn.SetInt32 (Libraries.{library_name}.Handle, \"{fieldAttr.SymbolName}\", (int) value);"); @@ -6797,10 +6796,10 @@ public void Generate (Type type) else if (btype == TypeManager.System_UInt64) print ($"Dlfcn.SetUInt64 (Libraries.{library_name}.Handle, \"{fieldAttr.SymbolName}\", (ulong) value);"); else - throw new BindingException (1021, true, bgen.Resources.BI1021, fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); + throw new BindingException (1021, true, fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); } } else - throw new BindingException (1021, true, bgen.Resources.BI1021, fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); + throw new BindingException (1021, true, fieldTypeName, field_pi.DeclaringType.FullName, field_pi.Name); indent--; print ("}"); } @@ -6813,14 +6812,14 @@ public void Generate (Type type) if (bta != null && bta.Events != null){ if (bta.Delegates == null) - throw new BindingException (1015, true, bgen.Resources.BI1015, type.FullName); + throw new BindingException (1015, true, type.FullName); print ("//"); print ("// Events and properties from the delegate"); print ("//\n"); if (bta.Events.Length != bta.Delegates.Length) - throw new BindingException (1023, true, bgen.Resources.BI1023, type.FullName); + throw new BindingException (1023, true, type.FullName); int delidx = 0; foreach (var dtype in bta.Events) { @@ -6953,7 +6952,7 @@ public void Generate (Type type) noDefaultValue.Add (mi); if (pars.Length < minPars) - throw new BindingException (1003, true, bgen.Resources.BI1003, dtype.FullName, mi.Name); + throw new BindingException (1003, true, dtype.FullName, mi.Name); var sender = pars.Length == 0 ? "this" : pars [0].Name; @@ -7439,16 +7438,14 @@ bool CoreIsProtocolizedEventBacked (string propertyName, Type type, bool shouldT } if (props.Count () == 1) throw new BindingException (1112, true, - bgen.Resources.BI1112, props[0], false); + props[0], false); else if (props.Count () > 1) throw new BindingException (1112, true, - bgen.Resources.BI1112, String.Join (", ", props.ToArray ()), false); else - throw new BindingException (1113, true, - bgen.Resources.BI1113, false); + throw new BindingException (1113, true, false); } else - throw new BindingException (1114, bgen.Resources.BI1114, propertyName, type, false); + throw new BindingException (1114, propertyName, type, false); } else return false; } @@ -7662,7 +7659,7 @@ string GetDelegateApiName (MethodInfo mi) var a = AttributeManager.GetCustomAttribute (mi); if (repeatedDelegateApiNames.Contains (mi.Name) && a == null) - throw new BindingException (1043, true, bgen.Resources.BI1043, mi.Name); + throw new BindingException (1043, true, mi.Name); if (a == null) { repeatedDelegateApiNames.Add (mi.Name); return mi.Name; @@ -7670,7 +7667,7 @@ string GetDelegateApiName (MethodInfo mi) var apiName = (DelegateApiNameAttribute) a; if (repeatedDelegateApiNames.Contains (apiName.Name)) - throw new BindingException (1044, true, bgen.Resources.BI1044, apiName.Name); + throw new BindingException (1044, true, apiName.Name); return apiName.Name; } @@ -7682,11 +7679,11 @@ string GetEventArgName (MethodInfo mi) var a = AttributeManager.GetCustomAttribute (mi); if (a == null) - throw new BindingException (1004, true, bgen.Resources.BI1004, mi.DeclaringType.FullName, mi.Name, mi.GetParameters ().Length); + throw new BindingException (1004, true, mi.DeclaringType.FullName, mi.Name, mi.GetParameters ().Length); var ea = (EventArgsAttribute) a; if (ea.ArgName.EndsWith ("EventArgs", StringComparison.Ordinal)) - throw new BindingException (1005, true, bgen.Resources.BI1005, mi.DeclaringType.FullName, mi.Name); + throw new BindingException (1005, true, mi.DeclaringType.FullName, mi.Name); if (ea.SkipGeneration){ skipGeneration [ea.FullName ? ea.ArgName : ea.ArgName + "EventArgs"] = true; @@ -7706,9 +7703,9 @@ string GetDelegateName (MethodInfo mi) a = AttributeManager.GetCustomAttribute (mi); if (a == null) - throw new BindingException (1006, true, bgen.Resources.BI1006, mi.DeclaringType.FullName, mi.Name); + throw new BindingException (1006, true, mi.DeclaringType.FullName, mi.Name); - ErrorHelper.Warning (1102, bgen.Resources.BI1102, mi.DeclaringType.FullName, mi.Name); + ErrorHelper.Warning (1102, mi.DeclaringType.FullName, mi.Name); return ((EventArgsAttribute) a).ArgName; } @@ -7722,7 +7719,7 @@ object GetDefaultValue (MethodInfo mi) return fvfa.Argument; } - throw new BindingException (1016, true, bgen.Resources.BI1016, mi.DeclaringType.FullName, mi.Name); + throw new BindingException (1016, true, mi.DeclaringType.FullName, mi.Name); } var def = ((DefaultValueAttribute) a).Default; if (def == null) diff --git a/src/xlf/Resources.cs.xlf b/src/xlf/Resources.cs.xlf index 808e5a297f15..50c1e7ef6c90 100644 --- a/src/xlf/Resources.cs.xlf +++ b/src/xlf/Resources.cs.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.de.xlf b/src/xlf/Resources.de.xlf index 989f954ae522..97892cddb99c 100644 --- a/src/xlf/Resources.de.xlf +++ b/src/xlf/Resources.de.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.es.xlf b/src/xlf/Resources.es.xlf index 5775a294859e..45d33f5b9cdf 100644 --- a/src/xlf/Resources.es.xlf +++ b/src/xlf/Resources.es.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.fr.xlf b/src/xlf/Resources.fr.xlf index a1a4bc0d6a6c..cee55d31d894 100644 --- a/src/xlf/Resources.fr.xlf +++ b/src/xlf/Resources.fr.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.it.xlf b/src/xlf/Resources.it.xlf index a9d2712a9fba..4995c443b232 100644 --- a/src/xlf/Resources.it.xlf +++ b/src/xlf/Resources.it.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.ja.xlf b/src/xlf/Resources.ja.xlf index 4a77d0ee518c..f5ca0136d804 100644 --- a/src/xlf/Resources.ja.xlf +++ b/src/xlf/Resources.ja.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.ko.xlf b/src/xlf/Resources.ko.xlf index c9017a6d412e..d1eef910b500 100644 --- a/src/xlf/Resources.ko.xlf +++ b/src/xlf/Resources.ko.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.pl.xlf b/src/xlf/Resources.pl.xlf index d2786cce8617..6f2d36642e2d 100644 --- a/src/xlf/Resources.pl.xlf +++ b/src/xlf/Resources.pl.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.pt-BR.xlf b/src/xlf/Resources.pt-BR.xlf index 68444618c3de..ea8f97c72cbf 100644 --- a/src/xlf/Resources.pt-BR.xlf +++ b/src/xlf/Resources.pt-BR.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.ru.xlf b/src/xlf/Resources.ru.xlf index 58bf3ae18a8a..71b0824dbe21 100644 --- a/src/xlf/Resources.ru.xlf +++ b/src/xlf/Resources.ru.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.tr.xlf b/src/xlf/Resources.tr.xlf index 790e6a9659cc..0886d37272c7 100644 --- a/src/xlf/Resources.tr.xlf +++ b/src/xlf/Resources.tr.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.zh-Hans.xlf b/src/xlf/Resources.zh-Hans.xlf index ebd7102a7d18..30089113e8c2 100644 --- a/src/xlf/Resources.zh-Hans.xlf +++ b/src/xlf/Resources.zh-Hans.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. diff --git a/src/xlf/Resources.zh-Hant.xlf b/src/xlf/Resources.zh-Hant.xlf index 41ea3f164c76..cdfe4ec9b571 100644 --- a/src/xlf/Resources.zh-Hant.xlf +++ b/src/xlf/Resources.zh-Hant.xlf @@ -3,8 +3,8 @@ - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new - BI0000: Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new @@ -15,14 +15,18 @@ - Could not compile the API bindings. - Could not compile the API bindings. + Could not compile the API bindings. + {0} + + Could not compile the API bindings. + {0} + - Could not parse the command line argument '{0}': {1} - Could not parse the command line argument '{0}': {1} + Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} @@ -44,10 +48,10 @@ - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. - A target framework (--target-framework) must be specified when building for {0}. + A target framework (--target-framework) must be specified. @@ -73,11 +77,11 @@ - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} - - BI1000: Could not compile the generated API bindings. + Could not compile the generated API bindings. + {0} @@ -214,10 +218,10 @@ - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. @@ -811,10 +815,10 @@ - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - BI1104: Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. From 3f4d577aa297ed349785561e60343f4925a821eb Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Wed, 4 Dec 2019 16:43:04 -0500 Subject: [PATCH 04/17] Update and fix remaining errors --- src/Resources.Designer.cs | 54 +++++++++++++++ src/Resources.resx | 86 +++++++++++++++++++++-- src/btouch.cs | 6 +- src/generator-attribute-manager.cs | 24 +++---- src/generator-enums.cs | 4 +- src/generator-filters.cs | 8 +-- src/generator-typemanager.cs | 2 +- src/generator.cs | 55 +++++++-------- src/xlf/Resources.cs.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.de.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.es.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.fr.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.it.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.ja.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.ko.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.pl.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.pt-BR.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.ru.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.tr.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.zh-Hans.xlf | 106 ++++++++++++++++++++++++++--- src/xlf/Resources.zh-Hant.xlf | 106 ++++++++++++++++++++++++++--- 21 files changed, 1455 insertions(+), 162 deletions(-) diff --git a/src/Resources.Designer.cs b/src/Resources.Designer.cs index e2df37969470..f7a3ccf0a901 100644 --- a/src/Resources.Designer.cs +++ b/src/Resources.Designer.cs @@ -95,6 +95,18 @@ internal static string BI0087 { } } + internal static string BI0088 { + get { + return ResourceManager.GetString("BI0088", resourceCulture); + } + } + + internal static string BI0089 { + get { + return ResourceManager.GetString("BI0089", resourceCulture); + } + } + internal static string BI0099 { get { return ResourceManager.GetString("BI0099", resourceCulture); @@ -293,6 +305,18 @@ internal static string BI1031 { } } + internal static string BI1032 { + get { + return ResourceManager.GetString("BI1032", resourceCulture); + } + } + + internal static string BI1033 { + get { + return ResourceManager.GetString("BI1033", resourceCulture); + } + } + internal static string BI1034 { get { return ResourceManager.GetString("BI1034", resourceCulture); @@ -527,6 +551,36 @@ internal static string BI1072 { } } + internal static string BI1073 { + get { + return ResourceManager.GetString("BI1073", resourceCulture); + } + } + + internal static string BI1074 { + get { + return ResourceManager.GetString("BI1074", resourceCulture); + } + } + + internal static string BI1075 { + get { + return ResourceManager.GetString("BI1075", resourceCulture); + } + } + + internal static string BI1076 { + get { + return ResourceManager.GetString("BI1076", resourceCulture); + } + } + + internal static string BI1077 { + get { + return ResourceManager.GetString("BI1077", resourceCulture); + } + } + internal static string BI1101 { get { return ResourceManager.GetString("BI1101", resourceCulture); diff --git a/src/Resources.resx b/src/Resources.resx index fd1e9ea9fc96..ae667275786e 100644 --- a/src/Resources.resx +++ b/src/Resources.resx @@ -171,7 +171,23 @@ - + + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -435,7 +451,23 @@ - + + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -613,7 +645,7 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -621,7 +653,7 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -651,7 +683,7 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -744,7 +776,47 @@ - + + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + + Unimplemented CoreImage property type {0} + + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + + Trying to use a string as a [Target] @@ -884,7 +956,7 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/btouch.cs b/src/btouch.cs index d9d79ea95b3d..58c65c24d6c1 100644 --- a/src/btouch.cs +++ b/src/btouch.cs @@ -106,7 +106,7 @@ string GetAttributeLibraryPath () throw ErrorHelper.CreateError (1053, target_framework); } default: - throw new BindingException (1047, "Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", CurrentPlatform); + throw new BindingException (1047, CurrentPlatform); } } @@ -136,7 +136,7 @@ IEnumerable GetLibraryDirectories () } break; default: - throw new BindingException (1047, "Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", CurrentPlatform); + throw new BindingException (1047, CurrentPlatform); } foreach (var lib in libs) yield return lib; @@ -177,7 +177,7 @@ string GetSDKRoot () macSdkRoot = "/Library/Frameworks/Xamarin.Mac.framework/Versions/Current"; return macSdkRoot; default: - throw new BindingException (1047, "Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", CurrentPlatform); + throw new BindingException (1047, CurrentPlatform); } } diff --git a/src/generator-attribute-manager.cs b/src/generator-attribute-manager.cs index 9befb7bae045..1fcf23f68c22 100644 --- a/src/generator-attribute-manager.cs +++ b/src/generator-attribute-manager.cs @@ -38,15 +38,15 @@ System.Type ConvertType (Type type, ICustomAttributeProvider provider) case "ObjCRuntime.SinceAttribute": case "ObjCRuntime.MountainLionAttribute": case "ObjCRuntime.MavericksAttribute": - throw ErrorHelper.CreateError (1061, $"The attribute '{type.FullName}' found on '{Generator.FormatProvider (provider)}' is not a valid binding attribute. Please remove this attribute."); + throw ErrorHelper.CreateError (1061,type.FullName, Generator.FormatProvider (provider)); } rv = typeof (TypeManager).Assembly.GetType (type.FullName); } else { - throw ErrorHelper.CreateError (1054, "Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", type.AssemblyQualifiedName); + throw ErrorHelper.CreateError (1054, type.AssemblyQualifiedName); } if (rv == null) - throw ErrorHelper.CreateError (1055, "Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", type.AssemblyQualifiedName); + throw ErrorHelper.CreateError (1055, type.AssemblyQualifiedName); return rv; } @@ -74,10 +74,10 @@ Type ConvertType (System.Type type, ICustomAttributeProvider provider) rv = TypeManager.PlatformAssembly.GetType (fullname); } } else { - throw ErrorHelper.CreateError (1054, "Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", type.AssemblyQualifiedName); + throw ErrorHelper.CreateError (1054, type.AssemblyQualifiedName); } if (rv == null) - throw ErrorHelper.CreateError (1055, "Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", type.AssemblyQualifiedName); + throw ErrorHelper.CreateError (1055, type.AssemblyQualifiedName); return rv; } @@ -149,7 +149,7 @@ Type ConvertType (System.Type type, ICustomAttributeProvider provider) constructorArguments [i] = System.Type.GetType (((Type) value).FullName); } if (constructorArguments [i] == null) - throw ErrorHelper.CreateError (1056, "Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", attribType.FullName, i + 1); + throw ErrorHelper.CreateError (1056, attribType.FullName, i + 1); } break; default: @@ -175,11 +175,11 @@ Type ConvertType (System.Type type, ICustomAttributeProvider provider) break; } if (ctorTypes [i] == null) - throw ErrorHelper.CreateError (1057, "Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", attribType.FullName, i, paramType.FullName); + throw ErrorHelper.CreateError (1057, attribType.FullName, i, paramType.FullName); } var ctor = attribType.GetConstructor (ctorTypes); if (ctor == null) - throw ErrorHelper.CreateError (1058, "Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", attribType.FullName); + throw ErrorHelper.CreateError (1058, attribType.FullName); var instance = ctor.Invoke (constructorArguments); for (int i = 0; i < attribute.NamedArguments.Count; i++) { @@ -198,7 +198,7 @@ Type ConvertType (System.Type type, ICustomAttributeProvider provider) arr [a] = (Type) typed_values [a].Value; value = arr; } else if (arg.TypedValue.ArgumentType.IsArray) { - throw ErrorHelper.CreateError (1059, "Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", attribType.FullName, i + 1, arg.MemberName); + throw ErrorHelper.CreateError (1073, attribType.FullName, i + 1, arg.MemberName); } if (arg.IsField) { attribType.GetField (arg.MemberName).SetValue (instance, value); @@ -249,7 +249,7 @@ static IList GetIKVMAttributes (ICustomAttributeProvider pr var module = provider as Module; if (module != null) return CustomAttributeData.GetCustomAttributes (module); - throw new BindingException (1051, true, "Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", provider.GetType ().FullName); + throw new BindingException (1051, true, provider.GetType ().FullName); } public static bool HasAttribute (ICustomAttributeProvider provider, string type_name) @@ -304,7 +304,7 @@ public T GetCustomAttribute (ICustomAttributeProvider provider) where T : Sys } else { name = $"the member {provider.ToString ()}"; } - throw ErrorHelper.CreateError (1059, "Found {0} {1} attributes on {1}. At most one was expected.", rv.Length, typeof (T).FullName, name); + throw ErrorHelper.CreateError (1059, rv.Length, typeof (T).FullName, name); } public static ICustomAttributeProvider GetReturnTypeCustomAttributes (MethodInfo method) @@ -518,7 +518,7 @@ public static System.Attribute CreateNewAttribute (System.Type attribType, Syste { var ctor = attribType.GetConstructor (ctorTypes); if (ctor == null) - throw ErrorHelper.CreateError (1058, "Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", attribType.FullName); + throw ErrorHelper.CreateError (1058, attribType.FullName); return (System.Attribute) ctor.Invoke (ctorValues); } diff --git a/src/generator-enums.cs b/src/generator-enums.cs index af877df155de..2b9ba4e34f3d 100644 --- a/src/generator-enums.cs +++ b/src/generator-enums.cs @@ -80,14 +80,14 @@ void GenerateEnum (Type type) if (fa.SymbolName == null) null_field = new Tuple (f, fa); else if (unique_constants.Contains (fa.SymbolName)) - throw new BindingException (1046, true, $"The [Field] constant {fa.SymbolName} cannot only be used once inside enum {type.Name}."); + throw new BindingException (1046, true, fa.SymbolName, type.Name); else { fields.Add (f, fa); unique_constants.Add (fa.SymbolName); } if (AttributeManager.GetCustomAttribute (f) != null) { if (default_symbol != null) - throw new BindingException (1045, true, $"Only a single [DefaultEnumValue] attribute can be used inside enum {type.Name}."); + throw new BindingException (1045, true, type.Name); default_symbol = new Tuple (f, fa); } } diff --git a/src/generator-filters.cs b/src/generator-filters.cs index bf9898e1228e..c8159a45ee29 100644 --- a/src/generator-filters.cs +++ b/src/generator-filters.cs @@ -17,7 +17,7 @@ string GetVisibility (MethodAttributes attributes) if ((attributes & MethodAttributes.FamORAssem) == MethodAttributes.FamORAssem) return "protected internal "; if ((attributes & MethodAttributes.Public) == MethodAttributes.Public) - return "public "; + return "pubblic "; if ((attributes & MethodAttributes.Family) == MethodAttributes.Family) return "protected "; return String.Empty; @@ -191,7 +191,7 @@ void GenerateProperties (Type type) // we can skip the name when it's identical to a protocol selector if (name == null) { if (export == null) - throw new BindingException (1072, true, $"Missing [CoreImageFilterProperty] attribute on {0} property {1}", type.Name, p.Name); + throw new BindingException (1074, true, type.Name, p.Name); var sel = export.Selector; if (sel.StartsWith ("input", StringComparison.Ordinal)) @@ -288,7 +288,7 @@ void GenerateFilterGetter (string propertyType, string propertyName) print ("return NSArray.ArrayFromHandle (handle);"); break; default: - throw new BindingException (1018, true, "Unimplemented CoreImage property type {0}", propertyType); + throw new BindingException (1075, true, propertyType); } indent--; print ("}"); @@ -357,7 +357,7 @@ void GenerateFilterSetter (string propertyType, string propertyName) print ("}"); break; default: - throw new BindingException (1018, true, "Unimplemented CoreImage property type {0}", propertyType); + throw new BindingException (1075, true, propertyType); } indent--; print ("}"); diff --git a/src/generator-typemanager.cs b/src/generator-typemanager.cs index f98cdd245ccc..f979b2c0ddb1 100644 --- a/src/generator-typemanager.cs +++ b/src/generator-typemanager.cs @@ -147,7 +147,7 @@ Type Lookup (Assembly assembly, string @namespace, string @typename, bool inexis var rv = assembly.GetType (fullname); if (rv == null && !inexistentOK) - throw new BindingException (1052, true, "Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", fullname, assembly); + throw new BindingException (1052, true, fullname, assembly); return rv; } diff --git a/src/generator.cs b/src/generator.cs index 0af7042773ef..2000de16e364 100644 --- a/src/generator.cs +++ b/src/generator.cs @@ -890,7 +890,7 @@ public string ApplicationClassName { case PlatformName.MacOSX: return "NSApplication"; default: - throw new BindingException (1047, "Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", CurrentPlatform); + throw new BindingException (1047, CurrentPlatform); } } } @@ -991,7 +991,7 @@ string CoreImageMap { case PlatformName.MacOSX: return "Quartz"; default: - throw new BindingException (1047, "Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", CurrentPlatform); + throw new BindingException (1047, CurrentPlatform); } } } @@ -1006,7 +1006,7 @@ string CoreServicesMap { case PlatformName.MacOSX: return "CoreServices"; default: - throw new BindingException (1047, "Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", CurrentPlatform); + throw new BindingException (1047, CurrentPlatform); } } } @@ -1019,7 +1019,7 @@ string PDFKitMap { case PlatformName.MacOSX: return "Quartz"; default: - throw new BindingException (1047, "Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", CurrentPlatform); + throw new BindingException (1047, CurrentPlatform); } } } @@ -1412,10 +1412,10 @@ string GetToBindAsWrapper (MethodInfo mi, MemberInformation minfo = null, Parame } valueConverter = $"NSValue.From{typeStr} (o{denullify}), {parameterName});"; } else - throw new BindingException (1048, true, "Unsupported type {0} decorated with [BindAs]", isNullable ? arrRetType.Name + "?[]" : retType.Name); + throw new BindingException (1048, true, isNullable ? arrRetType.Name + "?[]" : retType.Name); temp = $"NSArray.FromNSObjects (o => {valueConverter}"; } else - throw new BindingException (1048, true, "Unsupported type {0} decorated with [BindAs]", retType.Name); + throw new BindingException (1048, true, retType.Name); return temp; } @@ -1551,9 +1551,9 @@ string GetFromBindAsWrapper (MemberInformation minfo, out string suffix) append = string.Format ("ptr => {{\n\tusing (var val = Runtime.GetNSObject (ptr)) {{\n\t\treturn val{0};\n\t}}\n}}", valueFetcher); } else - throw new BindingException (1048, true, "Unsupported type {0} decorated with [BindAs]", arrIsNullable ? arrRetType.Name + "?[]" : retType.Name); + throw new BindingException (1048, true, arrIsNullable ? arrRetType.Name + "?[]" : retType.Name); } else - throw new BindingException (1048, true, "Unsupported type {0} decorated with [BindAs]", retType.Name); + throw new BindingException (1048, true, retType.Name); return append; } @@ -1975,6 +1975,7 @@ string MakeSig (string send, bool stret, MethodInfo mi, bool aligned, EnumMode e try { sb.Append (ParameterGetMarshalType (new MarshalInfo (this, mi) { IsAligned = aligned, EnumMode = enum_mode } )); } catch (BindingException ex) { + //TODO: fix this throw new BindingException (ex.Code, ex.Error, ex, "{0} in method `{1}'", ex.Message, mi.Name); } @@ -1990,6 +1991,7 @@ string MakeSig (string send, bool stret, MethodInfo mi, bool aligned, EnumMode e try { sb.Append (ParameterGetMarshalType (new MarshalInfo (this, mi, pi) { EnumMode = enum_mode }).Replace (' ', '_')); } catch (BindingException ex) { + //TODO: fix this throw new BindingException (ex.Code, ex.Error, ex, "{0} in parameter `{1}' from {2}.{3}", ex.Message, pi.Name.GetSafeParamName (), mi.DeclaringType, mi.Name); } } @@ -2023,6 +2025,7 @@ void RegisterMethod (bool need_stret, MethodInfo mi, string method_name, bool al try { b.Append (ParameterGetMarshalType (new MarshalInfo (this, mi, pi) { EnumMode = enum_mode }, true)); } catch (BindingException ex) { + //TODO: fix this throw new BindingException (ex.Code, ex.Error, ex, "{0} in parameter {1} of {2}.{3}", ex.Message, pi.Name.GetSafeParamName (), mi.DeclaringType, mi.Name); } b.Append (" "); @@ -2063,7 +2066,7 @@ string GetNativeEnumType (Type type) } else if (TypeManager.System_UInt64 == underlyingEnumType) { return "nuint"; } else { - throw new BindingException (1029, "Internal error: invalid enum type '{0}'", type); + throw new BindingException (1029, type); } } @@ -2826,9 +2829,7 @@ void GenerateStrongDictionaryTypes () getter = "{1} (ulong?) GetNUIntValue ({0})"; setter = "SetNumberValue ({0}, {1}value)"; } else { - throw new BindingException (1031, true, - "Limitation: can not automatically create strongly typed dictionary for " + - "({0}) the value type of the {1}.{2} property", pi.PropertyType, dictType, pi.Name); + throw new BindingException (1033, true, pi.PropertyType, dictType, pi.Name); } } else { if (pi.PropertyType.IsArray){ @@ -2847,9 +2848,7 @@ void GenerateStrongDictionaryTypes () getter = "GetArray ({0}, (ptr)=>NSString.FromHandle (ptr))"; setter = "SetArrayValue ({0}, value)"; } else { - throw new BindingException (1033, true, - "Limitation: can not automatically create strongly typed dictionary for arrays of " + - "({0}) the type of the {1}.{2} property", pi.PropertyType, dictType, pi.Name); + throw new BindingException (1033, true, pi.PropertyType, dictType, pi.Name); } } else if (pi.PropertyType == TypeManager.NSString){ getter = "GetNSStringValue ({0})"; @@ -2880,9 +2879,7 @@ void GenerateStrongDictionaryTypes () getter = "GetNativeValue<" + pi.PropertyType +"> ({0})"; setter = "SetNativeValue ({0}, value)"; } else { - throw new BindingException (1031, true, - "Limitation: can not automatically create strongly typed dictionary for " + - "({0}) the type of the {1}.{2} property", pi.PropertyType, dictType, pi.Name); + throw new BindingException (1033, true, pi.PropertyType, dictType, pi.Name); } } @@ -2903,7 +2900,7 @@ void GenerateStrongDictionaryTypes () } if (pi.CanWrite){ if (setter == null) - throw new BindingException (1032, true, "No support for setters in StrongDictionary classes for type {0} in {1}.{2}", pi.PropertyType, dictType, pi.Name); + throw new BindingException (1032, true, pi.PropertyType, dictType, pi.Name); indent++; print ("set {"); indent++; print ("{0};", setter); @@ -4109,7 +4106,7 @@ void GenerateTypeLowering (MethodInfo mi, bool null_allowed_override, EnumMode e } else if (isNSObject || isINativeObjectSubclass) { by_ref_init.AppendFormat ("{0} == null ? IntPtr.Zero : {0}.Handle;\n", pi.Name.GetSafeParamName ()); } else { - throw ErrorHelper.CreateError (99, $"Internal error: don't know how to create ref/out (input) code for {mai.Type} in {mi}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new)."); + throw ErrorHelper.CreateError (88, mai.Type, mi); } } @@ -4126,7 +4123,7 @@ void GenerateTypeLowering (MethodInfo mi, bool null_allowed_override, EnumMode e } else if (isArrayOfString) { by_ref_processing.AppendFormat ("{0} = NSArray.StringArrayFromHandle ({0}Value);\n", pi.Name.GetSafeParamName ()); } else { - throw ErrorHelper.CreateError (99, $"Internal error: don't know how to create ref/out code for array {mai.Type} in {mi}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new)."); + throw ErrorHelper.CreateError (88, mai.Type, mi); } if (!pi.IsOut) @@ -4138,7 +4135,7 @@ void GenerateTypeLowering (MethodInfo mi, bool null_allowed_override, EnumMode e by_ref_processing.AppendFormat ("if ({0}Value != ({0} == null ? IntPtr.Zero : {0}.Handle))\n\t", pi.Name.GetSafeParamName ()); by_ref_processing.AppendFormat ("{0} = Runtime.GetINativeObject<{1}> ({0}Value, {2}, {3});\n", pi.Name.GetSafeParamName (), RenderType (elementType), isForcedType ? "true" : "false", isForcedType ? isForcedOwns : "false"); } else { - throw ErrorHelper.CreateError (99, $"Internal error: don't know how to create ref/out (output) code for {mai.Type} in {mi}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new)."); + throw ErrorHelper.CreateError (88, mai.Type, mi); } } } @@ -4150,7 +4147,7 @@ void GenerateArgumentChecks (MethodInfo mi, bool null_allowed_override, Property return; if (AttributeManager.HasAttribute (mi)) - ErrorHelper.Show (new BindingException (1118, false, $"[NullAllowed] should not be used on methods, like '{mi}', but only on properties, parameters and return values.")); + ErrorHelper.Show (new BindingException (1118, false, mi)); foreach (var pi in mi.GetParameters ()) { var needs_null_check = ParameterNeedsNullCheck (pi, mi, propInfo); @@ -4196,7 +4193,7 @@ void GenerateThreadCheck () print ("global::{0}.NSApplication.EnsureUIThread ();", ns.Get ("AppKit")); break; default: - throw new BindingException (1047, "Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case.", CurrentPlatform); + throw new BindingException (1047, CurrentPlatform); } } @@ -5009,7 +5006,7 @@ string GetAsyncTaskType (AsyncMethodInfo minfo) return FormatType (minfo.type, attr.ResultType); Console.WriteLine ("{0}", minfo.MethodInfo.GetParameters ().Last ().ParameterType); - throw new BindingException (1023, true, "Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType", minfo.mi); + throw new BindingException (1077, true, minfo.mi); } string GetInvokeParamList (ParameterInfo [] parameters, bool suffix = true) @@ -5902,7 +5899,7 @@ void GenerateProtocolTypes (Type type, string class_visibility, string TypeName, } else if (writeonly != null) { bestMatch = writeonly; } else { - exceptions.Add (ErrorHelper.CreateError (99, $"Internal error: property {properties [0]} doesn't have neither a getter nor a setter.")); + exceptions.Add (ErrorHelper.CreateError (89, properties [0])); continue; } // Finally remove the properties we don't want to generate. @@ -6719,7 +6716,7 @@ public void Generate (Type type) else if (btype == TypeManager.System_nuint || btype == TypeManager.System_UInt64) print ($"return ({fieldTypeName}) (ulong) Dlfcn.GetNUInt (Libraries.{library_name}.Handle, \"{fieldAttr.SymbolName}\");"); else - throw new BindingException (1014, true, $"Unsupported type for Fields: {fieldTypeName} for '{field_pi}'."); + throw new BindingException (1014, true, fieldTypeName, field_pi); } else { if (btype == TypeManager.System_Int32) print ($"return ({fieldTypeName}) Dlfcn.GetInt32 (Libraries.{library_name}.Handle, \"{fieldAttr.SymbolName}\");"); @@ -6730,7 +6727,7 @@ public void Generate (Type type) else if (btype == TypeManager.System_UInt64) print ($"return ({fieldTypeName}) Dlfcn.GetUInt64 (Libraries.{library_name}.Handle, \"{fieldAttr.SymbolName}\");"); else - throw new BindingException (1014, true, $"Unsupported type for Fields: {fieldTypeName} for '{field_pi}'."); + throw new BindingException (1014, true, fieldTypeName, field_pi); } } else { if (field_pi.PropertyType == TypeManager.System_String) @@ -7474,7 +7471,7 @@ string FindSelector (Type type, MethodInfo mi) currentType = bta.BaseType; } while (currentType != null); - throw new BindingException (1035, true, "Unable to find selector for {0} on {1} on self or base class", mi, type); + throw new BindingException (1076, true, mi, type); } string GenerateInterfaceTypeName (BaseTypeAttribute bta, string delName, string currentTypeName) diff --git a/src/xlf/Resources.cs.xlf b/src/xlf/Resources.cs.xlf index 50c1e7ef6c90..1919385744df 100644 --- a/src/xlf/Resources.cs.xlf +++ b/src/xlf/Resources.cs.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.de.xlf b/src/xlf/Resources.de.xlf index 97892cddb99c..1ec565a56633 100644 --- a/src/xlf/Resources.de.xlf +++ b/src/xlf/Resources.de.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.es.xlf b/src/xlf/Resources.es.xlf index 45d33f5b9cdf..ca1d94c83da7 100644 --- a/src/xlf/Resources.es.xlf +++ b/src/xlf/Resources.es.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.fr.xlf b/src/xlf/Resources.fr.xlf index cee55d31d894..f999e92627e4 100644 --- a/src/xlf/Resources.fr.xlf +++ b/src/xlf/Resources.fr.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.it.xlf b/src/xlf/Resources.it.xlf index 4995c443b232..010973c00da0 100644 --- a/src/xlf/Resources.it.xlf +++ b/src/xlf/Resources.it.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.ja.xlf b/src/xlf/Resources.ja.xlf index f5ca0136d804..8798526b5d69 100644 --- a/src/xlf/Resources.ja.xlf +++ b/src/xlf/Resources.ja.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.ko.xlf b/src/xlf/Resources.ko.xlf index d1eef910b500..b0f5f729ce52 100644 --- a/src/xlf/Resources.ko.xlf +++ b/src/xlf/Resources.ko.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.pl.xlf b/src/xlf/Resources.pl.xlf index 6f2d36642e2d..c8d1282f02a9 100644 --- a/src/xlf/Resources.pl.xlf +++ b/src/xlf/Resources.pl.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.pt-BR.xlf b/src/xlf/Resources.pt-BR.xlf index ea8f97c72cbf..af858edb6ed0 100644 --- a/src/xlf/Resources.pt-BR.xlf +++ b/src/xlf/Resources.pt-BR.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.ru.xlf b/src/xlf/Resources.ru.xlf index 71b0824dbe21..9d9350a49a18 100644 --- a/src/xlf/Resources.ru.xlf +++ b/src/xlf/Resources.ru.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.tr.xlf b/src/xlf/Resources.tr.xlf index 0886d37272c7..3d39867775bf 100644 --- a/src/xlf/Resources.tr.xlf +++ b/src/xlf/Resources.tr.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.zh-Hans.xlf b/src/xlf/Resources.zh-Hans.xlf index 30089113e8c2..19e64ce05261 100644 --- a/src/xlf/Resources.zh-Hans.xlf +++ b/src/xlf/Resources.zh-Hans.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.zh-Hant.xlf b/src/xlf/Resources.zh-Hant.xlf index cdfe4ec9b571..f3e722a106b3 100644 --- a/src/xlf/Resources.zh-Hant.xlf +++ b/src/xlf/Resources.zh-Hant.xlf @@ -66,6 +66,26 @@ + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + + + + + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + Internal error: property {0} doesn't have neither a getter nor a setter.. + + + + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -396,6 +416,26 @@ + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + No support for setters in StrongDictionary classes for type {0} in {1}.{2} + + + + + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + + + + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. @@ -616,20 +656,20 @@ - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #*). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #* (*)). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. @@ -665,10 +705,10 @@ - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - The attribute '{attribute}' found on '{member}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. @@ -783,6 +823,56 @@ + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + + + + + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + Missing [CoreImageFilterProperty] attribute on {0} property {1} + + + + + + + Unimplemented CoreImage property type {0} + + + Unimplemented CoreImage property type {0} + + + + + + + Unable to find selector for {0} on {1} on self or base class + + + Unable to find selector for {0} on {1} on self or base class + + + + + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + + + + Trying to use a string as a [Target] @@ -955,10 +1045,10 @@ - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - [NullAllowed] should not be used on methods, like '{setter}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. From 4117cbd6cb6e5bdda9e7672d7ad0cfe4b9d06097 Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Wed, 4 Dec 2019 16:46:42 -0500 Subject: [PATCH 05/17] Undo visibility mistake --- src/generator-filters.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator-filters.cs b/src/generator-filters.cs index c8159a45ee29..1c306d40b861 100644 --- a/src/generator-filters.cs +++ b/src/generator-filters.cs @@ -17,7 +17,7 @@ string GetVisibility (MethodAttributes attributes) if ((attributes & MethodAttributes.FamORAssem) == MethodAttributes.FamORAssem) return "protected internal "; if ((attributes & MethodAttributes.Public) == MethodAttributes.Public) - return "pubblic "; + return "public "; if ((attributes & MethodAttributes.Family) == MethodAttributes.Family) return "protected "; return String.Empty; From a26a681770562555acd1405b05e02c8d123cbadf Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Wed, 4 Dec 2019 17:17:37 -0500 Subject: [PATCH 06/17] Update more errors --- src/Resources.Designer.cs | 12 ++++++++++++ src/Resources.resx | 16 ++++++++++++++++ src/generator.cs | 9 +++------ src/xlf/Resources.cs.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.de.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.es.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.fr.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.it.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.ja.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.ko.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.pl.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.pt-BR.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.ru.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.tr.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.zh-Hans.xlf | 20 ++++++++++++++++++++ src/xlf/Resources.zh-Hant.xlf | 20 ++++++++++++++++++++ 16 files changed, 291 insertions(+), 6 deletions(-) diff --git a/src/Resources.Designer.cs b/src/Resources.Designer.cs index f7a3ccf0a901..66ed574f39f7 100644 --- a/src/Resources.Designer.cs +++ b/src/Resources.Designer.cs @@ -581,6 +581,18 @@ internal static string BI1077 { } } + internal static string BI1078 { + get { + return ResourceManager.GetString("BI1078", resourceCulture); + } + } + + internal static string BI1079 { + get { + return ResourceManager.GetString("BI1079", resourceCulture); + } + } + internal static string BI1101 { get { return ResourceManager.GetString("BI1101", resourceCulture); diff --git a/src/Resources.resx b/src/Resources.resx index ae667275786e..97fe2a916ad0 100644 --- a/src/Resources.resx +++ b/src/Resources.resx @@ -817,6 +817,22 @@ + + + {0} in method `{1}' + + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + + + Trying to use a string as a [Target] diff --git a/src/generator.cs b/src/generator.cs index 2000de16e364..50b494ec9da1 100644 --- a/src/generator.cs +++ b/src/generator.cs @@ -1975,8 +1975,7 @@ string MakeSig (string send, bool stret, MethodInfo mi, bool aligned, EnumMode e try { sb.Append (ParameterGetMarshalType (new MarshalInfo (this, mi) { IsAligned = aligned, EnumMode = enum_mode } )); } catch (BindingException ex) { - //TODO: fix this - throw new BindingException (ex.Code, ex.Error, ex, "{0} in method `{1}'", ex.Message, mi.Name); + throw new BindingException (1078, ex.Error, ex, ex.Message, mi.Name); } sb.Append ("_"); @@ -1991,8 +1990,7 @@ string MakeSig (string send, bool stret, MethodInfo mi, bool aligned, EnumMode e try { sb.Append (ParameterGetMarshalType (new MarshalInfo (this, mi, pi) { EnumMode = enum_mode }).Replace (' ', '_')); } catch (BindingException ex) { - //TODO: fix this - throw new BindingException (ex.Code, ex.Error, ex, "{0} in parameter `{1}' from {2}.{3}", ex.Message, pi.Name.GetSafeParamName (), mi.DeclaringType, mi.Name); + throw new BindingException (1079, ex.Error, ex, ex.Message, pi.Name.GetSafeParamName (), mi.DeclaringType, mi.Name); } } @@ -2025,8 +2023,7 @@ void RegisterMethod (bool need_stret, MethodInfo mi, string method_name, bool al try { b.Append (ParameterGetMarshalType (new MarshalInfo (this, mi, pi) { EnumMode = enum_mode }, true)); } catch (BindingException ex) { - //TODO: fix this - throw new BindingException (ex.Code, ex.Error, ex, "{0} in parameter {1} of {2}.{3}", ex.Message, pi.Name.GetSafeParamName (), mi.DeclaringType, mi.Name); + throw new BindingException (1079, ex.Error, ex, ex.Message, pi.Name.GetSafeParamName (), mi.DeclaringType, mi.Name); } b.Append (" "); b.Append ("arg" + (++n)); diff --git a/src/xlf/Resources.cs.xlf b/src/xlf/Resources.cs.xlf index 1919385744df..d03b46367f32 100644 --- a/src/xlf/Resources.cs.xlf +++ b/src/xlf/Resources.cs.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.de.xlf b/src/xlf/Resources.de.xlf index 1ec565a56633..459f1aa4d30d 100644 --- a/src/xlf/Resources.de.xlf +++ b/src/xlf/Resources.de.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.es.xlf b/src/xlf/Resources.es.xlf index ca1d94c83da7..96cd0e8e15dd 100644 --- a/src/xlf/Resources.es.xlf +++ b/src/xlf/Resources.es.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.fr.xlf b/src/xlf/Resources.fr.xlf index f999e92627e4..46bd4102ebb8 100644 --- a/src/xlf/Resources.fr.xlf +++ b/src/xlf/Resources.fr.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.it.xlf b/src/xlf/Resources.it.xlf index 010973c00da0..af6a8869c206 100644 --- a/src/xlf/Resources.it.xlf +++ b/src/xlf/Resources.it.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.ja.xlf b/src/xlf/Resources.ja.xlf index 8798526b5d69..0d53585bcf2d 100644 --- a/src/xlf/Resources.ja.xlf +++ b/src/xlf/Resources.ja.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.ko.xlf b/src/xlf/Resources.ko.xlf index b0f5f729ce52..2e894702e66c 100644 --- a/src/xlf/Resources.ko.xlf +++ b/src/xlf/Resources.ko.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.pl.xlf b/src/xlf/Resources.pl.xlf index c8d1282f02a9..140537c74053 100644 --- a/src/xlf/Resources.pl.xlf +++ b/src/xlf/Resources.pl.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.pt-BR.xlf b/src/xlf/Resources.pt-BR.xlf index af858edb6ed0..aab25137ac7e 100644 --- a/src/xlf/Resources.pt-BR.xlf +++ b/src/xlf/Resources.pt-BR.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.ru.xlf b/src/xlf/Resources.ru.xlf index 9d9350a49a18..bf263bf77a7d 100644 --- a/src/xlf/Resources.ru.xlf +++ b/src/xlf/Resources.ru.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.tr.xlf b/src/xlf/Resources.tr.xlf index 3d39867775bf..ef5371d2bd75 100644 --- a/src/xlf/Resources.tr.xlf +++ b/src/xlf/Resources.tr.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.zh-Hans.xlf b/src/xlf/Resources.zh-Hans.xlf index 19e64ce05261..a7da47d0380c 100644 --- a/src/xlf/Resources.zh-Hans.xlf +++ b/src/xlf/Resources.zh-Hans.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.zh-Hant.xlf b/src/xlf/Resources.zh-Hant.xlf index f3e722a106b3..8440fdae3641 100644 --- a/src/xlf/Resources.zh-Hant.xlf +++ b/src/xlf/Resources.zh-Hant.xlf @@ -873,6 +873,26 @@ + + + {0} in method `{1}' + + + {0} in method `{1}' + + + + + + + {0} in parameter `{1}' from {2}.{3} + + + {0} in parameter `{1}' from {2}.{3} + + + + Trying to use a string as a [Target] From 638a42086c52f27d642433b57456120e60b691c6 Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Thu, 5 Dec 2019 16:27:19 -0500 Subject: [PATCH 07/17] Fix unit tests and add nuget source --- NuGet.config | 1 + src/Resources.Designer.cs | 6 + src/Resources.resx | 325 ++++++----------- src/generator.cs | 19 +- src/xlf/Resources.cs.xlf | 643 ++++++++++++--------------------- src/xlf/Resources.de.xlf | 643 ++++++++++++--------------------- src/xlf/Resources.es.xlf | 643 ++++++++++++--------------------- src/xlf/Resources.fr.xlf | 645 ++++++++++++---------------------- src/xlf/Resources.it.xlf | 643 ++++++++++++--------------------- src/xlf/Resources.ja.xlf | 643 ++++++++++++--------------------- src/xlf/Resources.ko.xlf | 643 ++++++++++++--------------------- src/xlf/Resources.pl.xlf | 643 ++++++++++++--------------------- src/xlf/Resources.pt-BR.xlf | 643 ++++++++++++--------------------- src/xlf/Resources.ru.xlf | 643 ++++++++++++--------------------- src/xlf/Resources.tr.xlf | 643 ++++++++++++--------------------- src/xlf/Resources.zh-Hans.xlf | 643 ++++++++++++--------------------- src/xlf/Resources.zh-Hant.xlf | 643 ++++++++++++--------------------- 17 files changed, 3059 insertions(+), 5653 deletions(-) diff --git a/NuGet.config b/NuGet.config index 2ca3e3111ba4..aa239d6eb39e 100644 --- a/NuGet.config +++ b/NuGet.config @@ -5,6 +5,7 @@ + diff --git a/src/Resources.Designer.cs b/src/Resources.Designer.cs index 66ed574f39f7..dd8e579f09c5 100644 --- a/src/Resources.Designer.cs +++ b/src/Resources.Designer.cs @@ -593,6 +593,12 @@ internal static string BI1079 { } } + internal static string BI1080 { + get { + return ResourceManager.GetString("BI1080", resourceCulture); + } + } + internal static string BI1101 { get { return ResourceManager.GetString("BI1101", resourceCulture); diff --git a/src/Resources.resx b/src/Resources.resx index 97fe2a916ad0..6dfcc7c66405 100644 --- a/src/Resources.resx +++ b/src/Resources.resx @@ -129,7 +129,7 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} @@ -137,60 +137,56 @@ - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -205,725 +201,642 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + + + + + + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. @@ -931,48 +844,42 @@ - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/generator.cs b/src/generator.cs index 50b494ec9da1..6ec798121e7e 100644 --- a/src/generator.cs +++ b/src/generator.cs @@ -53,6 +53,7 @@ using ObjCRuntime; using Foundation; using Xamarin.Utils; +using System.Globalization; public static class GeneratorExtensions { @@ -1264,7 +1265,7 @@ public bool HasBindAsAttribute (ICustomAttributeProvider cu) } static bool IsSetter (MethodInfo mi) => mi.IsSpecialName && mi.Name.StartsWith ("set_", StringComparison.Ordinal); - static string GetBindAsExceptionString (string box, string retType, string containerType, string container, params ICustomAttributeProvider [] providers) + static BindingException GetBindAsException (string box, string retType, string containerType, string container, params ICustomAttributeProvider [] providers) { Type declaringType = null; string memberName = null; @@ -1282,7 +1283,7 @@ static string GetBindAsExceptionString (string box, string retType, string conta if (declaringType != null && memberName != null) memberName = declaringType.FullName + "." + memberName; - return string.Format (bgen.Resources.BI1049, box, retType, containerType, container, memberName); + return new BindingException (1049, true, box, retType, containerType, container, memberName); } bool IsMemberInsideProtocol (Type type) => IsProtocol (type) || IsModel (type); @@ -1381,7 +1382,7 @@ string GetToBindAsWrapper (MethodInfo mi, MemberInformation minfo = null, Parame if (retType.Name == "RectangleF" || retType.Name == "SizeF" || retType.Name == "PointF") typeStr = retType.Name; else - throw new BindingException (1049, true, GetBindAsExceptionString ("box", retType.Name, originalType.Name, "container", minfo?.mi, pi)); + throw GetBindAsException ("box", retType.Name, originalType.Name, "container", minfo?.mi, pi); } temp = string.Format ("{3}NSValue.From{0} ({2}{1});", typeStr, denullify, parameterName, nullCheck); } else if (originalType == TypeManager.NSString && IsSmartEnum (retType)) { @@ -1408,7 +1409,7 @@ string GetToBindAsWrapper (MethodInfo mi, MemberInformation minfo = null, Parame if (arrRetType.Name == "RectangleF" || arrRetType.Name == "SizeF" || arrRetType.Name == "PointF") typeStr = retType.Name; else - throw new BindingException (1049, true, GetBindAsExceptionString ("box", arrRetType.Name, originalType.Name, "array", minfo?.mi, pi)); + throw GetBindAsException ("box", arrRetType.Name, originalType.Name, "array", minfo?.mi, pi); } valueConverter = $"NSValue.From{typeStr} (o{denullify}), {parameterName});"; } else @@ -1508,10 +1509,10 @@ string GetFromBindAsWrapper (MemberInformation minfo, out string suffix) if (retType.IsEnum) { var enumType = TypeManager.GetUnderlyingEnumType (retType); if (!NSNumberReturnMap.TryGetValue (enumType, out append)) - throw new BindingException (1049, true, GetBindAsExceptionString ("unbox", retType.Name, originalReturnType.Name, "container", minfo.mi)); + throw GetBindAsException ("unbox", retType.Name, originalReturnType.Name, "container", minfo.mi); } else - throw new BindingException (1049, true, GetBindAsExceptionString ("unbox", retType.Name, originalReturnType.Name, "container", minfo.mi)); + throw GetBindAsException ("unbox", retType.Name, originalReturnType.Name, "container", minfo.mi); } if (isNullable) append = $"?{append}"; @@ -1521,7 +1522,7 @@ string GetFromBindAsWrapper (MemberInformation minfo, out string suffix) if (retType.Name == "RectangleF" || retType.Name == "SizeF" || retType.Name == "PointF") append = $".{retType.Name}Value"; else - throw new BindingException (1049, true, GetBindAsExceptionString ("unbox", retType.Name, originalReturnType.Name, "container", minfo.mi)); + throw GetBindAsException ("unbox", retType.Name, originalReturnType.Name, "container", minfo.mi); } if (isNullable) append = $"?{append}"; @@ -1542,12 +1543,12 @@ string GetFromBindAsWrapper (MemberInformation minfo, out string suffix) append = string.Format ("ptr => {{\n\tusing (var num = Runtime.GetNSObject (ptr)) {{\n\t\treturn ({1}) num{0};\n\t}}\n}}", getterStr, FormatType (arrRetType.DeclaringType, arrRetType)); } else - throw new BindingException (1049, true, GetBindAsExceptionString ("unbox", retType.Name, arrType.Name, "array", minfo.mi)); + throw GetBindAsException ("unbox", retType.Name, arrType.Name, "array", minfo.mi); } else if (arrType == TypeManager.NSValue && !arrIsNullable) { if (arrRetType.Name == "RectangleF" || arrRetType.Name == "SizeF" || arrRetType.Name == "PointF") valueFetcher = $"{(arrIsNullable ? "?" : string.Empty)}.{arrRetType.Name}Value"; else if (!NSValueReturnMap.TryGetValue (arrRetType, out valueFetcher)) - throw new BindingException (1049, true, GetBindAsExceptionString ("unbox", retType.Name, arrType.Name, "array", minfo.mi)); + throw GetBindAsException ("unbox", retType.Name, arrType.Name, "array", minfo.mi); append = string.Format ("ptr => {{\n\tusing (var val = Runtime.GetNSObject (ptr)) {{\n\t\treturn val{0};\n\t}}\n}}", valueFetcher); } else diff --git a/src/xlf/Resources.cs.xlf b/src/xlf/Resources.cs.xlf index d03b46367f32..f0b92e761da7 100644 --- a/src/xlf/Resources.cs.xlf +++ b/src/xlf/Resources.cs.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.de.xlf b/src/xlf/Resources.de.xlf index 459f1aa4d30d..f3061e47c3e9 100644 --- a/src/xlf/Resources.de.xlf +++ b/src/xlf/Resources.de.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.es.xlf b/src/xlf/Resources.es.xlf index 96cd0e8e15dd..d6b7b0b4c313 100644 --- a/src/xlf/Resources.es.xlf +++ b/src/xlf/Resources.es.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.fr.xlf b/src/xlf/Resources.fr.xlf index 46bd4102ebb8..bd7c922b82bf 100644 --- a/src/xlf/Resources.fr.xlf +++ b/src/xlf/Resources.fr.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,972 +99,787 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - \ No newline at end of file + diff --git a/src/xlf/Resources.it.xlf b/src/xlf/Resources.it.xlf index af6a8869c206..6d7a06c097b1 100644 --- a/src/xlf/Resources.it.xlf +++ b/src/xlf/Resources.it.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.ja.xlf b/src/xlf/Resources.ja.xlf index 0d53585bcf2d..cca6f1bbf2da 100644 --- a/src/xlf/Resources.ja.xlf +++ b/src/xlf/Resources.ja.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.ko.xlf b/src/xlf/Resources.ko.xlf index 2e894702e66c..a3d1961a4bcd 100644 --- a/src/xlf/Resources.ko.xlf +++ b/src/xlf/Resources.ko.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.pl.xlf b/src/xlf/Resources.pl.xlf index 140537c74053..7c7c49529235 100644 --- a/src/xlf/Resources.pl.xlf +++ b/src/xlf/Resources.pl.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.pt-BR.xlf b/src/xlf/Resources.pt-BR.xlf index aab25137ac7e..2b477cde991b 100644 --- a/src/xlf/Resources.pt-BR.xlf +++ b/src/xlf/Resources.pt-BR.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.ru.xlf b/src/xlf/Resources.ru.xlf index bf263bf77a7d..0d51f40aa0fc 100644 --- a/src/xlf/Resources.ru.xlf +++ b/src/xlf/Resources.ru.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.tr.xlf b/src/xlf/Resources.tr.xlf index ef5371d2bd75..051ee37adedf 100644 --- a/src/xlf/Resources.tr.xlf +++ b/src/xlf/Resources.tr.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.zh-Hans.xlf b/src/xlf/Resources.zh-Hans.xlf index a7da47d0380c..999e6734d532 100644 --- a/src/xlf/Resources.zh-Hans.xlf +++ b/src/xlf/Resources.zh-Hans.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. diff --git a/src/xlf/Resources.zh-Hant.xlf b/src/xlf/Resources.zh-Hant.xlf index 8440fdae3641..42f5081cf1cb 100644 --- a/src/xlf/Resources.zh-Hant.xlf +++ b/src/xlf/Resources.zh-Hant.xlf @@ -15,83 +15,75 @@ - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not compile the API bindings. + Could not compile the API bindings. {0} - Could not parse the command line argument '--warnaserror': {0} - Could not parse the command line argument '--warnaserror': {0} + Could not parse the command line argument '--warnaserror': {0} + + Could not parse the command line argument '--warnaserror': {0} + - Invalid value for target framework: {0}. - Invalid value for target framework: {0}. + Invalid value for target framework: {0}. + + Invalid value for target framework: {0}. + - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - Invalid target framework: {0}. Valid target frameworks are: {1}. + Invalid target framework: {0}. Valid target frameworks are: {1}. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - A target framework (--target-framework) must be specified. + A target framework (--target-framework) must be specified. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. + Xamarin.Mac Classic binding projects are not supported anymore. Please upgrade the binding project to a Xamarin.Mac Unified binding project. - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error: don't know how to create ref/out (input) code for {0} in {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error: property {0} doesn't have neither a getter nor a setter.. + Internal error: property {0} doesn't have neither a getter nor a setter. - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). - - Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). + Internal error {0}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new). @@ -107,968 +99,783 @@ - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Do not know how to make a trampoline for {0} + Do not know how to make a trampoline for {0} - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - Unknown kind {0} in method '{1}.{2}' + Unknown kind {0} in method '{1}.{2}' - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} needs to take at least one parameter + The delegate method {0}.{1} needs to take at least one parameter - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) + The delegate method {0}.{1} is missing the [EventArgs] attribute (has {2} parameters) - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end + EventArgs in {0}.{1} attribute should not include the text `EventArgs' at the end - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) + The delegate method {0}.{1} is missing the [DelegateName] attribute (or EventArgs) - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - Unknown attribute {0} on {1}.{2} + Unknown attribute {0} on {1}.{2} - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - [IsThreadStatic] is only valid on properties that are also [Static] + [IsThreadStatic] is only valid on properties that are also [Static] - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - No selector specified for method `{0}.{1}' + =No selector specified for method `{0}.{1}' - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - BI1010: No Export attribute on {0}.{1} property + BI1010: No Export attribute on {0}.{1} property - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - Do not know how to extract type {0}/{1} from an NSDictionary + Do not know how to extract type {0}/{1} from an NSDictionary - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - No Export or Bind attribute defined on {0}.{1} + No Export or Bind attribute defined on {0}.{1} - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields (string), you probably meant NSString + Unsupported type for Fields (string), you probably meant NSString - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - Unsupported type for Fields: {0} for '{1}'. + Unsupported type for Fields: {0} for '{1}'. - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - In class {0} You specified the Events property, but did not bind those to names with Delegates + In class {0} You specified the Events property, but did not bind those to names with Delegates - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - The delegate method {0}.{1} is missing the [DefaultValue] attribute + The delegate method {0}.{1} is missing the [DefaultValue] attribute - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - Do not know how to make a signature for {0} + Do not know how to make a signature for {0} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - No [Export] attribute on property {0}.{1} + No [Export] attribute on property {0}.{1} - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Invalid [NoDefaultValue] attribute on method '{0}.{1}' + Invalid [NoDefaultValue] attribute on method '{0}.{1}' - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type {0} used on exported method {1}.{2} -> {3} + Unsupported type {0} used on exported method {1}.{2} -> {3} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Unsupported type for read/write Fields: {0} for {1}.{2} + Unsupported type for read/write Fields: {0} for {1}.{2} - - Model classes can not be categories + Model classes can not be categories - - Model classes can not be categories + Model classes can not be categories - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - The number of Events (Type) and Delegates (string) must match for `{0}` + The number of Events (Type) and Delegates (string) must match for `{0}` - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - No selector specified for property '{0}.{1}' + No selector specified for property '{0}.{1}' - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - [Static] and [Protocol] are mutually exclusive ({0}) + [Static] and [Protocol] are mutually exclusive ({0}) - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` + `{0}`: Enums attributed with [{1}] must have an underlying type of `long` or `ulong` - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. + Support for ZeroCopy strings is not implemented. Strings will be marshalled as NSStrings. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal sanity check failed, please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - Internal error: invalid enum mode for type '{0}' + Internal error: invalid enum mode for type '{0}' - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency + {0} cannot have [BaseType(typeof({1}))] as it creates a circular dependency - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. + The [Target] attribute is not supported for the Unified API (found on the member '{0}.{1}'). For Objective-C categories, create an api definition interface with the [Category] attribute instead. - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - No support for setters in StrongDictionary classes for type {0} in {1}.{2} + No support for setters in StrongDictionary classes for type {0} in {1}.{2} - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property + Limitation: can not automatically create strongly typed dictionary for ({0}) the value type of the {1}.{2} property - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. + The [Protocolize] attribute is set on the member {0}.{1}, but the member's type ({2}) is not a protocol. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. + The property {0} on class {1} is hiding a property from a parent class {2} but the selectors do not match. - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). + The last parameter in the method '{0}.{1}' must be a delegate (it's '{2}'). - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. + The selector {0} on type {1} is found multiple times with both read only and write only versions, with no read/write version. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different return types. + The selector {0} on type {1} is found multiple times with different return types. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. + The selector {0} on type {1} is found multiple times with different argument length {2} : {3}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. + The selector {0} on type {1} is found multiple times with different argument out states on argument {2}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. + The selector {0} on type {1} is found multiple times with different argument types on argument {2} - {3} : {4}. - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") + Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. + Repeated overload {0} and no [DelegateApiNameAttribute] provided to generate property name on host class. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Repeated name '{0}' provided in [DelegateApiNameAttribute]. + Repeated name '{0}' provided in [DelegateApiNameAttribute]. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - Only a single [DefaultEnumValue] attribute can be used inside enum {0}. + Only a single [DefaultEnumValue] attribute can be used inside enum {0}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - The [Field] constant {0} cannot only be used once inside enum {1}. + The [Field] constant {0} cannot only be used once inside enum {1}. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Unsupported platform: {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Unsupported type 'ref/out {0} decorated with [BindAs]. + Unsupported type {0} decorated with [BindAs] - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. + Could not {0} type {1} from {2} {3} used on member {4} decorated with [BindAs]. - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - [BindAs] cannot be used inside Protocol or Model types. Type: {0} + [BindAs] cannot be used inside Protocol or Model types. Type: {0} - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Don't know how to get attributes for {0}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: Could not find the type {0} in the assembly {1}. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: unknown target framework '{0}'. + Internal error: unknown target framework '{0}'. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: can't convert type '{0}' (unknown assembly). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to convert type '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert type constructor argument #{1}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (could not convert constructor type #{1} ({2})). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: could not find a constructor for the mock attribute '{0}'. Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - Found {0} {1} attributes on the member {2}. At most one was expected. + Found {0} {1} attributes on the member {2}. At most one was expected. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. + The {0} protocol is decorated with [Model], but not [BaseType]. Please verify that [Model] is relevant for this protocol; if so, add [BaseType] as well, otherwise remove [Model]. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. + The attribute '{0}' found on '{1}' is not a valid binding attribute. Please remove this attribute. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. + The member '{0}.{1}' contains ref/out parameters and must not be decorated with [Async]. - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}'. + The 'WrapAttribute' can only be used at the property or at getter/setter level at a given time. Property: '{0}.{1}' - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported ref/out parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. + Unsupported parameter type '{0}' for the parameter '{1}' in {2}.{3}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - Unsupported return type '{0}' in {1}.{2}. + Unsupported return type '{0}' in {1}.{2}. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties don't share the same accessors ('{4}' is read-only, while '${5}' is write-only). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). + The type '{0}' is trying to inline the methods binding the selector '{1}' from the protocols '{2}' and '{3}', using methods with different signatures ('{4}' vs '{5}'). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', but the inlined properties are of different types ('{4}' is {5}, while '{6}' is {7}). - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. See example binding below. + The BindAs type for the member "{0}.{1}" must be an array when the member's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - The BindAs type for the parameter \"{0}\" in the method \"{1}.{2}\" must be an array when the parameter's type is an array. + The BindAs type for the parameter "{0}" in the method "{1}.{2}" must be an array when the parameter's type is an array. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. + Internal error: failed to instantiate mock attribute '{0}' (unknown type for the named argument #{1} ({2}). Please file a bug report (https://github.com/xamarin/xamarin-macios/issues/new) with a test case. - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Missing [CoreImageFilterProperty] attribute on {0} property {1} + Missing [CoreImageFilterProperty] attribute on {0} property {1} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unimplemented CoreImage property type {0} + Unimplemented CoreImage property type {0} - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Unable to find selector for {0} on {1} on self or base class + Unable to find selector for {0} on {1} on self or base class - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType + Async method {0} with more than one result parameter in the callback by neither ResultTypeName or ResultType - - {0} in method `{1}' + {0} in method `{1}' - - {0} in method `{1}' + {0} in method `{1}' - - {0} in parameter `{1}' from {2}.{3} + {0} in parameter `{1}' from {2}.{3} + + {0} in parameter `{1}' from {2}.{3} + + + + + + {0} - - {0} in parameter `{1}' from {2}.{3} + {0} + Used for dynamically generated strings. - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Trying to use a string as a [Target] + Trying to use a string as a [Target] - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. + Using the deprecated 'EventArgs' for a delegate signature in {0}.{1}, please use 'DelegateName' instead. - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice + '{0}' does not live under a namespace; namespaces are a highly recommended .NET best practice - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Could not load the referenced library '{0}': {1}. + Could not load the referenced library '{0}': {1}. - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments + Potential selector/argument mismatch [Export ("{0}")] has {1} arguments and {2} has {3} arguments - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). + The parameter {2} in the method {0}.{1} exposes a model ({3}). Please expose the corresponding protocol type instead ({4}.I{5}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. + The [Protocolize] attribute is applied to the return type of the method {0}.{1}, but the return type ({2}) isn't a model and can thus not be protocolized. Please remove the [Protocolize] attribute. - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The return type of the method {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). + The property {0}.{1} exposes a model ({2}). Please expose the corresponding protocol type instead ({3}.I{4}). - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? + Interface '{0}' on '{1}' is being ignored as it is not a protocol. Did you mean '{2}' instead? - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. + Property {0} should be renamed to 'Delegate' for BaseType.Events and BaseType.Delegates to work. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. + BaseType.Delegates were set but no properties could be found. Do ensure that the WrapAttribute is used on the right properties. - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - Binding error: test unable to find property: {0} on {1} + Binding error: test unable to find property: {0} on {1} - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. + The parameter '{0}' in the delegate '{1}' does not have a [CCallback] or [BlockCallback] attribute. Defaulting to [CCallback]. Declare a custom delegate instead of using System.Action / System.Func and add the attribute on the corresponding parameter. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. + The member '{0}' is decorated with [Static] and its container class {1} is decorated with [Category] this leads to hard to use code. Please inline {0} into {2} class. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. - - [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. + [NullAllowed] should not be used on methods, like '{0}', but only on properties, parameters and return values. From 113c4d014edbcb6f4fe02808309811c9f4d01317 Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Thu, 5 Dec 2019 17:16:42 -0500 Subject: [PATCH 08/17] And null check for reflection --- src/Resources.Designer.cs | 12 ++++++------ src/Resources.resx | 17 +++++++++-------- src/error.cs | 8 +++++--- src/xlf/Resources.cs.xlf | 16 +++++++--------- src/xlf/Resources.de.xlf | 16 +++++++--------- src/xlf/Resources.es.xlf | 16 +++++++--------- src/xlf/Resources.fr.xlf | 18 ++++++++---------- src/xlf/Resources.it.xlf | 16 +++++++--------- src/xlf/Resources.ja.xlf | 16 +++++++--------- src/xlf/Resources.ko.xlf | 16 +++++++--------- src/xlf/Resources.pl.xlf | 16 +++++++--------- src/xlf/Resources.pt-BR.xlf | 16 +++++++--------- src/xlf/Resources.ru.xlf | 16 +++++++--------- src/xlf/Resources.tr.xlf | 16 +++++++--------- src/xlf/Resources.zh-Hans.xlf | 16 +++++++--------- src/xlf/Resources.zh-Hant.xlf | 16 +++++++--------- 16 files changed, 112 insertions(+), 135 deletions(-) diff --git a/src/Resources.Designer.cs b/src/Resources.Designer.cs index dd8e579f09c5..309d311fb08a 100644 --- a/src/Resources.Designer.cs +++ b/src/Resources.Designer.cs @@ -47,6 +47,12 @@ internal static System.Globalization.CultureInfo Culture { } } + internal static string _default { + get { + return ResourceManager.GetString("default", resourceCulture); + } + } + internal static string BI0000 { get { return ResourceManager.GetString("BI0000", resourceCulture); @@ -593,12 +599,6 @@ internal static string BI1079 { } } - internal static string BI1080 { - get { - return ResourceManager.GetString("BI1080", resourceCulture); - } - } - internal static string BI1101 { get { return ResourceManager.GetString("BI1101", resourceCulture); diff --git a/src/Resources.resx b/src/Resources.resx index 6dfcc7c66405..1b5c1f76bdb0 100644 --- a/src/Resources.resx +++ b/src/Resources.resx @@ -116,11 +116,20 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + + Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new + The .NET runtime could not load the {0} type. Message: {1} @@ -750,14 +759,6 @@ - - {0} - - - Used for dynamically generated strings. - - - Trying to use a string as a [Target] diff --git a/src/error.cs b/src/error.cs index df853e47bcb1..7f43e3157e46 100644 --- a/src/error.cs +++ b/src/error.cs @@ -48,9 +48,11 @@ static string GetMessage (int code) Type resourceType = Type.GetType ("bgen.Resources"); string errorCode = string.Format ("BI{0:0000}", code); PropertyInfo prop = resourceType.GetProperty (errorCode, BindingFlags.NonPublic | - BindingFlags.Static | - BindingFlags.GetProperty); - var errorMessage = (String) prop.GetValue (null); + BindingFlags.Static | + BindingFlags.GetProperty); + + var errorMessage = prop == null ? String.Format (bgen.Resources._default, errorCode) : + (String) prop.GetValue (null); return errorMessage; } diff --git a/src/xlf/Resources.cs.xlf b/src/xlf/Resources.cs.xlf index f0b92e761da7..bb575ec59339 100644 --- a/src/xlf/Resources.cs.xlf +++ b/src/xlf/Resources.cs.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file diff --git a/src/xlf/Resources.de.xlf b/src/xlf/Resources.de.xlf index f3061e47c3e9..4ff1900594d2 100644 --- a/src/xlf/Resources.de.xlf +++ b/src/xlf/Resources.de.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file diff --git a/src/xlf/Resources.es.xlf b/src/xlf/Resources.es.xlf index d6b7b0b4c313..3c5d369f8e61 100644 --- a/src/xlf/Resources.es.xlf +++ b/src/xlf/Resources.es.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file diff --git a/src/xlf/Resources.fr.xlf b/src/xlf/Resources.fr.xlf index bd7c922b82bf..02f676fe6808 100644 --- a/src/xlf/Resources.fr.xlf +++ b/src/xlf/Resources.fr.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + - + \ No newline at end of file diff --git a/src/xlf/Resources.it.xlf b/src/xlf/Resources.it.xlf index 6d7a06c097b1..a05e1deddeac 100644 --- a/src/xlf/Resources.it.xlf +++ b/src/xlf/Resources.it.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file diff --git a/src/xlf/Resources.ja.xlf b/src/xlf/Resources.ja.xlf index cca6f1bbf2da..8714278e98bd 100644 --- a/src/xlf/Resources.ja.xlf +++ b/src/xlf/Resources.ja.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file diff --git a/src/xlf/Resources.ko.xlf b/src/xlf/Resources.ko.xlf index a3d1961a4bcd..a95b44e7f39d 100644 --- a/src/xlf/Resources.ko.xlf +++ b/src/xlf/Resources.ko.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file diff --git a/src/xlf/Resources.pl.xlf b/src/xlf/Resources.pl.xlf index 7c7c49529235..3933e1ee7e95 100644 --- a/src/xlf/Resources.pl.xlf +++ b/src/xlf/Resources.pl.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file diff --git a/src/xlf/Resources.pt-BR.xlf b/src/xlf/Resources.pt-BR.xlf index 2b477cde991b..a339fb56dd18 100644 --- a/src/xlf/Resources.pt-BR.xlf +++ b/src/xlf/Resources.pt-BR.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file diff --git a/src/xlf/Resources.ru.xlf b/src/xlf/Resources.ru.xlf index 0d51f40aa0fc..87c7a405b3f6 100644 --- a/src/xlf/Resources.ru.xlf +++ b/src/xlf/Resources.ru.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file diff --git a/src/xlf/Resources.tr.xlf b/src/xlf/Resources.tr.xlf index 051ee37adedf..c4d98e1f69f7 100644 --- a/src/xlf/Resources.tr.xlf +++ b/src/xlf/Resources.tr.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file diff --git a/src/xlf/Resources.zh-Hans.xlf b/src/xlf/Resources.zh-Hans.xlf index 999e6734d532..b6eb3811e961 100644 --- a/src/xlf/Resources.zh-Hans.xlf +++ b/src/xlf/Resources.zh-Hans.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file diff --git a/src/xlf/Resources.zh-Hant.xlf b/src/xlf/Resources.zh-Hant.xlf index 42f5081cf1cb..1325543a6474 100644 --- a/src/xlf/Resources.zh-Hant.xlf +++ b/src/xlf/Resources.zh-Hant.xlf @@ -727,15 +727,6 @@ - - {0} - - {0} - - - Used for dynamically generated strings. - - Trying to use a string as a [Target] @@ -880,6 +871,13 @@ + + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new + + This is the default message when an error code can not be found. + + \ No newline at end of file From e54330746ddb65b0d118ce06816205c0405229f5 Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Thu, 5 Dec 2019 17:18:20 -0500 Subject: [PATCH 09/17] Remove unused Globalization library --- src/generator.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/generator.cs b/src/generator.cs index 6ec798121e7e..fb2d69accb45 100644 --- a/src/generator.cs +++ b/src/generator.cs @@ -53,7 +53,6 @@ using ObjCRuntime; using Foundation; using Xamarin.Utils; -using System.Globalization; public static class GeneratorExtensions { From f7b82f7b8dcd4e0fdb1bff873d390c2722908bf3 Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Mon, 9 Dec 2019 09:24:48 -0500 Subject: [PATCH 10/17] Update XliffTasks to version 1.0.0-beta.19252.1 --- src/generator.csproj | 4 ++-- src/packages.config | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/generator.csproj b/src/generator.csproj index 930ef6620ffd..3ebde3853efa 100644 --- a/src/generator.csproj +++ b/src/generator.csproj @@ -1,6 +1,6 @@ - + Debug AnyCPU @@ -397,5 +397,5 @@ - + diff --git a/src/packages.config b/src/packages.config index 11a50b9116bb..59a196a90eb2 100644 --- a/src/packages.config +++ b/src/packages.config @@ -1,4 +1,5 @@  - + + \ No newline at end of file From fa8acaee12422ea29dbafc4efb772e6d99e93d8c Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Mon, 9 Dec 2019 16:26:36 -0500 Subject: [PATCH 11/17] Temporarily 'UpdateXlfOnBuild=true' to see if it fixes jenkins --- src/generator.csproj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/generator.csproj b/src/generator.csproj index 3ebde3853efa..cc6958257c93 100644 --- a/src/generator.csproj +++ b/src/generator.csproj @@ -77,6 +77,9 @@ + + true + generator-errors.md From 2731e99499bd04471085d338aca5071690863a27 Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Tue, 10 Dec 2019 15:02:02 -0500 Subject: [PATCH 12/17] Fix broken tests --- src/Resources.Designer.cs | 6 ++++++ src/Resources.resx | 10 +++++++++- src/generator.cs | 4 ++-- src/xlf/Resources.cs.xlf | 12 ++++++++++-- src/xlf/Resources.de.xlf | 12 ++++++++++-- src/xlf/Resources.es.xlf | 12 ++++++++++-- src/xlf/Resources.fr.xlf | 12 ++++++++++-- src/xlf/Resources.it.xlf | 12 ++++++++++-- src/xlf/Resources.ja.xlf | 12 ++++++++++-- src/xlf/Resources.ko.xlf | 12 ++++++++++-- src/xlf/Resources.pl.xlf | 12 ++++++++++-- src/xlf/Resources.pt-BR.xlf | 12 ++++++++++-- src/xlf/Resources.ru.xlf | 12 ++++++++++-- src/xlf/Resources.tr.xlf | 12 ++++++++++-- src/xlf/Resources.zh-Hans.xlf | 12 ++++++++++-- src/xlf/Resources.zh-Hant.xlf | 12 ++++++++++-- tests/generator/ErrorTests.cs | 4 ++-- 17 files changed, 149 insertions(+), 31 deletions(-) diff --git a/src/Resources.Designer.cs b/src/Resources.Designer.cs index 309d311fb08a..eadb8f5c5e43 100644 --- a/src/Resources.Designer.cs +++ b/src/Resources.Designer.cs @@ -599,6 +599,12 @@ internal static string BI1079 { } } + internal static string BI1080 { + get { + return ResourceManager.GetString("BI1080", resourceCulture); + } + } + internal static string BI1101 { get { return ResourceManager.GetString("BI1101", resourceCulture); diff --git a/src/Resources.resx b/src/Resources.resx index 1b5c1f76bdb0..deab4bb4ee90 100644 --- a/src/Resources.resx +++ b/src/Resources.resx @@ -676,7 +676,7 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -759,6 +759,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + + + Trying to use a string as a [Target] diff --git a/src/generator.cs b/src/generator.cs index fb2d69accb45..0b165d74b37c 100644 --- a/src/generator.cs +++ b/src/generator.cs @@ -1357,7 +1357,7 @@ string GetToBindAsWrapper (MethodInfo mi, MemberInformation minfo = null, Parame } if (originalType.IsByRef) - throw new BindingException (1048, true, originalType.Name); + throw new BindingException (1080, true, originalType.Name.Replace ("&", string.Empty)); var retType = TypeManager.GetUnderlyingNullableType (attrib.Type) ?? attrib.Type; var isNullable = attrib.IsNullable (this); @@ -4863,7 +4863,7 @@ void GenerateProperty (Type type, PropertyInfo pi, List instance_fields_ var ba = GetBindAttribute (setter); bool null_allowed = AttributeManager.HasAttribute (setter); if (null_allowed) - ErrorHelper.Show (new BindingException (1118, false)); + ErrorHelper.Show (new BindingException (1118, false, setter)); null_allowed |= AttributeManager.HasAttribute (pi); var not_implemented_attr = AttributeManager.GetCustomAttribute (setter); string sel; diff --git a/src/xlf/Resources.cs.xlf b/src/xlf/Resources.cs.xlf index bb575ec59339..35928a1303ab 100644 --- a/src/xlf/Resources.cs.xlf +++ b/src/xlf/Resources.cs.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.de.xlf b/src/xlf/Resources.de.xlf index 4ff1900594d2..452d35a9ab25 100644 --- a/src/xlf/Resources.de.xlf +++ b/src/xlf/Resources.de.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.es.xlf b/src/xlf/Resources.es.xlf index 3c5d369f8e61..4b480917e643 100644 --- a/src/xlf/Resources.es.xlf +++ b/src/xlf/Resources.es.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.fr.xlf b/src/xlf/Resources.fr.xlf index 02f676fe6808..102711d7f22c 100644 --- a/src/xlf/Resources.fr.xlf +++ b/src/xlf/Resources.fr.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.it.xlf b/src/xlf/Resources.it.xlf index a05e1deddeac..39cc54fe8d48 100644 --- a/src/xlf/Resources.it.xlf +++ b/src/xlf/Resources.it.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.ja.xlf b/src/xlf/Resources.ja.xlf index 8714278e98bd..b082cc47296a 100644 --- a/src/xlf/Resources.ja.xlf +++ b/src/xlf/Resources.ja.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.ko.xlf b/src/xlf/Resources.ko.xlf index a95b44e7f39d..36aadda714ff 100644 --- a/src/xlf/Resources.ko.xlf +++ b/src/xlf/Resources.ko.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.pl.xlf b/src/xlf/Resources.pl.xlf index 3933e1ee7e95..6efc24b56145 100644 --- a/src/xlf/Resources.pl.xlf +++ b/src/xlf/Resources.pl.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.pt-BR.xlf b/src/xlf/Resources.pt-BR.xlf index a339fb56dd18..df11e72c4f05 100644 --- a/src/xlf/Resources.pt-BR.xlf +++ b/src/xlf/Resources.pt-BR.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.ru.xlf b/src/xlf/Resources.ru.xlf index 87c7a405b3f6..ffb65da4dac0 100644 --- a/src/xlf/Resources.ru.xlf +++ b/src/xlf/Resources.ru.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.tr.xlf b/src/xlf/Resources.tr.xlf index c4d98e1f69f7..697309f775f9 100644 --- a/src/xlf/Resources.tr.xlf +++ b/src/xlf/Resources.tr.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.zh-Hans.xlf b/src/xlf/Resources.zh-Hans.xlf index b6eb3811e961..150f7e9156c4 100644 --- a/src/xlf/Resources.zh-Hans.xlf +++ b/src/xlf/Resources.zh-Hans.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/src/xlf/Resources.zh-Hant.xlf b/src/xlf/Resources.zh-Hant.xlf index 1325543a6474..13deefc97595 100644 --- a/src/xlf/Resources.zh-Hant.xlf +++ b/src/xlf/Resources.zh-Hant.xlf @@ -632,9 +632,9 @@ - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. - The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{7}', and {8}.{9} uses '{10}'. + The type '{0}' is trying to inline the property '{1}' from the protocols '{2}' and '{3}', and the inlined properties use different selectors ({4}.{5} uses '{6}', and {7}.{8} uses '{9}'. @@ -727,6 +727,14 @@ + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + Unsupported type 'ref/out {0}' decorated with [BindAs] + + + + Trying to use a string as a [Target] diff --git a/tests/generator/ErrorTests.cs b/tests/generator/ErrorTests.cs index 6156cb6f5880..aa4c72d4093d 100644 --- a/tests/generator/ErrorTests.cs +++ b/tests/generator/ErrorTests.cs @@ -421,7 +421,7 @@ interface FooObject { } }"); bgen.AssertExecuteError ("build"); - bgen.AssertError (1048, "Unsupported type 'ref/out NSValue' decorated with [BindAs]"); + bgen.AssertError (1080, "Unsupported type 'ref/out NSValue' decorated with [BindAs]"); } [Test] @@ -445,7 +445,7 @@ interface FooObject { } }"); bgen.AssertExecuteError ("build"); - bgen.AssertError (1048, "Unsupported type 'ref/out NSValue' decorated with [BindAs]"); + bgen.AssertError (1080, "Unsupported type 'ref/out NSValue' decorated with [BindAs]"); } [Test] From c55d96662115a5b0b10800971be92c88c789aebb Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Tue, 10 Dec 2019 15:19:05 -0500 Subject: [PATCH 13/17] Update error messages --- src/Resources.resx | 4 ++-- src/xlf/Resources.cs.xlf | 8 ++++---- src/xlf/Resources.de.xlf | 8 ++++---- src/xlf/Resources.es.xlf | 8 ++++---- src/xlf/Resources.fr.xlf | 8 ++++---- src/xlf/Resources.it.xlf | 8 ++++---- src/xlf/Resources.ja.xlf | 8 ++++---- src/xlf/Resources.ko.xlf | 8 ++++---- src/xlf/Resources.pl.xlf | 8 ++++---- src/xlf/Resources.pt-BR.xlf | 8 ++++---- src/xlf/Resources.ru.xlf | 8 ++++---- src/xlf/Resources.tr.xlf | 8 ++++---- src/xlf/Resources.zh-Hans.xlf | 8 ++++---- src/xlf/Resources.zh-Hant.xlf | 8 ++++---- 14 files changed, 54 insertions(+), 54 deletions(-) diff --git a/src/Resources.resx b/src/Resources.resx index deab4bb4ee90..4ddbc3d3f32c 100644 --- a/src/Resources.resx +++ b/src/Resources.resx @@ -266,14 +266,14 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.cs.xlf b/src/xlf/Resources.cs.xlf index 35928a1303ab..a7049efefa37 100644 --- a/src/xlf/Resources.cs.xlf +++ b/src/xlf/Resources.cs.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.de.xlf b/src/xlf/Resources.de.xlf index 452d35a9ab25..5fc074452971 100644 --- a/src/xlf/Resources.de.xlf +++ b/src/xlf/Resources.de.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.es.xlf b/src/xlf/Resources.es.xlf index 4b480917e643..06a7456a062d 100644 --- a/src/xlf/Resources.es.xlf +++ b/src/xlf/Resources.es.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.fr.xlf b/src/xlf/Resources.fr.xlf index 102711d7f22c..0f81cc0e506b 100644 --- a/src/xlf/Resources.fr.xlf +++ b/src/xlf/Resources.fr.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.it.xlf b/src/xlf/Resources.it.xlf index 39cc54fe8d48..cec515586f97 100644 --- a/src/xlf/Resources.it.xlf +++ b/src/xlf/Resources.it.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.ja.xlf b/src/xlf/Resources.ja.xlf index b082cc47296a..993d69247617 100644 --- a/src/xlf/Resources.ja.xlf +++ b/src/xlf/Resources.ja.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.ko.xlf b/src/xlf/Resources.ko.xlf index 36aadda714ff..9b286ba17f47 100644 --- a/src/xlf/Resources.ko.xlf +++ b/src/xlf/Resources.ko.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.pl.xlf b/src/xlf/Resources.pl.xlf index 6efc24b56145..0d0091ec394d 100644 --- a/src/xlf/Resources.pl.xlf +++ b/src/xlf/Resources.pl.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.pt-BR.xlf b/src/xlf/Resources.pt-BR.xlf index df11e72c4f05..32febedf5a35 100644 --- a/src/xlf/Resources.pt-BR.xlf +++ b/src/xlf/Resources.pt-BR.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.ru.xlf b/src/xlf/Resources.ru.xlf index ffb65da4dac0..7097154d232b 100644 --- a/src/xlf/Resources.ru.xlf +++ b/src/xlf/Resources.ru.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.tr.xlf b/src/xlf/Resources.tr.xlf index 697309f775f9..54083ebffbd0 100644 --- a/src/xlf/Resources.tr.xlf +++ b/src/xlf/Resources.tr.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.zh-Hans.xlf b/src/xlf/Resources.zh-Hans.xlf index 150f7e9156c4..53527e140826 100644 --- a/src/xlf/Resources.zh-Hans.xlf +++ b/src/xlf/Resources.zh-Hans.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property diff --git a/src/xlf/Resources.zh-Hant.xlf b/src/xlf/Resources.zh-Hant.xlf index 13deefc97595..24e989610917 100644 --- a/src/xlf/Resources.zh-Hant.xlf +++ b/src/xlf/Resources.zh-Hant.xlf @@ -163,17 +163,17 @@ - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - =No selector specified for method `{0}.{1}' + No selector specified for method `{0}.{1}' - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property - BI1010: No Export attribute on {0}.{1} property + No Export attribute on {0}.{1} property From d29f8feddf090c3edbfbdaa980a709f34dee598d Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Tue, 10 Dec 2019 15:21:07 -0500 Subject: [PATCH 14/17] Fix style --- src/error.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.cs b/src/error.cs index 7f43e3157e46..59781d0927de 100644 --- a/src/error.cs +++ b/src/error.cs @@ -37,7 +37,7 @@ public BindingException (int code, bool error, params object[] args) : } public BindingException (int code, bool error, Exception innerException, params object[] args) : - base (String.Format (GetMessage(code), args), innerException) + base (String.Format (GetMessage (code), args), innerException) { Code = code; Error = error || ErrorHelper.GetWarningLevel (code) == ErrorHelper.WarningLevel.Error; From 8f41e0431661889c5919e0526b10d5f3ded4073c Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry <54864665+wachaudh@users.noreply.github.com> Date: Tue, 10 Dec 2019 16:03:29 -0500 Subject: [PATCH 15/17] Fix style Co-Authored-By: Rolf Bjarne Kvinge --- src/error.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.cs b/src/error.cs index 59781d0927de..6b6b5de1fb92 100644 --- a/src/error.cs +++ b/src/error.cs @@ -20,7 +20,7 @@ public class BindingException : Exception { public BindingException (int code, bool error) : - base (GetMessage(code)) + base (GetMessage (code)) { Code = code; Error = error || ErrorHelper.GetWarningLevel (code) == ErrorHelper.WarningLevel.Error; From 78426c3cfc185d49193cb63d23e3a5b8f6cd8c04 Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Tue, 10 Dec 2019 16:12:11 -0500 Subject: [PATCH 16/17] Undo attribute check using loop --- src/generator.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/generator.cs b/src/generator.cs index 0b165d74b37c..75d2edda22e2 100644 --- a/src/generator.cs +++ b/src/generator.cs @@ -5182,10 +5182,9 @@ void PrintMethodAttributes (MemberInformation minfo) PrintPlatformAttributes (minfo.method.DeclaringType); } - foreach (var di in AttributeManager.GetCustomAttributes (mi)) { + // in theory we could check for `minfo.is_ctor` but some manual bindings are using methods for `init*` + if (AttributeManager.HasAttribute (mi)) print ("[DesignatedInitializer]"); - break; - } } From 776b138a2554f20581a19dfbd315123a16cf7562 Mon Sep 17 00:00:00 2001 From: Waleed Chaudhry Date: Wed, 8 Jan 2020 16:06:55 -0500 Subject: [PATCH 17/17] Fix indentation --- src/generator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generator.cs b/src/generator.cs index cd99e6504885..3db6d7f23088 100644 --- a/src/generator.cs +++ b/src/generator.cs @@ -5833,7 +5833,7 @@ void GenerateProtocolTypes (Type type, string class_visibility, string TypeName, var distinctMethodsBySignature = gr.GroupBy ((v) => v.Signature).Select ((v) => v.First ()).ToArray (); if (distinctMethodsBySignature.Length > 1) { exceptions.Add (ErrorHelper.CreateError (1069, type.FullName, gr.Key, distinctMethodsBySignature [0].Method.DeclaringType.FullName, distinctMethodsBySignature [1].Method.DeclaringType.FullName, - distinctMethodsBySignature [0].Method.ToString (), distinctMethodsBySignature [1].Method.ToString ())); + distinctMethodsBySignature [0].Method.ToString (), distinctMethodsBySignature [1].Method.ToString ())); continue; } @@ -5865,7 +5865,7 @@ void GenerateProtocolTypes (Type type, string class_visibility, string TypeName, if (i > 0 && exportAttributes [i].Selector != exportAttributes [0].Selector) { ErrorHelper.Warning (1068, type.FullName, gr.Key, properties [0].DeclaringType.FullName, properties [i].DeclaringType.FullName, properties [0].DeclaringType.Name, properties [0].Name, exportAttributes [0].Selector, properties [i].DeclaringType.Name, properties [i].Name, exportAttributes [i].Selector); - } + } if (properties [i].CanRead && properties [i].CanWrite) { readwrite = properties [i]; } else if (!properties [i].CanRead) {