[generator] Fix error and warning codes values (#697)
The codes are printed as 4 digits hexadecimal values and some of the codes were set to 4 digit decimal values, which changed the printed error codes compared to previous state. For example warning BG8504 was printed as: BINDINGSGENERATOR : warning BG2138: Event name for 'Com.Xamarin.Testing.Test.IOn123Listener.SetOn123Listener' is invalid. A valid 'eventName' or 'argsType' can be assigned by adding a rule to the Metadata.xml transforms file. [/Users/runner/work/1/s/bin/TestRelease/temp/GeneratorValidateEventNameFalseTrue/UnnamedProject.csproj]
This commit is contained in:
Родитель
08ff4db188
Коммит
dcaf794d26
|
@ -20,45 +20,45 @@ namespace MonoDroid.Generation
|
|||
}
|
||||
}
|
||||
|
||||
public static LocalizedMessage ErrorFailedToRemoveConstants => new LocalizedMessage (4000, Java.Interop.Localization.Resources.Generator_BG4000);
|
||||
public static LocalizedMessage ErrorFailedToProcessEnumMap => new LocalizedMessage (4100, Java.Interop.Localization.Resources.Generator_BG4100);
|
||||
public static LocalizedMessage ErrorFailedToProcessMetadata => new LocalizedMessage (4200, Java.Interop.Localization.Resources.Generator_BG4200);
|
||||
public static LocalizedMessage ErrorRemoveNodeInvalidXPath => new LocalizedMessage (4301, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorAddNodeInvalidXPath => new LocalizedMessage (4302, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorChangeNodeInvalidXPath => new LocalizedMessage (4303, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorAttrInvalidXPath => new LocalizedMessage (4304, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorMoveNodeInvalidXPath => new LocalizedMessage (4305, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorRemoveAttrInvalidXPath => new LocalizedMessage (4306, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorMissingAttrName => new LocalizedMessage (4307, Java.Interop.Localization.Resources.Generator_BG4307);
|
||||
public static LocalizedMessage ErrorUnexpectedGlobal => new LocalizedMessage (4400, Java.Interop.Localization.Resources.Generator_BG4400);
|
||||
public static LocalizedMessage ErrorInvalidDIMArgument => new LocalizedMessage (4500, Java.Interop.Localization.Resources.Generator_BG4500);
|
||||
public static LocalizedMessage ErrorFailedToRemoveConstants => new LocalizedMessage (0x4000, Java.Interop.Localization.Resources.Generator_BG4000);
|
||||
public static LocalizedMessage ErrorFailedToProcessEnumMap => new LocalizedMessage (0x4100, Java.Interop.Localization.Resources.Generator_BG4100);
|
||||
public static LocalizedMessage ErrorFailedToProcessMetadata => new LocalizedMessage (0x4200, Java.Interop.Localization.Resources.Generator_BG4200);
|
||||
public static LocalizedMessage ErrorRemoveNodeInvalidXPath => new LocalizedMessage (0x4301, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorAddNodeInvalidXPath => new LocalizedMessage (0x4302, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorChangeNodeInvalidXPath => new LocalizedMessage (0x4303, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorAttrInvalidXPath => new LocalizedMessage (0x4304, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorMoveNodeInvalidXPath => new LocalizedMessage (0x4305, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorRemoveAttrInvalidXPath => new LocalizedMessage (0x4306, Java.Interop.Localization.Resources.Generator_BG4300);
|
||||
public static LocalizedMessage ErrorMissingAttrName => new LocalizedMessage (0x4307, Java.Interop.Localization.Resources.Generator_BG4307);
|
||||
public static LocalizedMessage ErrorUnexpectedGlobal => new LocalizedMessage (0x4400, Java.Interop.Localization.Resources.Generator_BG4400);
|
||||
public static LocalizedMessage ErrorInvalidDIMArgument => new LocalizedMessage (0x4500, Java.Interop.Localization.Resources.Generator_BG4500);
|
||||
|
||||
public static LocalizedMessage WarningUnexpectedChild => new LocalizedMessage (8101, Java.Interop.Localization.Resources.Generator_BG8101);
|
||||
public static LocalizedMessage WarningUnknownBaseType => new LocalizedMessage (8102, Java.Interop.Localization.Resources.Generator_BG8102);
|
||||
public static LocalizedMessage WarningInvalidBaseType => new LocalizedMessage (8103, Java.Interop.Localization.Resources.Generator_BG8103);
|
||||
public static LocalizedMessage WarningAssemblyParseFailure => new LocalizedMessage (8200, Java.Interop.Localization.Resources.Generator_BG8200);
|
||||
public static LocalizedMessage WarningMissingClassForConstructor => new LocalizedMessage (8300, Java.Interop.Localization.Resources.Generator_BG8300);
|
||||
public static LocalizedMessage WarningUnexpectedFieldType => new LocalizedMessage (8400, Java.Interop.Localization.Resources.Generator_BG8400);
|
||||
public static LocalizedMessage WarningFieldNameCollision_Property => new LocalizedMessage (8401, Java.Interop.Localization.Resources.Generator_BG8401_Property);
|
||||
public static LocalizedMessage WarningFieldNameCollision_Method => new LocalizedMessage (8401, Java.Interop.Localization.Resources.Generator_BG8401_Method);
|
||||
public static LocalizedMessage WarningFieldNameCollision_NestedType => new LocalizedMessage (8401, Java.Interop.Localization.Resources.Generator_BG8401_NestedType);
|
||||
public static LocalizedMessage WarningDuplicateField => new LocalizedMessage (8402, Java.Interop.Localization.Resources.Generator_BG8402);
|
||||
public static LocalizedMessage WarningUnexpectedInterfaceChild => new LocalizedMessage (8500, Java.Interop.Localization.Resources.Generator_BG8500);
|
||||
public static LocalizedMessage WarningEmptyEventName => new LocalizedMessage (8501, Java.Interop.Localization.Resources.Generator_BG8501);
|
||||
public static LocalizedMessage WarningInvalidDueToInterfaces => new LocalizedMessage (8502, Java.Interop.Localization.Resources.Generator_BG8502);
|
||||
public static LocalizedMessage WarningInvalidDueToMethods => new LocalizedMessage (8503, Java.Interop.Localization.Resources.Generator_BG8503);
|
||||
public static LocalizedMessage WarningInvalidEventName => new LocalizedMessage (8504, Java.Interop.Localization.Resources.Generator_BG8504);
|
||||
public static LocalizedMessage WarningInvalidEventName2 => new LocalizedMessage (8505, Java.Interop.Localization.Resources.Generator_BG8504);
|
||||
public static LocalizedMessage WarningInvalidEventPropertyName => new LocalizedMessage (8506, Java.Interop.Localization.Resources.Generator_BG8506);
|
||||
public static LocalizedMessage WarningInvalidXmlFile => new LocalizedMessage (8600, Java.Interop.Localization.Resources.Generator_BG8600);
|
||||
public static LocalizedMessage WarningNoPackageElements => new LocalizedMessage (8601, Java.Interop.Localization.Resources.Generator_BG8601);
|
||||
public static LocalizedMessage WarningUnexpectedRootChildNode => new LocalizedMessage (8602, Java.Interop.Localization.Resources.Generator_BG8602);
|
||||
public static LocalizedMessage WarningUnexpectedPackageChildNode => new LocalizedMessage (8603, Java.Interop.Localization.Resources.Generator_BG8603);
|
||||
public static LocalizedMessage WarningNestedTypeAncestorNotFound => new LocalizedMessage (8604, Java.Interop.Localization.Resources.Generator_BG8604);
|
||||
public static LocalizedMessage WarningUnknownReturnType => new LocalizedMessage (8700, Java.Interop.Localization.Resources.Generator_BG8700);
|
||||
public static LocalizedMessage WarningInvalidReturnType => new LocalizedMessage (8701, Java.Interop.Localization.Resources.Generator_BG8701);
|
||||
public static LocalizedMessage WarningUnknownParameterType => new LocalizedMessage (8800, Java.Interop.Localization.Resources.Generator_BG8800);
|
||||
public static LocalizedMessage WarningInvalidParameterType => new LocalizedMessage (8801, Java.Interop.Localization.Resources.Generator_BG8801);
|
||||
public static LocalizedMessage WarningUnexpectedChild => new LocalizedMessage (0x8101, Java.Interop.Localization.Resources.Generator_BG8101);
|
||||
public static LocalizedMessage WarningUnknownBaseType => new LocalizedMessage (0x8102, Java.Interop.Localization.Resources.Generator_BG8102);
|
||||
public static LocalizedMessage WarningInvalidBaseType => new LocalizedMessage (0x8103, Java.Interop.Localization.Resources.Generator_BG8103);
|
||||
public static LocalizedMessage WarningAssemblyParseFailure => new LocalizedMessage (0x8200, Java.Interop.Localization.Resources.Generator_BG8200);
|
||||
public static LocalizedMessage WarningMissingClassForConstructor => new LocalizedMessage (0x8300, Java.Interop.Localization.Resources.Generator_BG8300);
|
||||
public static LocalizedMessage WarningUnexpectedFieldType => new LocalizedMessage (0x8400, Java.Interop.Localization.Resources.Generator_BG8400);
|
||||
public static LocalizedMessage WarningFieldNameCollision_Property => new LocalizedMessage (0x8401, Java.Interop.Localization.Resources.Generator_BG8401_Property);
|
||||
public static LocalizedMessage WarningFieldNameCollision_Method => new LocalizedMessage (0x8401, Java.Interop.Localization.Resources.Generator_BG8401_Method);
|
||||
public static LocalizedMessage WarningFieldNameCollision_NestedType => new LocalizedMessage (0x8401, Java.Interop.Localization.Resources.Generator_BG8401_NestedType);
|
||||
public static LocalizedMessage WarningDuplicateField => new LocalizedMessage (0x8402, Java.Interop.Localization.Resources.Generator_BG8402);
|
||||
public static LocalizedMessage WarningUnexpectedInterfaceChild => new LocalizedMessage (0x8500, Java.Interop.Localization.Resources.Generator_BG8500);
|
||||
public static LocalizedMessage WarningEmptyEventName => new LocalizedMessage (0x8501, Java.Interop.Localization.Resources.Generator_BG8501);
|
||||
public static LocalizedMessage WarningInvalidDueToInterfaces => new LocalizedMessage (0x8502, Java.Interop.Localization.Resources.Generator_BG8502);
|
||||
public static LocalizedMessage WarningInvalidDueToMethods => new LocalizedMessage (0x8503, Java.Interop.Localization.Resources.Generator_BG8503);
|
||||
public static LocalizedMessage WarningInvalidEventName => new LocalizedMessage (0x8504, Java.Interop.Localization.Resources.Generator_BG8504);
|
||||
public static LocalizedMessage WarningInvalidEventName2 => new LocalizedMessage (0x8505, Java.Interop.Localization.Resources.Generator_BG8504);
|
||||
public static LocalizedMessage WarningInvalidEventPropertyName => new LocalizedMessage (0x8506, Java.Interop.Localization.Resources.Generator_BG8506);
|
||||
public static LocalizedMessage WarningInvalidXmlFile => new LocalizedMessage (0x8600, Java.Interop.Localization.Resources.Generator_BG8600);
|
||||
public static LocalizedMessage WarningNoPackageElements => new LocalizedMessage (0x8601, Java.Interop.Localization.Resources.Generator_BG8601);
|
||||
public static LocalizedMessage WarningUnexpectedRootChildNode => new LocalizedMessage (0x8602, Java.Interop.Localization.Resources.Generator_BG8602);
|
||||
public static LocalizedMessage WarningUnexpectedPackageChildNode => new LocalizedMessage (0x8603, Java.Interop.Localization.Resources.Generator_BG8603);
|
||||
public static LocalizedMessage WarningNestedTypeAncestorNotFound => new LocalizedMessage (0x8604, Java.Interop.Localization.Resources.Generator_BG8604);
|
||||
public static LocalizedMessage WarningUnknownReturnType => new LocalizedMessage (0x8700, Java.Interop.Localization.Resources.Generator_BG8700);
|
||||
public static LocalizedMessage WarningInvalidReturnType => new LocalizedMessage (0x8701, Java.Interop.Localization.Resources.Generator_BG8701);
|
||||
public static LocalizedMessage WarningUnknownParameterType => new LocalizedMessage (0x8800, Java.Interop.Localization.Resources.Generator_BG8800);
|
||||
public static LocalizedMessage WarningInvalidParameterType => new LocalizedMessage (0x8801, Java.Interop.Localization.Resources.Generator_BG8801);
|
||||
public static LocalizedMessage WarningRemoveNodeMatchedNoNodes => new LocalizedMessage (0x8A00, Java.Interop.Localization.Resources.Generator_BG8A00);
|
||||
public static LocalizedMessage WarningAddNodeMatchedNoNodes => new LocalizedMessage (0x8A01, Java.Interop.Localization.Resources.Generator_BG8A00);
|
||||
public static LocalizedMessage WarningChangeNodeTypeMatchedNoNodes => new LocalizedMessage (0x8A03, Java.Interop.Localization.Resources.Generator_BG8A00);
|
||||
|
|
Загрузка…
Ссылка в новой задаче