From d361507d72ab11cfbe2863f118664f1a61a08315 Mon Sep 17 00:00:00 2001 From: Jackson Schuster <36744439+jtschuster@users.noreply.github.com> Date: Thu, 13 Jul 2023 09:16:13 -0700 Subject: [PATCH] Do not say the wrong default behavior for blittable arrays in ComInterfaceGenerator warning (#88212) The warning used to say the default is [In] for blittable arrays, when the default is [In, Out]. Reworks how Unnecessary / Not supported / supported [In, Out] diagnostic reporting is implemented. Each marshaller will decide which details are provided with the diagnostic and which attributes are unnecessary. Shares a single Strings.resx with all projects. "Com" or "LibraryImport" suffixes were added to string names that conflicted. Co-authored-by: Jeremy Koritzinsky --- .../System.Private.CoreLib.Shared.projitems | 8 +- .../Marshaling/BaseJSGenerator.cs | 5 +- .../Marshaling/EmptyJSGenerator.cs | 3 +- .../ComInterfaceGenerator.csproj | 1 + .../GeneratorDiagnostics.cs | 96 +- .../ComInterfaceDispatchMarshallerFactory.cs | 3 +- ...anagedHResultExceptionMarshallerFactory.cs | 6 +- .../ObjectUnwrapperMarshallerFactory.cs | 3 +- .../Resources/Strings.resx | 410 ------ .../Resources/xlf/Strings.cs.xlf | 479 ------- .../Resources/xlf/Strings.de.xlf | 479 ------- .../Resources/xlf/Strings.es.xlf | 479 ------- .../Resources/xlf/Strings.fr.xlf | 479 ------- .../Resources/xlf/Strings.it.xlf | 479 ------- .../Resources/xlf/Strings.ja.xlf | 479 ------- .../Resources/xlf/Strings.ko.xlf | 479 ------- .../Resources/xlf/Strings.pl.xlf | 479 ------- .../Resources/xlf/Strings.pt-BR.xlf | 479 ------- .../Resources/xlf/Strings.ru.xlf | 479 ------- .../Resources/xlf/Strings.tr.xlf | 479 ------- .../Resources/xlf/Strings.zh-Hans.xlf | 479 ------- .../Resources/xlf/Strings.zh-Hant.xlf | 479 ------- .../Resources/Strings.resx | 777 +++++++--- .../gen/Common/Resources/xlf/Strings.cs.xlf | 1264 +++++++++++++++++ .../gen/Common/Resources/xlf/Strings.de.xlf | 1264 +++++++++++++++++ .../gen/Common/Resources/xlf/Strings.es.xlf | 1264 +++++++++++++++++ .../gen/Common/Resources/xlf/Strings.fr.xlf | 1264 +++++++++++++++++ .../gen/Common/Resources/xlf/Strings.it.xlf | 1264 +++++++++++++++++ .../gen/Common/Resources/xlf/Strings.ja.xlf | 1264 +++++++++++++++++ .../gen/Common/Resources/xlf/Strings.ko.xlf | 1264 +++++++++++++++++ .../gen/Common/Resources/xlf/Strings.pl.xlf | 1264 +++++++++++++++++ .../Common/Resources/xlf/Strings.pt-BR.xlf | 1264 +++++++++++++++++ .../gen/Common/Resources/xlf/Strings.ru.xlf | 1264 +++++++++++++++++ .../gen/Common/Resources/xlf/Strings.tr.xlf | 1264 +++++++++++++++++ .../Common/Resources/xlf/Strings.zh-Hans.xlf | 1264 +++++++++++++++++ .../Common/Resources/xlf/Strings.zh-Hant.xlf | 1264 +++++++++++++++++ .../GeneratorDiagnostics.cs | 92 +- .../LibraryImportGenerator.csproj | 1 + .../Resources/xlf/Strings.cs.xlf | 674 --------- .../Resources/xlf/Strings.de.xlf | 674 --------- .../Resources/xlf/Strings.es.xlf | 674 --------- .../Resources/xlf/Strings.fr.xlf | 674 --------- .../Resources/xlf/Strings.it.xlf | 674 --------- .../Resources/xlf/Strings.ja.xlf | 675 --------- .../Resources/xlf/Strings.ko.xlf | 674 --------- .../Resources/xlf/Strings.pl.xlf | 674 --------- .../Resources/xlf/Strings.pt-BR.xlf | 674 --------- .../Resources/xlf/Strings.ru.xlf | 674 --------- .../Resources/xlf/Strings.tr.xlf | 674 --------- .../Resources/xlf/Strings.zh-Hans.xlf | 674 --------- .../Resources/xlf/Strings.zh-Hant.xlf | 674 --------- ...ributedMarshallingModelGeneratorFactory.cs | 20 +- .../Marshalling/BlittableMarshaller.cs | 6 +- .../Marshalling/BoolMarshaller.cs | 4 +- .../ByValueContentsMarshalKindValidator.cs | 60 +- .../ByValueMarshalKindSupportDescriptor.cs | 129 ++ .../Marshalling/CharMarshaller.cs | 17 +- .../CharMarshallingGeneratorFactory.cs | 2 - .../CustomTypeMarshallingGenerator.cs | 30 +- .../Marshalling/DelegateMarshaller.cs | 4 +- .../Marshalling/Forwarder.cs | 3 +- .../Marshalling/GeneratorDiagnostic.cs | 11 +- .../Marshalling/MarshallingGenerator.cs | 9 +- .../Marshalling/SafeHandleMarshaller.cs | 3 +- .../StaticPinnableManagedValueMarshaller.cs | 18 +- ...nagedToManagedOwnershipTrackingStrategy.cs | 5 +- .../Microsoft.Interop.SourceGeneration.csproj | 1 + .../Resources/Strings.resx | 198 --- .../Resources/xlf/Strings.cs.xlf | 137 -- .../Resources/xlf/Strings.de.xlf | 137 -- .../Resources/xlf/Strings.es.xlf | 137 -- .../Resources/xlf/Strings.fr.xlf | 137 -- .../Resources/xlf/Strings.it.xlf | 137 -- .../Resources/xlf/Strings.ja.xlf | 137 -- .../Resources/xlf/Strings.ko.xlf | 137 -- .../Resources/xlf/Strings.pl.xlf | 137 -- .../Resources/xlf/Strings.pt-BR.xlf | 137 -- .../Resources/xlf/Strings.ru.xlf | 137 -- .../Resources/xlf/Strings.tr.xlf | 137 -- .../Resources/xlf/Strings.zh-Hans.xlf | 137 -- .../Resources/xlf/Strings.zh-Hant.xlf | 137 -- .../CodeSnippets.cs | 56 +- .../ComInterfaceGenerator.Unit.Tests.csproj | 34 +- .../CompileFails.cs | 341 ++++- .../CompileFails.cs | 60 +- .../Compiles.cs | 44 +- .../LibraryImportGenerator.Unit.Tests.csproj | 1 + 87 files changed, 17787 insertions(+), 17877 deletions(-) delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/Strings.resx delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.cs.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.de.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.es.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.fr.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.it.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ja.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ko.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.pl.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.pt-BR.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ru.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.tr.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.zh-Hans.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.zh-Hant.xlf rename src/libraries/System.Runtime.InteropServices/gen/{LibraryImportGenerator => Common}/Resources/Strings.resx (56%) create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.cs.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.de.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.es.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.fr.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.it.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ja.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ko.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pl.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pt-BR.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ru.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.tr.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hans.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hant.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.cs.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.de.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.es.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.fr.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.it.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ja.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ko.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.pl.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.pt-BR.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ru.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.tr.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.zh-Hans.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.zh-Hant.xlf create mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/ByValueMarshalKindSupportDescriptor.cs delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/Strings.resx delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.cs.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.de.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.es.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.fr.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.it.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ja.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ko.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.pl.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.pt-BR.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ru.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.tr.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.zh-Hans.xlf delete mode 100644 src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.zh-Hant.xlf diff --git a/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems b/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems index 005c30cb021db..8d4f32eed4428 100644 --- a/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems +++ b/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems @@ -2597,11 +2597,11 @@ - + - - + + @@ -2671,4 +2671,4 @@ - + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices.JavaScript/gen/JSImportGenerator/Marshaling/BaseJSGenerator.cs b/src/libraries/System.Runtime.InteropServices.JavaScript/gen/JSImportGenerator/Marshaling/BaseJSGenerator.cs index 4d4a9f20dc2c4..97d158bb319de 100644 --- a/src/libraries/System.Runtime.InteropServices.JavaScript/gen/JSImportGenerator/Marshaling/BaseJSGenerator.cs +++ b/src/libraries/System.Runtime.InteropServices.JavaScript/gen/JSImportGenerator/Marshaling/BaseJSGenerator.cs @@ -3,10 +3,10 @@ using System; using System.Collections.Generic; +using System.Runtime.InteropServices.JavaScript; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; -using System.Runtime.InteropServices.JavaScript; namespace Microsoft.Interop.JavaScript { @@ -26,7 +26,8 @@ protected BaseJSGenerator(MarshalerType marshalerType, IMarshallingGenerator inn public virtual bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) => _inner.UsesNativeIdentifier(info, context); public SignatureBehavior GetNativeSignatureBehavior(TypePositionInfo info) => _inner.GetNativeSignatureBehavior(info); public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => _inner.GetValueBoundaryBehavior(info, context); - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => _inner.SupportsByValueMarshalKind(marshalKind, context); + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => _inner.SupportsByValueMarshalKind(marshalKind, info, context, out diagnostic); public virtual IEnumerable GenerateBind(TypePositionInfo info, StubCodeContext context) { diff --git a/src/libraries/System.Runtime.InteropServices.JavaScript/gen/JSImportGenerator/Marshaling/EmptyJSGenerator.cs b/src/libraries/System.Runtime.InteropServices.JavaScript/gen/JSImportGenerator/Marshaling/EmptyJSGenerator.cs index 37204d1f7464d..075d464b2bde7 100644 --- a/src/libraries/System.Runtime.InteropServices.JavaScript/gen/JSImportGenerator/Marshaling/EmptyJSGenerator.cs +++ b/src/libraries/System.Runtime.InteropServices.JavaScript/gen/JSImportGenerator/Marshaling/EmptyJSGenerator.cs @@ -15,7 +15,8 @@ internal sealed class EmptyJSGenerator : IJSMarshallingGenerator public SignatureBehavior GetNativeSignatureBehavior(TypePositionInfo info) => SignatureBehavior.ManagedTypeAndAttributes; public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.ManagedIdentifier; public bool IsSupported(TargetFramework target, Version version) => false; - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => ByValueMarshalKindSupport.NotSupported; + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, context, out diagnostic); public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) => false; } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/ComInterfaceGenerator.csproj b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/ComInterfaceGenerator.csproj index a4251a43d3e44..4a24c42119ed4 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/ComInterfaceGenerator.csproj +++ b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/ComInterfaceGenerator.csproj @@ -11,6 +11,7 @@ RS2008;RS1038;$(NoWarn) cs $(DefineConstants);MICROSOFT_INTEROP_COMINTERFACEGENERATOR + ../Common/Resources/Strings.resx diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/GeneratorDiagnostics.cs b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/GeneratorDiagnostics.cs index 85506f6a26361..d2648af4ea995 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/GeneratorDiagnostics.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/GeneratorDiagnostics.cs @@ -30,38 +30,38 @@ public class Ids private const string Category = "ComInterfaceGenerator"; - /// + /// public static readonly DiagnosticDescriptor RequiresAllowUnsafeBlocks = new DiagnosticDescriptor( Ids.RequiresAllowUnsafeBlocks, - GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksTitle)), - GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksMessage)), + GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksTitleCom)), + GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksMessageCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksDescription))); + description: GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksDescriptionCom))); - /// + /// public static readonly DiagnosticDescriptor InvalidAttributedMethodSignature = new DiagnosticDescriptor( Ids.InvalidLibraryImportAttributeUsage, GetResourceString(nameof(SR.InvalidVirtualMethodIndexAttributeUsage)), - GetResourceString(nameof(SR.InvalidAttributedMethodSignatureMessage)), + GetResourceString(nameof(SR.InvalidAttributedMethodSignatureMessageCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.InvalidAttributedMethodDescription))); + description: GetResourceString(nameof(SR.InvalidAttributedMethodDescriptionCom))); - /// + /// public static readonly DiagnosticDescriptor InvalidAttributedMethodContainingTypeMissingModifiers = new DiagnosticDescriptor( Ids.InvalidLibraryImportAttributeUsage, GetResourceString(nameof(SR.InvalidVirtualMethodIndexAttributeUsage)), - GetResourceString(nameof(SR.InvalidAttributedMethodContainingTypeMissingModifiersMessage)), + GetResourceString(nameof(SR.InvalidAttributedMethodContainingTypeMissingModifiersMessageCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.InvalidAttributedMethodDescription))); + description: GetResourceString(nameof(SR.InvalidAttributedMethodDescriptionCom))); /// public static readonly DiagnosticDescriptor InvalidAttributedInterfaceMissingPartialModifiers = @@ -83,7 +83,7 @@ public class Ids Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.InvalidAttributedMethodDescription))); + description: GetResourceString(nameof(SR.InvalidAttributedMethodDescriptionCom))); /// public static readonly DiagnosticDescriptor InvalidStringMarshallingMismatchBetweenBaseAndDerived = @@ -150,27 +150,27 @@ public class Ids isEnabledByDefault: true, description: GetResourceString(nameof(SR.InvalidExceptionMarshallingConfigurationDescription))); - /// + /// public static readonly DiagnosticDescriptor ParameterTypeNotSupported = new DiagnosticDescriptor( Ids.TypeNotSupported, GetResourceString(nameof(SR.TypeNotSupportedTitle)), - GetResourceString(nameof(SR.TypeNotSupportedMessageParameter)), + GetResourceString(nameof(SR.TypeNotSupportedMessageParameterCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); + description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionCom))); - /// + /// public static readonly DiagnosticDescriptor ReturnTypeNotSupported = new DiagnosticDescriptor( Ids.TypeNotSupported, GetResourceString(nameof(SR.TypeNotSupportedTitle)), - GetResourceString(nameof(SR.TypeNotSupportedMessageReturn)), + GetResourceString(nameof(SR.TypeNotSupportedMessageReturnCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); + description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionCom))); /// public static readonly DiagnosticDescriptor ParameterTypeNotSupportedWithDetails = @@ -181,7 +181,7 @@ public class Ids Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); + description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionCom))); /// public static readonly DiagnosticDescriptor ReturnTypeNotSupportedWithDetails = @@ -192,84 +192,84 @@ public class Ids Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); + description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionCom))); - /// + /// public static readonly DiagnosticDescriptor ParameterConfigurationNotSupported = new DiagnosticDescriptor( Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.ConfigurationNotSupportedMessageParameter)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleCom)), + GetResourceString(nameof(SR.ConfigurationNotSupportedMessageParameterCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionCom))); - /// + /// public static readonly DiagnosticDescriptor ReturnConfigurationNotSupported = new DiagnosticDescriptor( Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.ConfigurationNotSupportedMessageReturn)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleCom)), + GetResourceString(nameof(SR.ConfigurationNotSupportedMessageReturnCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionCom))); - /// + /// public static readonly DiagnosticDescriptor MarshalAsParameterConfigurationNotSupported = new DiagnosticDescriptor( GeneratorDiagnostics.Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.MarshalAsConfigurationNotSupportedMessageParameter)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleCom)), + GetResourceString(nameof(SR.MarshalAsConfigurationNotSupportedMessageParameterCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionCom))); - /// + /// public static readonly DiagnosticDescriptor MarshalAsReturnConfigurationNotSupported = new DiagnosticDescriptor( GeneratorDiagnostics.Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.MarshalAsConfigurationNotSupportedMessageReturn)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleCom)), + GetResourceString(nameof(SR.MarshalAsConfigurationNotSupportedMessageReturnCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionCom))); - /// + /// public static readonly DiagnosticDescriptor ConfigurationNotSupported = new DiagnosticDescriptor( Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.ConfigurationNotSupportedMessage)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleCom)), + GetResourceString(nameof(SR.ConfigurationNotSupportedMessageCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionCom))); - /// + /// public static readonly DiagnosticDescriptor ConfigurationValueNotSupported = new DiagnosticDescriptor( Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.ConfigurationNotSupportedMessageValue)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleCom)), + GetResourceString(nameof(SR.ConfigurationNotSupportedMessageValueCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionCom))); - /// + /// public static readonly DiagnosticDescriptor MarshallingAttributeConfigurationNotSupported = new DiagnosticDescriptor( Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.ConfigurationNotSupportedMessageMarshallingInfo)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleCom)), + GetResourceString(nameof(SR.ConfigurationNotSupportedMessageMarshallingInfoCom)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionCom))); /// public static readonly DiagnosticDescriptor MethodNotDeclaredInAttributedInterface = @@ -414,6 +414,7 @@ public class Ids isEnabledByDefault: true, description: GetResourceString(nameof(SR.ClassDoesNotImplementAnyGeneratedComInterfacesDescription))); + /// public static readonly DiagnosticDescriptor UnnecessaryParameterMarshallingInfo = new DiagnosticDescriptor( Ids.UnnecessaryMarshallingInfo, @@ -428,6 +429,7 @@ public class Ids WellKnownDiagnosticTags.Unnecessary }); + /// public static readonly DiagnosticDescriptor UnnecessaryReturnMarshallingInfo = new DiagnosticDescriptor( Ids.UnnecessaryMarshallingInfo, diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ComInterfaceDispatchMarshallerFactory.cs b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ComInterfaceDispatchMarshallerFactory.cs index 9373dd7eaa4b9..15a3ce6533cb4 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ComInterfaceDispatchMarshallerFactory.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ComInterfaceDispatchMarshallerFactory.cs @@ -61,7 +61,8 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.NativeIdentifier; public bool IsSupported(TargetFramework target, Version version) => target == TargetFramework.Net && version >= new Version(5, 0); - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => ByValueMarshalKindSupport.NotSupported; + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, context, out diagnostic); public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) => true; } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ManagedHResultExceptionMarshallerFactory.cs b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ManagedHResultExceptionMarshallerFactory.cs index 13d82b4a33219..d4914eaea3b4c 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ManagedHResultExceptionMarshallerFactory.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ManagedHResultExceptionMarshallerFactory.cs @@ -71,7 +71,8 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont public SignatureBehavior GetNativeSignatureBehavior(TypePositionInfo info) => SignatureBehavior.NativeType; public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.ManagedIdentifier; public bool IsSupported(TargetFramework target, Version version) => true; - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => ByValueMarshalKindSupport.NotSupported; + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, context, out diagnostic); public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) => false; } @@ -108,7 +109,8 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont public SignatureBehavior GetNativeSignatureBehavior(TypePositionInfo info) => SignatureBehavior.NativeType; public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.ManagedIdentifier; public bool IsSupported(TargetFramework target, Version version) => true; - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => ByValueMarshalKindSupport.NotSupported; + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, context, out diagnostic); public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) => false; } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ObjectUnwrapperMarshallerFactory.cs b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ObjectUnwrapperMarshallerFactory.cs index ba55a49c1a7c9..c04a3a7ccfbb1 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ObjectUnwrapperMarshallerFactory.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Marshallers/ObjectUnwrapperMarshallerFactory.cs @@ -61,7 +61,8 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont public SignatureBehavior GetNativeSignatureBehavior(TypePositionInfo info) => SignatureBehavior.NativeType; public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.NativeIdentifier; public bool IsSupported(TargetFramework target, Version version) => true; - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => ByValueMarshalKindSupport.NotSupported; + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, context, out diagnostic); public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) => true; } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/Strings.resx b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/Strings.resx deleted file mode 100644 index 2d66fc739503b..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/Strings.resx +++ /dev/null @@ -1,410 +0,0 @@ -๏ปฟ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 - - - Source-generated COM will ignore any configuration that is not supported. - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - - - Specified configuration is not supported by source-generated COM. - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - - - Invalid 'VirtualMethodIndexAttribute' usage - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - - - Invalid 'GeneratedComInterfaceAttribute' usage. - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - - - Analysis for COM interface generation has failed. - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - - - The base COM interface failed to generate source. Code will not be generated for this interface. - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - {1} is details about which type/containing type is not accessible - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - {1} is details about which type/containing type is not accessible - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - - - Invalid 'GeneratedComClassAttribute' usage - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - - - Convert to 'GeneratedComInterface' - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - - - Convert to 'GeneratedComInterface' and allow unsafe code - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - - - The specified 'ComInterfaceOptions' are invalid. - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - - - Unnecessary marshalling info was provided and can be removed. - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - - diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.cs.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.cs.xlf deleted file mode 100644 index 9d66086d01a8b..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.cs.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - Pokud chcete povolit pล™edรกvรกnรญ objektลฏ tohoto typu do modelu COM a povolit nebezpeฤnรฝ kรณd, pล™idejte GeneratedComClassAttribute. - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - Tento typ implementuje alespoลˆ jeden typ s atributem GeneratedComInterfaceAttribute. Pล™idejte generatedComClassAttribute, aby bylo moลพnรฉ pล™edat tento typ modelu COM a zpล™รญstupnit rozhranรญ COM pro typy s generatedComInterfaceAttribute z objektลฏ tohoto typu. - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - Pล™idรกnรญm generatedComClassAttribute do {0} povolรญte pล™edรกvรกnรญ objektลฏ typu {0} do modelu COM. - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - Pokud chcete povolit pล™edรกvรกnรญ objektลฏ tohoto typu do modelu COM, pล™idejte GeneratedComClassAttribute - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - Analรฝza poลพadovanรก ke generovรกnรญ kรณdu pro toto rozhranรญ nebo metodu se nezdaล™ila kvลฏli neoฤekรกvanรฉmu vzoru kรณdu. Pokud pouลพรญvรกte novou nebo nekonvenฤnรญ syntaxi, zvaลพte pouลพitรญ jinรฉ syntaxe. - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - Analรฝza rozhranรญ {0} se nezdaล™ila. ComInterfaceGenerator nevygeneruje kรณd pro toto rozhranรญ. - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - Analรฝza metody {0} se nezdaล™ila. ComInterfaceGenerator nevygeneruje kรณd pro tuto metodu. - - - - Analysis for COM interface generation has failed. - Analรฝza generovรกnรญ rozhranรญ COM se nezdaล™ila. - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - Generovรกnรญ zdroje rozhranรญ COM vyลพaduje, aby vลกechna zรกkladnรญ rozhranรญ COM byla platnรก rozhranรญ. Vyล™eลกte tuto diagnostiku tรญm, ลพe opravรญte vลกechny problรฉmy v zรกkladnรญm rozhranรญ. - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - {0} rozhranรญ COM dฤ›dรญ z {1}, kde se vyskytujรญ chyby. ComInterfaceGenerator nevygeneruje zdroj pro {0}. - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - Zรกkladnรญmu rozhranรญ COM se nepodaล™ilo vygenerovat zdroj. Kรณd se pro toto rozhranรญ nevygeneruje. - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - GeneratedComInterface nemลฏลพe urฤovat ComInterfaceOptions.ManagedObjectWrapper nebo ComInterfaceOptions.ComObjectWrapper, pokud zรกkladnรญ typ rozhranรญ neurฤil moลพnosti nebo nezadal alespoลˆ stejnรฉ moลพnosti. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - Pล™evod mezi typem โ€žComImportโ€œ a typem COM generovanรฝm zdrojem nenรญ podporovรกno a za bฤ›hu selลพe. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - Pล™evod mezi typem โ€žComImportโ€œ a typem COM generovanรฝm zdrojem nenรญ podporovรกno. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - Pล™evod mezi typem โ€žComImportโ€œ a typem COM generovanรฝm zdrojem nenรญ podporovรกno. - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - Tล™รญda s atributem GeneratedComClassAttribute musรญ implementovat alespoลˆ jedno rozhranรญ s GeneratedComInterfaceAttribute, jinak nebude mรญt generovanรฝ kรณd ลพรกdnรฝ efekt. - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - Tล™รญda {0} s atributem GeneratedComClassAttribute neimplementuje ลพรกdnรก rozhranรญ s GeneratedComInterfaceAttribute. Zdroj se pro {0} nevygeneruje. - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - Hostovรกnรญ .NET COM s EnableComHosting podporuje jenom integrovanรฉho zprostล™edkovatele komunikace s objekty COM. Nepodporuje zprostล™edkovatele komunikace s objekty COM vygenerovanรฉho zdrojem s generatedComInterfaceAttribute. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - Hostovรกnรญ .NET COM s EnableComHosting nepodporuje rozhranรญ s GeneratedComInterfaceAttribute. Zmฤ›ลˆte vลกechna rozhranรญ vystavenรก modelem COM implementovanรก {0} tak, aby mรญsto toho pouลพรญvala System.Runtime.InteropServices.ComVisibleAttribute. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - Hostovรกnรญ .NET COM s EnableComHosting nepodporuje rozhranรญ s generatedComInterfaceAttribute - - - - Source-generated COM will ignore any configuration that is not supported. - Model COM vygenerovanรฝ zdrojem bude ignorovat vลกechny nepodporovanรฉ konfigurace. - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Konfigurace โ€ž{0}โ€œ nenรญ podporovรกna modelem COM generovanรฝm zdrojem. Pokud je zadanรก konfigurace povinnรก, pouลพijte mรญsto toho โ€žComImportโ€œ. - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - Zadanรก konfigurace zaล™azovรกnรญ nenรญ podporovรกna modelem COM generovanรฝm zdrojem. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Zadanรก konfigurace โ€ž{0}โ€œ pro parametr โ€ž{1}โ€œ nenรญ podporovรกna modelem COM generovanรฝm zdrojem. Pokud je zadanรก konfigurace povinnรก, pouลพijte mรญsto toho ComImport. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Zadanรก konfigurace โ€ž{0}โ€œ pro nรกvratovou hodnotu metody โ€ž{1}โ€œ nenรญ podporovรกna modelem COM generovanรฝm zdrojem. Pokud je zadanรก konfigurace povinnรก, pouลพijte mรญsto toho ComImport. - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Zadanรก hodnota โ€ž{0}โ€œ pro โ€ž{1}โ€œ nenรญ podporovรกna modelem COM generovanรฝm zdrojem. Pokud je zadanรก konfigurace povinnรก, pouลพijte mรญsto toho ComImport. - - - - Specified configuration is not supported by source-generated COM. - Zadanรก konfigurace nenรญ podporovรกna modelem COM generovanรฝm zdrojem. - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - Pล™evod tohoto rozhranรญ na generatedComInterfaceAttribute mลฏลพe zpลฏsobit neplatnรฝ kรณd a mลฏลพe vyลพadovat dalลกรญ prรกci. - - - - Convert to 'GeneratedComInterface' and allow unsafe code - Pล™evรฉst na GeneratedComInterface a povolit nebezpeฤnรฝ kรณd - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Pokud chcete vygenerovat kรณd zaล™azovรกnรญ modelu COM pล™i kompilaci, pouลพijte atribut GeneratedComInterfaceAttribute mรญsto ComImportAttribute. - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - Pล™evod tohoto rozhranรญ API na GeneratedComInterfaceAttribute bude vyลพadovat dalลกรญ kรณd, kterรฝ poskytne vlastnรญ zaล™azovaฤe pro nฤ›kterรฉ parametry. - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Pokud chcete vygenerovat kรณd zaล™azovรกnรญ modelu COM pล™i kompilaci, oznaฤte typ {0} atributem GeneratedComInterfaceAttribute mรญsto ComImportAttribute. - - - - Convert to 'GeneratedComInterface' - Pล™evรฉst na GeneratedComInterface - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - Konfigurace โ€žStringMarshallingโ€œ a โ€žStringMarshallingCustomTypeโ€œ se musรญ shodovat se zรกkladnรญm rozhranรญm COM. - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - Udรกlosti nejsou konceptem COM, takลพe pro udรกlosti instance na rozhranรญch COM generovanรฝch zdrojem nebude vygenerovรกn ลพรกdnรฝ kรณd spoluprรกce. - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - Udรกlost instance {0} je deklarovรกna v rozhranรญ {1}, ve kterรฉm se pouลพรญvรก GeneratedComInterfaceAttribute. - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - Deklarace udรกlosti instance v typu s GeneratedComInterfaceAttribute se nepodporuje. - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - Vlastnosti nejsou konceptem COM, takลพe pro vlastnosti instance na rozhranรญch COM generovanรฝch zdrojem nebude vygenerovรกn ลพรกdnรฝ kรณd spoluprรกce. - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - Vlastnost instance {0} je deklarovรกna v rozhranรญ {1}, ve kterรฉm je pouลพit atribut GeneratedComInterfaceAttribute. - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - Deklarace vlastnosti instance v typu s GeneratedComInterfaceAttribute se nepodporuje. - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - Pouลพitรญ GeneratedComInterfaceAttribute a InterfaceTypeAttribute se nepodporuje s hodnotou ComInterfaceType {0}. - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - GeneratedComInterfaceType nepodporuje hodnotu ComInterfaceType poskytnutou atributu InterfaceTypeAttribute ve stejnรฉm typu. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - Metoda โ€ž{0}โ€œ je obsaลพena v typu โ€ž{1}โ€œ, kterรฝ nenรญ oznaฤen jako โ€žฤรกsteฤnฤ› provedenรฝ kรณdโ€œ. Generovรกnรญ zdroje modelu COM bude metodu โ€ž{0}โ€œ ignorovat. - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - Obsahujรญcรญ typ metody s atributem VirtualMethodIndexAttribute nemรก UnmanagedObjectUnwrapperAttribute. - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - Metody na rozhranรญch oznaฤenรฝch atributem โ€žGeneratedComInterfaceAttributeโ€œ by nemฤ›ly bรฝt obecnรฉ povahy. Generovรกnรญ zdroje modelu COM bude obecnรฉ metody ignorovat. - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - Metoda โ€ž{0}โ€œ by nemฤ›la bรฝt v rozhranรญch oznaฤenรฝch atributem GeneratedComInterfaceAttribute obecnรฉ povahy. Generovรกnรญ zdroje modelu COM bude metodu โ€ž{0}โ€œ ignorovat. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - Konfigurace ExceptionMarshalling a ExceptionMarshallingCustomType je neplatnรก. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - Konfigurace ExceptionMarshalling a ExceptionMarshallingCustomType u metody {0} je neplatnรก. {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - ExceptionMarshallingCustomType musรญ bรฝt urฤenรฝ, pokud je vExceptionMarshalling nastavenรฝ na ExceptionMarshalling.Custom. - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - ExceptionMarshalling by mฤ›l bรฝt nastavenรฝ na ExceptionMarshalling.Custom, kdyลพ je pokud je urฤenรฝ ExceptionMarshallingCustomType. - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - Zadanรก hodnota nenรญ znรกmรฝ pล™รญznak vรฝฤtu ExceptionMarsnuming. - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - Tล™รญdy s tล™รญdou GeneratedComClassAttribute musรญ implementovat jedno nebo vรญce rozhranรญ s โ€žGeneratedComInterfaceAttributeโ€œ, bรฝt oznaฤeny jako ฤรกsteฤnรฉ a musรญ bรฝt neobecnรฉ. - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - Tล™รญda {0} s atributem GeneratedComClassAttribute nebo jednรญm z jejรญch obsahujรญcรญch typลฏ nenรญ oznaฤen klรญฤovรฝm slovem partial. - - - - Invalid 'GeneratedComClassAttribute' usage - Neplatnรฉ pouลพitรญ GeneratedComClassAttribute - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - Rozhranรญ s atributem GeneratedComInterfaceAttribute musรญ mรญt pล™รญstupnost public nebo internal a musรญ bรฝt ฤรกsteฤnรก, neobecnรก a musรญ urฤovat identifikรกtor GUID s atributem System.Runtime.InteropServices.GuidAttribute. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - Rozhranรญ โ€ž{0}โ€œ mรก atribut GeneratedComInterfaceAttribute, ale je obecnรฉ. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - Rozhranรญ โ€ž{0}โ€œ mรก atribut โ€žGeneratedComInterfaceAttributeโ€œ, ale nenรญ pล™รญstupnรฝ pล™es generovanรฝ kรณd. Rozhranรญ a vลกechny obsahujรญcรญ typy musรญ mรญt pล™รญstupnost โ€žinternalโ€œ nebo โ€žpublicโ€œ, aby k nฤ›mu vygenerovanรฝ kรณd mohl pล™istupovat. {1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - Rozhranรญ {0} mรก atribut GeneratedComInterfaceAttribute, ale chybรญ atribut System.Runtime.InteropServices.GuidAttribute. - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - Neplatnรฉ pouลพitรญ atributu GeneratedComInterfaceAttribute - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - V rozhranรญ โ€ž{0}โ€œ nebo jednom z jeho obsahujรญcรญch typลฏ chybรญ klรญฤovรฉ slovo โ€žpartialโ€œ. Pro โ€ž{0}โ€œ se nevygeneruje kรณd. - - - - The specified 'ComInterfaceOptions' are invalid. - Zadanรฝ parametr ComInterfaceOptions nenรญ platnรฝ. - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - Zadanรฝ parametr ComInterfaceOptions pro {0} nenรญ platnรฝ. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - Konfigurace StringMarshalling a StringMarshallingCustomType je neplatnรก. - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - StringMarshallingCustomType musรญ bรฝt urฤenรฝ, pokud je StringMarshalling nastavenรฝ na StringMarshalling.Custom. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - StringMarshalling by mฤ›l bรฝt nastavenรฝ na StringMarshalling.Custom, kdyลพ je pokud je urฤenรฝ StringMarshallingCustomType. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - Konfigurace โ€žStringMarshallingโ€œ a โ€žStringMarshallingCustomTypeโ€œ v rozhranรญ โ€ž{0}โ€œ je neplatnรก. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - Konfigurace StringMarshalling a StringMarshallingCustomType u metody {0} je neplatnรก. {1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - Neplatnรฉ pouลพitรญ VirtualMethodIndexAttribute - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Zadanรก konfigurace atributu MarshalAsAttribute pro parametr {1} nenรญ podporovanรก modelem COM generovanรฝm zdrojem. Pokud je zadanรก konfigurace povinnรก, pouลพijte mรญsto toho ComImport. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Zadanรก konfigurace atributu MarshalAsAttribute pro nรกvratovou hodnotu metody {1} nenรญ podporovanรก modelem COM generovanรฝm zdrojem. Pokud je zadanรก konfigurace povinnรก, pouลพijte mรญsto toho ComImport. - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - Vลกechny metody musรญ bรฝt deklarovanรฉ ve stejnรฉ ฤรกsteฤnรฉ definici typu rozhranรญ GeneratedComInterface s atributy, aby se zajistil spolehlivรฝ vรฝpoฤet pro posuny tabulky virtuรกlnรญch metod. - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - Metoda {0} je deklarovรกna v jinรฉ ฤรกsteฤnรฉ definici rozhranรญ {1} neลพ definice s atributem GeneratedComInterface. - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - Metoda je deklarovanรก v jinรฉ ฤรกsteฤnรฉ deklaraci neลพ atribut GeneratedComInterface. - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - Rozhranรญ s atributem GeneratedComInterfaceAttribute mลฏลพe bรฝt odvozeno pouze z jednoho jinรฉho rozhranรญ s atributem GeneratedComInterfaceAttribute. - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - Rozhranรญ โ€ž{0}โ€œ je odvozeno ze dvou nebo vรญce rozhranรญ s atributem GeneratedComInterfaceAttribute. - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - Zadanรฉ rozhranรญ je odvozeno ze dvou nebo vรญce rozhranรญ s atributem GeneratedComInterfaceAttribute. - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - Musรญ se zadat ComInterfaceOptions.ManagedObjectWrapper nebo ComInterfaceOptions.ComObjectWrapper. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - GeneratedComInterfaceAttribute a GeneratedComClassAttribute vyลพadujรญ nebezpeฤnรฝ kรณd. Projekt se musรญ aktualizovat na <AllowUnsafeBlocks>true</AllowUnsafeBlocks>. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - GeneratedComInterfaceAttribute a GeneratedComClassAttribute vyลพadujรญ nebezpeฤnรฝ kรณd. Projekt se musรญ aktualizovat na <AllowUnsafeBlocks>true</AllowUnsafeBlocks>. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - GeneratedComInterfaceAttribute a GeneratedComClassAttribute vyลพadujรญ nebezpeฤnรฝ kรณd. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - Rozhranรญ COM Interop API na System.Runtime.InteropServices.Marshal nepodporujรญ model COM generovanรฝ zdrojem a za bฤ›hu selลพou. - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - Metoda {0} podporuje pouze vzรกjemnou spoluprรกci COM zaloลพenou na modulu runtime a nebude fungovat s typem {1}. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - Rozhranรญ COM Interop API na System.Runtime.InteropServices.Marshal nepodporujรญ model COM generovanรฝ zdrojem - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - Typ โ€ž{0}โ€œ zadanรฝ jako โ€žGeneratedComInterfaceAttribute.StringMarswebingCustomTypeโ€œ nenรญ pล™รญstupnรฝ pล™es generovanรฝ kรณd. Typ musรญ mรญt pล™รญstupnost alespoลˆ โ€žinternalโ€œ. {1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - U typลฏ, kterรฉ nejsou podporovรกny modelem COM generovanรฝm zdrojem, bude vรฝslednรฝ ukazatel funkce pล™i zaล™azovรกnรญ zadanรฉho typu spolรฉhat na zรกkladnรญ modul runtime. - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - Model COM vygenerovanรฝ zdrojem nepodporuje typ โ€ž{0}โ€œ. Vygenerovanรฝ zdroj nezpracuje zaล™azovรกnรญ parametru โ€ž{1}โ€œ. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} Generovanรฝ zdroj nebude zpracovรกvat zaล™azovรกnรญ parametru {1}. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - Model COM vygenerovanรฝ zdrojem nepodporuje typ โ€ž{0}โ€œ. Vygenerovanรฝ zdroj nebude zpracovรกvat zaล™azovรกnรญ nรกvratovรฉ hodnoty metody โ€ž{1}โ€œ. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} Generovanรฝ zdroj nebude zpracovรกvat zaล™azovรกnรญ nรกvratovรฉ hodnoty metody {1}. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - Zadanรฝ typ nenรญ podporovรกn modelem COM generovanรฝm zdrojem. - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Poskytly se neรบmyslnรฉ informace o zaล™azovรกnรญ. Tyto informace o zaล™azovรกnรญ lze odebrat bez jakรฉkoli zmฤ›ny chovรกnรญ aplikace. - - - - Unnecessary marshalling info was provided and can be removed. - Byly poskytnutรฉ nepotล™ebnรฉ informace o zaล™azovรกnรญ a dajรญ se odebrat. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Byly poskytnuty zbyteฤnรฉ informace o zaล™azovรกnรญ {0} pro parametr {1}. - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Byly poskytnuty zbyteฤnรฉ informace o zaล™azovรกnรญ {0} pro nรกvratovรฝ typ metody {1}. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.de.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.de.xlf deleted file mode 100644 index 73a4b7caed193..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.de.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - Fรผgen Sie "GeneratedComClassAttribute" hinzu, um die รœbergabe von Objekten dieses Typs an COM zu ermรถglichen und unsicheren Code zuzulassen. - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - Dieser Typ implementiert mindestens einen Typ mit dem GeneratedComInterfaceAttribute-Attribut. Fรผgen Sie "GeneratedComClassAttribute" hinzu, um die รœbergabe dieses Typs an COM zu ermรถglichen und die COM-Schnittstellen fรผr die Typen mit dem GeneratedComInterfaceAttribute aus Objekten dieses Typs verfรผgbar zu machen. - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - Fรผgen Sie "GeneratedComClassAttribute" zu "{0}" hinzu, um die รœbergabe von Objekten vom Typ "{0}" an COM zu ermรถglichen. - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - Fรผgen Sie "GeneratedComClassAttribute" hinzu, um die รœbergabe von Objekten dieses Typs an COM zu ermรถglichen. - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - Die Analyse, die erforderlich ist, um Code fรผr diese Schnittstelle oder Methode zu erzeugen, ist aufgrund eines unerwarteten Codemusters fehlgeschlagen. Wenn Sie eine neue oder unkonventionelle Syntax verwenden, sollten Sie eine andere Syntax verwenden. - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - Fehler bei der Analyse der Schnittstelle "{0}". ComInterfaceGenerator generiert keinen Code fรผr diese Methode. - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - Fehler bei der Analyse der Methode "{0}". ComInterfaceGenerator generiert keinen Code fรผr diese Methode. - - - - Analysis for COM interface generation has failed. - Die Analyse fรผr die COM-Schnittstellengenerierung ist fehlgeschlagen. - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - Fรผr die Generierung von COM-Schnittstellenquellen mรผssen alle COM-Basisschnittstellen gรผltige Schnittstellen sein. Beheben Sie alle Probleme auf der Basisschnittstelle, um diese Diagnose zu beheben. - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - Die COM-Schnittstelle {0} erbt von {1}, das Fehler aufweist. ComInterfaceGenerator generiert keine Quelle fรผr {0}. - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - Die Basis-COM-Schnittstelle konnte die Quelle nicht generieren. Fรผr diese Schnittstelle wird kein Code generiert. - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - Ein "GeneratedComInterface" kann nur dann "ComInterfaceOptions.ManagedObjectWrapper" oder "ComInterfaceOptions.ComObjectWrapper" angeben, wenn der Basisschnittstellentyp keine Optionen angegeben oder mindestens dieselben Optionen angegeben hat. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - Die Umwandlung zwischen einem ComImport-Typ und einem quellgenerierten COM-Typ wird nicht unterstรผtzt und wird zur Laufzeit fehlschlagen. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - Die Umwandlung zwischen einem ComImport-Typ und einem quellgenerierten COM-Typ wird nicht unterstรผtzt. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - Die Umwandlung zwischen einem ComImport-Typ und einem quellgenerierten COM-Typ wird nicht unterstรผtzt. - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - Eine Klasse mit 'GeneratedComClassAttribute' muss mindestens eine Schnittstelle mit 'GeneratedComInterfaceAttribute' implementieren, sonst hat der generierte Code keine Wirkung. - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - Die Klasse '{0}' mit 'GeneratedComClassAttribute' implementiert keine Schnittstellen mit 'GeneratedComInterfaceAttribute'. Die Quelle wird fรผr '{0}' nicht generiert. - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - Das .NET COM-Hosting mit "EnableComHosting" unterstรผtzt nur integrierte COM-Interop. Der vom Quellcode generierte COM-Interop mit "GeneratedComInterfaceAttribute" wird nicht unterstรผtzt. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - Das .NET COM-Hosting mit "EnableComHosting" unterstรผtzt keine Schnittstellen mit dem "GeneratedComInterfaceAttribute". ร„ndern Sie alle von "{0}" implementierten COM-verfรผgbar gemachten Schnittstellen, sodass stattdessen "System.Runtime.InteropServices.ComVisibleAttribute" verwendet wird. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - Das .NET COM-Hosting mit "EnableComHosting" unterstรผtzt keine Schnittstellen mit "GeneratedComInterfaceAttribute". - - - - Source-generated COM will ignore any configuration that is not supported. - Quellgeneriertes COM ignoriert alle Konfigurationen, die nicht unterstรผtzt werden. - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Die Konfiguration "{0}" wird vom quellgenerierten COM nicht unterstรผtzt. Wenn die angegebene Konfiguration erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žComImportโ€œ. - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - Die angegebene Marshallingkonfiguration wird vom quellgenerierten COM nicht unterstรผtzt. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Die angegebene Konfiguration "{0}" fรผr den Parameter "{1}" wird vom quellgenerierten COM nicht unterstรผtzt. Wenn die angegebene Konfiguration erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žComImportโ€œ. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Die angegebene Konfiguration "{0}" fรผr den Rรผckgabewert der Methode "{1}" wird vom quellgenerierten COM nicht unterstรผtzt. Wenn die angegebene Konfiguration erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žComImportโ€œ. - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Der angegebene Wert "{0}" fรผr "{1}" wird vom quellgenerierten COM nicht unterstรผtzt. Wenn die angegebene Konfiguration erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žComImportโ€œ. - - - - Specified configuration is not supported by source-generated COM. - Die angegebene Konfiguration wird vom quellgenerierten COM nicht unterstรผtzt. - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - Das Konvertieren dieser Schnittstelle zur Verwendung von "GeneratedComInterfaceAttribute" erzeugt mรถglicherweise ungรผltigen Code und erfordert mรถglicherweise zusรคtzliche Arbeit. - - - - Convert to 'GeneratedComInterface' and allow unsafe code - In "GeneratedComInterface" konvertieren und unsicheren Code zulassen - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Verwenden Sie "GeneratedComInterfaceAttribute" anstelle von "ComImportAttribute", um COM-Marshallingcode zur Kompilierzeit zu generieren. - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - Zum Konvertieren dieser API in "GeneratedComInterfaceAttribute" ist zusรคtzlicher Code erforderlich, um benutzerdefinierte Marshaller fรผr einige Parameter bereitzustellen. - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Markieren Sie den Typ "{0}" mit "GeneratedComInterfaceAttribute" anstelle von "ComImportAttribute", um COM-Marshallingcode zur Kompilierzeit zu generieren. - - - - Convert to 'GeneratedComInterface' - In "GeneratedComInterface" konvertieren - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - Die Konfiguration von "StringMarshalling" und "StringMarshallingCustomType" muss mit der COM-Basisschnittstelle รผbereinstimmen. - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - Ereignisse sind kein Konzept in COM, daher wird kein Interopcode fรผr Instanzereignisse auf von der Quelle generierten COM-Schnittstellen generiert. - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - Das Instanzereignis "{0}" wird in der Schnittstelle "{1}" deklariert, auf die das "GeneratedComInterfaceAttribute" angewendet wurde. - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - Das Deklarieren eines Instanzereignisses in einem Typ mit dem "GeneratedComInterfaceAttribute" wird nicht unterstรผtzt. - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - Eigenschaften sind kein Konzept in COM, daher wird kein Interopcode fรผr Instanzeigenschaften auf von der Quelle generierten COM-Schnittstellen generiert. - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - Die Instanzeigenschaft "{0}" wird in der Schnittstelle "{1}" deklariert, auf die das "GeneratedComInterfaceAttribute" angewendet wurde. - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - Das Deklarieren einer Instanzeigenschaft in einem Typ mit dem "GeneratedComInterfaceAttribute" wird nicht unterstรผtzt. - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - Die Verwendung von โ€žGeneratedComInterfaceAttributeโ€œ und โ€žInterfaceTypeAttributeโ€œ wird mit dem ComInterfaceType-Wert โ€ž{0}โ€œ nicht unterstรผtzt. - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - โ€žGeneratedComInterfaceTypeโ€œ unterstรผtzt den fรผr โ€žInterfaceTypeAttributeโ€œ angegebenen ComInterfaceType-Wert fรผr denselben Typ nicht. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - Die Methode "{0}" ist in einem Typ "{1}" enthalten, der nicht als "partiell" gekennzeichnet ist. Die COM-Quellgenerierung ignoriert die Methode "{0}". - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - Der Typ der Methode mit VirtualMethodIndexAttribute enthรคlt kein UnmanagedObjectUnwrapperAttribute. - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - Methoden fรผr Schnittstellen, die mit "GeneratedComInterfaceAttribute" gekennzeichnet sind, sollten nicht generisch sein. Die COM-Quellgenerierung ignoriert generische Methoden. - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - Die Methode "{0}" sollte bei Schnittstellen, die mit "GeneratedComInterfaceAttribute" gekennzeichnet sind, nicht generisch sein. Die COM-Quellgenerierung ignoriert die Methode "{0}". - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - Die Konfiguration von โ€žExceptionMarshallingโ€œ und โ€žExceptionMarshallingCustomTypeโ€œ ist ungรผltig. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - Die Konfiguration von โ€žExceptionMarshallingโ€œ und โ€žExceptionMarshallingCustomTypeโ€œ fรผr die Methode โ€ž{0}โ€œ ist ungรผltig. {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - โ€žExceptionMarshallingCustomTypeโ€œ muss angegeben werden, wenn โ€žExceptionMarshallingโ€œ auf โ€žExceptionMarshalling.Customโ€œ festgelegt ist. - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - โ€žExceptionMarshallingโ€œ muss auf โ€žExceptionMarshalling.Customโ€œ festgelegt werden, wenn โ€žExceptionMarshallingCustomTypeโ€œ angegeben ist. - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - Der angegebene Wert ist kein bekanntes Flag der โ€žExceptionMarshallingโ€œ-Enumeration. - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - Klassen mit "GeneratedComClassAttribute" mรผssen mindestens eine Schnittstelle mit "GeneratedComInterfaceAttribute" implementieren, als "Partiell" gekennzeichnet und nicht generisch sein. - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - Die Klasse '{0}' mit 'GeneratedComClassAttribute' oder einer der sie enthaltenden Typen ist nicht als 'partiell' gekennzeichnet. - - - - Invalid 'GeneratedComClassAttribute' usage - Ungรผltige Verwendung von "GeneratedComClassAttribute" - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - Schnittstellen, die mit 'GeneratedComInterfaceAttribute' attributiert sind, mรผssen รผber 'public' oder 'internal' verfรผgen und teilweise, nicht generisch sein und eine GUID mit 'System.Runtime.InteropServices.GuidAttribute' angeben. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - Die Schnittstelle "{0}" wird mit "GeneratedComInterfaceAttribute" attributiert, ist aber generisch. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - Die Schnittstelle '{0}' ist mit 'GeneratedComInterfaceAttribute' attributiert, kann aber nicht durch generierten Code zugegriffen werden. Die Schnittstelle und alle enthaltenden Typen mรผssen รผber den Zugriff 'internal' oder 'public' verfรผgen, damit generierter Code darauf zugreifen kann. {1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - Die Schnittstelle โ€ž{0}โ€œ ist mit โ€žGeneratedComInterfaceAttributeโ€œ attribuiert, aber โ€žSystem.Runtime.InteropServices.GuidAttributeโ€œ fehlt. - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - Ungรผltige Verwendung von โ€žGeneratedComInterfaceAttributeโ€œ. - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - In der Schnittstelle "{0}" oder einem der enthaltenden Typen fehlt das Schlรผsselwort "Partiell". Fรผr "{0}" wird kein Code generiert. - - - - The specified 'ComInterfaceOptions' are invalid. - Die angegebenen 'ComInterfaceOptions' sind ungรผltig. - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - Die angegebenen 'ComInterfaceOptions' auf '{0}' sind ungรผltig. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - Die Konfiguration von \"StringMarshalling\" und \"StringMarshallingCustomType\" ist ungรผltig. - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - \"StringMarshallingCustomType\" muss angegeben werden, wenn \"StringMarshalling\" auf \"StringMarshalling.Custom\" festgelegt ist. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - \"StringMarshalling\" muss auf \"StringMarshalling.Custom\" festgelegt werden, wenn \"StringMarshallingCustomType\" angegeben ist. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - Die Konfiguration von "StringMarshalling" und "StringMarshallingCustomType" fรผr die Schnittstelle "{0}" ist ungรผltig. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - Die Konfiguration von \"StringMarshalling\" und \"StringMarshallingCustomType\" fรผr die Methode \"{0}\" ist ungรผltig. {1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - Ungรผltige Verwendung von โ€žVirtualMethodIndexAttributeโ€œ - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Die angegebene Konfiguration โ€žMarshalAsAttributeโ€œ fรผr den Parameter โ€ž{1}โ€œ wird vom quellgenerierten COM nicht unterstรผtzt. Wenn die angegebene Konfiguration erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žComImportโ€œ. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Die angegebene Konfiguration โ€žMarshalAsAttributeโ€œ fรผr den Rรผckgabewert der Methode โ€ž{1}โ€œ wird vom quellgenerierten COM nicht unterstรผtzt. Wenn die angegebene Konfiguration erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žComImportโ€œ. - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - Alle Methoden mรผssen in derselben partiellen Definition eines Schnittstellentyps mit Attributen vom Typ "GeneratedComInterface" deklariert werden, um eine zuverlรคssige Berechnung fรผr Tabellenoffsets virtueller Methoden sicherzustellen. - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - Die Methode "{0}" ist fรผr eine andere partielle Definition der Schnittstelle "{1}" als die Definition deklariert, die รผber das GeneratedComInterface-Attribut verfรผgt. - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - Die Methode wird in einer anderen partiellen Deklaration als das GeneratedComInterface-Attribut deklariert. - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - Eine "GeneratedComInterfaceAttribute"-attributierte Schnittstelle kann nur von hรถchstens einer weiteren "GeneratedComInterfaceAttribute"-Attributschnittstelle abgeleitet werden. - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - Die Schnittstelle '{0}' wird von mindestens zwei Schnittstellen abgeleitet, die mit "GeneratedComInterfaceAttribute" attributiert sind. - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - Die angegebene Schnittstelle wird von mindestens zwei Schnittstellen abgeleitet, die "GeneratedComInterfaceAttribute" zugeordnet sind. - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - Es muss entweder "ComInterfaceOptions.ManagedObjectWrapper" oder "ComInterfaceOptions.ComObjectWrapper" angegeben werden. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - 'GeneratedComInterfaceAttribute' und 'GeneratedComClassAttribute' erfordern unsicheren Code. Das Projekt muss mit '<AllowUnsafeBlocks>wahr</AllowUnsafeBlocks>' aktualisiert werden. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - 'GeneratedComInterfaceAttribute' und 'GeneratedComClassAttribute' erfordern unsicheren Code. Das Projekt muss mit '<AllowUnsafeBlocks>wahr</AllowUnsafeBlocks>' aktualisiert werden. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - GeneratedComInterfaceAttribute und GeneratedComClassAttribute erfordern unsicheren Code. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - COM-Interop-APIs auf "System.Runtime.InteropServices.Marshal" unterstรผtzen keine vom Quellcode generierten COM-Dateien und schlagen zur Laufzeit fehl. - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - Die Methode "{0}" unterstรผtzt nur laufzeitbasierte COM-Interop und funktioniert nicht mit dem Typ "{1}". - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - COM-Interop-APIs auf "System.Runtime.InteropServices.Marshal" unterstรผtzen keine vom Quellcode generierten COM-Dateien. - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - Auf den als 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' angegebenen Typ '{0}' nicht durch generierten Code zugegriffen werden. Der Typ muss รผber mindestens 'internal'-Zugriffsmรถglichkeiten verfรผgen. {1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - Bei Typen, die vom quellgenerierten COM nicht unterstรผtzt werden, basiert der resultierende Funktionszeiger auf der zugrunde liegenden Laufzeit, um den angegebenen Typ zu marshallen. - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - Der Typ "{0}" wird vom quellgenerierten COM nicht unterstรผtzt. Die generierte Quelle verarbeitet das Marshalling des Parameters "{1}" nicht. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} Die generierte Quelle verarbeitet das Marshalling des Parameters \"{1}\" nicht. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - Der Typ "{0}" wird vom quellgenerierten COM nicht unterstรผtzt. Die generierte Quelle verarbeitet das Marshalling des Rรผckgabewerts der Methode "{1}" nicht. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} Die generierte Quelle verarbeitet das Marshalling des Rรผckgabewerts der Methode \"{1}\" nicht. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - Der angegebene Typ wird vom quellgenerierten COM nicht unterstรผtzt. - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Es wurden nicht benรถtigte Marshallinginformationen angegeben. Diese Marshallinginformationen kรถnnen entfernt werden, ohne dass sich das Verhalten der Anwendung รคndert. - - - - Unnecessary marshalling info was provided and can be removed. - Es wurden nicht benรถtigte Marshallinginformationen angegeben, die entfernt werden kรถnnen. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Fรผr den Parameter "{0}" wurden nicht benรถtigte Marshallinginformationen "{1}" angegeben. - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Fรผr den Rรผckgabetyp der Methode "{0}" wurden nicht benรถtigte Marshallinginformationen "{1}" angegeben - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.es.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.es.xlf deleted file mode 100644 index d4067bf6c7a4e..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.es.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - Agregar "GeneratedComClassAttribute" para habilitar el paso de objetos de este tipo a COM y permitir cรณdigo no seguro - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - Este tipo implementa al menos un tipo con el atributo โ€œGeneratedComInterfaceAttributeโ€. Agregue โ€œGeneratedComClassAttributeโ€ para habilitar el paso de este tipo a COM y exponer las interfaces COM para los tipos con โ€œGeneratedComInterfaceAttributeโ€ a partir de objetos de este tipo. - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - Agregar "GeneratedComClassAttribute" a โ€œ{0}โ€ para habilitar el paso de objetos de tipo โ€œ{0}โ€ a COM - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - Agregar "GeneratedComClassAttribute" para habilitar el paso de objetos de este tipo a COM - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - Se ha producido un error en el anรกlisis necesario para generar cรณdigo para esta interfaz o mรฉtodo debido a un patrรณn de cรณdigo inesperado. Si estรก usando sintaxis nueva o no convencional, considere la posibilidad de usar otra sintaxis. - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - Error en el anรกlisis de la interfaz "{0}". ComInterfaceGenerator no generarรก cรณdigo para esta interfaz. - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - Error en el anรกlisis del mรฉtodo "{0}". ComInterfaceGenerator no generarรก cรณdigo para este mรฉtodo. - - - - Analysis for COM interface generation has failed. - Error al analizar la generaciรณn de la interfaz COM. - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - La generaciรณn de orรญgenes de interfaz COM requiere que todas las interfaces COM base sean interfaces vรกlidas. Corrija los problemas de la interfaz base para resolver este diagnรณstico. - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - La interfaz {0} COM hereda de {1}, que tiene errores. ComInterfaceGenerator no generarรก el origen para {0}. - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - La interfaz COM base no pudo generar el origen. No se generarรก cรณdigo para esta interfaz. - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - ''GeneratedComInterface'' no puede especificar ''ComInterfaceOptions.ManagedObjectWrapper'' o ''ComInterfaceOptions.ComObjectWrapper'' a menos que el tipo de interfaz base no especifique opciones o especifique al menos las mismas opciones. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - No se admite la conversiรณn entre un tipo "ComImport" y un tipo COM generado por el origen y se producirรก un error en tiempo de ejecuciรณn. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - No se admite la conversiรณn entre un tipo 'ComImport' y un tipo COM generado por origen - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - No se admite la conversiรณn entre un tipo 'ComImport' y un tipo COM generado por origen - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - Una clase con "GeneratedComClassAttribute" debe implementar al menos una interfaz con "GeneratedComInterfaceAttribute" o el cรณdigo generado sin efecto. - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - La clase "{0}" con "GeneratedComClassAttribute" no implementa ninguna interfaz con "GeneratedComInterfaceAttribute". No se generarรก el origen para "{0}". - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - El hospedaje COM de .NET con "EnableComHosting" solo admite interoperabilidad COM integrada. No admite la interoperabilidad COM generada por origen con "GeneratedComInterfaceAttribute". - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - El hospedaje COM de .NET con โ€œEnableComHostingโ€ no admite interfaces con โ€œGeneratedComInterfaceAttributeโ€. Cambie las interfaces expuestas a COM implementadas por โ€œ{0}โ€ para usar โ€œSystem.Runtime.InteropServices.ComVisibleAttributeโ€ en su lugar - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - El hospedaje COM de .NET con โ€œEnableComHostingโ€ no admite interfaces con โ€œGeneratedComInterfaceAttributeโ€ - - - - Source-generated COM will ignore any configuration that is not supported. - COM generado por el origen omitirรก cualquier configuraciรณn que no se admita. - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configuraciรณn "{0}" no es compatible con COM generado por origen. Si se requiere la configuraciรณn especificada, usa "ComImport" en su lugar. - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - COM generado por origen no admite la configuraciรณn de serializaciรณn especificada. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configuraciรณn "{0}" especificada para el parรกmetro "{1}" no es compatible con COM generado por el origen. Si se requiere la configuraciรณn especificada, use "ComImport" en su lugar. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configuraciรณn "{0}" especificada para el valor devuelto del mรฉtodo "{1}" no es compatible con COM generado por origen. Si se requiere la configuraciรณn especificada, usa "ComImport" en su lugar. - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - El valor especificado "{0}" para "{1}" no es compatible con COM generado por el origen. Si se requiere la configuraciรณn especificada, usa "ComImport" en su lugar. - - - - Specified configuration is not supported by source-generated COM. - COM generado por origen no admite la configuraciรณn especificada. - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - Convertir esta interfaz para que use โ€œGeneratedComInterfaceAttributeโ€ puede producir cรณdigo no vรกlido y puede requerir trabajo adicional - - - - Convert to 'GeneratedComInterface' and allow unsafe code - Convertir en "GeneratedComInterface" y permitir cรณdigo no seguro - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Usar โ€œGeneratedComInterfaceAttributeโ€ en lugar de โ€œComImportAttributeโ€ para generar cรณdigo de serializaciรณn COM en tiempo de compilaciรณn - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - La conversiรณn de esta API a โ€œGeneratedComInterfaceAttributeโ€ requerirรก cรณdigo adicional para proporcionar serializadores personalizados para algunos parรกmetros. - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Marcar el tipo โ€œ{0}โ€ con โ€œGeneratedComInterfaceAttributeโ€ en lugar de โ€œComImportAttributeโ€ para generar cรณdigo de serializaciรณn COM en tiempo de compilaciรณn - - - - Convert to 'GeneratedComInterface' - Convertir en โ€œGeneratedComInterfaceโ€ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - La configuraciรณn de "StringMarshalling" y "StringMarshallingCustomType" debe coincidir con la interfaz COM base. - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - Los eventos no representan un concepto en COM, de modo que no se generarรก cรณdigo de interoperabilidad para eventos de instancia en interfaces COM generadas en origen. - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - El evento de instancia ''{0}'' se declara en la interfaz ''{1}'', que tiene aplicado ''GeneratedComInterfaceAttribute'' - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - No se admite la declaraciรณn de un evento de instancia en un tipo con "GeneratedComInterfaceAttribute". - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - Las propiedades no son un concepto en COM, por lo que no se generarรก cรณdigo de interoperabilidad para las propiedades de instancia en interfaces COM generadas por el origen. - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - La propiedad de instancia ''{0}'' se declara en la interfaz ''{1}'', que tiene aplicado ''GeneratedComInterfaceAttribute'' - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - No se admite la declaraciรณn de una propiedad de instancia en un tipo con "GeneratedComInterfaceAttribute". - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - No se admite el uso de "GeneratedComInterfaceAttribute" e "InterfaceTypeAttribute" con el valor "ComInterfaceType" '{0}'. - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - 'GeneratedComInterfaceType' no admite el valor 'ComInterfaceType' proporcionado a 'InterfaceTypeAttribute' en el mismo tipo. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - El mรฉtodo "{0}" estรก contenido en un tipo "{1}" que no estรก marcado como "parcial". La generaciรณn de cรณdigo fuente COM omitirรก el mรฉtodo "{0}". - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - El tipo de mรฉtodo contenedor con VirtualMethodIndexAttribute no tiene un UnmanagedObjectUnwrapperAttribute. - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - Los mรฉtodos de las interfaces marcadas con "GeneratedComInterfaceAttribute" no deben ser genรฉricos. La generaciรณn de orรญgenes COM omitirรก los mรฉtodos que son genรฉricos. - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - El mรฉtodo "{0}" debe ser no genรฉrico cuando se encuentra en interfaces marcadas con 'GeneratedComInterfaceAttribute'. La generaciรณn de cรณdigo fuente COM omitirรก el mรฉtodo "{0}". - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - La configuraciรณn de โ€œExceptionMarshallingโ€ y โ€œExceptionMarshallingCustomTypeโ€ no es vรกlida. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - La configuraciรณn de โ€œExceptionMarshallingโ€ y โ€œExceptionMarshallingCustomTypeโ€ en el mรฉtodo โ€œ{0}โ€ no es vรกlida. {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - Se deberรก especificar โ€œExceptionMarshallingCustomTypeโ€ cuando โ€œExceptionMarshallingโ€ estรฉ establecido en โ€œExceptionMarshalling.Customโ€. - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - โ€ExceptionMarshallingโ€ deberรก establecerse en โ€ExceptionMarshalling.Customโ€ cuando se especifique โ€ExceptionMarshallingCustomTypeโ€. - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - El valor proporcionado no es una marca conocida de la enumeraciรณn โ€œExceptionMarshallingโ€. - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - Las clases con "GeneratedComClassAttribute" deben implementar una o varias interfaces con "GeneratedComInterfaceAttribute", marcarse como parciales y no ser genรฉricas. - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - La clase "{0}" con "GeneratedComClassAttribute" o uno de sus tipos contenedores no estรก marcada como "partial". - - - - Invalid 'GeneratedComClassAttribute' usage - Uso de "GeneratedComClassAttribute" no vรกlido - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - Las interfaces con atributos "GeneratedComInterfaceAttribute" deben tener accesibilidad "publica" o "interna" y ser parciales, no genรฉricas, y deben especificar un GUID con "System.Runtime.InteropServices.GuidAttribute". - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - La interfaz โ€œ{0}โ€ tiene el atributo โ€GeneratedComInterfaceAttributeโ€, pero es genรฉrica. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - La interfaz '{0}' tiene el atributo 'GeneratedComInterfaceAttribute', pero el cรณdigo generado no puede acceder a ella. La interfaz y todos los tipos contenedores deben tener accesibilidad "interna" o "publico" para que el cรณdigo generado tenga acceso a ella. {1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - La interfaz '{0}' tiene atribuido 'GeneratedComInterfaceAttribute', pero falta 'System.Runtime.InteropServices.GuidAttribute'. - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - Uso de 'GeneratedComInterfaceAttribute' no vรกlido. - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - Falta la palabra clave 'partial' en la interfaz '{0}' o en uno de sus tipos contenedores. No se generarรก cรณdigo para '{0}'. - - - - The specified 'ComInterfaceOptions' are invalid. - El elemento ''ComInterfaceOptions'' especificado no es vรกlido. - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - El elemento ''ComInterfaceOptions'' especificado en ''{0}'' no es vรกlido. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - La configuraciรณn de โ€œStringMarshallingโ€ y โ€œStringMarshallingCustomTypeโ€ no es vรกlida. - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - Se debe especificar โ€œStringMarshallingCustomTypeโ€ cuando โ€œStringMarshallingโ€ estรฉ establecido en โ€œStringMarshalling.Customโ€. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - โ€œStringMarshallingโ€ debe establecerse en โ€œStringMarshalling.Customโ€ cuando โ€œStringMarshallingCustomTypeโ€ estรฉ especificado. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - La configuraciรณn de "StringMarshalling" y "StringMarshallingCustomType" en la interfaz "{0}" no es vรกlida. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - La configuraciรณn de โ€œStringMarshallingโ€ y โ€œStringMarshallingCustomTypeโ€ en el mรฉtodo โ€œ{0}โ€ no es vรกlida. {1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - Uso de โ€VirtualMethodIndexAttributeโ€ no vรกlido - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configuraciรณn "MarshalAsAttribute" para el parรกmetro "{1}" no se admite en COM generado por cรณdigo fuente. Si se requiere la configuraciรณn especificada, use `ComImport` en su lugar. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configuraciรณn "MarshalAsAttribute" para el valor devuelto del mรฉtodo "{1}" no se admite en COM generado por cรณdigo fuente. Si se requiere la configuraciรณn especificada, use `ComImport` en su lugar. - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - Todos los mรฉtodos deben declararse en la misma definiciรณn parcial de un tipo de interfaz con atributos "GeneratedComInterface" para garantizar un cรกlculo confiable de los desplazamientos de la tabla de mรฉtodos virtuales. - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - El mรฉtodo "{0}" estรก declarado en una definiciรณn parcial diferente de la interfaz "{1}" que la definiciรณn que tiene el atributo "GeneratedComInterface" - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - El mรฉtodo se declara en una declaraciรณn parcial diferente a la del atributo "GeneratedComInterface". - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - Una interfaz con atributos 'GeneratedComInterfaceAttribute' solo puede derivar de otra interfaz con atributos 'GeneratedComInterfaceAttribute'. - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - El '{0}' de interfaz se deriva de dos o mรกs interfaces atribuidas a 'GeneratedComInterfaceAttribute'. - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - La interfaz especificada deriva de dos o mรกs interfaces con atributos "GeneratedComInterfaceAttribute". - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - Debe especificarse ''ComInterfaceOptions.ManagedObjectWrapper'' o ''ComInterfaceOptions.ComObjectWrapper''. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - "GeneratedComInterfaceAttribute" y "GeneratedComClassAttribute" requieren cรณdigo no seguro. El proyecto debe actualizarse con "<AllowUnsafeBlocks>true</AllowUnsafeBlocks>". - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - "GeneratedComInterfaceAttribute" y "GeneratedComClassAttribute" requieren cรณdigo no seguro. El proyecto debe actualizarse con "<AllowUnsafeBlocks>true</AllowUnsafeBlocks>". - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - "GeneratedComInterfaceAttribute" y "GeneratedComClassAttribute" requieren cรณdigo no seguro. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - Las API de interoperabilidad COM en โ€œSystem.Runtime.InteropServices.Marshalโ€ no admiten COM generado por origen y producirรกn un error en runtime - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - El mรฉtodo โ€œ{0}โ€ solo admite interoperabilidad COM basada en tiempo de ejecuciรณn y no funcionarรก con el tipo โ€œ{1}โ€ - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - Las API de interoperabilidad COM en โ€œSystem.Runtime.InteropServices.Marshalโ€ no admiten COM generado por origen - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - El cรณdigo generado no puede acceder al tipo '{0}' especificado como 'GeneratedComInterfaceAttribute.StringMarshallingCustomType'. El tipo debe tener al menos accesibilidad "interna". {1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - Para los tipos que no son compatibles con COM generado por el origen, el puntero de funciรณn resultante se basarรก en el tiempo de ejecuciรณn subyacente para serializar el tipo especificado. - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - El tipo "{0}" no es compatible con COM generado por origen. El origen generado no controlarรก la serializaciรณn del parรกmetro "{1}". - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} El origen generado no controlarรก la serializaciรณn del parรกmetro โ€œ{1}โ€. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - El tipo "{0}" no es compatible con COM generado por origen. El origen generado no controlarรก la serializaciรณn del valor devuelto del mรฉtodo "{1}". - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} El cรณdigo fuente generado no controlarรก la serializaciรณn del valor devuelto del mรฉtodo โ€œ{1}โ€. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - El tipo especificado no es compatible con COM generado por el origen - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Se proporcionรณ informaciรณn de serializaciรณn innecesaria. Esta informaciรณn de serializaciรณn se puede quitar sin ningรบn cambio en el comportamiento de la aplicaciรณn. - - - - Unnecessary marshalling info was provided and can be removed. - Se proporcionรณ informaciรณn de serializaciรณn innecesaria y se puede quitar. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Se proporcionรณ informaciรณn de serializaciรณn innecesaria '{0}' para el parรกmetro '{1}' - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Se proporcionรณ informaciรณn de clasificaciรณn innecesaria '{0}' para el tipo de mรฉtodo de devoluciรณn '{1}' - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.fr.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.fr.xlf deleted file mode 100644 index 485bf1cc46341..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.fr.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - Ajoutez 'GeneratedComClassAttribute' pour permettre le passage d'objets de ce type ร  COM et autoriser le code non sรฉcurisรฉ - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - Ce type implรฉmente au moins un type avec l'attribut 'GeneratedComInterfaceAttribute'. Ajoutez le 'GeneratedComClassAttribute' pour activer le passage de ce type ร  COM et exposer les interfaces COM pour les types avec le 'GeneratedComInterfaceAttribute' des objets de ce type. - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - Ajoutez le 'GeneratedComClassAttribute' ร  '{0}' pour permettre le passage d'objets de type '{0}' ร  COM - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - Ajouter 'GeneratedComClassAttribute' pour permettre le passage d'objets de ce type ร  COM - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - Lโ€™analyse requise pour gรฉnรฉrer du code pour cette interface ou cette mรฉthode a รฉchouรฉ en raison dโ€™un modรจle de code inattendu. Si vous utilisez une syntaxe nouvelle ou syntaxe correcte, utilisez une autre syntaxe. - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - Nous nโ€™avons pas pu analyser lโ€™interface '{0}'. ComInterfaceGenerator ne gรฉnรฉrera pas de code pour cette interface. - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - Nous nโ€™avons pas pu analyser la mรฉthode '{0}'. ComInterfaceGenerator ne gรฉnรฉrera pas de code pour cette mรฉthode. - - - - Analysis for COM interface generation has failed. - Lโ€™analyse de la gรฉnรฉration de lโ€™interface COM a รฉchouรฉ. - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - La gรฉnรฉration de source dโ€™interface COM nรฉcessite que toutes les interfaces COM de base soient des interfaces valides. Corrigez les problรจmes รฉventuels sur lโ€™interface de base pour rรฉsoudre ce diagnostic. - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - Lโ€™interface COM {0} hรฉrite de {1}, qui comporte des erreurs. ComInterfaceGenerator ne gรฉnรจre pas de source pour {0}. - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - Lโ€™interface COM de base nโ€™a pas rรฉussi ร  gรฉnรฉrer le code source. Le code ne sera pas gรฉnรฉrรฉ pour cette interface. - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - Un 'GeneratedComInterface' ne peut pas spรฉcifier 'ComInterfaceOptions.ManagedObjectWrapper' ou 'ComInterfaceOptions.ComObjectWrapper' sauf si le type dโ€™interface de base nโ€™a pas spรฉcifiรฉ dโ€™options ou spรฉcifiรฉ au moins les mรชmes options. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - La conversion entre un type 'ComImport' et un type COM gรฉnรฉrรฉ par la source nโ€™est pas prise en charge et รฉchouera au moment de lโ€™exรฉcution. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - La conversion entre un type 'ComImport' et un type COM gรฉnรฉrรฉ par la source n'est pas prise en charge. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - La conversion entre un type 'ComImport' et un type COM gรฉnรฉrรฉ par la source n'est pas prise en charge. - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - Une classe avec ยซย GeneratedComClassAttributeย ยป doit implรฉmenter au moins une interface avec ยซย GeneratedComInterfaceAttributeย ยป ou le code gรฉnรฉrรฉ nโ€™aura pas dโ€™effet. - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - La classe ยซย {0}ย ยป avec ยซย GeneratedComClassAttributeย ยป nโ€™implรฉmente aucune interface avec ยซย GeneratedComInterfaceAttributeย ยป. La source ne sera pas gรฉnรฉrรฉe pour ยซย {0}ย ยป. - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - L'hรฉbergement .NET COM avec 'EnableComHosting' ne prend en charge que l'interopรฉrabilitรฉ COM intรฉgrรฉe. Il ne prend pas en charge l'interopรฉrabilitรฉ COM gรฉnรฉrรฉe par la source avec 'GeneratedComInterfaceAttribute'. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - L'hรฉbergement .NET COM avec 'EnableComHosting' ne prend pas en charge les interfaces avec 'GeneratedComInterfaceAttribute'. Modifiez toutes les interfaces COM exposรฉes implรฉmentรฉes par '{0}' pour utiliser le 'System.Runtime.InteropServices.ComVisibleAttribute' ร  la place - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - L'hรฉbergement .NET COM avec 'EnableComHosting' ne prend pas en charge les interfaces avec 'GeneratedComInterfaceAttribute' - - - - Source-generated COM will ignore any configuration that is not supported. - COM gรฉnรฉrรฉ par la source ignore toute configuration qui nโ€™est pas prise en charge. - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configuration ยซ{0}ยป nโ€™est pas prise en charge par com gรฉnรฉrรฉ par la source. Si la configuration spรฉcifiรฉe est requise, utilisez ยซ ComImport ยป ร  la place. - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - La configuration de marshaling spรฉcifiรฉe nโ€™est pas prise en charge par COM gรฉnรฉrรฉ par la source. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configuration ยซ{0}ยป spรฉcifiรฉe pour le paramรจtre ยซ{1}ยป nโ€™est pas prise en charge par com gรฉnรฉrรฉ par la source. Si la configuration spรฉcifiรฉe est requise, utilisez ยซ ComImport ยป ร  la place. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configuration ยซ{0}ยป spรฉcifiรฉe pour la valeur de retour de la mรฉthode ยซ{1}ยป nโ€™est pas prise en charge par com gรฉnรฉrรฉ par la source. Si la configuration spรฉcifiรฉe est requise, utilisez ยซ ComImport ยป ร  la place. - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La valeur spรฉcifiรฉe ยซ{0}ยป pour ยซ{1}ยป nโ€™est pas prise en charge par com gรฉnรฉrรฉ par la source. Si la configuration spรฉcifiรฉe est requise, utilisez ยซ ComImport ยป ร  la place. - - - - Specified configuration is not supported by source-generated COM. - La configuration spรฉcifiรฉe nโ€™est pas prise en charge par com gรฉnรฉrรฉ par la source. - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - La conversion de cette interface pour utiliser 'GeneratedComInterfaceAttribute' peut produire un code invalide et peut nรฉcessiter un travail supplรฉmentaire - - - - Convert to 'GeneratedComInterface' and allow unsafe code - Convertir en 'GeneratedComInterface' et autoriser le code non sรฉcurisรฉ - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Utilisez 'GeneratedComInterfaceAttribute' au lieu de 'ComImportAttribute' pour gรฉnรฉrer le code de marshaling COM au moment de la compilation - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - La conversion de cette API en "GeneratedComInterfaceAttribute" nรฉcessitera du code supplรฉmentaire pour fournir des marshallers personnalisรฉs pour certains paramรจtres. - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Marquez le type '{0}' avec 'GeneratedComInterfaceAttribute' au lieu de 'ComImportAttribute' pour gรฉnรฉrer le code de marshaling COM au moment de la compilation - - - - Convert to 'GeneratedComInterface' - Convertir en 'GeneratedComInterface' - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - La configuration de ยซย StringMarshallingย ยป et de ยซย StringMarshallingCustomTypeย ยป doit correspondre ร  lโ€™interface COM de base. - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - Les รฉvรฉnements ne sont pas un concept dans COM. Par consรฉquent, aucun code dโ€™interopรฉrabilitรฉ nโ€™est gรฉnรฉrรฉ ร  la source pour les รฉvรฉnements dโ€™instance sur les interfaces COM gรฉnรฉrรฉes par la source. - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - Lโ€™รฉvรฉnement dโ€™instance ยซย {0}ย ยป est dรฉclarรฉ dans lโ€™interface ยซย {1}ย ยป, ร  laquelle ยซ GeneratedComInterfaceAttribute ยป est appliquรฉ - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - La dรฉclaration dโ€™un รฉvรฉnement dโ€™instance dans un type avec ยซ GeneratedComInterfaceAttribute ยป nโ€™est pas prise en charge - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - Les propriรฉtรฉs ne sont pas un concept dans COM. Par consรฉquent, aucun code dโ€™interopรฉrabilitรฉ nโ€™est gรฉnรฉrรฉ ร  la source pour les propriรฉtรฉs dโ€™instance sur les interfaces COM gรฉnรฉrรฉes par la source. - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - La propriรฉtรฉ dโ€™instance ยซย {0}ย ยป est dรฉclarรฉe dans lโ€™interface ยซย {1}ย ยป, ร  laquelle ยซ GeneratedComInterfaceAttribute ยป est appliquรฉ - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - La dรฉclaration dโ€™une propriรฉtรฉ dโ€™instance dans un type avec ยซ GeneratedComInterfaceAttribute ยป nโ€™est pas prise en charge - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - Lโ€™utilisation de 'GeneratedComInterfaceAttribute' et 'InterfaceTypeAttribute' nโ€™est pas prise en charge avec la valeur 'ComInterfaceType' '{0}'. - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - 'GeneratedComInterfaceType' ne prend pas en charge la valeur 'ComInterfaceType' fournie ร  'InterfaceTypeAttribute' sur le mรชme type. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - La mรฉthode '{0}' est contenue dans un type '{1}' qui nโ€™est pas marquรฉ 'partial'. La gรฉnรฉration de source COM ignore la mรฉthode '{0}'. - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - Le type conteneur de mรฉthode avec VirtualMethodIndexAttribute nโ€™a pas de UnmanagedObjectUnwrapperAttribute. - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - Les mรฉthodes sur les interfaces marquรฉes avec ยซ GeneratedComInterfaceAttribute ยป doivent รชtre non gรฉnรฉriques. La gรฉnรฉration de source COM ignore les mรฉthodes gรฉnรฉriques. - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - La mรฉthode '{0}' doit รชtre non gรฉnรฉrique sur les interfaces marquรฉes avec lโ€™attribut GeneratedComInterfaceAttribute. La gรฉnรฉration de source COM ignore la mรฉthode '{0}'. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - La configuration de ยซย ExceptionMarshallingย ยป et de ยซย ExceptionMarshallingCustomTypeย ยป est non valide. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - La configuration de ยซย ExceptionMarshallingย ยป et de ยซย ExceptionMarshallingCustomTypeย ยป sur la mรฉthode ยซย {0}ย ยป est non valide. {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - ยซย ExceptionMarshallingCustomTypeย ยป doit รชtre spรฉcifiรฉ quand ยซย ExceptionMarshallingย ยป a la valeur ยซย ExceptionMarshalling.Customย ยป. - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - ยซย ExceptionMarshallingย ยป doit avoir la valeur ยซย ExceptionMarshalling.Customย ยป quand ยซย ExceptionMarshallingCustomTypeย ยป est spรฉcifiรฉ. - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - La valeur fournie nโ€™est pas un indicateur connu de lโ€™รฉnumรฉration ยซย ExceptionMarshallingย ยป. - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - Les classes avec 'GeneratedComClassAttribute' doivent implรฉmenter une ou plusieurs interfaces avec 'GeneratedComInterfaceAttribute', รชtre marquรฉes comme partielles et non gรฉnรฉriques. - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - La classe ยซย {0}ย ยป avec ยซย GeneratedComClassAttributeย ยป ou lโ€™un de ses types conteneurs nโ€™est pas marquรฉ comme ยซย partielleย ยป. - - - - Invalid 'GeneratedComClassAttribute' usage - Utilisation de 'GeneratedComClassAttribute' non valide - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - Les interfaces attribuรฉes avec 'GeneratedComInterfaceAttribute' doivent avoir une accessibilitรฉ 'publique' ou "interne" et รชtre partielles, non gรฉnรฉriques, et doivent spรฉcifier un GUID avec 'System.Runtime.InteropServices.GuidAttribute'. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - Lโ€™interface '{0}' est attribuรฉe ร  'GeneratedComInterfaceAttribute', mais est gรฉnรฉrique. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - Lโ€™interface '{0}' est attribuรฉe ร  'GeneratedComInterfaceAttribute' mais nโ€™est pas accessible par le code gรฉnรฉrรฉ. Lโ€™interface et tous les types contenants doivent avoir lโ€™accessibilitรฉ 'interne' ou 'publique' pour que le code gรฉnรฉrรฉ y accรจde. {1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - Lโ€™interface ยซย {0}ย ยป est attribuรฉe ร  ยซย GeneratedComInterfaceAttributeย ยป mais ยซย System.Runtime.InteropServices.GuidAttributeย ยป est manquant. - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - Utilisation de ยซย GeneratedComInterfaceAttributeย ยป non valide. - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - Le mot clรฉ 'partial' est manquant dans lโ€™interface '{0}' ou lโ€™un de ses types conteneurs. Le code ne sera pas gรฉnรฉrรฉ pour '{0}'. - - - - The specified 'ComInterfaceOptions' are invalid. - Les 'ComInterfaceOptions' spรฉcifiรฉes ne sont pas valides. - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - Les 'ComInterfaceOptions' spรฉcifiรฉes sur ยซย {0}ย ยป ne sont pas valides. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - La configuration de ยซย StringMarshallingย ยป et de ยซย StringMarshallingCustomTypeย ยป nโ€™est pas valide. - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - ยซย StringMarshallingCustomTypeย ยป doit รชtre spรฉcifiรฉ quand ยซย StringMarshallingย ยป a la valeur ยซย StringMarshalling.Customย ยป. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - ยซย StringMarshallingย ยป doit รชtre dรฉfini sur ยซย StringMarshalling.Customย ยป quand ยซย StringMarshallingCustomTypeย ยป est spรฉcifiรฉ. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - La configuration de ยซย StringMarshallingย ยป et de ยซย StringMarshallingCustomTypeย ยป nโ€™est sur lโ€™interface โ€™{0}โ€™ pas valide. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - La configuration de ยซย StringMarshallingย ยป et de ยซย StringMarshallingCustomTypeย ยป nโ€™est sur la mรฉthode ยซย {0}ย ยป pas valide. {1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - Utilisation de ยซย VirtualMethodIndexAttributeย ยป non valide - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configuration ยซ MarshalAsAttribute ยป spรฉcifiรฉe pour le paramรจtre ยซ{1}ยป nโ€™est pas prise en charge par com gรฉnรฉrรฉ par la source. Si la configuration spรฉcifiรฉe est requise, utilisez ยซ ComImport ยป ร  la place. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configuration ยซ MarshalAsAttribute ยป spรฉcifiรฉe pour la valeur de retour de la mรฉthode ยซ{1}ยป nโ€™est pas prise en charge par com gรฉnรฉrรฉ par la source. Si la configuration spรฉcifiรฉe est requise, utilisez ยซ ComImport ยป ร  la place. - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - Toutes les mรฉthodes doivent รชtre dรฉclarรฉes dans la mรชme dรฉfinition partielle dโ€™un type dโ€™interface avec attribut ยซย GeneratedComInterfaceย ยป pour garantir un calcul fiable des dรฉcalages de table de mรฉthodes virtuelles. - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - La mรฉthode ยซย {0}ย ยป est dรฉclarรฉe sur une autre dรฉfinition partielle de lโ€™interface ยซย {1}ย ยป que la dรฉfinition qui a lโ€™attribut ยซย GeneratedComInterfaceย ยป - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - La mรฉthode est dรฉclarรฉe dans une dรฉclaration partielle diffรฉrente de lโ€™attribut ยซย GeneratedComInterfaceย ยป. - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - Une interface avec attribut 'GeneratedComInterfaceAttribute' ne peut dรฉriver que dโ€™une seule autre interface avec attribut 'GeneratedComInterfaceAttribute'. - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - Lโ€™interface '{0}' est dรฉrivรฉe de deuxย interfaces ou plus attribuรฉes avec 'GeneratedComInterfaceAttribute'. - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - Lโ€™interface spรฉcifiรฉe dรฉrive de deuxย ou plusieurs interfaces avec attribut 'GeneratedComInterfaceAttribute'. - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - 'ComInterfaceOptions.ManagedObjectWrapper' ou 'ComInterfaceOptions.ComObjectWrapper' doit รชtre spรฉcifiรฉ. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - ยซย GeneratedComInterfaceAttributeย ยป et ยซย GeneratedComClassAttributeย ยป nรฉcessitent du code non sรฉcurisรฉ. Le projet doit รชtre mis ร  jour avec ยซย <AllowUnsafeBlocks>true</AllowUnsafeBlocks>ย ยป. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - ยซย GeneratedComInterfaceAttributeย ยป et ยซย GeneratedComClassAttributeย ยป nรฉcessitent du code non sรฉcurisรฉ. Le projet doit รชtre mis ร  jour avec ยซย <AllowUnsafeBlocks>true</AllowUnsafeBlocks>ย ยป. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - ยซย GeneratedComInterfaceAttributeย ยป et ยซย GeneratedComClassAttributeย ยป nรฉcessitent du code non sรฉcurisรฉ. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - Les API COM Interop sur 'System.Runtime.InteropServices.Marshal' ne prennent pas en charge COM gรฉnรฉrรฉ par la source et รฉchoueront lors de l'exรฉcution - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - La mรฉthode '{0}' ne prend en charge que l'interopรฉrabilitรฉ COM basรฉe sur l'exรฉcution et ne fonctionnera pas avec le type '{1}' - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - Les API COM Interop sur 'System.Runtime.InteropServices.Marshal' ne prennent pas en charge COM gรฉnรฉrรฉ par la source - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - Le type '{0}' spรฉcifiรฉ en tant que 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' nโ€™est pas accessible par le code gรฉnรฉrรฉ. Le type doit avoir au moins lโ€™accessibilitรฉ 'interne'. {1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - Pour les types qui ne sont pas pris en charge par com gรฉnรฉrรฉ par la source, le pointeur de fonction rรฉsultant sโ€™appuie sur le runtime sous-jacent pour marshaler le type spรฉcifiรฉ. - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - Le type '{0}' nโ€™est pas pris en charge par COM gรฉnรฉrรฉ par la source. La source gรฉnรฉrรฉe ne gรจre pas le marshaling du paramรจtre ยซ{1}ยป. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} La source gรฉnรฉrรฉe ne gรจre pas le marshaling du paramรจtre ยซย {1}ย ยป. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - Le type '{0}' nโ€™est pas pris en charge par COM gรฉnรฉrรฉ par la source. La source gรฉnรฉrรฉe ne gรจre pas le marshaling de la valeur de retour de la mรฉthode '{1}'. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} La source gรฉnรฉrรฉe ne gรจre pas le marshaling de la valeur de retour de la mรฉthode ยซย {1}ย ยป. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - Le type spรฉcifiรฉ nโ€™est pas pris en charge par com gรฉnรฉrรฉ par la source - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Des informations de triage inutiles ont รฉtรฉ fournies. Ces informations de regroupement peuvent รชtre supprimรฉes sans aucune modification du comportement de l'application. - - - - Unnecessary marshalling info was provided and can be removed. - Des informations de rassemblement inutiles ont รฉtรฉ fournies et peuvent รชtre supprimรฉes. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Des informations de regroupement inutiles '{0}' ont รฉtรฉ fournies pour le paramรจtre '{1}' - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Des informations de regroupement inutiles '{0}' ont รฉtรฉ fournies pour le type de retour de la mรฉthode '{1}' - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.it.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.it.xlf deleted file mode 100644 index 1682b45f96f77..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.it.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - Aggiungere 'GeneratedComClassAttribute' per consentire il passaggio di oggetti di questo tipo a COM e consentire il codice non gestito - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - Questo tipo implementa almeno un tipo con l'attributo 'GeneratedComInterfaceAttribute'. Aggiungere l'attributo 'GeneratedComClassAttribute' per consentire il passaggio di questo tipo a COM e l'esposizione delle interfacce COM per i tipi con l'attributo 'GeneratedComInterfaceAttribute' dagli oggetti di questo tipo. - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - Aggiungere 'GeneratedComClassAttribute' a '{0}' per abilitare il passaggio di oggetti di tipo '{0}' a COM - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - Aggiungere 'GeneratedComClassAttribute' per consentire il passaggio di oggetti di questo tipo a COM. - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - L'analisi necessaria per generare il codice per questa interfaccia o per questo metodo non รจ riuscita a causa di un modello di codice imprevisto. Se si usa una sintassi nuova o non intenzionale, provare a usare un'altra sintassi. - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - L'analisi dellโ€™interfaccia '{0}' non รจ riuscita. ComInterfaceGenerator non genererร  codice per questa interfaccia. - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - L'analisi del metodo '{0}' non รจ riuscita. ComInterfaceGenerator non genererร  codice per questo metodo. - - - - Analysis for COM interface generation has failed. - L'analisi per la generazione dell'interfaccia COM non รจ riuscita. - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - La generazione dell'origine dell'interfaccia COM richiede che tutte le interfacce COM di base siano interfacce valide. Risolvere eventuali problemi nell'interfaccia di base per risolvere questa diagnostica. - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - L'interfaccia COM {0} eredita da {1} che contiene errori. ComInterfaceGenerator non genererร  l'origine per {0}. - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - L'interfaccia COM di base non รจ riuscita a generare l'origine. Il codice non verrร  generato per questa interfaccia. - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - Un elemento 'GeneratedComInterface' non puรฒ specificare 'ComInterfaceOptions.ManagedObjectWrapper' o 'ComInterfaceOptions.ComObjectWrapper' a meno che il tipo di interfaccia di base non specifichi opzioni o non specifichi almeno le stesse opzioni. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - Il cast tra un tipo 'ComImport' e un tipo COM generato dall'origine non รจ supportato e avrร  esito negativo in fase di esecuzione - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - Il cast tra un tipo 'ComImport' e un tipo COM generato dall'origine non รจ supportato - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - Il cast tra un tipo 'ComImport' e un tipo COM generato dall'origine non รจ supportato - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - Una classe con 'GeneratedComClassAttribute' deve implementare almeno un'interfaccia con 'GeneratedComInterfaceAttribute' oppure il codice generato senza alcun effetto. - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - La classe '{0}' con 'GeneratedComClassAttribute' non implementa interfacce con 'GeneratedComInterfaceAttribute'. L'origine non verrร  generata per '{0}'. - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - L'hosting COM .NET con 'EnableComHosting' supporta solo l'interoperabilitร  COM predefinita. Non supporta l'interoperabilitร  COM generata dallโ€™origine con 'GeneratedComInterfaceAttribute'. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - L'hosting COM .NET con 'EnableComHosting' non supporta le interfacce con 'GeneratedComInterfaceAttribute'. Modificare tutte le interfacce esposte a COM implementate da '{0}' in modo da usare 'System.Runtime.InteropServices.ComVisibleAttribute'. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - L'hosting COM .NET con 'EnableComHosting' non supporta le interfacce con 'GeneratedComInterfaceAttribute'. - - - - Source-generated COM will ignore any configuration that is not supported. - I COM generati dall'origine ignoreranno qualsiasi configurazione non supportata. - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configurazione '{0}' non รจ supportata dai COM generati dall'origine. Se la configurazione specificata รจ obbligatoria, usa un attributo `ComImport`. - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - La configurazione di marshalling specificata non รจ supportata dai COM generati dall'origine. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configurazione '{0}' specificata per il parametro '{1}' non รจ supportata dai COM generati dall'origine. Se la configurazione specificata รจ obbligatoria, usare un attributo `ComImport`. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configurazione '{0}' specificata per il valore restituito del metodo '{1}' non รจ supportata dai COM generati dall'origine. Se la configurazione specificata รจ obbligatoria, usare un attributo `ComImport` normale. - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Il valore '{0}' specificato per '{1}' non รจ supportato dai COM generati dall'origine. Se la configurazione specificata รจ obbligatoria, usare un attributo `ComImport`. - - - - Specified configuration is not supported by source-generated COM. - La configurazione specificata non รจ supportata dai COM generati dall'origine. - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - La conversione di questa interfaccia per l'uso di 'GeneratedComInterfaceAttribute' puรฒ produrre codice non valido e puรฒ richiedere lavoro aggiuntivo - - - - Convert to 'GeneratedComInterface' and allow unsafe code - Converti in 'GeneratedComInterface' e consenti codice non gestito - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Usare 'GeneratedComInterfaceAttribute' invece di 'ComImportAttribute' per generare codice di marshalling COM in fase di compilazione - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - La conversione di questa API in 'GeneratedComInterfaceAttribute' richiederร  codice aggiuntivo per fornire marshaller personalizzati per alcuni parametri. - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Contrassegnare il tipo '{0}' con 'GeneratedComInterfaceAttribute' invece di 'ComImportAttribute' per generare codice di marshalling COM in fase di compilazione - - - - Convert to 'GeneratedComInterface' - Converti in 'GeneratedComInterface' - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - La configurazione di 'StringMarshalling' e 'StringMarshallingCustomType' deve corrispondere all'interfaccia COM di base. - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - Gli eventi non sono concetti in COM quindi non verrร  generato codice di interoperabilitร  per gli eventi dellโ€™istanza nelle interfacce COM generate dall'origine. - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - L'evento dellโ€™istanza '{0}' รจ dichiarato nell'interfaccia '{1}' a cui รจ applicato 'GeneratedComInterfaceAttribute' - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - La dichiarazione di un evento dellโ€™istanza in un tipo con 'GeneratedComInterfaceAttribute' non รจ supportata - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - Le proprietร  non sono concetti in COM quindi non verrร  generato codice di interoperabilitร  per le proprietร  dell'istanza nelle interfacce COM generate dall'origine. - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - La proprietร  dellโ€™istanza '{0}' รจ dichiarata nell'interfaccia '{1}' a cui รจ applicato 'GeneratedComInterfaceAttribute' - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - La dichiarazione di una proprietร  dellโ€™istanza in un tipo con 'GeneratedComInterfaceAttribute' non รจ supportata - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - L'uso di 'GeneratedComInterfaceAttribute' e 'InterfaceTypeAttribute' non รจ supportato con il valore '{0}' di 'ComInterfaceType'. - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - 'GeneratedComInterfaceType' non supporta il valore 'ComInterfaceType' fornito a 'InterfaceTypeAttribute' nello stesso tipo. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - Il metodo '{0}' รจ contenuto in un tipo '{1}' non contrassegnato come 'partial'. La generazione dell'origine COM ignorerร  il metodo '{0}'. - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - Il tipo contenitore del metodo con VirtualMethodIndexAttribute non contiene un oggetto UnmanagedObjectUnwrapperAttribute. - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - I metodi nelle interfacce contrassegnate con lโ€™attributo 'GeneratedComInterfaceAttribute' devono essere non generici. La generazione di origini COM ignorerร  i metodi generici. - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - Il metodo '{0}' deve essere non generico nelle interfacce contrassegnate con l'attributo 'GeneratedComInterfaceAttribute'. La generazione di origini COM ignorerร  il metodo '{0}'. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - La configurazione di 'ExceptionMarshalling' e 'ExceptionMarshallingCustomType' non รจ valida. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - La configurazione di 'ExceptionMarshalling' e 'ExceptionMarshallingCustomType' nel metodo '{0}' non รจ valida. {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - รˆ necessario specificare 'ExceptionMarshallingCustomType' quando 'ExceptionMarshalling' รจ impostato su 'ExceptionMarshalling.Custom'. - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - 'ExceptionMarshalling' deve essere impostato su 'ExceptionMarshalling.Custom' quando รจ specificato 'ExceptionMarshallingCustomType'. - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - Il valore specificato non รจ un flag noto dell'enumerazione 'ExceptionMarshalling'. - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - Le classi con 'GeneratedComClassAttribute' devono implementare una o piรน interfacce con 'GeneratedComInterfaceAttribute', essere contrassegnate come parziali e non generiche. - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - La classe '{0}' con 'GeneratedComClassAttribute' o uno dei tipi che lo contengono non รจ contrassegnata come 'partial'. - - - - Invalid 'GeneratedComClassAttribute' usage - Utilizzo di 'GeneratedComClassAttribute' non valido - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - Le interfacce con attributo 'GeneratedComInterfaceAttribute' devono avere accessibilitร  "pubblica" o "interna" ed essere parziali, non generiche e devono specificare un GUID con 'System.Runtime.InteropServices.GuidAttribute'. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - L'interfaccia '{0}' ha l'attributo 'GeneratedComInterfaceAttribute' ma รจ generico. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - '{0}' dell'interfaccia รจ con attributo 'GeneratedComInterfaceAttribute' ma non รจ accessibile dal codice generato. L'interfaccia e tutti i tipi contenitore devono avere l'accessibilitร  "interna" o "pubblica" per consentire al codice generato di accedervi. {1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - L'interfaccia '{0}' รจ attribuita con 'GeneratedComInterfaceAttribute' ma 'System.Runtime.InteropServices.GuidAttribute' รจ mancante. - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - Utilizzo di 'GeneratedComInterfaceAttribute' non valido. - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - Nell'interfaccia '{0}' o in uno dei tipi che lo contengono manca la parola chiave 'partial'. Il codice non verrร  generato per '{0}'. - - - - The specified 'ComInterfaceOptions' are invalid. - Lโ€™elemento 'ComInterfaceOptions' specificato non รจ valido. - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - Lโ€™elemento 'ComInterfaceOptions' specificato in '{0}' non รจ valido. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - La configurazione di 'StringMarshalling' e 'StringMarshallingCustomType' non รจ valida. - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - รˆ necessario specificare 'StringMarshallingCustomType' quando 'StringMarshalling' รจ impostato su 'StringMarshalling.Custom'. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - 'StringMarshalling' deve essere impostato su 'StringMarshalling.Custom' quando รจ specificato 'StringMarshallingCustomType'. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - La configurazione di 'StringMarshalling' e 'StringMarshallingCustomType' nellโ€™interfaccia '{0}' non รจ valida. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - La configurazione di 'StringMarshalling' e 'StringMarshallingCustomType' nel metodo '{0}' non รจ valida. {1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - Utilizzo di 'VirtualMethodIndexAttribute' non valido - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configurazione 'MarshalAsAttribute' specificata per il parametro '{1}' non รจ supportata dai COM generati dall'origine. Se la configurazione specificata รจ obbligatoria, usare un attributo 'ComImport'. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - La configurazione 'MarshalAsAttribute' specificata per il valore restituito del metodo '{1}' non รจ supportata dai COM generati dall'origine. Se la configurazione specificata รจ obbligatoria, usare un attributo 'ComImport' normale. - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - Tutti i metodi devono essere dichiarati nella stessa definizione parziale di un tipo di interfaccia con attributo 'GeneratedComInterface' per garantire un calcolo affidabile per gli offset della tabella dei metodi virtuali. - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - Il metodo '{0}' รจ dichiarato in una definizione parziale diversa dell'interfaccia '{1}' rispetto alla definizione con l'attributo 'GeneratedComInterface' - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - Il metodo รจ dichiarato in una dichiarazione parziale diversa rispetto all'attributo 'GeneratedComInterface'. - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - Un'interfaccia con attributo 'GeneratedComInterfaceAttribute' puรฒ derivare solo da un'altra interfaccia con attributi 'GeneratedComInterfaceAttribute'. - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - Lโ€™interfaccia '{0}' deriva da due o piรน interfacce con attributo 'GeneratedComInterfaceAttribute'. - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - L'interfaccia specificata deriva da due o piรน interfacce con attributi 'GeneratedComInterfaceAttribute'. - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - รˆ necessario specificare 'ComInterfaceOptions.ManagedObjectWrapper' o 'ComInterfaceOptions.ComObjectWrapper'. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - GeneratedComInterfaceAttribute e 'GeneratedComClassAttribute' richiedono codice non gestito. Il progetto deve essere aggiornato con '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - GeneratedComInterfaceAttribute e 'GeneratedComClassAttribute' richiedono codice non gestito. Il progetto deve essere aggiornato con '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - 'GeneratedComInterfaceAttribute' e 'GeneratedComClassAttribute' richiedono codice non sicuro. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - Le API di interoperabilitร  COM su 'System.Runtime.InteropServices.Marshal' non supportano i COM generati dallโ€™origine e avranno esito negativo in fase di esecuzione - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - Il metodo '{0}' supporta solo l'interoperabilitร  COM basata sul runtime e non funzionerร  con il tipo '{1}' - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - Le API di interoperabilitร  COM su 'System.Runtime.InteropServices.Marshal' non supportano i COM generati dallโ€™origine - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - Il tipo '{0}' specificato come 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' non รจ accessibile dal codice generato. Il tipo deve avere almeno accessibilitร  "interna". {1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - Per i tipi non supportati dai COM generati dall'origine, il puntatore funzione risultante si baserร  sul runtime sottostante per effettuare il marshalling del tipo specificato. - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - Il tipo '{0}' non รจ supportato dai COM generati dall'origine. L'origine generata non gestirร  il marshalling del parametro '{1}'. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} L'origine generata non gestirร  il marshalling del parametro '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - Il tipo '{0}' non รจ supportato dai CONM generati dall'origine. L'origine generata non gestirร  il marshalling del valore restituito del metodo '{1}'. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} L'origine generata non gestirร  il marshalling del valore restituito del metodo '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - Il tipo specificato non รจ supportato da COM generati dall'origine - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Sono state specificate informazioni di marshalling non necessarie. Queste informazioni di marshalling possono essere rimosse senza alcuna modifica nel comportamento dell'applicazione. - - - - Unnecessary marshalling info was provided and can be removed. - Sono state fornite informazioni di marshalling non necessarie e possono essere rimosse. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Informazioni di mashalling '{0}' non necessarie fornite per il parametro '{1}' - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Sono state fornite informazioni di mashalling '{0}' non necessarie per il tipo restituito del metodo '{1}' - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ja.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ja.xlf deleted file mode 100644 index 79a9d2c21b148..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ja.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - 'GeneratedComClassAttribute' ใ‚’่ฟฝๅŠ ใ—ใฆใ€ใ“ใฎๅž‹ใฎใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใ‚’ COM ใซๆธกใ—ใ€ๅฎ‰ๅ…จใงใชใ„ใ‚ณใƒผใƒ‰ใ‚’่จฑๅฏใงใใ‚‹ใ‚ˆใ†ใซใ—ใพใ™ - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - ใ“ใฎๅž‹ใฏใ€'GeneratedComInterfaceAttribute' ๅฑžๆ€งใ‚’ๆŒใคๅฐ‘ใชใใจใ‚‚ 1 ใคใฎๅž‹ใ‚’ๅฎŸ่ฃ…ใ—ใพใ™ใ€‚'GeneratedComClassAttribute' ใ‚’่ฟฝๅŠ ใ—ใฆใ€ใ“ใฎๅž‹ใ‚’ COM ใซๆธกใ—ใ€ใ“ใฎๅž‹ใฎใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใ‹ใ‚‰ 'GeneratedComInterfaceAttribute' ใ‚’ๆŒใคๅž‹ใฎ COM ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใ‚’ๅ…ฌ้–‹ใงใใ‚‹ใ‚ˆใ†ใซใ—ใพใ™ใ€‚ - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - 'GeneratedComClassAttribute' ใ‚’ '{0}' ใซ่ฟฝๅŠ ใ—ใฆใ€ๅž‹ '{0}' ใฎใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใ‚’ COM ใซๆธกใ™ใ“ใจใ‚’ๆœ‰ๅŠนใซใ—ใพใ™ - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - 'GeneratedComClassAttribute' ใ‚’่ฟฝๅŠ ใ—ใฆใ€ใ“ใฎๅž‹ใฎใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใ‚’ COM ใซๆธกใ™ใ“ใจใ‚’ๆœ‰ๅŠนใซใ—ใพใ™ - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - ไบˆๆœŸใ—ใชใ„ใ‚ณใƒผใƒ‰ ใƒ‘ใ‚ฟใƒผใƒณใฎใŸใ‚ใ€ใ“ใฎใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใพใŸใฏใƒกใ‚ฝใƒƒใƒ‰ใฎใ‚ณใƒผใƒ‰ใ‚’็”Ÿๆˆใ™ใ‚‹ใŸใ‚ใซๅฟ…่ฆใชๅˆ†ๆžใŒๅคฑๆ•—ใ—ใพใ—ใŸใ€‚ๆ–ฐใ—ใ„ๆง‹ๆ–‡ใพใŸใฏๅพ“ๆฅใจใฏ็•ฐใชใ‚‹ๆง‹ๆ–‡ใ‚’ไฝฟ็”จใ—ใฆใ„ใ‚‹ๅ ดๅˆใฏใ€ไป–ใฎๆง‹ๆ–‡ใฎไฝฟ็”จใ‚’ๆคœ่จŽใ—ใฆใใ ใ•ใ„ใ€‚ - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น '{0}' ใฎๅˆ†ๆžใซๅคฑๆ•—ใ—ใพใ—ใŸใ€‚ComInterfaceGenerator ใฏใ“ใฎใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใฎใ‚ณใƒผใƒ‰ใ‚’็”Ÿๆˆใ—ใพใ›ใ‚“ใ€‚ - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - ใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใฎๅˆ†ๆžใซๅคฑๆ•—ใ—ใพใ—ใŸใ€‚ComInterfaceGenerator ใฏใ“ใฎใƒกใ‚ฝใƒƒใƒ‰ใฎใ‚ณใƒผใƒ‰ใ‚’็”Ÿๆˆใ—ใพใ›ใ‚“ใ€‚ - - - - Analysis for COM interface generation has failed. - COM ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น็”Ÿๆˆใฎๅˆ†ๆžใซๅคฑๆ•—ใ—ใพใ—ใŸใ€‚ - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - COM ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น ใ‚ฝใƒผใ‚นใ‚’็”Ÿๆˆใ™ใ‚‹ใซใฏใ€ใ™ในใฆใฎใƒ™ใƒผใ‚น COM ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใŒๆœ‰ๅŠนใชใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ใ“ใฎ่จบๆ–ญใ‚’่งฃๆฑบใ™ใ‚‹ใซใฏใ€ใƒ™ใƒผใ‚น ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใฎๅ•้กŒใ‚’ไฟฎๆญฃใ—ใฆใใ ใ•ใ„ใ€‚ - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - COM ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น {0} ใฏ {1} ใ‹ใ‚‰็ถ™ๆ‰ฟใ—ใฆใ„ใพใ™ใŒใ€ใ‚จใƒฉใƒผใŒใ‚ใ‚Šใพใ™ใ€‚ ComInterfaceGenerator ใฏ {0} ใฎใ‚ฝใƒผใ‚นใ‚’็”Ÿๆˆใ—ใพใ›ใ‚“ใ€‚ - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - ใƒ™ใƒผใ‚น COM ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใฏใ‚ฝใƒผใ‚นใ‚’็”Ÿๆˆใงใใพใ›ใ‚“ใงใ—ใŸใ€‚ใ“ใฎใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใฎใ‚ณใƒผใƒ‰ใฏ็”Ÿๆˆใ•ใ‚Œใพใ›ใ‚“ใ€‚ - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - ๅŸบๅบ•ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใฎๅž‹ใงใ‚ชใƒ—ใ‚ทใƒงใƒณใŒๆŒ‡ๅฎšใ•ใ‚Œใฆใ„ใชใ„ใ‹ใ€ๅฐ‘ใชใใจใ‚‚ๅŒใ˜ใ‚ชใƒ—ใ‚ทใƒงใƒณใŒๆŒ‡ๅฎšใ•ใ‚Œใฆใ„ใชใ„้™ใ‚Šใ€'GeneratedComInterface' ใงใฏ 'ComInterfaceOptions.ManagedObjectWrapper' ใพใŸใฏ 'ComInterfaceOptions.ComObjectWrapper' ใ‚’ๆŒ‡ๅฎšใงใใพใ›ใ‚“ใ€‚ - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - 'ComImport' ๅž‹ใจใ‚ฝใƒผใ‚น็”Ÿๆˆ COM ๅž‹ใฎ้–“ใงใฎใ‚ญใƒฃใ‚นใƒˆใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใชใ„ใŸใ‚ใ€ๅฎŸ่กŒๆ™‚ใซๅคฑๆ•—ใ—ใพใ™ - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - 'ComImport' ๅž‹ใจใ‚ฝใƒผใ‚น็”Ÿๆˆ COM ๅž‹ใฎ้–“ใงใฎใ‚ญใƒฃใ‚นใƒˆใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - 'ComImport' ๅž‹ใจใ‚ฝใƒผใ‚น็”Ÿๆˆ COM ๅž‹ใฎ้–“ใงใฎใ‚ญใƒฃใ‚นใƒˆใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - 'GeneratedComClassAttribute' ใ‚’ๆŒใคใ‚ฏใƒฉใ‚นใฏใ€'GeneratedComInterfaceAttribute' ใ‚’ๆŒใคใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใ‚’ๅฐ‘ใชใใจใ‚‚ 1 ใคๅฎŸ่ฃ…ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ใใ†ใงใชใ„ๅ ดๅˆใ€็”Ÿๆˆใ•ใ‚ŒใŸใ‚ณใƒผใƒ‰ใฎๅŠนๆžœใŒใชใใชใ‚Šใพใ™ใ€‚ - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - 'GeneratedComClassAttribute' ใ‚’ๆŒใคใ‚ฏใƒฉใ‚น '{0}' ใฏใ€'GeneratedComInterfaceAttribute' ใ‚’ๆŒใคใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใ‚’ๅฎŸ่ฃ…ใ—ใพใ›ใ‚“ใ€‚'{0}' ใฎใ‚ฝใƒผใ‚นใฏ็”Ÿๆˆใ•ใ‚Œใพใ›ใ‚“ใ€‚ - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - 'EnableComHosting' ใ‚’ไฝฟ็”จใ—ใŸ .NET COM ใƒ›ใ‚นใƒ†ใ‚ฃใƒณใ‚ฐใงใฏใ€็ต„ใฟ่พผใฟใฎ COM ็›ธไบ’้‹็”จๆฉŸ่ƒฝใฎใฟใŒใ‚ตใƒใƒผใƒˆใ•ใ‚Œใพใ™ใ€‚ใ‚ฝใƒผใ‚น็”Ÿๆˆ COM ็›ธไบ’้‹็”จๆฉŸ่ƒฝใจ 'GeneratedComInterfaceAttribute' ใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - 'EnableComHosting' ใ‚’ไฝฟ็”จใ—ใŸ .NET COM ใƒ›ใ‚นใƒ†ใ‚ฃใƒณใ‚ฐใงใฏใ€'GeneratedComInterfaceAttribute' ใฎใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚'{0}' ใซใ‚ˆใฃใฆๅฎŸ่ฃ…ใ•ใ‚ŒใŸ COM ๅ…ฌ้–‹ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใ‚’ๅค‰ๆ›ดใ—ใฆใ€ไปฃใ‚ใ‚Šใซ 'System.Runtime.InteropServices.ComVisibleAttribute' ใ‚’ไฝฟ็”จใ™ใ‚‹ใ‚ˆใ†ใซใ—ใพใ™ - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - 'EnableComHosting' ใ‚’ไฝฟ็”จใ—ใŸ .NET COM ใƒ›ใ‚นใƒ†ใ‚ฃใƒณใ‚ฐใงใฏใ€'GeneratedComInterfaceAttribute' ใฎใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ - - - - Source-generated COM will ignore any configuration that is not supported. - ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใฏใ€ใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใชใ„ๆง‹ๆˆใ‚’็„ก่ฆ–ใ—ใพใ™ใ€‚ - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - '{0}' ๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๆง‹ๆˆใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ 'ComImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚{0}ใ€‚ - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ '{1}' ใซๆŒ‡ๅฎšใ•ใ‚ŒใŸ '{0}' ๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๆง‹ๆˆใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ 'ComImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใฎๆˆปใ‚Šๅ€คใซๆŒ‡ๅฎšใ•ใ‚ŒใŸ '{1}' ๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๆง‹ๆˆใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ 'ComImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - '{1}' ใซๆŒ‡ๅฎšใ•ใ‚ŒใŸๅ€ค '{0}' ใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๆง‹ๆˆใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ 'ComImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - Specified configuration is not supported by source-generated COM. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - ใ“ใฎใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใ‚’ 'GeneratedComInterfaceAttribute' ใ‚’ไฝฟ็”จใ™ใ‚‹ใ‚ˆใ†ใซๅค‰ๆ›ใ™ใ‚‹ใจใ€็„กๅŠนใชใ‚ณใƒผใƒ‰ใŒ็”Ÿๆˆใ•ใ‚Œใ€่ฟฝๅŠ ใฎไฝœๆฅญใŒๅฟ…่ฆใซใชใ‚‹ๅ ดๅˆใŒใ‚ใ‚Šใพใ™ - - - - Convert to 'GeneratedComInterface' and allow unsafe code - 'GeneratedComInterface' ใซๅค‰ๆ›ใ—ใ€ๅฎ‰ๅ…จใงใชใ„ใ‚ณใƒผใƒ‰ใ‚’่จฑๅฏใ™ใ‚‹ - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - ใ‚ณใƒณใƒ‘ใ‚คใƒซๆ™‚ใซ COM ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใ‚ณใƒผใƒ‰ใ‚’็”Ÿๆˆใ™ใ‚‹ใซใฏใ€'ComImportAttribute' ใงใฏใชใ 'GeneratedComInterfaceAttribute' ใ‚’ไฝฟ็”จใ—ใพใ™ - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - ใ“ใฎ API ใ‚’ 'GeneratedComInterfaceAttribute' ใซๅค‰ๆ›ใ™ใ‚‹ใซใฏใ€ไธ€้ƒจใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใซใ‚ซใ‚นใ‚ฟใƒ  ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใ‚’ๆไพ›ใ™ใ‚‹ใŸใ‚ใซ่ฟฝๅŠ ใฎใ‚ณใƒผใƒ‰ใŒๅฟ…่ฆใงใ™ใ€‚ - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - ใ‚ณใƒณใƒ‘ใ‚คใƒซๆ™‚ใซ COM ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใ‚ณใƒผใƒ‰ใ‚’็”Ÿๆˆใ™ใ‚‹ใซใฏใ€ๅž‹ '{0}' ใ‚’ 'ComImportAttribute' ใงใฏใชใ 'GeneratedComInterfaceAttribute' ใงใƒžใƒผใ‚ฏใ—ใพใ™ - - - - Convert to 'GeneratedComInterface' - 'GeneratedComInterface' ใซๅค‰ๆ›ใ™ใ‚‹ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - 'StringMarshalling' ใŠใ‚ˆใณ 'StringMarshallingCustomType' ใฎๆง‹ๆˆใฏใ€ใƒ™ใƒผใ‚น COM ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใจไธ€่‡ดใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - ใ‚คใƒ™ใƒณใƒˆใฏ COM ใฎๆฆ‚ๅฟตใงใฏใชใ„ใŸใ‚ใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆ COM ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นไธŠใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใ‚คใƒ™ใƒณใƒˆใซๅฏพใ—ใฆ็›ธไบ’้‹็”จใ‚ณใƒผใƒ‰ใฏใ‚ฝใƒผใ‚น็”Ÿๆˆใ•ใ‚Œใพใ›ใ‚“ใ€‚ - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - ใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใ‚คใƒ™ใƒณใƒˆ '{0}' ใฏใ€'GeneratedComInterfaceAttribute' ใŒ้ฉ็”จใ•ใ‚Œใฆใ„ใ‚‹ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น '{1}' ใงๅฎฃ่จ€ใ•ใ‚Œใฆใ„ใพใ™ - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - 'GeneratedComInterfaceAttribute' ใ‚’ๅซใ‚€ๅž‹ใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใ‚คใƒ™ใƒณใƒˆใฎๅฎฃ่จ€ใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃใฏ COM ใฎๆฆ‚ๅฟตใงใฏใชใ„ใŸใ‚ใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆ COM ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นไธŠใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃใซๅฏพใ—ใฆ็›ธไบ’้‹็”จใ‚ณใƒผใƒ‰ใฏใ‚ฝใƒผใ‚น็”Ÿๆˆใ•ใ‚Œใพใ›ใ‚“ใ€‚ - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - ใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃ '{0}' ใฏใ€'GeneratedComInterfaceAttribute' ใŒ้ฉ็”จใ•ใ‚Œใฆใ„ใ‚‹ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น '{1}' ใงๅฎฃ่จ€ใ•ใ‚Œใฆใ„ใพใ™ - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - 'GeneratedComInterfaceAttribute' ใ‚’ๅซใ‚€ๅž‹ใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃใฎๅฎฃ่จ€ใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - 'GeneratedComInterfaceAttribute' ใŠใ‚ˆใณ 'InterfaceTypeAttribute' ใฏใ€'ComInterfaceType' ใฎๅ€ค '{0}' ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - 'GeneratedComInterfaceType' ใฏใ€ๅŒใ˜ๅž‹ใฎ 'InterfaceTypeAttribute' ใธใฎ 'ComInterfaceType' ๅ€คใฎๅ…ฅๅŠ›ใ‚’ใ‚ตใƒใƒผใƒˆใ—ใฆใ„ใพใ›ใ‚“ใ€‚ - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - ใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใฏใ€'partial' ใจใƒžใƒผใ‚ฏใ•ใ‚Œใฆใ„ใชใ„ๅž‹ '{1}' ใซๅซใพใ‚Œใฆใ„ใพใ™ใ€‚COM ใ‚ฝใƒผใ‚น็”Ÿๆˆใฏใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใ‚’็„ก่ฆ–ใ—ใพใ™ใ€‚ - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - VirtualMethodIndexAttribute ใ‚’ๆŒใคๅŒ…ๅซๅž‹ใฎใƒกใ‚ฝใƒƒใƒ‰ใซ UnmanagedObjectUnwrapperAttribute ใŒใ‚ใ‚Šใพใ›ใ‚“ใ€‚ - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - 'GeneratedComInterfaceAttribute' ใงใƒžใƒผใ‚ฏใ•ใ‚ŒใŸใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นไธŠใฎใƒกใ‚ฝใƒƒใƒ‰ใฏ้žใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚COM ใ‚ฝใƒผใ‚น็”Ÿๆˆใฏใ€ใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏ ใƒกใ‚ฝใƒƒใƒ‰ใ‚’็„ก่ฆ–ใ—ใพใ™ใ€‚ - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - 'GeneratedComInterfaceAttribute' ใงใƒžใƒผใ‚ฏใ•ใ‚ŒใŸใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใงใฏใ€ใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใฏ้žใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚COM ใ‚ฝใƒผใ‚น็”Ÿๆˆใฏใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใ‚’็„ก่ฆ–ใ—ใพใ™ใ€‚ - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - 'ExceptionMarshalling' ใจ 'ExceptionMarshallingCustomType' ใฎๆง‹ๆˆใŒ็„กๅŠนใงใ™ใ€‚ - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - ใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใฎ 'ExceptionMarshalling' ใจ 'ExceptionMarstailingCustomType' ใฎๆง‹ๆˆใŒ็„กๅŠนใงใ™ใ€‚ {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - 'ExceptionMarshalling' ใŒ 'ExceptionMarshalling.Custom' ใซ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹ๅ ดๅˆใฏใ€'ExceptionMarshallingCustomType' ใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - 'ExceptionMarshallingCustomType' ใŒๆŒ‡ๅฎšใ•ใ‚Œใฆใ„ใ‚‹ๅ ดๅˆใฏใ€'ExceptionMarshalling' ใ‚’ 'ExceptionMarshalling.Custom' ใซ่จญๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸๅ€คใฏใ€'ExceptionMarshalling' ๅˆ—ๆŒ™ๅž‹ใฎๆ—ข็Ÿฅใฎใƒ•ใƒฉใ‚ฐใงใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚ - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - 'GeneratedComClassAttribute' ใ‚’ๆŒใคใ‚ฏใƒฉใ‚นใฏใ€'GeneratedComInterfaceAttribute' ใ‚’ๆŒใค 1 ใคไปฅไธŠใฎใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใ‚’ๅฎŸ่ฃ…ใ—ใ€'partial' ใซ่จญๅฎšใ—ใ€้žใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏใซใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - 'GeneratedComClassAttribute' ใ‚’ๅซใ‚€ใ‚ฏใƒฉใ‚น '{0}'ใ€ใพใŸใฏใใฎใ‚ฏใƒฉใ‚นใ‚’ๅซใ‚€ๅž‹ใฎ 1 ใคใŒ 'partial' ใจใ—ใฆใƒžใƒผใ‚ฏใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ - - - - Invalid 'GeneratedComClassAttribute' usage - 'GeneratedComClassAttribute' ใฎไฝฟ็”จๆณ•ใŒ็„กๅŠนใงใ™ - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - 'GeneratedComInterfaceAttribute' ใฎๅฑžๆ€งใ‚’ๆŒใคใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใฏใ€'public' ใพใŸใฏ 'internal ใ‚ขใ‚ฏใ‚ปใ‚ทใƒ“ใƒชใƒ†ใ‚ฃใ‚’ๆŒใกใ€้ƒจๅˆ†็š„ใงใ€้žใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใ€'System.Runtime.InteropServices.GuidAttribute' ใง GUID ใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น '{0}' ใฏ 'GeneratedComInterfaceAttribute' ใงๅฑžๆ€งไป˜ใ‘ใ•ใ‚Œใฆใ„ใพใ™ใŒใ€ใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏใงใ™ใ€‚ - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น '{0}' ใซใฏ 'GeneratedComInterfaceAttribute' ๅฑžๆ€งใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใพใ™ใŒใ€็”Ÿๆˆใ•ใ‚ŒใŸใ‚ณใƒผใƒ‰ใ‹ใ‚‰ใฏใ‚ขใ‚ฏใ‚ปใ‚นใงใใพใ›ใ‚“ใ€‚็”Ÿๆˆใ•ใ‚ŒใŸใ‚ณใƒผใƒ‰ใŒใ“ใฎใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใจใใฎใ™ในใฆใฎๅŒ…ๅซๅž‹ใซใ‚ขใ‚ฏใ‚ปใ‚นใ™ใ‚‹ใซใฏใ€ใ‚ขใ‚ฏใ‚ปใ‚ทใƒ“ใƒชใƒ†ใ‚ฃ 'internal' ใพใŸใฏ 'public' ใŒๅฟ…่ฆใงใ™ใ€‚{1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น '{0}' ใฎๅฑžๆ€งใฏ 'GeneratedComInterfaceAttribute' ใงใ™ใŒใ€'System.Runtime.InteropServices.GuidAttribute' ใŒใ‚ใ‚Šใพใ›ใ‚“ใ€‚ - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - 'GeneratedComInterfaceAttribute' ใฎไฝฟ็”จๆณ•ใŒ็„กๅŠนใงใ™ใ€‚ - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น '{0}' ใพใŸใฏใใฎใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใ‚’ๅซใ‚€ๅž‹ใฎ 1 ใคใซ 'partial' ใ‚ญใƒผใƒฏใƒผใƒ‰ (keyword) ใŒใ‚ใ‚Šใพใ›ใ‚“ใ€‚'{0}'ใฎใ‚ณใƒผใƒ‰ใฏ็”Ÿๆˆใ•ใ‚Œใพใ›ใ‚“ใ€‚ - - - - The specified 'ComInterfaceOptions' are invalid. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸ 'ComInterfaceOptions' ใŒ็„กๅŠนใงใ™ใ€‚ - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - '' ใงๆŒ‡ๅฎšใ•ใ‚ŒใŸ '{0}' ใฎ 'ComInterfaceOptions' ใŒ็„กๅŠนใงใ™ใ€‚{1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - 'StringMarshalling' ใจ 'StringMarshallingCustomType' ใฎๆง‹ๆˆใŒ็„กๅŠนใงใ™ใ€‚ - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - 'StringMarshalling' ใŒ 'StringMarshalling.Custom' ใซ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹ๅ ดๅˆใฏใ€'StringMarshallingCustomType' ใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - 'StringMarshallingCustomType' ใŒๆŒ‡ๅฎšใ•ใ‚Œใฆใ„ใ‚‹ๅ ดๅˆใ€'StringMarshalling' ใ‚’ 'StringMarshalling.Custom' ใซ่จญๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น '{0}' ใฎ 'StringMarshalling' ใŠใ‚ˆใณ 'StringMarshallingCustomType' ใฎๆง‹ๆˆใŒ็„กๅŠนใงใ™ใ€‚ {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - ใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใฎ 'StringMarshalling' ใจ 'StringMarshallingCustomType' ใฎๆง‹ๆˆใŒ็„กๅŠนใงใ™ใ€‚{1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - 'VirtualMethodIndexAttribute' ใฎไฝฟ็”จๆณ•ใŒ็„กๅŠนใงใ™ - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ '{1}' ใซๆŒ‡ๅฎšใ•ใ‚ŒใŸ 'MarshalAsAttribute' ๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๆง‹ๆˆใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ 'ComImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ใƒกใ‚ฝใƒƒใƒ‰ '{1}' ใฎๆˆปใ‚Šๅ€คใซๆŒ‡ๅฎšใ•ใ‚ŒใŸ 'MarshalAsAttribute' ๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๆง‹ๆˆใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ 'ComImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - ไปฎๆƒณใƒกใ‚ฝใƒƒใƒ‰ ใƒ†ใƒผใƒ–ใƒซใฎใ‚ชใƒ•ใ‚ปใƒƒใƒˆใ‚’็ขบๅฎŸใซ่จˆ็ฎ—ใ™ใ‚‹ใซใฏใ€'GeneratedComInterface' ๅฑžๆ€งใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใฎ็จฎ้กžใฎๅŒใ˜้ƒจๅˆ†ๅฎš็พฉใงใ€ใ™ในใฆใฎใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๅฎฃ่จ€ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - ใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใฏใ€'GeneratedComInterface' ๅฑžๆ€งใ‚’ๆŒใคๅฎš็พฉใจใฏ็•ฐใชใ‚‹ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น '{1}' ใฎ้ƒจๅˆ†ๅฎš็พฉใงๅฎฃ่จ€ใ•ใ‚Œใฆใ„ใพใ™ - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - ใƒกใ‚ฝใƒƒใƒ‰ใฏใ€'GeneratedComInterface' ๅฑžๆ€งใจใฏ็•ฐใชใ‚‹้ƒจๅˆ†ๅฎฃ่จ€ใงๅฎฃ่จ€ใ•ใ‚Œใฆใ„ใพใ™ใ€‚ - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - 'GeneratedComInterfaceAttribute' ๅฑžๆ€งใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใฏใ€ๆœ€ๅคง 1 ใคใฎใใฎไป–ใฎ 'GeneratedComInterfaceAttribute' ๅฑžๆ€งใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใ‹ใ‚‰ใฎใฟๆดพ็”Ÿใงใใพใ™ใ€‚ - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - ใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚น '{0}' ใฏใ€'GeneratedComInterfaceAttribute' ๅฑžๆ€งใŒ่จญๅฎšใ•ใ‚ŒใŸ 2 ใคไปฅไธŠใฎใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใ‹ใ‚‰ๆดพ็”Ÿใ—ใฆใ„ใพใ™ใ€‚ - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใฏใ€2 ใคไปฅไธŠใฎ 'GeneratedComInterfaceAttribute' ๅฑžๆ€งใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใ‚คใ‚นใ‹ใ‚‰ๆดพ็”Ÿใ—ใฆใ„ใพใ™ใ€‚ - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - 'ComInterfaceOptions.ManagedObjectWrapper' ใพใŸใฏ 'ComInterfaceOptions.ComObjectWrapper' ใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - 'GeneratedComInterfaceAttribute' ใŠใ‚ˆใณ 'GeneratedComClassAttribute' ใซใฏใ‚ขใƒณใ‚ปใƒผใƒ• ใ‚ณใƒผใƒ‰ใŒๅฟ…่ฆใงใ™ใ€‚ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใฏ '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ใงๆ›ดๆ–ฐใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - 'GeneratedComInterfaceAttribute' ใŠใ‚ˆใณ 'GeneratedComClassAttribute' ใซใฏใ‚ขใƒณใ‚ปใƒผใƒ• ใ‚ณใƒผใƒ‰ใŒๅฟ…่ฆใงใ™ใ€‚ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใฏ '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ใงๆ›ดๆ–ฐใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - 'GeneratedComInterfaceAttribute' ใŠใ‚ˆใณ 'GeneratedComClassAttribute' ใซใฏใ‚ขใƒณใ‚ปใƒผใƒ• ใ‚ณใƒผใƒ‰ใŒๅฟ…่ฆใงใ™ใ€‚ - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - 'System.Runtime.InteropServices.Marshal' ไธŠใฎ COM ็›ธไบ’้‹็”จ API ใฏใ‚ฝใƒผใ‚น็”Ÿๆˆ COM ใ‚’ใ‚ตใƒใƒผใƒˆใ—ใฆใ„ใชใ„ใŸใ‚ใ€ๅฎŸ่กŒๆ™‚ใซๅคฑๆ•—ใ—ใพใ™ - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - ใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใฏใƒฉใƒณใ‚ฟใ‚คใƒ  ใƒ™ใƒผใ‚นใฎ COM ็›ธไบ’้‹็”จใฎใฟใ‚’ใ‚ตใƒใƒผใƒˆใ—ใ€ๅž‹ '{1}' ใงใฏๆฉŸ่ƒฝใ—ใพใ›ใ‚“ - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - 'System.Runtime.InteropServices.Marshal' ไธŠใฎ COM ็›ธไบ’้‹็”จ API ใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆ COM ใ‚’ใ‚ตใƒใƒผใƒˆใ—ใฆใ„ใพใ›ใ‚“ - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' ใจใ—ใฆๆŒ‡ๅฎšใ•ใ‚ŒใŸๅž‹ '{0}' ใฏใ€็”Ÿๆˆใ•ใ‚ŒใŸใ‚ณใƒผใƒ‰ใ‹ใ‚‰ใ‚ขใ‚ฏใ‚ปใ‚นใงใใพใ›ใ‚“ใ€‚ใ“ใฎๅž‹ใซใฏๅฐ‘ใชใใจใ‚‚ใ‚ขใ‚ฏใ‚ปใ‚ทใƒ“ใƒชใƒ†ใ‚ฃ 'internal' ใŒๅฟ…่ฆใงใ™ใ€‚{1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใชใ„ๅž‹ใงใ‚ใ‚‹ๅ ดๅˆใ€็”Ÿๆˆใ•ใ‚ŒใŸ้–ขๆ•ฐใƒใ‚คใƒณใ‚ฟใƒผใฏใ€ๅŸบ็คŽใจใชใ‚‹ใชใ‚‹ใƒฉใƒณใ‚ฟใ‚คใƒ ใซไพๅญ˜ใ—ใฆใ€ๆŒ‡ๅฎšใ•ใ‚ŒใŸๅž‹ใ‚’ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ—ใพใ™ใ€‚ - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - ๅž‹ '{0}' ใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚็”Ÿๆˆใ•ใ‚ŒใŸใ‚ฝใƒผใ‚นใฏใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ '{1}' ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ๅ‡ฆ็†ใ—ใพใ›ใ‚“ใ€‚ - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} ็”Ÿๆˆใ•ใ‚ŒใŸใ‚ฝใƒผใ‚นใฏใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ '{1}' ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ๅ‡ฆ็†ใ—ใพใ›ใ‚“ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - ๅž‹ '{0}' ใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚็”Ÿๆˆใ•ใ‚ŒใŸใ‚ฝใƒผใ‚นใฏใ€ใƒกใ‚ฝใƒƒใƒ‰ '{1}' ใฎๆˆปใ‚Šๅ€คใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ๅ‡ฆ็†ใ—ใพใ›ใ‚“ใ€‚ - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} ็”Ÿๆˆใ•ใ‚ŒใŸใ‚ฝใƒผใ‚นใฏใ€ใƒกใ‚ฝใƒƒใƒ‰ '{1}' ใฎๆˆปใ‚Šๅ€คใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ๅ‡ฆ็†ใ—ใพใ›ใ‚“ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - ๆŒ‡ๅฎšใ•ใ‚ŒใŸๅž‹ใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ COM ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - ไธ่ฆใชใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑใŒๆไพ›ใ•ใ‚Œใพใ—ใŸใ€‚ใ“ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑใฏใ€ใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใฎๅ‹•ไฝœใ‚’ๅค‰ๆ›ดใ™ใ‚‹ใ“ใจใชใๅ‰Š้™คใงใใพใ™ใ€‚ - - - - Unnecessary marshalling info was provided and can be removed. - ไธ่ฆใชใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑใŒๆŒ‡ๅฎšใ•ใ‚ŒใŸใŸใ‚ใ€ๅ‰Š้™คใงใใพใ™ใ€‚ - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ '{1}' ใซไธ่ฆใชใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑ '{0}' ใŒๆŒ‡ๅฎšใ•ใ‚Œใพใ—ใŸ - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - ใƒกใ‚ฝใƒƒใƒ‰ '{1}' ใฎๆˆปใ‚Šๅ€คใฎๅž‹ใซไธ่ฆใชใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑ '{0}' ใŒๆŒ‡ๅฎšใ•ใ‚Œใพใ—ใŸ - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ko.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ko.xlf deleted file mode 100644 index bd645dd4b43ac..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ko.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - ์ด ์œ ํ˜•์˜ ๊ฐœ์ฒด๋ฅผ COM์— ์ „๋‹ฌํ•˜๊ณ  ์•ˆ์ „ํ•˜์ง€ ์•Š์€ ์ฝ”๋“œ๋ฅผ ํ—ˆ์šฉํ•˜๋ ค๋ฉด 'GeneratedComClassAttribute'๋ฅผ ์ถ”๊ฐ€ํ•˜์„ธ์š”. - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - ์ด ์œ ํ˜•์€ 'GeneratedComInterfaceAttribute' ํŠน์„ฑ์ด ์žˆ๋Š” ํ•˜๋‚˜ ์ด์ƒ์˜ ์œ ํ˜•์„ ๊ตฌํ˜„ํ•ฉ๋‹ˆ๋‹ค. ์ด ํ˜•์‹์„ COM์— ์ „๋‹ฌํ•˜๊ณ  ์ด ํ˜•์‹์˜ ๊ฐœ์ฒด์—์„œ 'GeneratedComInterfaceAttribute'๊ฐ€ ์žˆ๋Š” ํ˜•์‹์— ๋Œ€ํ•œ COM ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ๋…ธ์ถœํ•˜๋ ค๋ฉด 'GeneratedComClassAttribute'๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - '{0}' ์œ ํ˜•์˜ ๊ฐœ์ฒด๋ฅผ COM์— ์ „๋‹ฌํ•  ์ˆ˜ ์žˆ๋„๋ก 'GeneratedComClassAttribute'๋ฅผ '{0}'์— ์ถ”๊ฐ€ - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - ์ด ์œ ํ˜•์˜ ๊ฐœ์ฒด๋ฅผ COM์— ์ „๋‹ฌํ•  ์ˆ˜ ์žˆ๋„๋ก 'GeneratedComClassAttribute' ์ถ”๊ฐ€ - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - ์˜ˆ๊ธฐ์น˜ ์•Š์€ ์ฝ”๋“œ ํŒจํ„ด์œผ๋กœ ์ธํ•ด ์ด ์ธํ„ฐํŽ˜์ด์Šค ๋˜๋Š” ๋ฉ”์„œ๋“œ์— ๋Œ€ํ•œ ์ฝ”๋“œ๋ฅผ ์ƒ์„ฑํ•˜๋Š” ๋ฐ ํ•„์š”ํ•œ ๋ถ„์„์ด ์‹คํŒจํ–ˆ์Šต๋‹ˆ๋‹ค. ์ƒˆ ๊ตฌ๋ฌธ ๋˜๋Š” ์ด๋ก€์  ๊ตฌ๋ฌธ์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ ๋‹ค๋ฅธ ๊ตฌ๋ฌธ์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค. - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - '{0}' ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ๋ถ„์„ํ•˜์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค. ComInterfaceGenerator์—์„œ ์ด ์ธํ„ฐํŽ˜์ด์Šค์— ๋Œ€ํ•œ ์ฝ”๋“œ๋ฅผ ์ƒ์„ฑํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - '{0}' ๋ฉ”์„œ๋“œ๋ฅผ ๋ถ„์„ํ•˜์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค. ComInterfaceGenerator์—์„œ ์ด ๋ฉ”์„œ๋“œ์— ๋Œ€ํ•œ ์ฝ”๋“œ๋ฅผ ์ƒ์„ฑํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Analysis for COM interface generation has failed. - COM ์ธํ„ฐํŽ˜์ด์Šค ์ƒ์„ฑ์— ๋Œ€ํ•œ ๋ถ„์„์ด ์‹คํŒจํ–ˆ์Šต๋‹ˆ๋‹ค. - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - COM ์ธํ„ฐํŽ˜์ด์Šค ์›๋ณธ์„ ์ƒ์„ฑํ•˜๋ ค๋ฉด ๋ชจ๋“  COM ๊ธฐ๋ณธ ์ธํ„ฐํŽ˜์ด์Šค๊ฐ€ ์œ ํšจํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ ์ธํ„ฐํŽ˜์ด์Šค์˜ ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•˜์—ฌ ์ด ์ง„๋‹จ์„ ํ•ด๊ฒฐํ•˜์„ธ์š”. - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - COM ์ธํ„ฐํŽ˜์ด์Šค {0}์ด(๊ฐ€) ์˜ค๋ฅ˜๊ฐ€ ์žˆ๋Š” {1}์—์„œ ์ƒ์†๋ฉ๋‹ˆ๋‹ค. ComInterfaceGenerator๋Š” {0}์— ๋Œ€ํ•œ ์›๋ณธ์„ ์ƒ์„ฑํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - ๋ฒ ์ด์Šค COM ์ธํ„ฐํŽ˜์ด์Šค์—์„œ ์†Œ์Šค๋ฅผ ์ƒ์„ฑํ•˜์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค. ์ด ์ธํ„ฐํŽ˜์ด์Šค์— ๋Œ€ํ•œ ์ฝ”๋“œ๊ฐ€ ์ƒ์„ฑ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - ๊ธฐ๋ณธ ์ธํ„ฐํŽ˜์ด์Šค ํ˜•์‹์ด ์˜ต์…˜์„ ์ง€์ •ํ•˜์ง€ ์•Š์•˜๊ฑฐ๋‚˜, ์ตœ์†Œํ•œ ๋™์ผํ•œ ์˜ต์…˜์„ ์ง€์ •ํ•˜์ง€ ์•Š์€ ๊ฒฝ์šฐ 'GeneratedComInterface'๋Š” 'ComInterfaceOptions.ManagedObjectWrapper' ๋˜๋Š” 'ComInterfaceOptions.ComObjectWrapper'๋ฅผ ์ง€์ •ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - 'ComImport' ํ˜•์‹๊ณผ ์†Œ์Šค ์ƒ์„ฑ COM ํ˜•์‹ ๊ฐ„์˜ ์บ์ŠคํŒ…์€ ์ง€์›๋˜์ง€ ์•Š์œผ๋ฉฐ ๋Ÿฐํƒ€์ž„์— ์‹คํŒจํ•ฉ๋‹ˆ๋‹ค. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - 'ComImport' ํ˜•์‹๊ณผ ์†Œ์Šค ์ƒ์„ฑ COM ํ˜•์‹ ๊ฐ„ ์บ์ŠคํŒ…์€ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - 'ComImport' ํ˜•์‹๊ณผ ์†Œ์Šค ์ƒ์„ฑ COM ํ˜•์‹ ๊ฐ„ ์บ์ŠคํŒ…์€ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - 'GeneratedComClassAttribute'๊ฐ€ ์žˆ๋Š” ํด๋ž˜์Šค๋Š” 'GeneratedComInterfaceAttribute'๊ฐ€ ์žˆ๋Š” ํ•˜๋‚˜ ์ด์ƒ์˜ ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ๊ตฌํ˜„ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ ‡์ง€ ์•Š์œผ๋ฉด ์ƒ์„ฑ๋œ ์ฝ”๋“œ๊ฐ€ ํšจ๊ณผ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค. - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - 'GeneratedComClassAttribute'๊ฐ€ ์žˆ๋Š” '{0}' ํด๋ž˜์Šค๋Š” 'GeneratedComInterfaceAttribute'๊ฐ€ ์žˆ๋Š” ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ๊ตฌํ˜„ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. '{0}'์— ๋Œ€ํ•ด ์›๋ณธ์ด ์ƒ์„ฑ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - 'EnableComHosting'์„ ์‚ฌ์šฉํ•œ .NET COM ํ˜ธ์ŠคํŒ…์€ ๊ธฐ๋ณธ ์ œ๊ณต COM interop๋งŒ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. 'GeneratedComInterfaceAttribute'์™€์˜ ์†Œ์Šค ์ƒ์„ฑ COM ์ƒํ˜ธ ์šด์šฉ์„ฑ์„ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - 'EnableComHosting'์„ ์‚ฌ์šฉํ•œ .NET COM ํ˜ธ์ŠคํŒ…์€ 'GeneratedComInterfaceAttribute'๋ฅผ ์‚ฌ์šฉํ•œ ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋Œ€์‹  'System.Runtime.InteropServices.ComVisibleAttribute'๋ฅผ ์‚ฌ์šฉํ•˜๋„๋ก '{0}'์— ์˜ํ•ด ๊ตฌํ˜„๋œ ๋ชจ๋“  COM ๋…ธ์ถœ ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - 'EnableComHosting'์„ ์‚ฌ์šฉํ•œ .NET COM ํ˜ธ์ŠคํŒ…์€ 'GeneratedComInterfaceAttribute'๋ฅผ ์‚ฌ์šฉํ•œ ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Source-generated COM will ignore any configuration that is not supported. - ์†Œ์Šค ์ƒ์„ฑ COM์€ ์ง€์›๋˜์ง€ ์•Š๋Š” ๊ตฌ์„ฑ์„ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค. - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - '{0}' ๊ตฌ์„ฑ์€ ์›๋ณธ ์ƒ์„ฑ COM์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ๋Œ€์‹  'ComImport'๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - ์ง€์ •๋œ ๋งˆ์ƒฌ๋ง ๊ตฌ์„ฑ์€ ์›๋ณธ ์ƒ์„ฑ COM์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ๋งค๊ฐœ ๋ณ€์ˆ˜ '{1}'์— ๋Œ€ํ•ด ์ง€์ •๋œ '{0}' ๊ตฌ์„ฑ์ด ์›๋ณธ ์ƒ์„ฑ COM์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ 'ComImportโ€™๋ฅผ ๋Œ€์‹  ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ๋ฉ”์„œ๋“œ '{1}'์˜ ๋ฐ˜ํ™˜ ๊ฐ’์— ๋Œ€ํ•ด ์ง€์ •๋œ '{0}' ๊ตฌ์„ฑ์€ ์†Œ์Šค ์ƒ์„ฑ COM์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ๋Œ€์‹  'ComImport'๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - '{1}'์— ๋Œ€ํ•ด ์ง€์ •๋œ ๊ฐ’ '{0}'์€(๋Š”) ์›๋ณธ ์ƒ์„ฑ COM์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ๋Œ€์‹  'ComImport'๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. - - - - Specified configuration is not supported by source-generated COM. - ์ง€์ •๋œ ๊ตฌ์„ฑ์€ ์›๋ณธ ์ƒ์„ฑ COM์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - ์ด ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ 'GeneratedComInterfaceAttribute'๋ฅผ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€ํ™˜ํ•˜๋ฉด ์ž˜๋ชป๋œ ์ฝ”๋“œ๊ฐ€ ์ƒ์„ฑ๋  ์ˆ˜ ์žˆ์œผ๋ฉฐ ์ถ”๊ฐ€ ์ž‘์—…์ด ํ•„์š”ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - Convert to 'GeneratedComInterface' and allow unsafe code - 'GeneratedComInterface'๋กœ ๋ณ€ํ™˜ํ•˜๊ณ  ์•ˆ์ „ํ•˜์ง€ ์•Š์€ ์ฝ”๋“œ ํ—ˆ์šฉ - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - ์ปดํŒŒ์ผ ์‹œ๊ฐ„์— COM ๋งˆ์ƒฌ๋ง ์ฝ”๋“œ๋ฅผ ์ƒ์„ฑํ•˜๋ ค๋ฉด 'ComImportAttribute' ๋Œ€์‹  'GeneratedComInterfaceAttribute'๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”. - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - ์ด API๋ฅผ 'GeneratedComInterfaceAttribute'๋กœ ๋ณ€ํ™˜ํ•˜๋ ค๋ฉด ์ผ๋ถ€ ๋งค๊ฐœ ๋ณ€์ˆ˜์— ๋Œ€ํ•œ ์‚ฌ์šฉ์ž ์ง€์ • ๋งˆ์ƒฌ๋Ÿฌ๋ฅผ ์ œ๊ณตํ•˜๋Š” ์ถ”๊ฐ€ ์ฝ”๋“œ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - ์ปดํŒŒ์ผ ์‹œ๊ฐ„์— COM ๋งˆ์ƒฌ๋ง ์ฝ”๋“œ๋ฅผ ์ƒ์„ฑํ•˜๋ ค๋ฉด 'ComImportAttribute' ๋Œ€์‹  'GeneratedComInterfaceAttribute'๋กœ '{0}' ์œ ํ˜•์„ ํ‘œ์‹œํ•˜์„ธ์š”. - - - - Convert to 'GeneratedComInterface' - 'GeneratedComInterface'๋กœ ๋ณ€ํ™˜ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - 'StringMarshalling' ๋ฐ 'StringMarshallingCustomType'์˜ ๊ตฌ์„ฑ์€ ๊ธฐ๋ณธ COM ์ธํ„ฐํŽ˜์ด์Šค์™€ ์ผ์น˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - ์ด๋ฒคํŠธ๋Š” COM์˜ ๊ฐœ๋…์ด ์•„๋‹ˆ๋ฏ€๋กœ ์†Œ์Šค ์ƒ์„ฑ COM ์ธํ„ฐํŽ˜์ด์Šค์˜ ์ธ์Šคํ„ด์Šค ์ด๋ฒคํŠธ์— ๋Œ€ํ•ด interop ์ฝ”๋“œ๊ฐ€ ์ƒ์„ฑ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - 'GeneratedComInterfaceAttribute'๊ฐ€ ์ ์šฉ๋œ '{1}' ์ธํ„ฐํŽ˜์ด์Šค์—์„œ '{0}' ์ธ์Šคํ„ด์Šค ์ด๋ฒคํŠธ๊ฐ€ ์„ ์–ธ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - 'GeneratedComInterfaceAttribute'๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ํ˜•์‹์˜ ์ธ์Šคํ„ด์Šค ์ด๋ฒคํŠธ ์„ ์–ธ์€ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - ์†์„ฑ์€ COM์˜ ๊ฐœ๋…์ด ์•„๋‹ˆ๋ฏ€๋กœ ์†Œ์Šค ์ƒ์„ฑ COM ์ธํ„ฐํŽ˜์ด์Šค์˜ ์ธ์Šคํ„ด์Šค ์†์„ฑ์— ๋Œ€ํ•ด interop ์ฝ”๋“œ๊ฐ€ ์ƒ์„ฑ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - 'GeneratedComInterfaceAttribute'๊ฐ€ ์ ์šฉ๋œ '{1}' ์ธํ„ฐํŽ˜์ด์Šค์—์„œ '{0}' ์ธ์Šคํ„ด์Šค ์†์„ฑ์ด ์„ ์–ธ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - 'GeneratedComInterfaceAttribute'๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ํ˜•์‹์˜ ์ธ์Šคํ„ด์Šค ์†์„ฑ ์„ ์–ธ์€ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - 'GeneratedComInterfaceAttribute' ๋ฐ 'InterfaceTypeAttribute'๋Š” 'ComInterfaceType' ๊ฐ’ '{0}'์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - 'GeneratedComInterfaceType'์€ ๋™์ผํ•œ ์œ ํ˜•์˜ 'InterfaceTypeAttribute'์— ์ œ๊ณต๋œ 'ComInterfaceType' ๊ฐ’์„ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - ๋ฉ”์„œ๋“œ '{0}'์€(๋Š”) 'partial'๋กœ ํ‘œ์‹œ๋˜์ง€ ์•Š์€ '{1}' ํ˜•์‹์— ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. COM ์›๋ณธ ์ƒ์„ฑ์€ '{0}' ๋ฉ”์„œ๋“œ๋ฅผ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค. - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - VirtualMethodIndexAttribute๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๋ฉ”์„œ๋“œ ํฌํ•จ ํ˜•์‹์— UnmanagedObjectUnwrapperAttribute๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค. - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - 'GeneratedComInterfaceAttribute'๋กœ ํ‘œ์‹œ๋œ ์ธํ„ฐํŽ˜์ด์Šค์˜ ๋ฉ”์„œ๋“œ๋Š” ์ œ๋„ค๋ฆญ์ด ์•„๋‹ˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. COM ์›๋ณธ ์ƒ์„ฑ์€ ์ œ๋„ค๋ฆญ ๋ฉ”์„œ๋“œ๋ฅผ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค. - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - 'GeneratedComInterfaceAttribute'๋กœ ํ‘œ์‹œ๋œ ์ธํ„ฐํŽ˜์ด์Šค์—์„œ '{0}' ๋ฉ”์„œ๋“œ๋Š” ์ œ๋„ค๋ฆญ์ด ์•„๋‹ˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. COM ์›๋ณธ ์ƒ์„ฑ์€ '{0}' ๋ฉ”์„œ๋“œ๋ฅผ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - 'ExceptionMarshalling' ๋ฐ 'ExceptionMarshallingCustomType'์˜ ๊ตฌ์„ฑ์ด ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - ๋ฉ”์„œ๋“œ '{0}'์˜ 'ExceptionMarshalling' ๋ฐ 'ExceptionMarshallingCustomType'์˜ ๊ตฌ์„ฑ์ด ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - 'ExceptionMarshalling'์ด 'ExceptionMarshalling.Custom'์œผ๋กœ ์„ค์ •๋œ ๊ฒฝ์šฐ 'ExceptionMarshallingCustomType'์„ ์ง€์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - 'ExceptionMarshallingCustomType'์ด ์ง€์ •๋œ ๊ฒฝ์šฐ 'ExceptionMarshalling'์€ 'ExceptionMarshalling.Custom'์œผ๋กœ ์„ค์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - ์ œ๊ณต๋œ ๊ฐ’์€ 'ExceptionMarshalling' ์—ด๊ฑฐํ˜•์˜ ์•Œ๋ ค์ง„ ํ”Œ๋ž˜๊ทธ๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - 'GeneratedComClassAttribute'๊ฐ€ ์žˆ๋Š” ํด๋ž˜์Šค๋Š” 'GeneratedComInterfaceAttribute'๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ํ•˜๋‚˜ ์ด์ƒ ๊ตฌํ˜„ํ•˜๊ณ  'partial'๋กœ ํ‘œ์‹œ๋˜์–ด์•ผ ํ•˜๋ฉฐ ์ œ๋„ค๋ฆญ์ด ์•„๋‹ˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - 'GeneratedComClassAttribute'๊ฐ€ ์žˆ๋Š” ํด๋ž˜์Šค '{0}' ๋˜๋Š” ํฌํ•จ๋œ ํ˜•์‹ ์ค‘ ํ•˜๋‚˜๊ฐ€ 'partial'๋กœ ํ‘œ์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Invalid 'GeneratedComClassAttribute' usage - 'GeneratedComClassAttribute' ์‚ฌ์šฉ์ด ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - 'GeneratedComInterfaceAttribute'๋กœ ํŠน์„ฑ์ด ์ง€์ •๋œ ์ธํ„ฐํŽ˜์ด์Šค์—๋Š” 'public' ๋˜๋Š” 'internal' ์ ‘๊ทผ์„ฑ์ด ์žˆ์–ด์•ผ ํ•˜๋ฉฐ ๋ถ€๋ถ„์ ์ด๊ณ  ์ œ๋„ค๋ฆญ์ด ์•„๋‹ˆ์–ด์•ผ ํ•˜๋ฉฐ 'System.Runtime.InteropServices.GuidAttribute'๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ GUID๋ฅผ ์ง€์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - '{0}' ์ธํ„ฐํŽ˜์ด์Šค๋Š” 'GeneratedComInterfaceAttribute'๋กœ ํŠน์„ฑ์ด ์ง€์ •๋˜์ง€๋งŒ ์ œ๋„ค๋ฆญ์ž…๋‹ˆ๋‹ค. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - ์ธํ„ฐํŽ˜์ด์Šค '{0}'์€(๋Š”) 'GeneratedComInterfaceAttribute'๋กœ ํŠน์„ฑ์ด ์ง€์ •๋˜์—ˆ์ง€๋งŒ ์ƒ์„ฑ๋œ ์ฝ”๋“œ์—์„œ ์•ก์„ธ์Šคํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ์ธํ„ฐํŽ˜์ด์Šค์™€ ํฌํ•จ๋œ ๋ชจ๋“  ํ˜•์‹์—๋Š” ์•ก์„ธ์Šคํ•˜๊ธฐ ์œ„ํ•ด ์ƒ์„ฑ๋œ ์ฝ”๋“œ์— ๋Œ€ํ•œ ์ ‘๊ทผ์„ฑ 'internal' ๋˜๋Š” 'public'์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. {1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - ์ธํ„ฐํŽ˜์ด์Šค '{0}'์— 'GeneratedComInterfaceAttribute'์ด(๊ฐ€) ์ง€์ •๋˜์—ˆ์ง€๋งŒ 'System.Runtime.InteropServices.GuidAttribute'์ด(๊ฐ€) ๋ˆ„๋ฝ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - ์ž˜๋ชป๋œ 'GeneratedComInterfaceAttribute' ์‚ฌ์šฉ๋ฒ•์ž…๋‹ˆ๋‹ค. - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - '{0}' ์ธํ„ฐํŽ˜์ด์Šค ๋˜๋Š” ํ•ด๋‹น ํฌํ•จ๋œ ํ˜•์‹ ์ค‘ ํ•˜๋‚˜์— 'partial' ํ‚ค์›Œ๋“œ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค. '{0}'์— ๋Œ€ํ•œ ์ฝ”๋“œ๊ฐ€ ์ƒ์„ฑ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The specified 'ComInterfaceOptions' are invalid. - ์ง€์ •ํ•œ 'ComInterfaceOptions'๊ฐ€ ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - '{0}'์— ์ง€์ •ํ•œ 'ComInterfaceOptions'๊ฐ€ ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - 'StringMarshalling' ๋ฐ 'StringMarshallingCustomType'์˜ ๊ตฌ์„ฑ์ด ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - 'StringMarshalling'์ด 'StringMarshalling.Custom'์œผ๋กœ ์„ค์ •๋œ ๊ฒฝ์šฐ 'StringMarshallingCustomType'์„ ์ง€์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - 'StringMarshallingCustomType'์ด ์ง€์ •๋œ ๊ฒฝ์šฐ 'StringMarshalling'์€ 'StringMarshalling.Custom'์œผ๋กœ ์„ค์ •๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - '{0}' ์ธํ„ฐํŽ˜์ด์Šค์˜ 'StringMarshalling' ๋ฐ 'StringMarshallingCustomType' ๊ตฌ์„ฑ์ด ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - '{0}' ๋ฉ”์„œ๋“œ์˜ 'StringMarshalling' ๋ฐ 'StringMarshallingCustomType' ๊ตฌ์„ฑ์ด ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. {1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - ์ž˜๋ชป๋œ 'VirtualMethodIndexAttribute' ์‚ฌ์šฉ - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ๋งค๊ฐœ ๋ณ€์ˆ˜ '{1}'์— ๋Œ€ํ•ด ์ง€์ •๋œ 'MarshalAsAttribute' ๊ตฌ์„ฑ์€ ์†Œ์Šค ์ƒ์„ฑ COM์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ๋Œ€์‹  'ComImport'๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ๋ฉ”์„œ๋“œ '{1}'์˜ ๋ฐ˜ํ™˜ ๊ฐ’์— ๋Œ€ํ•ด ์ง€์ •๋œ 'MarshalAsAttribute' ๊ตฌ์„ฑ์€ ์†Œ์Šค ์ƒ์„ฑ COM์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ๋Œ€์‹  'ComImport'๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - ๋ชจ๋“  ๋ฉ”์„œ๋“œ๋Š” ๊ฐ€์ƒ ๋ฉ”์„œ๋“œ ํ…Œ์ด๋ธ” ์˜คํ”„์…‹์— ๋Œ€ํ•œ ์‹ ๋ขฐํ•  ์ˆ˜ ์žˆ๋Š” ๊ณ„์‚ฐ์„ ๋ณด์žฅํ•˜๊ธฐ ์œ„ํ•ด 'GeneratedComInterface' ์†์„ฑ ์ธํ„ฐํŽ˜์ด์Šค ์œ ํ˜•์˜ ๋™์ผํ•œ ๋ถ€๋ถ„ ์ •์˜์—์„œ ์„ ์–ธ๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - ๋ฉ”์„œ๋“œ '{0}'์€(๋Š”) 'GeneratedComInterface' ํŠน์„ฑ์ด ์žˆ๋Š” ์ •์˜๊ฐ€ ์•„๋‹Œ ์ธํ„ฐํŽ˜์ด์Šค '{1}'์˜ ๋‹ค๋ฅธ ๋ถ€๋ถ„ ์ •์˜์—์„œ ์„ ์–ธ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - ๋ฉ”์†Œ๋“œ๊ฐ€ 'GeneratedComInterface' ์†์„ฑ๊ณผ ๋‹ค๋ฅธ ๋ถ€๋ถ„ ์„ ์–ธ์—์„œ ์„ ์–ธ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - 'GeneratedComInterfaceAttribute' ํŠน์„ฑ ์ธํ„ฐํŽ˜์ด์Šค๋Š” ํ•˜๋‚˜์˜ ๋‹ค๋ฅธ 'GeneratedComInterfaceAttribute' ํŠน์„ฑ ์ธํ„ฐํŽ˜์ด์Šค์—์„œ๋งŒ ํŒŒ์ƒ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - ์ธํ„ฐํŽ˜์ด์Šค '{0}'์€(๋Š”) 'GeneratedComInterfaceAttribute'๊ฐ€ ์žˆ๋Š” ๋‘ ๊ฐœ ์ด์ƒ์˜ ์ธํ„ฐํŽ˜์ด์Šค์—์„œ ํŒŒ์ƒ๋ฉ๋‹ˆ๋‹ค. - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - ์ง€์ •ํ•œ ์ธํ„ฐํŽ˜์ด์Šค๋Š” ๋‘ ๊ฐœ ์ด์ƒ์˜ 'GeneratedComInterfaceAttribute' ํŠน์„ฑ ์ธํ„ฐํŽ˜์ด์Šค์—์„œ ํŒŒ์ƒ๋ฉ๋‹ˆ๋‹ค. - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - 'ComInterfaceOptions.ManagedObjectWrapper' ๋˜๋Š” 'ComInterfaceOptions.ComObjectWrapper'๋ฅผ ์ง€์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - 'GeneratedComInterfaceAttribute' ๋ฐ 'GeneratedComClassAttribute'์—๋Š” ์•ˆ์ „ํ•˜์ง€ ์•Š์€ ์ฝ”๋“œ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ๋ฅผ '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'๋กœ ์—…๋ฐ์ดํŠธํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - 'GeneratedComInterfaceAttribute' ๋ฐ 'GeneratedComClassAttribute'์—๋Š” ์•ˆ์ „ํ•˜์ง€ ์•Š์€ ์ฝ”๋“œ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ๋ฅผ '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'๋กœ ์—…๋ฐ์ดํŠธํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - 'GeneratedComInterfaceAttribute' ๋ฐ 'GeneratedComClassAttribute'์—๋Š” ์•ˆ์ „ํ•˜์ง€ ์•Š์€ ์ฝ”๋“œ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - 'System.Runtime.InteropServices.Marshal'์˜ COM Interop API๋Š” ์†Œ์Šค ์ƒ์„ฑ COM์„ ์ง€์›ํ•˜์ง€ ์•Š์œผ๋ฉฐ ๋Ÿฐํƒ€์ž„์— ์‹คํŒจํ•ฉ๋‹ˆ๋‹ค. - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - '{0}' ๋ฉ”์„œ๋“œ๋Š” ๋Ÿฐํƒ€์ž„ ๊ธฐ๋ฐ˜ COM ์ƒํ˜ธ ์šด์šฉ์„ฑ๋งŒ ์ง€์›ํ•˜๋ฉฐ '{1}' ์œ ํ˜•์—์„œ๋Š” ์ž‘๋™ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - 'System.Runtime.InteropServices.Marshal'์˜ COM Interop API๋Š” ์†Œ์Šค ์ƒ์„ฑ COM์„ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - ์ƒ์„ฑ๋œ ์ฝ”๋“œ์—์„œ 'GeneratedComInterfaceAttribute.StringMarscingingCustomType'์œผ๋กœ ์ง€์ •๋œ '{0}' ํ˜•์‹์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ํ˜•์‹์—๋Š” ์ตœ์†Œํ•œ 'internal' ์ ‘๊ทผ์„ฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. {1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - ์›๋ณธ ์ƒ์„ฑ COM์—์„œ ์ง€์›ํ•˜์ง€ ์•Š๋Š” ํ˜•์‹์˜ ๊ฒฝ์šฐ ๊ฒฐ๊ณผ ํ•จ์ˆ˜ ํฌ์ธํ„ฐ๋Š” ๊ธฐ๋ณธ ๋Ÿฐํƒ€์ž„์„ ์‚ฌ์šฉํ•˜์—ฌ ์ง€์ •๋œ ํ˜•์‹์„ ๋งˆ์ƒฌ๋งํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - ํ˜•์‹ '{0}'์€(๋Š”) ์›๋ณธ ์ƒ์„ฑ COM์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ƒ์„ฑ๋œ ์›๋ณธ์€ '{1}' ๋งค๊ฐœ ๋ณ€์ˆ˜์˜ ๋งˆ์ƒฌ๋ง์„ ์ฒ˜๋ฆฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} ์ƒ์„ฑ๋œ ์†Œ์Šค๋Š” '{1}' ๋งค๊ฐœ ๋ณ€์ˆ˜์˜ ๋งˆ์ƒฌ๋ง์„ ์ฒ˜๋ฆฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - '{0}' ํ˜•์‹์€ ์›๋ณธ ์ƒ์„ฑ COM์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ƒ์„ฑ๋œ ์›๋ณธ์€ '{1}' ๋ฉ”์„œ๋“œ์˜ ๋ฐ˜ํ™˜ ๊ฐ’ ๋งˆ์ƒฌ๋ง์„ ์ฒ˜๋ฆฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} ์ƒ์„ฑ๋œ ์†Œ์Šค๋Š” '{1}' ๋ฉ”์„œ๋“œ์˜ ๋ฐ˜ํ™˜ ๊ฐ’ ๋งˆ์ƒฌ๋ง์„ ์ฒ˜๋ฆฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - ์ง€์ •๋œ ํ˜•์‹์€ ์›๋ณธ ์ƒ์„ฑ COM์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - ๋ถˆํ•„์š”ํ•œ ๋งˆ์ƒฌ๋ง ์ •๋ณด๊ฐ€ ์ œ๊ณต๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ๋™์ž‘์„ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š๊ณ  ์ด ๋งˆ์ƒฌ๋ง ์ •๋ณด๋ฅผ ์ œ๊ฑฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - Unnecessary marshalling info was provided and can be removed. - ๋ถˆํ•„์š”ํ•œ ๋งˆ์ƒฌ๋ง ์ •๋ณด๊ฐ€ ์ œ๊ณต๋˜์—ˆ์œผ๋ฉฐ ์ œ๊ฑฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - ๋ถˆํ•„์š”ํ•œ ๋งˆ์ƒฌ๋ง ์ •๋ณด '{0}'์ด(๊ฐ€) ๋งค๊ฐœ ๋ณ€์ˆ˜ '{1}'์— ์ œ๊ณต๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - ๋ถˆํ•„์š”ํ•œ ๋งˆ์ƒฌ๋ง ์ •๋ณด '{0}'์ด(๊ฐ€) '{1}' ๋ฉ”์„œ๋“œ ๋ฐ˜ํ™˜ ํ˜•์‹์— ์ œ๊ณต๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.pl.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.pl.xlf deleted file mode 100644 index 517a03a2777df..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.pl.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - Dodaj atrybut โ€žGeneratedComClassAttributeโ€, aby umoลผliwiฤ‡ przekazywanie obiektรณw tego typu do modelu COM i zezwalaฤ‡ na niebezpieczny kod - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - Ten typ implementuje co najmniej jeden typ z atrybutem โ€žGeneratedComInterfaceAttributeโ€. Dodaj atrybut โ€žGeneratedComClassAttributeโ€, aby umoลผliwiฤ‡ przekazywanie tego typu do modelu COM i uwidacznianie interfejsรณw COM dla typรณw z atrybutem โ€žGeneratedComInterfaceAttributeโ€ z obiektรณw tego typu. - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - Dodaj atrybut โ€žGeneratedComClassAttributeโ€ do โ€ž{0}โ€, aby umoลผliwiฤ‡ przekazywanie obiektรณw typu โ€ž{0}โ€ do modelu COM - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - Dodaj atrybut โ€žGeneratedComClassAttributeโ€, aby umoลผliwiฤ‡ przekazywanie obiektรณw tego typu do modelu COM - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - Analiza wymagana do wygenerowania kodu dla tego interfejsu lub metody nie powiodล‚a siฤ™ z powodu nieoczekiwanego wzorca kodu. Jeล›li uลผywasz nowej skล‚adni lub nieszablonowej skล‚adni, rozwaลผ uลผycie innej skล‚adni. - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - Analiza interfejsu โ€ž{0}โ€ nie powiodล‚a siฤ™. Element ComInterfaceGenerator nie wygeneruje kodu dla tego interfejsu. - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - Analiza metody โ€ž{0}โ€ nie powiodล‚a siฤ™. Element ComInterfaceGenerator nie wygeneruje kodu dla tej metody. - - - - Analysis for COM interface generation has failed. - Analiza generowania interfejsu COM nie powiodล‚a siฤ™. - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - Generowanie ลบrรณdล‚a interfejsu COM wymaga, aby wszystkie podstawowe interfejsy COM byล‚y prawidล‚owymi interfejsami. Rozwiฤ…ลผ wszelkie problemy z interfejsem podstawowym, aby rozwiฤ…zaฤ‡ ten problem diagnostyczny. - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - Interfejs COM {0} dziedziczy po {1}, ktรณry zawiera bล‚ฤ™dy. Program ComInterfaceGenerator nie wygeneruje ลบrรณdล‚a dla {0}. - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - Podstawowy interfejs COM nie moลผe wygenerowaฤ‡ ลบrรณdล‚a. Kod nie zostanie wygenerowany dla tego interfejsu. - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - Element โ€žGeneratedComInterfaceโ€ nie moลผe okreล›laฤ‡ elementu โ€žComInterfaceOptions.ManagedObjectWrapperโ€ lub โ€žComInterfaceOptions.ComObjectWrapperโ€, chyba ลผe podstawowy typ interfejsu nie okreล›liล‚ opcji lub okreล›liล‚ co najmniej te same opcje. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - Rzutowanie miฤ™dzy typem โ€žComImportโ€ i wygenerowanym przez ลบrรณdล‚o typem COM nie jest obsล‚ugiwane i zakoล„czy siฤ™ niepowodzeniem w czasie wykonywania - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - Rzutowanie miฤ™dzy typem โ€žComImportโ€ i wygenerowanym przez ลบrรณdล‚o typem COM nie jest obsล‚ugiwane - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - Rzutowanie miฤ™dzy typem โ€žComImportโ€ i wygenerowanym przez ลบrรณdล‚o typem COM nie jest obsล‚ugiwane - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - Klasa z atrybutem โ€žGeneratedComClassAttributeโ€ musi implementowaฤ‡ co najmniej jeden interfejs z atrybutem โ€žGeneratedComInterfaceAttributeโ€ lub wygenerowany kod bez efektu. - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - Klasa โ€ž{0}โ€ z atrybutem โ€žGeneratedComClassAttributeโ€ nie implementuje ลผadnych interfejsรณw z atrybutem โ€žGeneratedComInterfaceAttributeโ€. ลนrรณdล‚o nie zostanie wygenerowane dla โ€ž{0}โ€. - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - Hosting modelu COM platformy .NET z elementem โ€žEnableComHostingโ€ obsล‚uguje tylko wbudowanฤ… usล‚ugฤ™ miฤ™dzyoperacyjnฤ… modelu COM. Nie obsล‚uguje usล‚ugi miฤ™dzyoperacyjnej modelu COM wygenerowanej przez ลบrรณdล‚o przy uลผyciu atrybutu โ€žGeneratedComInterfaceAttributeโ€. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - Hosting modelu COM platformy .NET z elementem โ€žEnableComHostingโ€ nie obsล‚uguje interfejsรณw z atrybutem โ€žGeneratedComInterfaceAttributeโ€. Zmieล„ wszystkie interfejsy ujawnione przez model COM zaimplementowane przez โ€ž{0}โ€, aby zamiast tego uลผyฤ‡ atrybutu โ€žSystem.Runtime.InteropServices.ComVisibleAttributeโ€ - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - Hosting modelu COM platformy .NET z elementem โ€žEnableComHostingโ€ nie obsล‚uguje interfejsรณw z atrybutem โ€žGeneratedComInterfaceAttributeโ€ - - - - Source-generated COM will ignore any configuration that is not supported. - COM wygenerowany przez ลบrรณdล‚o zignoruje kaลผdฤ… konfiguracjฤ™, ktรณra nie jest obsล‚ugiwana. - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Konfiguracja โ€ž{0}โ€ nie jest obsล‚ugiwana przez COM generowany przez ลบrรณdล‚o. Jeล›li okreล›lona konfiguracja jest wymagana, uลผyj zamiast niej `ComImport`. - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - Okreล›lona konfiguracja skierowania nie jest obsล‚ugiwana przez COM generowany ลบrรณdล‚owo. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Okreล›lona konfiguracja โ€ž{0}โ€ dla parametru โ€ž{1}โ€ nie jest obsล‚ugiwana przez COM generowany przez ลบrรณdล‚o. Jeล›li okreล›lona konfiguracja jest wymagana, uลผyj zamiast niej `ComImport`. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Okreล›lona konfiguracja โ€ž{0}โ€ dla wartoล›ci zwracanej metody โ€ž{1}โ€ nie jest obsล‚ugiwana przez COM generowany przez ลบrรณdล‚o. Jeล›li okreล›lona konfiguracja jest wymagana, uลผyj zamiast niej `ComImport`. - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Okreล›lona wartoล›ฤ‡ โ€ž{0}โ€ dla โ€ž{1}โ€ nie jest obsล‚ugiwana przez COM generowany przez ลบrรณdล‚o. Jeล›li okreล›lona konfiguracja jest wymagana, uลผyj zamiast niej `ComImport`. - - - - Specified configuration is not supported by source-generated COM. - Okreล›lona konfiguracja nie jest obsล‚ugiwana przez COM wygenerowany przez ลบrรณdล‚o. - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - Przekonwertowanie tego interfejsu w celu uลผycia atrybutu โ€žGeneratedComInterfaceAttributeโ€ moลผe spowodowaฤ‡ wygenerowanie nieprawidล‚owego kodu i moลผe wymagaฤ‡ dodatkowej pracy - - - - Convert to 'GeneratedComInterface' and allow unsafe code - Konwertuj na element โ€žGeneratedComInterfaceโ€ i zezwalaj na niebezpieczny kod - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Uลผyj atrybutu โ€žGeneratedComInterfaceAttributeโ€ zamiast โ€žComImportAttributeโ€, aby wygenerowaฤ‡ kod marshallingu modelu COM w czasie kompilacji - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - Przekonwertowanie tego interfejsu API na atrybut โ€žGeneratedComInterfaceAttributeโ€ bฤ™dzie wymagaฤ‡ dodatkowego kodu w celu udostฤ™pnienia niestandardowych organizatorรณw dla niektรณrych parametrรณw. - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Oznacz typ โ€ž{0}โ€ atrybutem โ€žGeneratedComInterfaceAttributeโ€ zamiast โ€žComImportAttributeโ€, aby wygenerowaฤ‡ kod marshallingu modelu COM w czasie kompilacji - - - - Convert to 'GeneratedComInterface' - Konwertowanie na element โ€žGeneratedComInterfaceโ€ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - Konfiguracja elementรณw โ€žStringMarssourceingโ€ i โ€žStringMarsxtingCustomTypeโ€ musi byฤ‡ zgodna z podstawowym interfejsem COM. - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - Zdarzenia nie sฤ… koncepcjฤ… w modelu COM, wiฤ™c ลผaden kod miฤ™dzyoperacyjny nie bฤ™dzie generowany dla zdarzeล„ wystฤ…pieล„ w interfejsach COM generowanych ลบrรณdล‚owo. - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - Zdarzenie wystฤ…pienia โ€ž{0}โ€ jest zadeklarowane w interfejsie โ€ž{1}โ€, w ktรณrym zastosowano atrybut โ€žGeneratedComInterfaceAttributeโ€ - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - Deklarowanie zdarzenia wystฤ…pienia w typie z atrybutem โ€žGeneratedComInterfaceAttributeโ€ nie jest obsล‚ugiwane - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - Te wล‚aล›ciwoล›ci nie sฤ… koncepcjฤ… w modelu COM, dlatego nie zostanie wygenerowany kod miฤ™dzyoperacyjny dla wล‚aล›ciwoล›ci wystฤ…pienia w interfejsach COM generowanych ลบrรณdล‚owo. - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - Wล‚aล›ciwoล›ฤ‡ wystฤ…pienia โ€ž{0}โ€ jest zadeklarowana w interfejsie โ€ž{1}โ€, do ktรณrego zastosowano atrybut โ€žGeneratedComInterfaceAttributeโ€ - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - Deklarowanie wล‚aล›ciwoล›ci wystฤ…pienia w typie z atrybutem โ€žGeneratedComInterfaceAttributeโ€ nie jest obsล‚ugiwane - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - Uลผycie atrybutรณw โ€žGeneratedComInterfaceAttributeโ€ i โ€žInterfaceTypeAttributeโ€ nie jest obsล‚ugiwane w przypadku wartoล›ci โ€žComInterfaceTypeโ€ โ€ž{0}โ€. - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - Typ โ€žGeneratedComInterfaceTypeโ€ nie obsล‚uguje wartoล›ci โ€žComInterfaceTypeโ€ dostarczonej do atrybutu โ€žInterfaceTypeAttributeโ€ w tym samym typie. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - Metoda โ€ž{0}โ€ jest zawarta w typie โ€ž{1}โ€, ktรณry nie jest oznaczony jako โ€žczฤ™ล›ciowyโ€. Generowanie ลบrรณdล‚a COM zignoruje metodฤ™ โ€ž{0}โ€. - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - Zawieranie typu metody z atrybutem VirtualMethodIndexAttribute nie ma atrybutu UnmanagedObjectUnwrapperAttribute. - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - Metody w interfejsach oznaczone atrybutem โ€žGeneratedComInterfaceAttributeโ€ powinny byฤ‡ nie-ogรณlne. Generowanie ลบrรณdล‚a COM zignoruje metody, ktรณre sฤ… ogรณlne. - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - Metoda โ€ž{0}โ€ powinna byฤ‡ nie-ogรณlna w interfejsach oznaczonych atrybutem โ€žGeneratedComInterfaceAttributeโ€. Generowanie ลบrรณdล‚a COM zignoruje metodฤ™ โ€ž{0}โ€. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - Konfiguracja elementรณw โ€žExceptionMarshallingโ€ i โ€žExceptionMarshallingCustomTypeโ€ jest nieprawidล‚owa. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - Konfiguracja elementรณw โ€žExceptionMarshallingโ€ i โ€žExceptionMarshallingCustomTypeโ€ w metodzie โ€ž{0}โ€ jest nieprawidล‚owa. {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - Element โ€žExceptionMarshallingCustomTypeโ€ musi byฤ‡ okreล›lony kiedy โ€žExceptionMarshallingโ€ jest ustawiony na โ€žExceptionMarshalling.Customโ€. - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - Element โ€žExceptionMarshallingโ€ powinien byฤ‡ ustawiony na โ€žExceptionMarshalling.Customโ€ kiedy typ โ€žExceptionMarshallingCustomTypeโ€ jest okreล›lony. - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - Podana wartoล›ฤ‡ nie jest znanฤ… flagฤ… wyliczenia โ€ž'ExceptionMarshallingโ€. - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - Klasy z atrybutem โ€žGeneratedComClassAttributeโ€ muszฤ… implementowaฤ‡ co najmniej jeden interfejs z atrybutem โ€žGeneratedComInterfaceAttributeโ€, byฤ‡ oznaczone jako czฤ™ล›ciowe i nie byฤ‡ ogรณlne. - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - Klasa โ€ž{0}โ€ z atrybutem โ€žGeneratedComClassAttributeโ€ lub jednym z jej typรณw zawierajฤ…cych nie jest oznaczona jako โ€žpartialโ€. - - - - Invalid 'GeneratedComClassAttribute' usage - Nieprawidล‚owe uลผycie elementu โ€žGeneratedComClassAttributeโ€ - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - Interfejsy z atrybutem โ€žGeneratedComInterfaceAttributeโ€ muszฤ… mieฤ‡ uล‚atwienia dostฤ™pu โ€žpublicznyโ€ lub โ€žwewnฤ™trznyโ€, muszฤ… byฤ‡ czฤ™ล›ciowe, nie byฤ‡ ogรณle, i muszฤ… okreล›laฤ‡ identyfikator GUID z atrybutem โ€žSystem.Runtime.InteropServices.GuidAttributeโ€. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - Interfejs โ€ž{0}โ€ ma atrybut โ€žGeneratedComInterfaceAttributeโ€, ale jest ogรณlny. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - Interfejs โ€ž{0}โ€ ma atrybut โ€žGeneratedComInterfaceAttributeโ€, ale nie jest dostฤ™pny za pomocฤ… wygenerowanego kodu. Interfejs i wszystkie zawierajฤ…ce go typy muszฤ… mieฤ‡ uล‚atwienia dostฤ™pu โ€žwewnฤ™trznyโ€ lub โ€žpublicznyโ€, aby wygenerowany kod mรณgล‚ uzyskaฤ‡ do niego dostฤ™p. {1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - Interfejs โ€ž{0}โ€ ma atrybut โ€žGeneratedComInterfaceAttributeโ€, ale brakuje atrybutu โ€žSystem.Runtime.InteropServices.GuidAttributeโ€. - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - Nieprawidล‚owe uลผycie atrybutu โ€žGeneratedComInterfaceAttributeโ€. - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - W interfejsie โ€ž{0}โ€ lub jednym z jego typรณw zawierajฤ…cych brakuje sล‚owa kluczowego โ€žpartialโ€. Kod nie zostanie wygenerowany dla โ€ž{0}โ€. - - - - The specified 'ComInterfaceOptions' are invalid. - Okreล›lone opcje โ€žComInterfaceOptionsโ€ sฤ… nieprawidล‚owe. - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - Okreล›lone opcje โ€žComInterfaceOptionsโ€ w โ€ž{0}โ€ sฤ… nieprawidล‚owe. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - Konfiguracja elementรณw โ€žStringMarshallingโ€ i โ€žStringMarshallingCustomTypeโ€ jest nieprawidล‚owa. - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - Element โ€žStringMarshallingCustomTypeโ€ naleลผy okreล›liฤ‡, gdy element โ€žStringMarshallingโ€ ma wartoล›ฤ‡ โ€žStringMarshalling.Customโ€. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - Element โ€žStringMarshallingโ€ naleลผy ustawiฤ‡ na wartoล›ฤ‡ โ€žStringMarshalling.Customโ€, gdy okreล›lono element โ€žStringMarshallingCustomTypeโ€. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - Konfiguracja elementรณw โ€žStringMarshallingโ€ i โ€žStringMarshallingCustomTypeโ€ w interfejsie โ€ž{0}โ€ jest nieprawidล‚owa. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - Konfiguracja elementรณw โ€žStringMarshallingโ€ i โ€žStringMarshallingCustomTypeโ€ w metodzie โ€ž{0}โ€ jest nieprawidล‚owa. {1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - Nieprawidล‚owe uลผycie elementu "VirtualMethodIndexAttribute" - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Okreล›lona konfiguracja atrybutu โ€žMarshalAsAttributeโ€ dla parametru โ€ž{1}โ€ nie jest obsล‚ugiwana przez COM generowany przez ลบrรณdล‚o. Jeล›li okreล›lona konfiguracja jest wymagana, uลผyj zamiast niej polecenia `ComImport`. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Okreล›lona konfiguracja atrybutu โ€žMarshalAsAttributeโ€ dla wartoล›ci zwracanej metody โ€ž{1}โ€ nie jest obsล‚ugiwana przez COM generowany przez ลบrรณdล‚o. Jeล›li okreล›lona konfiguracja jest wymagana, uลผyj zamiast niej polecenia `ComImport`. - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - Wszystkie metody muszฤ… byฤ‡ zadeklarowane w tej samej czฤ™ล›ciowej definicji przypisanego typu interfejsu โ€žGeneratedComInterfaceโ€ w celu zapewnienia niezawodnego obliczania przesuniฤ™ฤ‡ tabeli metod wirtualnych. - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - Metoda โ€ž{0}โ€ jest zadeklarowana w innej czฤ™ล›ciowej definicji interfejsu โ€ž{1}โ€ niลผ definicja, ktรณra ma atrybut โ€žGeneratedComInterfaceโ€ - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - Metoda jest zadeklarowana w innej deklaracji czฤ™ล›ciowej niลผ atrybut โ€žGeneratedComInterfaceโ€. - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - Interfejs z atrybutem โ€žGeneratedComInterfaceAttributeโ€ moลผe pochodziฤ‡ tylko z co najwyลผej jednego interfejsu z atrybutem โ€žGeneratedComInterfaceAttributeโ€. - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - Interfejs โ€ž{0}โ€ pochodzi z co najmniej dwรณch interfejsรณw z atrybutem โ€žGeneratedComInterfaceAttributeโ€. - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - Okreล›lony interfejs pochodzi z co najmniej dwรณch interfejsรณw z atrybutem โ€žGeneratedComInterfaceAttributeโ€. - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - Naleลผy okreล›liฤ‡ element โ€žComInterfaceOptions.ManagedObjectWrapperโ€ lub โ€žComInterfaceOptions.ComObjectWrapperโ€. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - Atrybut โ€žGeneratedComInterfaceAttributeโ€ i โ€žGeneratedComClassAttributeโ€ wymagajฤ… niebezpiecznego kodu. Projekt musi zostaฤ‡ zaktualizowany za pomocฤ… polecenia โ€ž<AllowUnsafeBlocks>true</AllowUnsafeBlocks>โ€. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - Atrybut โ€žGeneratedComInterfaceAttributeโ€ i โ€žGeneratedComClassAttributeโ€ wymagajฤ… niebezpiecznego kodu. Projekt musi zostaฤ‡ zaktualizowany za pomocฤ… polecenia โ€ž<AllowUnsafeBlocks>true</AllowUnsafeBlocks>โ€. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - Atrybuty โ€žGeneratedComInterfaceAttributeโ€ i โ€žGeneratedComClassAttributeโ€ wymagajฤ… niebezpiecznego kodu. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - Interfejsy API usล‚ugi miฤ™dzyoperacyjnej modelu COM w elemencie โ€žSystem.Runtime.InteropServices.Marshalโ€ nie obsล‚ugujฤ… generowanego przez ลบrรณdล‚o modelu COM i nie bฤ™dฤ… dziaล‚aฤ‡ w ล›rodowisku uruchomieniowym - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - Metoda โ€ž{0}โ€ obsล‚uguje tylko usล‚ugฤ™ miฤ™dzyoperacyjnฤ… modelu COM opartฤ… na ล›rodowisku uruchomieniowym i nie bฤ™dzie dziaล‚aฤ‡ z typem โ€ž{1}โ€ - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - Interfejsy API usล‚ugi miฤ™dzyoperacyjnej modelu COM w elemencie โ€žSystem.Runtime.InteropServices.Marshalโ€ nie obsล‚ugujฤ… generowanego przez ลบrรณdล‚o modelu COM - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - Typ โ€ž{0}โ€ okreล›lony jako โ€žGeneratedComInterfaceAttribute.StringMarshallingCustomTypeโ€ jest niedostฤ™pny za pomocฤ… wygenerowanego kodu. Typ musi mieฤ‡ co najmniej uล‚atwienia dostฤ™pu โ€žwewnฤ™trznyโ€. {1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - W przypadku typรณw, ktรณre nie sฤ… obsล‚ugiwane przez COM wygenerowany przez ลบrรณdล‚o, wynikowy wskaลบnik funkcji bฤ™dzie polegaล‚ na bazowym ล›rodowisku uruchomieniowym w celu skierowania okreล›lonego typu. - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - Typ โ€ž{0}โ€ nie jest obsล‚ugiwany przez COM generowany przez ลบrรณdล‚o. Wygenerowane ลบrรณdล‚o nie bฤ™dzie obsล‚ugiwaฤ‡ skierowania parametru โ€ž{1}โ€. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} Wygenerowane ลบrรณdล‚o nie obsล‚uguje skierowania parametru โ€ž{1}โ€. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - Typ โ€ž{0}โ€ nie jest obsล‚ugiwany przez COM generowany przez ลบrรณdล‚o. Wygenerowane ลบrรณdล‚o nie bฤ™dzie obsล‚ugiwaฤ‡ skierowania wartoล›ci zwracanej przez metodฤ™ โ€ž{1}โ€. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0}Wygenerowane ลบrรณdล‚o nie obsล‚uguje skierowania wartoล›ci zwracanej przez metodฤ™ โ€ž{1}โ€. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - Okreล›lony typ nie jest obsล‚ugiwany przez ลบrรณdล‚owy COM - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Niepotrzebne informacje o marshallingu zostaล‚y przekazane. Te informacje o marshallingu moลผna usunฤ…ฤ‡ bez ลผadnych zmian w zachowaniu aplikacji. - - - - Unnecessary marshalling info was provided and can be removed. - Niepotrzebne informacje o marshallingu zostaล‚y przekazane iย moลผna je usunฤ…ฤ‡. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Niepotrzebne informacje o marshallingu โ€ž{0}โ€ zostaล‚y przekazane dla parametru โ€ž{1}โ€ - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Niepotrzebne informacje o marshallingu โ€ž{0}โ€ zostaล‚y przekazane dla zwracanego typu metody โ€ž{1}โ€ - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.pt-BR.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.pt-BR.xlf deleted file mode 100644 index c981a70c244d0..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.pt-BR.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - Adicionar 'GeneratedComClassAttribute' para habilitar a passagem de objetos desse tipo para COM e permitir cรณdigo nรฃo seguro - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - Esse tipo implementa pelo menos um tipo com o atributo 'GeneratedComInterfaceAttribute'. Adicione o 'GeneratedComClassAttribute' para habilitar a passagem desse tipo para COM e expor as interfaces COM para os tipos com o 'GeneratedComInterfaceAttribute' de objetos desse tipo. - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - Adicione o 'GeneratedComClassAttribute' a '{0}' para habilitar a passagem de objetos do tipo '{0}' para COM - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - Adicionar 'GeneratedComClassAttribute' para habilitar a passagem de objetos deste tipo para COM - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - A anรกlise necessรกria para gerar cรณdigo para essa interface ou mรฉtodo falhou devido a um padrรฃo de cรณdigo inesperado. Se vocรช estiver usando sintaxe nova ou nรฃo convencional, considere usar outra sintaxe. - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - Falha na anรกlise da interface '{0}'. ComInterfaceGenerator nรฃo gerarรก cรณdigo para esta interface. - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - Falha na anรกlise do mรฉtodo '{0}'. ComInterfaceGenerator nรฃo gerarรก cรณdigo para este mรฉtodo. - - - - Analysis for COM interface generation has failed. - A anรกlise da geraรงรฃo da interface COM falhou. - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - A geraรงรฃo de fonte de interface COM requer que todas as interfaces COM base sejam interfaces vรกlidas. Corrija quaisquer problemas na interface base para resolver este diagnรณstico. - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - A interface COM {0} herda de {1}, que contรฉm erros. ComInterfaceGenerator nรฃo irรก gerar fonte para{0}. - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - A interface COM base falhou ao gerar a fonte. O cรณdigo nรฃo serรก gerado para esta interface. - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - Um 'GeneratedComInterface' nรฃo pode especificar 'ComInterfaceOptions.ManagedObjectWrapper' ou 'ComInterfaceOptions.ComObjectWrapper' a menos que o tipo de interface base nรฃo especifique opรงรตes ou especifique pelo menos as mesmas opรงรตes. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - A conversรฃo entre um tipo 'ComImport' e um tipo COM gerado pela fonte nรฃo รฉ suportada e falharรก no tempo de execuรงรฃo - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - Nรฃo hรก suporte para a conversรฃo entre um tipo 'ComImport' e um tipo COM gerado pela origem - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - Nรฃo hรก suporte para a conversรฃo entre um tipo 'ComImport' e um tipo COM gerado pela origem - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - Uma classe com "GeneratedComClassAttribute" deve implementar pelo menos uma interface com "GeneratedComInterfaceAttribute" ou entรฃo o cรณdigo gerado nรฃo terรก efeito. - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - A classe "{0}" com "GeneratedComClassAttribute" nรฃo implementa nenhuma interface com "GeneratedComInterfaceAttribute". A origem nรฃo serรก gerada para "{0}". - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - A hospedagem .NET COM com 'EnableComHosting' suporta apenas interoperabilidade COM integrada. Ele nรฃo dรก suporte ร  interoperabilidade COM gerada pela origem com 'GeneratedComInterfaceAttribute'. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - A hospedagem .NET COM com 'EnableComHosting' nรฃo dรก suporte interfaces com o 'GeneratedComInterfaceAttribute'. Altere quaisquer interfaces COM expostas implementadas por '{0}' para usar o 'System.Runtime.InteropServices.ComVisibleAttribute' em vez disso - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - A hospedagem .NET COM com 'EnableComHosting' nรฃo dรก suporte a interfaces com 'GeneratedComInterfaceAttribute' - - - - Source-generated COM will ignore any configuration that is not supported. - Um COM gerado pela origem ignorarรก qualquer configuraรงรฃo sem suporte. - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Um COM gerado pela origem nรฃo dรก suporte ร  configuraรงรฃo '{0}'. Se a configuraรงรฃo especificada for necessรกria, use um 'ComImport' em vez disso. - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - Um COM gerado pela origem nรฃo dรก suporte ร  configuraรงรฃo de realizaรงรฃo de marshaling especificada. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Um COM gerado pela origem nรฃo dรก suporte ร  configuraรงรฃo '{0}' especificada para o parรขmetro '{1}'. Se a configuraรงรฃo especificada for necessรกria, use 'ComImport' em vez disso. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Um Com gerado pela origem nรฃo dรก suporte ร  configuraรงรฃo โ€œ{0}โ€ especificada para o valor retornado do mรฉtodo โ€œ{1}โ€. Se a configuraรงรฃo especificada for necessรกria, use `ComImport` em vez disso. - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - Um COM gerado pela origem nรฃo dรก suporte ao valor '{0}' especificado para '{1}'. Se a configuraรงรฃo especificada for necessรกria, use `ComImport' em vez disso. - - - - Specified configuration is not supported by source-generated COM. - Um COM gerado pela origem nรฃo dรก suporte a uma configuraรงรฃo especificada. - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - Converter esta interface para usar 'GeneratedComInterfaceAttribute' pode produzir cรณdigo invรกlido e pode exigir trabalho adicional - - - - Convert to 'GeneratedComInterface' and allow unsafe code - Converter para 'GeneratedComInterface' e permitir cรณdigo nรฃo seguro - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Use 'GeneratedComInterfaceAttribute' em vez de 'ComImportAttribute' para gerar cรณdigo de empacotamento COM em tempo de compilaรงรฃo - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - A conversรฃo desta API para 'GeneratedComInterfaceAttribute' exigirรก cรณdigo adicional para fornecer empacotadores personalizados para alguns parรขmetros. - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Marque o tipo '{0}' com 'GeneratedComInterfaceAttribute' em vez de 'ComImportAttribute' para gerar o cรณdigo de empacotamento COM em tempo de compilaรงรฃo - - - - Convert to 'GeneratedComInterface' - Converter para 'GeneratedComInterface' - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - A configuraรงรฃo de 'StringMarshalling' e 'StringMarshallingCustomType' deve corresponder ร  interface COM base. - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - Os eventos nรฃo sรฃo um conceito em COM, portanto, nenhum cรณdigo de interoperabilidade serรก gerado para eventos de instรขncia em interfaces COM geradas pela origem. - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - O evento de instรขncia "{0}" รฉ declarado na interface "{1}", que tem "GeneratedComInterfaceAttribute" aplicado - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - Nรฃo hรก suporte para declarar um evento de instรขncia em um tipo com "GeneratedComInterfaceAttribute" - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - As propriedades nรฃo sรฃo um conceito em COM, portanto, nenhum cรณdigo de interoperabilidade serรก gerado para propriedades de instรขncia em interfaces COM geradas pela origem. - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - A propriedade de instรขncia "{0}" รฉ declarada na interface "{1}", que tem "GeneratedComInterfaceAttribute" aplicado - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - Nรฃo hรก suporte para declarar uma propriedade de instรขncia em um tipo com "GeneratedComInterfaceAttribute" - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - Nรฃo hรก suporte para o uso de 'GeneratedComInterfaceAttribute' e 'InterfaceTypeAttribute' com o valor 'ComInterfaceType' '{0}'. - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - 'GeneratedComInterfaceType' nรฃo dรก suporte ao valor 'ComInterfaceType' fornecido a 'InterfaceTypeAttribute' no mesmo tipo. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - O mรฉtodo '{0}' estรก contido em um tipo '{1}' que nรฃo estรก marcado como 'partial'. A geraรงรฃo de origem do COM ignorarรก o mรฉtodo '{0}'. - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - O tipo de mรฉtodo que contรฉm VirtualMethodIndexAttribute nรฃo tem um UnmanagedObjectUnwrapperAttribute. - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - Mรฉtodos em interfaces marcados com 'GeneratedComInterfaceAttribute' nรฃo devem ser genรฉricos. A geraรงรฃo de origem do COM ignorarรก os mรฉtodos genรฉricos. - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - O mรฉtodo '{0}' nรฃo deve ser genรฉrico em interfaces marcadas com 'GeneratedComInterfaceAttribute'. A geraรงรฃo de origem do COM ignorarรก o mรฉtodo '{0}'. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - A configuraรงรฃo de 'ExceptionMarshalling' e 'ExceptionMarshallingCustomType' รฉ invรกlida. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - A configuraรงรฃo de 'ExceptionMarshalling' e 'ExceptionMarshallingCustomType' no mรฉtodo '{0}' รฉ invรกlida. {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - 'ExceptionMarshallingCustomType' deve ser especificado quando 'ExceptionMarshalling' estรก definido como 'ExceptionMarshalling.Custom'. - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - 'ExceptionMarshalling' deve ser definido como 'ExceptionMarshalling.Custom' quando 'ExceptionMarshallingCustomType' รฉ especificado. - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - O valor fornecido nรฃo รฉ um sinalizador conhecido da enumeraรงรฃo 'ExceptionMarshalling'. - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - As classes com 'GeneratedComClassAttribute' devem implementar uma ou mais interfaces com 'GeneratedComInterfaceAttribute', ser marcadas como parciais e nรฃo genรฉricas. - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - A classe "{0}" com "GeneratedComClassAttribute" ou um de seus tipos contidos nรฃo estรก marcada como "parcial". - - - - Invalid 'GeneratedComClassAttribute' usage - Uso invรกlido de 'GeneratedComClassAttribute' - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - As interfaces atribuรญdas com 'GeneratedComInterfaceAttribute' devem ter acessibilidade 'pรบblica' ou 'interna' e ser parciais, nรฃo genรฉricas e devem especificar um GUID com 'System.Runtime.InteropServices.GuidAttribute'. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - A interface "{0}" รฉ atribuรญda com "GeneratedComInterfaceAttribute", mas รฉ genรฉrica. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - A interface '{0}' รฉ atribuรญda com 'GeneratedComInterfaceAttribute', mas nรฃo รฉ acessรญvel pelo cรณdigo gerado. A interface e todos os tipos de conteรบdo devem ter acessibilidade 'interna' ou 'pรบblica' para que o cรณdigo gerado possa acessรก-lo. {1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - A interface "{0}" รฉ atribuรญda com "GeneratedComInterfaceAttribute", mas "System.Runtime.InteropServices.GuidAttribute" estรก ausente. - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - Uso de "GeneratedComInterfaceAttribute" invรกlido. - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - A interface '{0}' ou um de seus tipos contรฉm a palavra-chave 'parcial' ausente. O cรณdigo nรฃo serรก gerado para '{0}'. - - - - The specified 'ComInterfaceOptions' are invalid. - As 'ComInterfaceOptions' especificadas sรฃo invรกlidas. - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - As 'ComInterfaceOptions' especificadas em '{0}' sรฃo invรกlidas. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - A configuraรงรฃo de 'StringMarshalling' e 'StringMarshallingCustomType' รฉ invรกlida. - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - 'StringMarshallingCustomType' deve ser especificado quando 'StringMarshalling' estรก definido como 'StringMarshalling.Custom'. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - 'StringMarshalling' deve ser definido como 'StringMarshalling.Custom' quando 'StringMarshallingCustomType' for especificado. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - A configuraรงรฃo de 'StringMarshalling' e 'StringMarshallingCustomType' na interface '{0}' รฉ invรกlida. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - A configuraรงรฃo de 'StringMarshalling' e 'StringMarshallingCustomType' no mรฉtodo '{0}' รฉ invรกlida. {1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - Uso invรกlido de 'VirtualMethodIndexAttribute' - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - A configuraรงรฃo especificada "MarshalAsAttribute" para o parรขmetro "{1}" nรฃo tem suporte do COM gerado pela origem. Se a configuraรงรฃo especificada for necessรกria, use "ComImport" no lugar. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - A configuraรงรฃo especificada "MarshalAsAttribute" para o valor retornado do mรฉtodo "{1}" nรฃo tem suporte do COM gerado pela origem. Se a configuraรงรฃo especificada for necessรกria, use "ComImport" no lugar. - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - Todos os mรฉtodos devem ser declarados na mesma definiรงรฃo parcial de um tipo de interface atribuรญdo a "GeneratedComInterface" para garantir um cรกlculo confiรกvel para deslocamentos de tabela de mรฉtodos virtuais. - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - O mรฉtodo "{0}" รฉ declarado em uma definiรงรฃo parcial diferente da interface "{1}" que a definiรงรฃo que tem o atributo "GeneratedComInterface" - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - O mรฉtodo รฉ declarado em uma declaraรงรฃo parcial diferente do atributo "GeneratedComInterface". - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - Uma interface atribuรญda a 'GeneratedComInterfaceAttribute' sรณ pode derivar de no mรกximo uma outra interface atribuรญda a 'GeneratedComInterfaceAttribute'. - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - A interface '{0}' รฉ derivada de duas ou mais interfaces atribuรญdas com 'GeneratedComInterfaceAttribute'. - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - A interface especificada deriva de duas ou mais interfaces atribuรญdas a 'GeneratedComInterfaceAttribute'. - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - 'ComInterfaceOptions.ManagedObjectWrapper' ou 'ComInterfaceOptions.ComObjectWrapper' deve ser especificado. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - "GeneratedComInterfaceAttribute" e "GeneratedComClassAttribute" exigem cรณdigo nรฃo seguro. O projeto deve ser atualizado com "<AllowUnsafeBlocks>true</AllowUnsafeBlocks>". - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - "GeneratedComInterfaceAttribute" e "GeneratedComClassAttribute" exigem cรณdigo nรฃo seguro. O projeto deve ser atualizado com "<AllowUnsafeBlocks>true</AllowUnsafeBlocks>". - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - "GeneratedComInterfaceAttribute" e "GeneratedComClassAttribute" exigem cรณdigo nรฃo seguro. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - As APIs de interoperabilidade COM em 'System.Runtime.InteropServices.Marshal' nรฃo dรก suporte a COM gerado na origem e falharรฃo no tempo de execuรงรฃo - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - O mรฉtodo '{0}' suporta apenas interoperabilidade COM baseada em tempo de execuรงรฃo e nรฃo funcionarรก com o tipo '{1}' - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - APIs de interoperabilidade COM em 'System.Runtime.InteropServices.Marshal' nรฃo dรก suporte a COM gerado na origem - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - O tipo '{0}' especificado como 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' nรฃo รฉ acessรญvel pelo cรณdigo gerado. O tipo deve ter pelo menos acessibilidade 'interna'. {1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - Para tipos sem suporte para um COM gerado pela origem, o ponteiro de funรงรฃo resultante dependerรก do tempo de execuรงรฃo subjacente para realizar marshaling no tipo especificado. - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - Um COM gerado pela origem nรฃo dรก suporte ao tipo '{0}'. A origem gerada nรฃo realizarรก marshalling do parรขmetro '{1}'. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} A origem gerada nรฃo manipularรก o marshalling do parรขmetro '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - Um COM gerado pela origem nรฃo dรก suporte ao tipo '{0}'. A origem gerada nรฃo realizarรก marshaling do valor de retorno do mรฉtodo '{1}'. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} A origem gerada nรฃo manipularรก o marshalling do valor retornado do mรฉtodo '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - Um COM gerado pela origem nรฃo dรก suporte ao tipo especificado. - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Informaรงรตes desnecessรกrias de organizaรงรฃo foram fornecidas. Essas informaรงรตes de empacotamento podem ser removidas sem qualquer alteraรงรฃo no comportamento do aplicativo. - - - - Unnecessary marshalling info was provided and can be removed. - Informaรงรตes de organizaรงรฃo desnecessรกrias foram fornecidas e podem ser removidas. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Informaรงรตes de organizaรงรฃo desnecessรกrias '{0}' foram fornecidas para o parรขmetro '{1}' - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Informaรงรตes desnecessรกrias de empacotamento '{0}' foram fornecidas para o tipo de retorno do mรฉtodo '{1}' - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ru.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ru.xlf deleted file mode 100644 index f4d13d1b39b7b..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.ru.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - ะ”ะพะฑะฐะฒัŒั‚ะต "GeneratedComClassAttribute", ั‡ั‚ะพะฑั‹ ะฒะบะปัŽั‡ะธั‚ัŒ ะฟะตั€ะตะดะฐั‡ัƒ ะพะฑัŠะตะบั‚ะพะฒ ัั‚ะพะณะพ ั‚ะธะฟะฐ ะฒ COM ะธ ั€ะฐะทั€ะตัˆะธั‚ัŒ ะฝะตะฑะตะทะพะฟะฐัะฝั‹ะน ะบะพะด - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - ะญั‚ะพั‚ ั‚ะธะฟ ั€ะตะฐะปะธะทัƒะตั‚ ะฟะพ ะบั€ะฐะนะฝะตะน ะผะตั€ะต ะพะดะธะฝ ั‚ะธะฟ ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ "GeneratedComInterfaceAttribute". ะ”ะพะฑะฐะฒัŒั‚ะต "GeneratedComClassAttribute", ั‡ั‚ะพะฑั‹ ั€ะฐะทั€ะตัˆะธั‚ัŒ ะฟะตั€ะตะดะฐั‡ัƒ ัั‚ะพะณะพ ั‚ะธะฟะฐ ะฒ COM ะธ ะฟั€ะตะดะพัั‚ะฐะฒะปะตะฝะธะต COM-ะธะฝั‚ะตั€ั„ะตะนัะพะฒ ะดะปั ั‚ะธะฟะพะฒ ั "GeneratedComInterfaceAttribute" ะธะท ะพะฑัŠะตะบั‚ะพะฒ ัั‚ะพะณะพ ั‚ะธะฟะฐ. - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - ะ”ะพะฑะฐะฒัŒั‚ะต "GeneratedComClassAttribute" ะบ "{0}", ั‡ั‚ะพะฑั‹ ะฒะบะปัŽั‡ะธั‚ัŒ ะฟะตั€ะตะดะฐั‡ัƒ ะพะฑัŠะตะบั‚ะพะฒ ั‚ะธะฟะฐ "{0}" ะฒ COM - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - ะ”ะพะฑะฐะฒัŒั‚ะต "GeneratedComClassAttribute", ั‡ั‚ะพะฑั‹ ะฒะบะปัŽั‡ะธั‚ัŒ ะฟะตั€ะตะดะฐั‡ัƒ ะพะฑัŠะตะบั‚ะพะฒ ัั‚ะพะณะพ ั‚ะธะฟะฐ ะฒ COM - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - ะŸั€ะพะธะทะพัˆะตะป ัะฑะพะน ะฐะฝะฐะปะธะทะฐ, ะฝะตะพะฑั…ะพะดะธะผะพะณะพ ะดะปั ัะพะทะดะฐะฝะธั ะบะพะดะฐ ะดะปั ัั‚ะพะณะพ ะธะฝั‚ะตั€ั„ะตะนัะฐ ะธะปะธ ะผะตั‚ะพะดะฐ, ะธะท-ะทะฐ ะฝะตะฟั€ะตะดะฒะธะดะตะฝะฝะพะณะพ ัˆะฐะฑะปะพะฝะฐ ะบะพะดะฐ. ะ•ัะปะธ ะฒั‹ ะธัะฟะพะปัŒะทัƒะนั‚ะต ะฝะพะฒั‹ะน ะธะปะธ ะฝะตัั‚ะฐะฝะดะฐั€ั‚ะฝั‹ะน ัะธะฝั‚ะฐะบัะธั, ะฟะพะฟั€ะพะฑัƒะนั‚ะต ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒ ะดั€ัƒะณะพะน ัะธะฝั‚ะฐะบัะธั. - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - ะกะฑะพะน ะฐะฝะฐะปะธะทะฐ ะธะฝั‚ะตั€ั„ะตะนัะฐ "{0}". ComInterfaceGenerator ะฝะต ะฑัƒะดะตั‚ ัะพะทะดะฐะฒะฐั‚ัŒ ะบะพะด ะดะปั ัั‚ะพะณะพ ะธะฝั‚ะตั€ั„ะตะนัะฐ. - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - ะกะฑะพะน ะฐะฝะฐะปะธะทะฐ ะผะตั‚ะพะดะฐ "{0}". ComInterfaceGenerator ะฝะต ะฑัƒะดะตั‚ ัะพะทะดะฐะฒะฐั‚ัŒ ะบะพะด ะดะปั ัั‚ะพะณะพ ะผะตั‚ะพะดะฐ. - - - - Analysis for COM interface generation has failed. - ะกะฑะพะน ะฐะฝะฐะปะธะทะฐ ะดะปั ัะพะทะดะฐะฝะธั COM-ะธะฝั‚ะตั€ั„ะตะนััƒ. - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - ะ”ะปั ัะพะทะดะฐะฝะธั ะธัั‚ะพั‡ะฝะธะบะฐ COM-ะธะฝั‚ะตั€ั„ะตะนัะฐ ะฒัะต ะฑะฐะทะพะฒั‹ะต COM-ะธะฝั‚ะตั€ั„ะตะนัั‹ ะดะพะปะถะฝั‹ ะฑั‹ั‚ัŒ ะดะพะฟัƒัั‚ะธะผั‹ะผะธ. ะฃัั‚ั€ะฐะฝะธั‚ะต ะฒัะต ะฟั€ะพะฑะปะตะผั‹ ะฒ ะฑะฐะทะพะฒะพะผ ะธะฝั‚ะตั€ั„ะตะนัะต, ั‡ั‚ะพะฑั‹ ั€ะฐะทั€ะตัˆะธั‚ัŒ ัั‚ะพ ะดะธะฐะณะฝะพัั‚ะธั‡ะตัะบะพะต ัƒะฒะตะดะพะผะปะตะฝะธะต. - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - COM-ะธะฝั‚ะตั€ั„ะตะนั {0} ะฝะฐัะปะตะดัƒะตั‚ ะพั‚ {1}, ะณะดะต ะตัั‚ัŒ ะพัˆะธะฑะบะธ. ComInterfaceGenerator ะฝะต ะฑัƒะดะตั‚ ัะพะทะดะฐะฒะฐั‚ัŒ ะธัั‚ะพั‡ะฝะธะบ ะดะปั {0}. - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - ะ‘ะฐะทะพะฒะพะผัƒ COM-ะธะฝั‚ะตั€ั„ะตะนััƒ ะฝะต ัƒะดะฐะปะพััŒ ัะพะทะดะฐั‚ัŒ ะธัั‚ะพั‡ะฝะธะบ. ะšะพะด ะฝะต ะฑัƒะดะตั‚ ัะพะทะดะฐะฝ ะดะปั ัั‚ะพะณะพ ะธะฝั‚ะตั€ั„ะตะนัะฐ. - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - ะŸะฐั€ะฐะผะตั‚ั€ "GeneratedComInterface" ะฝะต ะผะพะถะตั‚ ัƒะบะฐะทั‹ะฒะฐั‚ัŒ "ComInterfaceOptions.ManagedObjectWrapper" ะธะปะธ "ComInterfaceOptions.ComObjectWrapper" ะบั€ะพะผะต ัะปัƒั‡ะฐะตะฒ, ะบะพะณะดะฐ ะฑะฐะทะพะฒั‹ะน ั‚ะธะฟ ะธะฝั‚ะตั€ั„ะตะนัะฐ ะฝะต ัƒะบะฐะทั‹ะฒะฐะตั‚ ะฟะฐั€ะฐะผะตั‚ั€ั‹ ะธะปะธ ัƒะบะฐะทั‹ะฒะฐะตั‚ ะฟะพ ะบั€ะฐะนะฝะตะน ะผะตั€ะต ั‚ะต ะถะต ะฟะฐั€ะฐะผะตั‚ั€ั‹. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - ะŸั€ะธะฒะตะดะตะฝะธะต ั‚ะธะฟะฐ "ComImport" ะบ ั‚ะธะฟัƒ COM, ัะพะทะดะฐะฝะฝะพะผัƒ ะธัั‚ะพั‡ะฝะธะบะพะผ, ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะธ ะทะฐะฒะตั€ัˆะธั‚ัั ะพัˆะธะฑะบะพะน ะฒะพ ะฒั€ะตะผั ะฒั‹ะฟะพะปะฝะตะฝะธั. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - ะŸั€ะธะฒะตะดะตะฝะธะต ั‚ะธะฟะฐ "ComImport" ะบ ั‚ะธะฟัƒ COM, ัะพะทะดะฐะฝะฝะพะผัƒ ะธัั‚ะพั‡ะฝะธะบะพะผ, ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - ะŸั€ะธะฒะตะดะตะฝะธะต ั‚ะธะฟะฐ "ComImport" ะบ ั‚ะธะฟัƒ COM, ัะพะทะดะฐะฝะฝะพะผัƒ ะธัั‚ะพั‡ะฝะธะบะพะผ, ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - ะšะปะฐัั ั "GeneratedComClassAttribute" ะดะพะปะถะตะฝ ั€ะตะฐะปะธะทะพะฒั‹ะฒะฐั‚ัŒ ะฟะพ ะบั€ะฐะนะฝะตะน ะผะตั€ะต ะพะดะธะฝ ะธะฝั‚ะตั€ั„ะตะนั ั "GeneratedComInterfaceAttribute", ะธะฝะฐั‡ะต ัะณะตะฝะตั€ะธั€ะพะฒะฐะฝะฝั‹ะน ะบะพะด ะฝะต ะฑัƒะดะตั‚ ะธะผะตั‚ัŒ ัั„ั„ะตะบั‚ะฐ. - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - ะšะปะฐัั "{0}" ั "GeneratedComClassAttribute" ะฝะต ั€ะตะฐะปะธะทัƒะตั‚ ะธะฝั‚ะตั€ั„ะตะนัั‹ ั "GeneratedComInterfaceAttribute". ะ˜ัั‚ะพั‡ะฝะธะบ ะฝะต ะฑัƒะดะตั‚ ัะพะทะดะฐะฝ ะดะปั "{0}". - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - ะ ะฐะทะผะตั‰ะตะฝะธะต .NET COM ั "EnableComHosting" ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ั‚ะพะปัŒะบะพ ะฒัั‚ั€ะพะตะฝะฝะพะต COM-ะฒะทะฐะธะผะพะดะตะนัั‚ะฒะธะต. ะะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั COM-ะฒะทะฐะธะผะพะดะตะนัั‚ะฒะธะต, ัะพะทะดะฐะฝะฝะพะต ะธัั‚ะพั‡ะฝะธะบะพะผ, ั "GeneratedComInterfaceAttribute". - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - ะ ะฐะทะผะตั‰ะตะฝะธะต .NET COM ั "EnableComHosting" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะธะฝั‚ะตั€ั„ะตะนัั‹ ั "GeneratedComInterfaceAttribute". ะ˜ะทะผะตะฝะธั‚ะต ะฒัะต ะดะพัั‚ัƒะฟะฝั‹ะต ะฒ COM ะธะฝั‚ะตั€ั„ะตะนัั‹, ั€ะตะฐะปะธะทะพะฒะฐะฝะฝั‹ะต ั ะฟะพะผะพั‰ัŒัŽ "{0}", ะฝะฐ ะธัะฟะพะปัŒะทะพะฒะฐะฝะธะต "System.Runtime.InteropServices.ComVisibleAttribute" - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - ะ ะฐะทะผะตั‰ะตะฝะธะต .NET COM ั "EnableComHosting" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะธะฝั‚ะตั€ั„ะตะนัั‹ ั "GeneratedComInterfaceAttribute" - - - - Source-generated COM will ignore any configuration that is not supported. - ะœะพะดะตะปัŒ COM ะณะตะฝะตั€ะฐั‚ะพั€ะฐ ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ ะฑัƒะดะตั‚ ะธะณะฝะพั€ะธั€ะพะฒะฐั‚ัŒ ะปัŽะฑัƒัŽ ะฝะตะฟะพะดะดะตั€ะถะธะฒะฐะตะผัƒัŽ ะบะพะฝั„ะธะณัƒั€ะฐั†ะธัŽ. - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ะšะพะฝั„ะธะณัƒั€ะฐั†ะธั "{0}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะผะพะดะตะปัŒัŽ COM ะณะตะฝะตั€ะฐั‚ะพั€ะฐ ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ. ะ•ัะปะธ ัƒะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะพะฑัะทะฐั‚ะตะปัŒะฝะฐ, ะธัะฟะพะปัŒะทัƒะนั‚ะต "ComImport". - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะผะฐั€ัˆะฐะปะธะฝะณะฐ ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะผะพะดะตะปัŒัŽ COM ะณะตะฝะตั€ะฐั‚ะพั€ะฐ ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั "{0}" ะดะปั ะฟะฐั€ะฐะผะตั‚ั€ะฐ "{1}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะผะพะดะตะปัŒัŽ COM ะณะตะฝะตั€ะฐั‚ะพั€ะฐ ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ. ะ•ัะปะธ ัƒะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะพะฑัะทะฐั‚ะตะปัŒะฝะฐ, ะธัะฟะพะปัŒะทัƒะนั‚ะต "ComImport". - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั "{0}" ะดะปั ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั ะผะตั‚ะพะดะฐ "{1}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะผะพะดะตะปัŒัŽ COM ะณะตะฝะตั€ะฐั‚ะพั€ะฐ ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ. ะ•ัะปะธ ัƒะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะพะฑัะทะฐั‚ะตะปัŒะฝะฐ, ะธัะฟะพะปัŒะทัƒะนั‚ะต "ComImport". - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ะฃะบะฐะทะฐะฝะฝะพะต ะทะฝะฐั‡ะตะฝะธะต "{0}" ะดะปั "{1}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะผะพะดะตะปัŒัŽ COM ะณะตะฝะตั€ะฐั‚ะพั€ะฐ ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ. ะ•ัะปะธ ัƒะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะพะฑัะทะฐั‚ะตะปัŒะฝะฐ, ะธัะฟะพะปัŒะทัƒะนั‚ะต "ComImport". - - - - Specified configuration is not supported by source-generated COM. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะผะพะดะตะปัŒัŽ COM ะณะตะฝะตั€ะฐั‚ะพั€ะฐ ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ. - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - ะŸั€ะตะพะฑั€ะฐะทะพะฒะฐะฝะธะต ัั‚ะพะณะพ ะธะฝั‚ะตั€ั„ะตะนัะฐ ะดะปั ะธัะฟะพะปัŒะทะพะฒะฐะฝะธั "GeneratedComInterfaceAttribute" ะผะพะถะตั‚ ัะพะทะดะฐั‚ัŒ ะฝะตะดะพะฟัƒัั‚ะธะผั‹ะน ะบะพะด ะธ ะฟะพั‚ั€ะตะฑะพะฒะฐั‚ัŒ ะดะพะฟะพะปะฝะธั‚ะตะปัŒะฝะพะน ั€ะฐะฑะพั‚ั‹ - - - - Convert to 'GeneratedComInterface' and allow unsafe code - ะŸั€ะตะพะฑั€ะฐะทะพะฒะฐั‚ัŒ ะฒ "GeneratedComInterface" ะธ ั€ะฐะทั€ะตัˆะธั‚ัŒ ะฝะตะฑะตะทะพะฟะฐัะฝั‹ะน ะบะพะด - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - ะ˜ัะฟะพะปัŒะทัƒะนั‚ะต "GeneratedComInterfaceAttribute" ะฒะผะตัั‚ะพ "ComImportAttribute" ะดะปั ัะพะทะดะฐะฝะธั ะบะพะดะฐ ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั COM ะฒะพ ะฒั€ะตะผั ะบะพะผะฟะธะปัั†ะธะธ - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - ะŸั€ะตะพะฑั€ะฐะทะพะฒะฐะฝะธะต ัั‚ะพะณะพ API ะฒ "GeneratedComInterfaceAttribute" ะฟะพั‚ั€ะตะฑัƒะตั‚ ะดะพะฟะพะปะฝะธั‚ะตะปัŒะฝะพะณะพ ะบะพะดะฐ ะดะปั ะฟั€ะตะดะพัั‚ะฐะฒะปะตะฝะธั ะฝะฐัั‚ั€ะฐะธะฒะฐะตะผั‹ั… ะผะฐั€ัˆะฐะปะตั€ะพะฒ ะดะปั ะฝะตะบะพั‚ะพั€ั‹ั… ะฟะฐั€ะฐะผะตั‚ั€ะพะฒ. - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - ะŸะพะผะตั‡ะฐะนั‚ะต ั‚ะธะฟ "{0}" ั ะฟะพะผะพั‰ัŒัŽ "GeneratedComInterfaceAttribute" ะฒะผะตัั‚ะพ "ComImportAttribute" ะดะปั ัะพะทะดะฐะฝะธั ะบะพะดะฐ ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั COM ะฒะพ ะฒั€ะตะผั ะบะพะผะฟะธะปัั†ะธะธ - - - - Convert to 'GeneratedComInterface' - ะŸั€ะตะพะฑั€ะฐะทะพะฒะฐั‚ัŒ ะฒ "GeneratedComInterface" - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - ะšะพะฝั„ะธะณัƒั€ะฐั†ะธั "StringMarshalling" ะธ "StringMarshallingCustomType" ะดะพะปะถะฝะฐ ัะพะพั‚ะฒะตั‚ัั‚ะฒะพะฒะฐั‚ัŒ ะฑะฐะทะพะฒะพะผัƒ COM-ะธะฝั‚ะตั€ั„ะตะนััƒ. - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - ะกะพะฑั‹ั‚ะธั ะฝะต ัะฒะปััŽั‚ัั ะบะพะฝั†ะตะฟั†ะธะตะน ะฒ COM, ะฟะพัั‚ะพะผัƒ ะธัั‚ะพั‡ะฝะธะบ ะฝะต ะฑัƒะดะตั‚ ะณะตะฝะตั€ะธั€ะพะฒะฐั‚ัŒ ะบะพะด ะฒะทะฐะธะผะพะดะตะนัั‚ะฒะธั ะดะปั ัะพะฑั‹ั‚ะธะน ัะบะทะตะผะฟะปัั€ะฐ ะฒ COM-ะธะฝั‚ะตั€ั„ะตะนัะฐั…, ัะพะทะดะฐะฒะฐะตะผั‹ั… ะธัั‚ะพั‡ะฝะธะบะพะผ. - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - ะกะพะฑั‹ั‚ะธะต ัะบะทะตะผะฟะปัั€ะฐ "{0}" ะพะฑัŠัะฒะปะตะฝะพ ะฒ ะธะฝั‚ะตั€ั„ะตะนัะต "{1}", ะบ ะบะพั‚ะพั€ะพะผัƒ ะฟั€ะธะผะตะฝะตะฝ ะฐั‚ั€ะธะฑัƒั‚ GeneratedComInterfaceAttribute - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - ะžะฑัŠัะฒะปะตะฝะธะต ัะพะฑั‹ั‚ะธั ัะบะทะตะผะฟะปัั€ะฐ ะฒ ั‚ะธะฟะต ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ GeneratedComInterfaceAttribute ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - ะกะฒะพะนัั‚ะฒะฐ ะฝะต ัะฒะปััŽั‚ัั ะบะพะฝั†ะตะฟั†ะธะตะน ะฒ COM, ะฟะพัั‚ะพะผัƒ ะธัั‚ะพั‡ะฝะธะบ ะฝะต ะฑัƒะดะตั‚ ะณะตะฝะตั€ะธั€ะพะฒะฐั‚ัŒ ะบะพะด ะฒะทะฐะธะผะพะดะตะนัั‚ะฒะธั ะดะปั ัะฒะพะนัั‚ะฒ ัะบะทะตะผะฟะปัั€ะฐ ะฒ COM-ะธะฝั‚ะตั€ั„ะตะนัะฐั…, ัะพะทะดะฐะฒะฐะตะผั‹ั… ะธัั‚ะพั‡ะฝะธะบะพะผ. - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - ะกะฒะพะนัั‚ะฒะพ ัะบะทะตะผะฟะปัั€ะฐ "{0}" ะพะฑัŠัะฒะปะตะฝะพ ะฒ ะธะฝั‚ะตั€ั„ะตะนัะต "{1}", ะบ ะบะพั‚ะพั€ะพะผัƒ ะฟั€ะธะผะตะฝะตะฝ ะฐั‚ั€ะธะฑัƒั‚ GeneratedComInterfaceAttribute - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - ะžะฑัŠัะฒะปะตะฝะธะต ัะฒะพะนัั‚ะฒะฐ ัะบะทะตะผะฟะปัั€ะฐ ะฒ ั‚ะธะฟะต ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ GeneratedComInterfaceAttribute ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - ะ˜ัะฟะพะปัŒะทะพะฒะฐะฝะธะต GeneratedComInterfaceAttribute ะธ InterfaceTypeAttribute ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ัะพ ะทะฝะฐั‡ะตะฝะธะตะผ ComInterfaceType "{0}". - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - GeneratedComInterfaceType ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะทะฝะฐั‡ะตะฝะธะต ComInterfaceType, ัƒะบะฐะทะฐะฝะฝะพะต ะดะปั InterfaceTypeAttribute ั‚ะพะณะพ ะถะต ั‚ะธะฟะฐ. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - ะœะตั‚ะพะด "{0}" ัะพะดะตั€ะถะธั‚ัั ะฒ ั‚ะธะฟะต "{1}", ะบะพั‚ะพั€ั‹ะน ะฝะต ะฟะพะผะตั‡ะตะฝ ะบะฐะบ "partial". ะ“ะตะฝะตั€ะฐั†ะธั ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ ะผะพะดะตะปะธ COM ะฑัƒะดะตั‚ ะธะณะฝะพั€ะธั€ะพะฒะฐั‚ัŒ ะผะตั‚ะพะด "{0}". - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - ะฃ ัะพะดะตั€ะถะฐั‰ะตะณะพ ั‚ะธะฟะฐ ะผะตั‚ะพะดะฐ ั VirtualMethodIndexAttribute ะฝะตั‚ ะฐั‚ั€ะธะฑัƒั‚ะฐ UnmanagedObjectUnwrapperAttribute. - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - ะœะตั‚ะพะดั‹ ะดะปั ะธะฝั‚ะตั€ั„ะตะนัะพะฒ ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ "GeneratedComInterfaceAttribute" ะดะพะปะถะฝั‹ ะฑั‹ั‚ัŒ ะฝะตัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผะธ. ะ“ะตะฝะตั€ะฐั†ะธั ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ ะผะพะดะตะปะธ COM ะฑัƒะดะตั‚ ะธะณะฝะพั€ะธั€ะพะฒะฐั‚ัŒ ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะต ะผะตั‚ะพะดั‹. - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - ะœะตั‚ะพะด "{0}" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะฝะตัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผ ะดะปั ะธะฝั‚ะตั€ั„ะตะนัะพะฒ ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ "GeneratedComInterfaceAttribute". ะ“ะตะฝะตั€ะฐั†ะธั ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ ะผะพะดะตะปะธ COM ะฑัƒะดะตั‚ ะธะณะฝะพั€ะธั€ะพะฒะฐั‚ัŒ ะผะตั‚ะพะด "{0}". - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - ะะตะดะพะฟัƒัั‚ะธะผะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ExceptionMarshalling ะธ ExceptionMarshallingCustomType. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - ะะตะดะพะฟัƒัั‚ะธะผะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ExceptionMarshalling ะธ ExceptionMarshallingCustomType ะฒ ะผะตั‚ะพะดะต "{0}". {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - ะะตะพะฑั…ะพะดะธะผะพ ัƒะบะฐะทะฐั‚ัŒ ExceptionMarshallingCustomType, ะตัะปะธ ะดะปั ExceptionMarshalling ะฝะฐัั‚ั€ะพะตะฝะพ ะทะฝะฐั‡ะตะฝะธะต ExceptionMarshalling.Custom. - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - ExceptionMarshalling ะดะพะปะถะตะฝ ะธะผะตั‚ัŒ ะทะฝะฐั‡ะตะฝะธะต ExceptionMarshalling.Custom, ะตัะปะธ ัƒะบะฐะทะฐะฝะพ ExceptionMarshallingCustomType. - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - ะฃะบะฐะทะฐะฝะฝะพะต ะทะฝะฐั‡ะตะฝะธะต ะฝะต ัะฒะปัะตั‚ัั ะธะทะฒะตัั‚ะฝั‹ะผ ั„ะปะฐะณะพะผ ะฟะตั€ะตั‡ะธัะปะตะฝะธั ExceptionMarshalling. - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - ะšะปะฐััั‹ ั "GeneratedComClassAttribute" ะดะพะปะถะฝั‹ ั€ะตะฐะปะธะทะพะฒั‹ะฒะฐั‚ัŒ ะพะดะธะฝ ะธะปะธ ะฝะตัะบะพะปัŒะบะพ ะธะฝั‚ะตั€ั„ะตะนัะพะฒ ั "GeneratedComInterfaceAttribute", ะฟะพะผะตั‡ะฐั‚ัŒัั ะบะฐะบ ั‡ะฐัั‚ะธั‡ะฝั‹ะต ะธ ะฑั‹ั‚ัŒ ะฝะตัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผะธ. - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - ะšะปะฐัั "{0}" ั "GeneratedComClassAttribute" ะธะปะธ ะพะดะธะฝ ะธะท ะตะณะพ ัะพะดะตั€ะถะฐั‰ะธั… ั‚ะธะฟะพะฒ ะฝะต ะฟะพะผะตั‡ะตะฝ ะบะฐะบ "ั‡ะฐัั‚ะธั‡ะฝั‹ะน". - - - - Invalid 'GeneratedComClassAttribute' usage - ะะตะดะพะฟัƒัั‚ะธะผะพะต ะธัะฟะพะปัŒะทะพะฒะฐะฝะธะต "GeneratedComClassAttribute" - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - ะ˜ะฝั‚ะตั€ั„ะตะนัั‹ ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ GeneratedComInterfaceAttribute ะดะพะปะถะฝั‹ ะพะฑะตัะฟะตั‡ะธะฒะฐั‚ัŒ ัƒั€ะพะฒะตะฝัŒ ะดะพัั‚ัƒะฟะฝะพัั‚ะธ public ะธะปะธ internal, ะฑั‹ั‚ัŒ ั‡ะฐัั‚ะธั‡ะฝั‹ะผะธ, ะฝะต ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผะธ ะธ ะดะพะปะถะฝั‹ ัƒะบะฐะทั‹ะฒะฐั‚ัŒ GUID ั ะฟะพะผะพั‰ัŒัŽ System.Runtime.InteropServices.GuidAttribute. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - ะ˜ะฝั‚ะตั€ั„ะตะนั "{0}" ะธัะฟะพะปัŒะทัƒะตั‚ ะฐั‚ั€ะธะฑัƒั‚ GeneratedComInterfaceAttribute, ะฝะพ ัะฒะปัะตั‚ัั ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผ. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - ะ˜ะฝั‚ะตั€ั„ะตะนั "{0}" ัะพะดะตั€ะถะธั‚ ะฐั‚ั€ะธะฑัƒั‚ GeneratedComInterfaceAttribute, ะฝะพ ะฝะตะดะพัั‚ัƒะฟะตะฝ ั ะฟะพะผะพั‰ัŒัŽ ัะพะทะดะฐะฝะฝะพะณะพ ะบะพะดะฐ. ะ”ะปั ะดะพัั‚ัƒะฟะฐ ั ะฟะพะผะพั‰ัŒัŽ ัะพะทะดะฐะฝะฝะพะณะพ ะบะพะดะฐ ะบ ะธะฝั‚ะตั€ั„ะตะนััƒ ะธ ะฒัะตะผ ัะพะดะตั€ะถะฐั‰ะธะผ ั‚ะธะฟะฐะผ ะพะฝะธ ะดะพะปะถะฝั‹ ะพะฑะตัะฟะตั‡ะธะฒะฐั‚ัŒ ัƒั€ะพะฒะตะฝัŒ ะดะพัั‚ัƒะฟะฝะพัั‚ะธ internal ะธะปะธ public. {1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - ะ”ะปั "{0}" ะธะฝั‚ะตั€ั„ะตะนัะฐ ัƒะบะฐะทะฐะฝ ะฐั‚ั€ะธะฑัƒั‚ GeneratedComInterfaceAttribute, ะฝะพ ะพั‚ััƒั‚ัั‚ะฒัƒะตั‚ ะฐั‚ั€ะธะฑัƒั‚ System.Runtime.InteropServices.GuidAttribute. - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - ะะตะดะพะฟัƒัั‚ะธะผะพะต ะฟั€ะธะผะตะฝะตะฝะธะต GeneratedComInterfaceAttribute. - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - ะ’ ะธะฝั‚ะตั€ั„ะตะนัะต "{0}" ะธะปะธ ะพะดะฝะพะผ ะธะท ะตะณะพ ัะพะดะตั€ะถะฐั‰ะธั… ั‚ะธะฟะพะฒ ะพั‚ััƒั‚ัั‚ะฒัƒะตั‚ ะบะปัŽั‡ะตะฒะพะต ัะปะพะฒะพ "partial". ะšะพะด ะฝะต ะฑัƒะดะตั‚ ัะพะทะดะฐะฝ ะดะปั "{0}". - - - - The specified 'ComInterfaceOptions' are invalid. - ะฃะบะฐะทะฐะฝะฝั‹ะน ะฟะฐั€ะฐะผะตั‚ั€ "ComInterfaceOptions" ะฝะตะดะพะฟัƒัั‚ะธะผ. - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - ะฃะบะฐะทะฐะฝะฝั‹ะน ะฟะฐั€ะฐะผะตั‚ั€ "ComInterfaceOptions" ะฒ "{0}" ะฝะตะดะพะฟัƒัั‚ะธะผ. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - ะšะพะฝั„ะธะณัƒั€ะฐั†ะธั \"StringMarshalling\" ะธ \"StringMarshallingCustomType\" ะฝะตะดะพะฟัƒัั‚ะธะผะฐ. - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - ะ•ัะปะธ ะดะปั \"StringMarshalling\" ะทะฐะดะฐะฝะพ ะทะฝะฐั‡ะตะฝะธะต \"StringMarshalling.Custom\", ะฝะตะพะฑั…ะพะดะธะผะพ ัƒะบะฐะทะฐั‚ัŒ \"StringMarshallingCustomType\". - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - ะ•ัะปะธ ัƒะบะฐะทะฐะฝะพ \"StringMarshallingCustomType\", ะดะปั \"StringMarshalling\" ัะปะตะดัƒะตั‚ ะทะฐะดะฐั‚ัŒ ะทะฝะฐั‡ะตะฝะธะต \"StringMarshalling.Custom\". - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - ะšะพะฝั„ะธะณัƒั€ะฐั†ะธั "StringMarshalling" ะธ "StringMarshallingCustomType" ะฒ ะธะฝั‚ะตั€ั„ะตะนัะต "{0}" ะฝะตะดะพะฟัƒัั‚ะธะผะฐ. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - ะšะพะฝั„ะธะณัƒั€ะฐั†ะธั \"StringMarshalling\" ะธ \"StringMarshallingCustomType\" ะฒ ะผะตั‚ะพะดะต \"{0}\" ะฝะตะดะพะฟัƒัั‚ะธะผะฐ. {1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - ะะตะดะพะฟัƒัั‚ะธะผะพะต ะธัะฟะพะปัŒะทะพะฒะฐะฝะธะต VirtualMethodIndexAttribute - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั "MarshalAsAttribute" ะดะปั ะฟะฐั€ะฐะผะตั‚ั€ะฐ "{1}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะผะพะดะตะปัŒัŽ COM, ัะณะตะฝะตั€ะธั€ะพะฒะฐะฝะฝะพะน ะธัั‚ะพั‡ะฝะธะบะพะผ. ะ•ัะปะธ ัƒะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะพะฑัะทะฐั‚ะตะปัŒะฝะฐ, ะธัะฟะพะปัŒะทัƒะนั‚ะต "ComImport". - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั "MarshalAsAttribute" ะดะปั ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั ะผะตั‚ะพะดะฐ "{1}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะผะพะดะตะปัŒัŽ COM, ัะณะตะฝะตั€ะธั€ะพะฒะฐะฝะฝะพะน ะธัั‚ะพั‡ะฝะธะบะพะผ. ะ•ัะปะธ ัƒะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะพะฑัะทะฐั‚ะตะปัŒะฝะฐ, ะธัะฟะพะปัŒะทัƒะนั‚ะต "ComImport". - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - ะ’ัะต ะผะตั‚ะพะดั‹ ะดะพะปะถะฝั‹ ะฑั‹ั‚ัŒ ะพะฑัŠัะฒะปะตะฝั‹ ะฒ ะพะดะฝะพะผ ั‡ะฐัั‚ะธั‡ะฝะพะผ ะพะฟั€ะตะดะตะปะตะฝะธะธ ั‚ะธะฟะฐ ะธะฝั‚ะตั€ั„ะตะนัะฐ ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ GeneratedComInterface, ั‡ั‚ะพะฑั‹ ะพะฑะตัะฟะตั‡ะธั‚ัŒ ะฝะฐะดะตะถะฝะพะต ะฒั‹ั‡ะธัะปะตะฝะธะต ัะผะตั‰ะตะฝะธะน ั‚ะฐะฑะปะธั†ั‹ ะฒะธั€ั‚ัƒะฐะปัŒะฝั‹ั… ะผะตั‚ะพะดะพะฒ. - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - ะœะตั‚ะพะด "{0}" ะพะฑัŠัะฒะปะตะฝ ะฒ ั‡ะฐัั‚ะธั‡ะฝะพะผ ะพะฟั€ะตะดะตะปะตะฝะธะธ ะธะฝั‚ะตั€ั„ะตะนัะฐ "{1}", ะพั‚ะปะธั‡ะฝะพะผ ะพั‚ ะพะฟั€ะตะดะตะปะตะฝะธั ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ GeneratedComInterface - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - ะœะตั‚ะพะด ะพะฑัŠัะฒะปะตะฝ ะฒ ั‡ะฐัั‚ะธั‡ะฝะพะผ ะพะฑัŠัะฒะปะตะฝะธะธ, ะพั‚ะปะธั‡ะฝะพะผ ะพั‚ ะฐั‚ั€ะธะฑัƒั‚ะฐ GeneratedComInterface. - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - ะ˜ะฝั‚ะตั€ั„ะตะนั ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ GeneratedComInterfaceAttribute ะผะพะถะตั‚ ะฑั‹ั‚ัŒ ะฟั€ะพะธะทะฒะพะดะฝั‹ะผ ะฝะต ะฑะพะปะตะต ั‡ะตะผ ะพั‚ ะพะดะฝะพะณะพ ะดั€ัƒะณะพะณะพ ะธะฝั‚ะตั€ั„ะตะนัะฐ ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ "GeneratedComInterfaceAttribute". - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - ะ˜ะฝั‚ะตั€ั„ะตะนั "{0}" ัะฒะปัะตั‚ัั ะฟั€ะพะธะทะฒะพะดะฝั‹ะผ ะพั‚ ะดะฒัƒั… ะธะปะธ ะฑะพะปะตะต ะธะฝั‚ะตั€ั„ะตะนัะพะฒ, ะฐั‚ั€ะธะฑัƒั‚ะธั€ะพะฒะฐะฝะฝั‹ั… ั ะฟะพะผะพั‰ัŒัŽ "GeneratedComInterfaceAttribute". - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - ะฃะบะฐะทะฐะฝะฝั‹ะน ะธะฝั‚ะตั€ั„ะตะนั ัะฒะปัะตั‚ัั ะฟั€ะพะธะทะฒะพะดะฝั‹ะผ ะพั‚ ะดะฒัƒั… ะธะปะธ ะฑะพะปะตะต ะธะฝั‚ะตั€ั„ะตะนัะพะฒ ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ "GeneratedComInterfaceAttribute". - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - ะะตะพะฑั…ะพะดะธะผะพ ัƒะบะฐะทะฐั‚ัŒ "ComInterfaceOptions.ManagedObjectWrapper" ะธะปะธ "ComInterfaceOptions.ComObjectWrapper". - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - ะ”ะปั "GeneratedComInterfaceAttribute" ะธ "GeneratedComClassAttribute" ั‚ั€ะตะฑัƒะตั‚ัั ะฝะตะฑะตะทะพะฟะฐัะฝั‹ะน ะบะพะด. ะŸั€ะพะตะบั‚ ะฝะตะพะฑั…ะพะดะธะผะพ ะพะฑะฝะพะฒะธั‚ัŒ ั ะธัะฟะพะปัŒะทะพะฒะฐะฝะธะตะผ ะทะฝะฐั‡ะตะฝะธั "<AllowUnsafeBlocks>true</AllowUnsafeBlocks>". - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - ะ”ะปั "GeneratedComInterfaceAttribute" ะธ "GeneratedComClassAttribute" ั‚ั€ะตะฑัƒะตั‚ัั ะฝะตะฑะตะทะพะฟะฐัะฝั‹ะน ะบะพะด. ะŸั€ะพะตะบั‚ ะฝะตะพะฑั…ะพะดะธะผะพ ะพะฑะฝะพะฒะธั‚ัŒ ั ะธัะฟะพะปัŒะทะพะฒะฐะฝะธะตะผ ะทะฝะฐั‡ะตะฝะธั "<AllowUnsafeBlocks>true</AllowUnsafeBlocks>". - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - ะ”ะปั "GeneratedComInterfaceAttribute" ะธ "GeneratedComClassAttribute" ั‚ั€ะตะฑัƒะตั‚ัั ะฝะตะฑะตะทะพะฟะฐัะฝั‹ะน ะบะพะด. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - API COM-ะฒะทะฐะธะผะพะดะตะนัั‚ะฒะธั ะฒ "System.Runtime.InteropServices.Marshal" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‚ COM, ัะพะทะดะฐะฝะฝั‹ะต ะธัั‚ะพั‡ะฝะธะบะพะผ ะธ ะฒั‹ะทะพะฒัƒั‚ ัะฑะพะน ะฒะพ ะฒั€ะตะผั ะฒั‹ะฟะพะปะฝะตะฝะธั - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - ะœะตั‚ะพะด "{0}" ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ั‚ะพะปัŒะบะพ COM-ะฒะทะฐะธะผะพะดะตะนัั‚ะฒะธะต ะฝะฐ ะพัะฝะพะฒะต ัั€ะตะดั‹ ะฒั‹ะฟะพะปะฝะตะฝะธั ะธ ะฝะต ะฑัƒะดะตั‚ ั€ะฐะฑะพั‚ะฐั‚ัŒ ั ั‚ะธะฟะพะผ "{1}" - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - API COM-ะฒะทะฐะธะผะพะดะตะนัั‚ะฒะธั ะฒ "System.Runtime.InteropServices.Marshal" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‚ COM, ัะพะทะดะฐะฝะฝั‹ะต ะธัั‚ะพั‡ะฝะธะบะพะผ - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - ะขะธะฟ "{0}", ัƒะบะฐะทะฐะฝะฝั‹ะน ะบะฐะบ GeneratedComInterfaceAttribute.StringMarshallingCustomType, ะฝะตะดะพัั‚ัƒะฟะตะฝ ั ะฟะพะผะพั‰ัŒัŽ ัะพะทะดะฐะฝะฝะพะณะพ ะบะพะดะฐ. ะขะธะฟ ะดะพะปะถะตะฝ ะพะฑะตัะฟะตั‡ะธะฒะฐั‚ัŒ ัƒั€ะพะฒะตะฝัŒ ะดะพัั‚ัƒะฟะฝะพัั‚ะธ internal ะบะฐะบ ะผะธะฝะธะผัƒะผ. {1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - ะ”ะปั ั‚ะธะฟะพะฒ, ะบะพั‚ะพั€ั‹ะต ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‚ัั ะผะพะดะตะปัŒัŽ COM ะณะตะฝะตั€ะฐั‚ะพั€ะฐ ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ, ั€ะตะทัƒะปัŒั‚ะธั€ัƒัŽั‰ะธะน ัƒะบะฐะทะฐั‚ะตะปัŒ ะฝะฐ ั„ัƒะฝะบั†ะธัŽ ะฑัƒะดะตั‚ ะฒั‹ะฟะพะปะฝัั‚ัŒ ะผะฐั€ัˆะฐะปะธะฝะณ ัƒะบะฐะทะฐะฝะฝะพะณะพ ั‚ะธะฟะฐ ะฝะฐ ะฑะฐะทะต ะธัะฟะพะปัŒะทัƒะตะผะพะน ัั€ะตะดั‹ ะฒั‹ะฟะพะปะฝะตะฝะธั. - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - ะขะธะฟ "{0}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะผะพะดะตะปัŒัŽ COM ะณะตะฝะตั€ะฐั‚ะพั€ะฐ ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ. ะกะพะทะดะฐะฝะฝั‹ะน ะธัั…ะพะดะฝั‹ะน ะบะพะด ะฝะต ะฑัƒะดะตั‚ ะพะฑั€ะฐะฑะฐั‚ั‹ะฒะฐั‚ัŒ ะผะฐั€ัˆะฐะปะธะฝะณ ะฟะฐั€ะฐะผะตั‚ั€ะฐ "{1}". - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} ะกะพะทะดะฐะฝะฝั‹ะน ะธัั‚ะพั‡ะฝะธะบ ะฝะต ะฑัƒะดะตั‚ ะพะฑั€ะฐะฑะฐั‚ั‹ะฒะฐั‚ัŒ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ ะฟะฐั€ะฐะผะตั‚ั€ะฐ \"{1}\". - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - ะขะธะฟ "{0}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะผะพะดะตะปัŒัŽ COM ะณะตะฝะตั€ะฐั‚ะพั€ะฐ ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ. ะกะพะทะดะฐะฝะฝั‹ะน ะธัั…ะพะดะฝั‹ะน ะบะพะด ะฝะต ะฑัƒะดะตั‚ ะพะฑั€ะฐะฑะฐั‚ั‹ะฒะฐั‚ัŒ ะผะฐั€ัˆะฐะปะธะฝะณ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั ะผะตั‚ะพะดะฐ "{1}". - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} ะกะพะทะดะฐะฝะฝั‹ะน ะธัั‚ะพั‡ะฝะธะบ ะฝะต ะฑัƒะดะตั‚ ะพะฑั€ะฐะฑะฐั‚ั‹ะฒะฐั‚ัŒ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั ะผะตั‚ะพะดะฐ \"{1}\". - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - ะฃะบะฐะทะฐะฝะฝั‹ะน ั‚ะธะฟ ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะผะพะดะตะปัŒัŽ COM ะณะตะฝะตั€ะฐั‚ะพั€ะฐ ะธัั…ะพะดะฝะพะณะพ ะบะพะดะฐ. - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - ะฃะบะฐะทะฐะฝั‹ ะฝะตะฝัƒะถะฝั‹ะต ัะฒะตะดะตะฝะธั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั. ะญั‚ะธ ัะฒะตะดะตะฝะธั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั ะผะพะถะฝะพ ัƒะดะฐะปะธั‚ัŒ ะฑะตะท ะบะฐะบะธั…-ะปะธะฑะพ ะธะทะผะตะฝะตะฝะธะน ะฒ ั€ะฐะฑะพั‚ะต ะฟั€ะธะปะพะถะตะฝะธั. - - - - Unnecessary marshalling info was provided and can be removed. - ะฃะบะฐะทะฐะฝั‹ ะฝะตะฝัƒะถะฝั‹ะต ัะฒะตะดะตะฝะธั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั, ะบะพั‚ะพั€ั‹ะต ะผะพะถะฝะพ ัƒะดะฐะปะธั‚ัŒ. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - ะฃะบะฐะทะฐะฝั‹ ะฝะตะฝัƒะถะฝั‹ะต ัะฒะตะดะตะฝะธั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั "{0}" ะดะปั ะฟะฐั€ะฐะผะตั‚ั€ะฐ "{1}" - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - ะฃะบะฐะทะฐะฝั‹ ะฝะตะฝัƒะถะฝั‹ะต ัะฒะตะดะตะฝะธั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั "{0}" ะดะปั ั‚ะธะฟะฐ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั ะผะตั‚ะพะดะฐ "{1}" - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.tr.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.tr.xlf deleted file mode 100644 index 26ebd6e08ff7b..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.tr.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - Bu tรผrdeki nesnelerin COM'a geรงirilmesini etkinleลŸtirmek ve gรผvenli olmayan koda izin vermek iรงin 'GeneratedComClassAttribute' ekleyin - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - Bu tรผr, 'GeneratedComInterfaceAttribute' รถzniteliฤŸine sahip en az bir tรผr uygular. Bu tรผrรผ COM'a geรงirmeyi ve bu tรผrdeki nesnelerden 'GeneratedComInterfaceAttribute' iรงeren tรผrler iรงin COM arabirimlerini aรงฤฑฤŸa รงฤฑkarmayฤฑ etkinleลŸtirmek iรงin 'GeneratedComClassAttribute' ekleyin. - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - '{0}' tรผrรผndeki nesneleri COM'a geรงirmeyi etkinleลŸtirmek iรงin 'GeneratedComClassAttribute' รถฤŸesini '{0}'a ekleyin - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - Bu tรผrdeki nesneleri COM'a geรงirmeyi etkinleลŸtirmek iรงin 'GeneratedComClassAttribute' ekleyin - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - Bu arabirim veya yรถntem iรงin kod oluลŸturmak iรงin gerekli analiz beklenmeyen bir kod deseni nedeniyle baลŸarฤฑsฤฑz oldu. Yeni veya alฤฑลŸฤฑlmadฤฑk bir sรถz dizimi kullanฤฑyorsanฤฑz baลŸka bir sรถz dizimi kullanmayฤฑ deneyin. - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - โ€˜{0}โ€™ arabiriminin analizi baลŸarฤฑsฤฑz oldu. ComInterfaceGenerator bu arabirim iรงin kod oluลŸturmayacak. - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - โ€˜{0}โ€™ yรถnteminin analizi baลŸarฤฑsฤฑz oldu. ComInterfaceGenerator bu yรถntem iรงin kod oluลŸturmayacak. - - - - Analysis for COM interface generation has failed. - COM arabirimi oluลŸturma analizi baลŸarฤฑsฤฑz oldu. - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - COM arabiriminin kaynak oluลŸturabilmesi iรงin tรผm temel COM arabirimlerinin geรงerli arabirimler olmasฤฑ gerekiyor. Bu tanฤฑlamayฤฑ รงรถzmek iรงin temel arabirimdeki sorunlarฤฑ dรผzeltin. - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - {0} COM arabirimi hata iรงeren {1} konumundan devralฤฑyor. ComInterfaceGenerator, {0} iรงin kaynak oluลŸturamaz. - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - Temel COM arabirimi, kaynak oluลŸturamadฤฑ. Bu arabirim iรงin kod oluลŸturulmayacak. - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - Temel arabirim seรงenekleri belirtmediฤŸi veya en azฤฑndan aynฤฑ seรงenekleri belirttiฤŸi sรผrece bir 'GeneratedComInterface' arabirimi 'ComInterfaceOptions.ManagedObjectWrapper' veya 'ComInterfaceOptions.ComObjectWrapper' seรงeneฤŸini belirtemez. - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - 'ComImport' tรผrรผ ile kaynak tarafฤฑndan oluลŸturulan COM tรผrรผ arasฤฑnda dรถnรผลŸtรผrme desteklenmiyor ve รงalฤฑลŸma zamanฤฑnda baลŸarฤฑsฤฑz olacak - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - 'ComImport' tรผrรผ ile kaynak tarafฤฑndan oluลŸturulan COM tรผrรผ arasฤฑnda dรถnรผลŸtรผrme desteklenmiyor - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - 'ComImport' tรผrรผ ile kaynak tarafฤฑndan oluลŸturulan COM tรผrรผ arasฤฑnda dรถnรผลŸtรผrme desteklenmiyor - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - 'GeneratedComClassAttribute' iรงeren bir sฤฑnฤฑf, 'GeneratedComInterfaceAttribute' รถzniteliฤŸine sahip en az bir arabirim uygulamalฤฑdฤฑr. Aksi halde oluลŸturulan kodun etkisi yoktur. - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - 'GeneratedComClassAttribute' iรงeren '{0}' sฤฑnฤฑfฤฑ, 'GeneratedComInterfaceAttribute' iรงeren arabirimler uygulamฤฑyor. Kaynak, '{0}' iรงin oluลŸturulmayacak. - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - 'EnableComHosting' ile .NET COM barฤฑndฤฑrma, yalnฤฑzca yerleลŸik COM birlikte รงalฤฑลŸmayฤฑ destekler. 'GeneratedComInterfaceAttribute' ile kaynak tarafฤฑndan oluลŸturulan COM birlikte รงalฤฑลŸmasฤฑnฤฑ desteklemez. - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - 'EnableComHosting' ile barฤฑndฤฑrma .NET COM, 'GeneratedComInterfaceAttribute' ile arabirimleri desteklemez. Bunun yerine 'System.Runtime.InteropServices.ComVisibleAttribute' kullanmak iรงin '{0}' tarafฤฑndan uygulanan COM'a maruz kalan arabirimleri deฤŸiลŸtirin - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - 'EnableComHosting' ile barฤฑndฤฑrma .NET COM, 'GeneratedComInterfaceAttribute' ile arabirimleri desteklemez - - - - Source-generated COM will ignore any configuration that is not supported. - Kaynak tarafฤฑndan oluลŸturulan COM, desteklenmeyen herhangi bir yapฤฑlandฤฑrmayฤฑ yoksayar. - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - '{0}' yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmiyor. Belirtilen yapฤฑlandฤฑrma gerekiyorsa, bunun yerine "ComImport" kullanฤฑn. - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - Belirtilen sฤฑralama yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmiyor. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - '{1}' parametresi iรงin belirtilen '{0}' yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmiyor. Belirtilen yapฤฑlandฤฑrma gerekiyorsa, bunun yerine "ComImport" kullanฤฑn. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - '{1}' yรถnteminin dรถnรผลŸ deฤŸeri iรงin belirtilen '{0}' yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmiyor. Belirtilen yapฤฑlandฤฑrma gerekiyorsa, bunun yerine "ComImport" kullanฤฑn. - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - '{1}' iรงin belirtilen '{0}' deฤŸeri, kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmiyor. Belirtilen yapฤฑlandฤฑrma gerekiyorsa, bunun yerine "ComImport" kullanฤฑn. - - - - Specified configuration is not supported by source-generated COM. - Belirtilen yapฤฑlandฤฑrma, kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmiyor. - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - Bu arabirimin 'GeneratedComInterfaceAttribute' kullanmak รผzere dรถnรผลŸtรผrรผlmesi geรงersiz kod รผretebilir ve ek รงalฤฑลŸma gerektirebilir - - - - Convert to 'GeneratedComInterface' and allow unsafe code - 'GeneratedComInterface'e dรถnรผลŸtรผrรผn ve gรผvenli olmayan koda izin verin - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Derleme zamanฤฑnda COM hazฤฑrlayฤฑcฤฑ kodunu oluลŸturmak iรงin 'ComImportAttribute' yerine 'GeneratedComInterfaceAttribute' kullanฤฑn - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - Bu API'yi 'GeneratedComInterfaceAttribute'e dรถnรผลŸtรผrmek, bazฤฑ parametreler iรงin รถzel hazฤฑrlayฤฑcฤฑlar saฤŸlamak รผzere ek kod gerektirecektir. - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - Derleme zamanฤฑnda COM hazฤฑrlayฤฑcฤฑ kodunu oluลŸturmak iรงin "ComImportAttribute" yerine "GeneratedComInterfaceAttribute" ile '{0}' tรผrรผnรผ iลŸaretleyin - - - - Convert to 'GeneratedComInterface' - 'GeneratedComInterface'e DรถnรผลŸtรผr - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - 'StringMarshalling' ve 'StringMarshallingCustomType' yapฤฑlandฤฑrmasฤฑ temel COM arabirimiyle eลŸleลŸmelidir. - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - Olaylar COM'da kavram olarak deฤŸerlendirilmez, bu nedenle kaynak tarafฤฑndan oluลŸturulan COM arabirimleri รผzerinde รถrnek olaylar iรงin birlikte รงalฤฑลŸma kodu oluลŸturulmaz. - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - '{0}' รถrnek olayฤฑ '{1}' arabiriminde bildirildi ve bu arabirimde 'GeneratedComInterfaceAttribute' uygulanmฤฑลŸ - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - 'GeneratedComInterfaceAttribute' iรงeren bir tรผr iรงinde bir รถrnek olay bildirilmesi desteklenmiyor - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - ร–zellikler COM'da kavram olarak deฤŸerlendirilmez, bu nedenle kaynak tarafฤฑndan oluลŸturulan COM arabirimleri รผzerinde รถrnek รถzellikler iรงin birlikte รงalฤฑลŸma kodu oluลŸturulmaz. - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - '{0}' รถrnek รถzelliฤŸi '{1}' arabiriminde bildirildi ve bu arabirimde 'GeneratedComInterfaceAttribute' uygulanmฤฑลŸ - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - 'GeneratedComInterfaceAttribute' iรงeren bir tรผr iรงinde bir รถrnek รถzellik bildirilmesi desteklenmiyor - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - 'GeneratedComInterfaceAttribute' ve 'InterfaceTypeAttribute' kullanฤฑmฤฑ, 'ComInterfaceType' deฤŸeri '{0}' ile desteklenmiyor. - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - "GeneratedComInterfaceType", aynฤฑ tรผrde "InterfaceTypeAttribute" รถฤŸesine saฤŸlanan "ComInterfaceType" deฤŸerini desteklemiyor. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - '{0}' yรถntemi, 'kฤฑsmi' olarak iลŸaretlenmemiลŸ bir '{1}' tรผrรผnde yer alฤฑyor. COM kaynak รผretimi, '{0}' yรถntemini yok sayacaktฤฑr. - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - VirtualMethodIndexAttribute iรงeren metot tรผrรผnรผn UnmanagedObjectUnwrapperAttribute deฤŸeri yok. - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - 'GeneratedComInterfaceAttribute' ile iลŸaretlenmiลŸ ara birimlerdeki yรถntemler genel olmamalฤฑdฤฑr. COM kaynak oluลŸturma, genel yรถntemleri yok sayacaktฤฑr. - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - 'GeneratedComInterfaceAttribute' ile iลŸaretlenmiลŸ arabirimlerde '{0}' yรถntemi genel olmamalฤฑdฤฑr. COM kaynak รผretimi, '{0}' yรถntemini yok sayacaktฤฑr. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - 'ExceptionMarshalling' ve 'ExceptionMarshallingCustomType' yapฤฑlandฤฑrmasฤฑ geรงersiz. - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - '{0}' yรถnteminde 'ExceptionMarshalling' ve 'ExceptionMarshallingCustomType' yapฤฑlandฤฑrmasฤฑ geรงersiz. {1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - 'ExceptionMarshalling' 'ExceptionMarshalling.Custom' olarak ayarlandฤฑฤŸฤฑnda 'ExceptionMarshallingCustomType' belirtilmelidir. - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - 'ExceptionMarshallingCustomType' belirtilirken 'ExceptionMarshalling', 'ExceptionMarshalling.Custom' olarak ayarlanmalฤฑdฤฑr. - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - SaฤŸlanan deฤŸer bilinen bir 'ExceptionMarshalling' sabit listesi bayraฤŸฤฑ deฤŸil. - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - 'GeneratedComClassAttribute' iรงeren sฤฑnฤฑflar 'GeneratedComInterfaceAttribute' ile bir veya daha fazla arabirim uygulamalฤฑ, kฤฑsmi olarak iลŸaretlenmeli ve genel olmayan olmalฤฑdฤฑr. - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - 'GeneratedComClassAttribute' veya bunun kapsayan tรผrlerinden birini iรงeren '{0}' sฤฑnฤฑfฤฑ 'kฤฑsmi' olarak iลŸaretli deฤŸil. - - - - Invalid 'GeneratedComClassAttribute' usage - Geรงersiz 'GeneratedComClassAttribute' kullanฤฑmฤฑ - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - 'GeneratedComInterfaceAttribute' รถzniteliฤŸine sahip arabirimler 'public' veya 'internal' eriลŸilebilirlik รถzelliฤŸine sahip olmalฤฑ, kฤฑsmi olmalฤฑ, genel olmamalฤฑ ve 'System.Runtime.InteropServices.GuidAttribute' ile bir GUID belirtmelidir. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - '{0}' 'GeneratedComInterfaceAttribute' รถzniteliฤŸine sahip ancak genel. - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - '{0}' arabirimi 'GeneratedComInterfaceAttribute' รถzniteliฤŸine sahip ancak oluลŸturulan kod ile bu arabirime eriลŸilemiyor. Arabirim ve tรผm kapsayan tรผrler, oluลŸturulan kodun bu arabirime eriลŸebilmesi iรงin 'internal' veya 'public' eriลŸilebilirlik รถzelliฤŸine sahip olmalฤฑdฤฑr. {1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - '{0}' arabirimi 'GeneratedComInterfaceAttribute' รถzniteliฤŸine sahip ancak 'System.Runtime.InteropServices.GuidAttribute' eksik. - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - Geรงersiz 'GeneratedComInterfaceAttribute' kullanฤฑmฤฑ. - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - '{0}' arabirimi veya kapsayan tรผrlerden birinde 'partial' anahtar sรถzcรผฤŸรผ eksik. '{0}' iรงin kod รผretilmeyecek. - - - - The specified 'ComInterfaceOptions' are invalid. - Belirtilen 'ComInterfaceOptions' geรงersiz. - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - '{0}' รผzerinde 'ComInterfaceOptions' geรงersiz. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - 'StringMarshalling' ve 'StringMarshallingCustomType' yapฤฑlandฤฑrmasฤฑ geรงersiz. - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - 'StringMarshalling' 'StringMarshalling.Custom' olarak ayarlandฤฑฤŸฤฑnda 'StringMarshallingCustomType' belirtilmelidir. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - 'StringMarshallingCustomType' belirtilirken 'StringMarshalling', 'StringMarshalling.Custom' olarak ayarlanmalฤฑdฤฑr. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - '{0}' arabirimindeki 'StringMarshalling' ve 'StringMarshallingCustomType' yapฤฑlandฤฑrmasฤฑ geรงersiz. {1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - '{0}' metodundaki 'StringMarshalling' ve 'StringMarshallingCustomType' yapฤฑlandฤฑrmasฤฑ geรงersiz. {1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - Geรงersiz 'VirtualMethodIndexAttribute' kullanฤฑmฤฑ - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - '{1}' parametresi iรงin belirtilen 'MarshalAsAttribute' yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmiyor. Belirtilen yapฤฑlandฤฑrma gerekiyorsa, bunun yerine "ComImport" kullanฤฑn. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - '{1}' yรถnteminin dรถnรผลŸ deฤŸeri iรงin belirtilen 'MarshalAsAttribute' yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmiyor. Belirtilen yapฤฑlandฤฑrma gerekiyorsa, bunun yerine "ComImport" kullanฤฑn. - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - Tรผm yรถntemler, sanal yรถntem tablosu uzaklฤฑklarฤฑ iรงin gรผvenilir hesaplamayฤฑ saฤŸlamak amacฤฑyla 'GeneratedComInterface' รถzniteliฤŸine sahip arabirim tรผrรผnรผn aynฤฑ kฤฑsmi tanฤฑmฤฑnda bildirilmiลŸ olmalฤฑdฤฑr. - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - '{0}' metodu, 'GeneratedComInterface' รถzniteliฤŸinin sahip olduฤŸu tanฤฑmdan daha farklฤฑ '{1}' arabiriminin kฤฑsmi tanฤฑmฤฑnda bildirilmiลŸtir. - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - Metot, 'GeneratedComInterface' รถzniteliฤŸinden farklฤฑ bir kฤฑsmi bildirimde bildirilmiลŸ. - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - 'GeneratedComInterfaceAttribute' รถzniteliฤŸine sahip arabirim yalnฤฑzca, 'GeneratedComInterfaceAttribute' รถzniteliฤŸine sahip en fazla bir baลŸka arabirimden tรผretilebilir. - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - '{0}' arabirimi, 'GeneratedComInterfaceAttribute' รถzniteliฤŸine sahip iki veya daha fazla arabirimden tรผretildi. - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - Belirtilen arabirim 'GeneratedComInterfaceAttribute' รถzniteliฤŸine sahip iki veya daha fazla arabirimden tรผretildi. - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - 'ComInterfaceOptions.ManagedObjectWrapper' veya 'ComInterfaceOptions.ComObjectWrapper' belirtilmelidir. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - 'GeneratedComInterfaceAttribute' ve 'GeneratedComClassAttribute' gรผvenli olmayan kod gerektiriyor. Projenin '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ile gรผncelleลŸtirilmiลŸ olmasฤฑ gerekiyor. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - 'GeneratedComInterfaceAttribute' ve 'GeneratedComClassAttribute' gรผvenli olmayan kod gerektiriyor. Projenin '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ile gรผncelleลŸtirilmiลŸ olmasฤฑ gerekiyor. - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - 'GeneratedComInterfaceAttribute' ve 'GeneratedComClassAttribute' gรผvenli olmayan kod gerektiriyor. - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - 'System.Runtime.InteropServices.Marshal' รผzerindeki COM ile birlikte รงalฤฑลŸma API'leri, kaynak tarafฤฑndan oluลŸturulan COM'u desteklemez ve รงalฤฑลŸma zamanฤฑnda baลŸarฤฑsฤฑz olur - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - '{0}' yรถntemi yalnฤฑzca รงalฤฑลŸma zamanฤฑ tabanlฤฑ COM birlikte รงalฤฑลŸmayฤฑ destekler ve '{1}' tรผrรผyle รงalฤฑลŸmaz - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - 'System.Runtime.InteropServices.Marshal' รผzerindeki COM ile birlikte รงalฤฑลŸma API'leri, kaynak tarafฤฑndan oluลŸturulan COM'u desteklemez - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' olarak belirtilen '{0}' tรผrรผne, oluลŸturulan kod ile eriลŸilemiyor. Tรผr, en azฤฑndan 'internal' eriลŸilebilirlik รถzelliฤŸine sahip olmalฤฑdฤฑr. {1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - Kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmeyen tรผrler iรงin, ortaya รงฤฑkan iลŸlev iลŸaretรงisi, belirtilen tรผrรผ sฤฑralamak iรงin temeldeki รงalฤฑลŸma zamanฤฑna gรผvenir. - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - '{0}' tรผrรผ, kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmiyor. รœretilen kaynak, '{1}' parametresinin sฤฑralamasฤฑnฤฑ iลŸlemeyecektir. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} OluลŸturulan kaynak '{1}' parametresinin sฤฑralamasฤฑnฤฑ iลŸlemez. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - '{0}' tรผrรผ, kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmiyor. OluลŸturulan kaynak, '{1}' yรถnteminin dรถnรผลŸ deฤŸerinin sฤฑralamasฤฑnฤฑ iลŸlemez. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} OluลŸturulan kaynak, '{1}' metodunun dรถnรผลŸ deฤŸerinin sฤฑralamasฤฑnฤฑ iลŸlemez. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - Belirtilen tรผr, kaynak tarafฤฑndan oluลŸturulan COM tarafฤฑndan desteklenmiyor - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Gereksiz sฤฑralama bilgileri saฤŸlandฤฑ. Bu sฤฑralama bilgileri, uygulama davranฤฑลŸฤฑnda herhangi bir deฤŸiลŸiklik olmadan kaldฤฑrฤฑlabilir. - - - - Unnecessary marshalling info was provided and can be removed. - Gereksiz sฤฑralama bilgileri saฤŸlandฤฑ ve kaldฤฑrฤฑlabilir. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - '{1}' parametresi iรงin gereksiz '{0}' sฤฑralama bilgisi saฤŸlandฤฑ - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - '{1}' yรถnteminin dรถnรผลŸ tรผrรผ iรงin gereksiz '{0}' sฤฑralama bilgisi saฤŸlandฤฑ - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.zh-Hans.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.zh-Hans.xlf deleted file mode 100644 index 237e9fec91789..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.zh-Hans.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - ๆทปๅŠ โ€œGeneratedComClassAttributeโ€ไปฅๅฏ็”จๅฐ†ๆญค็ฑปๅฏน่ฑกไผ ้€’ๅˆฐ COM๏ผŒๅนถๅ…่ฎธไธๅฎ‰ๅ…จไปฃ็  - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - ๆญค็ฑปๅž‹่‡ณๅฐ‘ๅฎž็Žฐไธ€ไธชๅ…ทๆœ‰โ€œGeneratedComInterfaceAttributeโ€ๅฑžๆ€ง็š„็ฑปๅž‹ใ€‚ๆทปๅŠ โ€œGeneratedComClassAttributeโ€ไปฅๅ…่ฎธๅฐ†ๆญค็ฑปๅž‹ไผ ้€’ๅˆฐ COM๏ผŒๅนถๅ…ฌๅผ€ๅ…ทๆœ‰ๆญค็ฑปๅž‹็š„ๅฏน่ฑก็š„โ€œGeneratedComInterfaceAttributeโ€็š„็ฑปๅž‹็š„ COM ๆŽฅๅฃใ€‚ - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - ๅฐ†โ€œGeneratedComClassAttributeโ€ๆทปๅŠ ๅˆฐโ€œ{0}โ€ไปฅๅฏ็”จๅฐ†โ€œ{0}โ€็ฑปๅž‹็š„ๅฏน่ฑกไผ ้€’ๅˆฐ COM - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - ๆทปๅŠ โ€œGeneratedComClassAttributeโ€ไปฅๅฏ็”จๅฐ†ๆญค็ฑปๅž‹็š„ๅฏน่ฑกไผ ้€’ๅˆฐ COM - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - ็”ฑไบŽๆ„ๅค–็š„ไปฃ็ ๆจกๅผ๏ผŒไธบๆญคๆŽฅๅฃๆˆ–ๆ–นๆณ•็”Ÿๆˆไปฃ็ ๆ‰€้œ€็š„ๅˆ†ๆžๅคฑ่ดฅใ€‚ๅฆ‚ๆžœไฝ ไฝฟ็”จ็š„ๆ˜ฏๆ–ฐ่ฏญๆณ•ๆˆ–้žๅธธ่ง„่ฏญๆณ•๏ผŒ่ฏท่€ƒ่™‘ไฝฟ็”จๅ…ถไป–่ฏญๆณ•ใ€‚ - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - ๆŽฅๅฃโ€œ{0}โ€็š„ๅˆ†ๆžๅคฑ่ดฅใ€‚ComInterfaceGenerator ๅฐ†ไธไผšไธบๆญคๆŽฅๅฃ็”Ÿๆˆไปฃ็ ใ€‚ - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - ๆ–นๆณ•โ€œ{0}โ€็š„ๅˆ†ๆžๅคฑ่ดฅใ€‚ComInterfaceGenerator ๅฐ†ไธไผšไธบๆญคๆ–นๆณ•็”Ÿๆˆไปฃ็ ใ€‚ - - - - Analysis for COM interface generation has failed. - COM ๆŽฅๅฃ็”Ÿๆˆๅˆ†ๆžๅคฑ่ดฅใ€‚ - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - COM ๆŽฅๅฃๆบ็”Ÿๆˆ่ฆๆฑ‚ๆ‰€ๆœ‰ๅŸบๆœฌ COM ๆŽฅๅฃ้ƒฝๆ˜ฏๆœ‰ๆ•ˆๆŽฅๅฃใ€‚ไฟฎๅคๅŸบๆœฌๆŽฅๅฃไธŠ็š„ไปปไฝ•้—ฎ้ข˜ไปฅ่งฃๅ†ณๆญค่ฏŠๆ–ญใ€‚ - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - COM ๆŽฅๅฃ {0} ็ปงๆ‰ฟ่‡ช {1}๏ผŒๅ…ทๆœ‰้”™่ฏฏใ€‚ComInterfaceGenerator ไธไผšไธบ {0} ็”Ÿๆˆๆบใ€‚ - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - ๅŸบๆœฌ COM ๆŽฅๅฃๆ— ๆณ•็”Ÿๆˆๆบใ€‚ไธไผšไธบๆญคๆŽฅๅฃ็”Ÿๆˆไปฃ็ ใ€‚ - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - "GeneratedComInterface" ไธ่ƒฝๆŒ‡ๅฎš "ComInterfaceOptions.ManagedObjectWrapper" ๆˆ– "ComInterfaceOptions.ComObjectWrapper"๏ผŒ้™ค้žๅŸบๆŽฅๅฃ็ฑปๅž‹ๆœชๆŒ‡ๅฎš้€‰้กนๆˆ–่‡ณๅฐ‘ๆŒ‡ๅฎšไบ†็›ธๅŒ็š„้€‰้กนใ€‚ - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - ไธๆ”ฏๆŒๅœจโ€œComImportโ€็ฑปๅž‹ๅ’Œๆบ็”Ÿๆˆ็š„ COM ็ฑปๅž‹ไน‹้—ดๅผบๅˆถ่ฝฌๆข๏ผŒๅนถไธ”ไผšๅœจ่ฟ่กŒๆ—ถๅคฑ่ดฅ - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - ไธๆ”ฏๆŒๅœจโ€œComImportโ€็ฑปๅž‹ๅ’Œๆบ็”Ÿๆˆ็š„ COM ็ฑปๅž‹ไน‹้—ดๅผบๅˆถ่ฝฌๆข - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - ไธๆ”ฏๆŒๅœจโ€œComImportโ€็ฑปๅž‹ๅ’Œๆบ็”Ÿๆˆ็š„ COM ็ฑปๅž‹ไน‹้—ดๅผบๅˆถ่ฝฌๆข - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - ๅ…ทๆœ‰โ€œGeneratedComClassAttributeโ€็š„็ฑปๅฟ…้กป่‡ณๅฐ‘ๅฎž็Žฐไธ€ไธชๅ…ทๆœ‰โ€œGeneratedComInterfaceAttributeโ€็š„ๆŽฅๅฃ๏ผŒๅฆๅˆ™็”Ÿๆˆ็š„ไปฃ็ ไธ่ตทไฝœ็”จใ€‚ - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - ๅ…ทๆœ‰โ€œGeneratedComClassAttributeโ€็š„็ฑป {0} ไธๅฎž็Žฐๅ…ทๆœ‰โ€œGeneratedComInterfaceAttributeโ€็š„ไปปไฝ•ๆŽฅๅฃใ€‚ไธไผšไธบโ€œ{0}โ€็”Ÿๆˆๆบใ€‚ - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - ๅ…ทๆœ‰โ€œEnableComHostingโ€็š„ .NET COM ๆ‰˜็ฎกไป…ๆ”ฏๆŒๅ†…็ฝฎ COM ไบ’ๆ“ไฝœใ€‚ๅฎƒไธๆ”ฏๆŒๆบ็”Ÿๆˆ็š„ COM ไธŽโ€œGeneratedComInterfaceAttributeโ€็š„ไบ’ๆ“ไฝœใ€‚ - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - ๅ…ทๆœ‰โ€œEnableComHostingโ€็š„ .NET COM ๆ‰˜็ฎกไธๆ”ฏๆŒๅ…ทๆœ‰โ€œGeneratedComInterfaceAttributeโ€็š„ๆŽฅๅฃใ€‚ๅฐ†โ€œ{0}โ€ๅฎž็Žฐ็š„ไปปไฝ• COM ๅ…ฌๅผ€ๆŽฅๅฃๆ›ดๆ”นไธบๆ”น็”จโ€œSystem.Runtime.InteropServices.ComVisibleAttributeโ€ - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - ๅ…ทๆœ‰โ€œEnableComHostingโ€็š„ .NET COM ๆ‰˜็ฎกไธๆ”ฏๆŒๅ…ทๆœ‰โ€œGeneratedComInterfaceAttributeโ€็š„ๆŽฅๅฃ - - - - Source-generated COM will ignore any configuration that is not supported. - ๆบ็”Ÿๆˆ็š„ COM ๅฐ†ๅฟฝ็•ฅไปปไฝ•ไธๅ—ๆ”ฏๆŒ็š„้…็ฝฎใ€‚ - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒ "{0}" ้…็ฝฎใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„้…็ฝฎ๏ผŒ่ฏทๆ”น็”จ `ComImport`ใ€‚ - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - ๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒๆŒ‡ๅฎš็š„ๅฐ้€้…็ฝฎใ€‚{0}ใ€‚ - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒๆ–นๆณ•โ€œ{0}โ€ๅ‚ๆ•ฐโ€œ{1}โ€้…็ฝฎใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš้…็ฝฎ๏ผŒ่ฏทๆ”น็”จ `ComImport`ใ€‚ - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒๆ–นๆณ•โ€œ{0}โ€่ฟ”ๅ›žๅ€ผ็š„ๆŒ‡ๅฎšโ€œ{1}โ€้…็ฝฎใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš้…็ฝฎ๏ผŒ่ฏทๆ”น็”จ `ComImport`ใ€‚ - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒไธบ "{1}" ๆŒ‡ๅฎš็š„ๅ€ผ "{0}"ใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„้…็ฝฎ๏ผŒ่ฏทๆ”น็”จ `ComImport`ใ€‚ - - - - Specified configuration is not supported by source-generated COM. - ๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒๆŒ‡ๅฎš็š„้…็ฝฎใ€‚ - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - ๅฐ†ๆญคๆŽฅๅฃ่ฝฌๆขไธบไฝฟ็”จโ€œGeneratedComInterfaceAttributeโ€ๅฏ่ƒฝไผšไบง็”Ÿๆ— ๆ•ˆไปฃ็ ๏ผŒๅนถไธ”ๅฏ่ƒฝ้œ€่ฆๆ‰ง่กŒๅ…ถไป–ๅทฅไฝœ - - - - Convert to 'GeneratedComInterface' and allow unsafe code - ่ฝฌๆขไธบโ€œGeneratedComInterfaceโ€ๅนถๅ…่ฎธไธๅฎ‰ๅ…จ็š„ไปฃ็  - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - ไฝฟ็”จโ€œGeneratedComInterfaceAttributeโ€่€Œไธๆ˜ฏโ€œComImportAttributeโ€ไปฅๅœจ็ผ–่ฏ‘ๆ—ถ็”Ÿๆˆ COM ๅฐ้€ไปฃ็  - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - ๅฐ†ๆญค API ่ฝฌๆขไธบโ€œGeneratedComInterfaceAttributeโ€ๅฐ†้œ€่ฆๅ…ถไป–ไปฃ็ ๆฅไธบๆŸไบ›ๅ‚ๆ•ฐๆไพ›่‡ชๅฎšไน‰ๅฐ้€็จ‹ๅบใ€‚ - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - ไฝฟ็”จโ€œGeneratedComInterfaceAttributeโ€่€Œไธๆ˜ฏโ€œComImportAttributeโ€ๆ ‡่ฎฐ็ฑปๅž‹โ€œ{0}โ€๏ผŒไปฅไพฟๅœจ็ผ–่ฏ‘ๆ—ถ็”Ÿๆˆ COM ๅฐ้€ไปฃ็  - - - - Convert to 'GeneratedComInterface' - ่ฝฌๆขไธบโ€œGeneratedComInterfaceโ€ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - "StringMarshalling" ๅ’Œ "StringMarshallingCustomType" ็š„้…็ฝฎๅฟ…้กปไธŽๅŸบๆœฌ COM ๆŽฅๅฃๅŒน้…ใ€‚ - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - ไบ‹ไปถไธๆ˜ฏ COM ็š„ๆฆ‚ๅฟต๏ผŒๅ› ๆญคไธไผšไธบๆบ็”Ÿๆˆ็š„ COM ๆŽฅๅฃไธŠ็š„ๅฎžไพ‹ไบ‹ไปถ็”Ÿๆˆไบ’ๆ“ไฝœไปฃ็ ใ€‚ - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - ๅฎžไพ‹ไบ‹ไปถโ€œ{0}โ€ๅœจๆŽฅๅฃโ€œ{1}โ€ไธญๅฃฐๆ˜Ž๏ผŒ่ฏฅๆŽฅๅฃๅบ”็”จไบ†โ€œGeneratedComInterfaceAttributeโ€ - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - ไธๆ”ฏๆŒๅœจๅ…ทๆœ‰โ€œGeneratedComInterfaceAttributeโ€็š„็ฑปๅž‹ไธญๅฃฐๆ˜Žๅฎžไพ‹ไบ‹ไปถ - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - ๅฑžๆ€งๅœจ COM ไธญไธๆ˜ฏๆฆ‚ๅฟต๏ผŒๅ› ๆญคไธไผšไธบๆบ็”Ÿๆˆ็š„ COM ๆŽฅๅฃไธŠ็š„ๅฎžไพ‹ๅฑžๆ€ง็”Ÿๆˆไบ’ๆ“ไฝœไปฃ็ ใ€‚ - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - ๅฎžไพ‹ๅฑžๆ€งโ€œ{0}โ€ๅœจๆŽฅๅฃโ€œ{1}โ€ไธญๅฃฐๆ˜Ž๏ผŒ่ฏฅๆŽฅๅฃๅบ”็”จไบ†โ€œGeneratedComInterfaceAttributeโ€ - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - ไธๆ”ฏๆŒๅœจๅ…ทๆœ‰โ€œGeneratedComInterfaceAttributeโ€็š„็ฑปๅž‹ไธญๅฃฐๆ˜Žๅฎžไพ‹ๅฑžๆ€ง - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - โ€œComInterfaceTypeโ€ๅ€ผโ€œ{0}โ€ไธๆ”ฏๆŒไฝฟ็”จโ€œGeneratedComInterfaceAttributeโ€ๅ’Œโ€œInterfaceTypeAttributeโ€ใ€‚ - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - โ€œGeneratedComInterfaceTypeโ€ไธๆ”ฏๆŒๆไพ›็ป™ๅŒไธ€็ฑปๅž‹็š„โ€œInterfaceTypeAttributeโ€็š„โ€œComInterfaceTypeโ€ๅ€ผใ€‚ - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - ๆ–นๆณ• "{0}" ๅŒ…ๅซๅœจๆœชๆ ‡่ฎฐไธบ "partial" ็š„็ฑปๅž‹ "{1}" ไธญใ€‚COM ๆบ็”Ÿๆˆๅฐ†ๅฟฝ็•ฅๆ–นๆณ• "{0}"ใ€‚ - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - ๅŒ…ๅซ VirtualMethodIndexAttribute ็š„ๆ–นๆณ•็ฑปๅž‹ๆฒกๆœ‰ UnmanagedObjectUnwrapperAttributeใ€‚ - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - ๆ ‡่ฎฐไธบ "GeneratedComInterfaceAttribute" ็š„ๆŽฅๅฃไธŠ็š„ๆ–นๆณ•ๅบ”ไธบ้žๆณ›ๅž‹ใ€‚COM ๆบ็”Ÿๆˆๅฐ†ๅฟฝ็•ฅๆณ›ๅž‹ๆ–นๆณ•ใ€‚ - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - ๅœจๆ ‡่ฎฐไธบ "GeneratedComInterfaceAttribute" ็š„ๆŽฅๅฃไธŠๆ—ถ๏ผŒๆ–นๆณ• "{0}" ๅบ”ไธบ้žๆณ›ๅž‹ใ€‚COM ๆบ็”Ÿๆˆๅฐ†ๅฟฝ็•ฅๆ–นๆณ• "{0}"ใ€‚ - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - โ€œExceptionMarshallingโ€ ๅ’Œ โ€œExceptionMarshallingCustomTypeโ€ ็š„้…็ฝฎๆ— ๆ•ˆใ€‚ - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - ๆ–นๆณ•โ€œ{0}โ€ไธŠ็š„ โ€œExceptionMarshallingโ€ ๅ’Œ โ€œExceptionMarshallingCustomTypeโ€ ้…็ฝฎๆ— ๆ•ˆใ€‚{1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - ๅฝ“ โ€œExceptionMarshallingโ€ ่ฎพ็ฝฎไธบ โ€œExceptionMarshalling.Customโ€ ๆ—ถ๏ผŒๅฟ…้กปๆŒ‡ๅฎš โ€œExceptionMarshallingCustomTypeโ€ใ€‚ - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - ๆŒ‡ๅฎš โ€œExceptionMarshallingCustomTypeโ€ ๆ—ถ๏ผŒๅบ”ๅฐ† โ€œExceptionMarshallingโ€ ่ฎพ็ฝฎไธบ โ€œExceptionMarshalling.Customโ€ใ€‚ - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - ๆไพ›็š„ๅ€ผไธๆ˜ฏ โ€œExceptionMarshallingโ€ ๆžšไธพ็š„ๅทฒ็Ÿฅๆ ‡ๅฟ—ใ€‚ - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - ๅ…ทๆœ‰โ€œGeneratedComClassAttributeโ€็š„็ฑปๅฟ…้กปๆ‰ง่กŒไธ€ไธชๆˆ–ๅคšไธชๅ…ทๆœ‰โ€œGeneratedComInterfaceAttributeโ€็š„ๆŽฅๅฃ๏ผŒๅนถๆ ‡่ฎฐไธบ้ƒจๅˆ†ๅ’Œ้žๆณ›ๅž‹ใ€‚ - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - ๅ…ทๆœ‰โ€œGeneratedComClassAttributeโ€ๆˆ–ๅ…ถๅŒ…ๅซ็ฑปๅž‹ไน‹ไธ€็š„็ฑปโ€œ{0}โ€ๆœชๆ ‡่ฎฐไธบโ€œ้ƒจๅˆ†โ€ใ€‚ - - - - Invalid 'GeneratedComClassAttribute' usage - โ€œGeneratedComClassAttributeโ€็”จๆณ•ๆ— ๆ•ˆ - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - ้€š่ฟ‡ "GeneratedComInterfaceAttribute" ็‰นๆ€งๅŒ–็š„ๆŽฅๅฃๅฟ…้กปๅ…ทๆœ‰ "public" ๆˆ– "internal" ๅฏ่ฎฟ้—ฎๆ€ง๏ผŒๅฟ…้กปๆ˜ฏ้ƒจๅˆ†็š„ใ€้žๆณ›ๅž‹็š„๏ผŒๅนถไธ”ๅฟ…้กปไฝฟ็”จ "System.Runtime.InteropServices.GuidAttribute" ๆŒ‡ๅฎš GUIDใ€‚ - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - โ€œ{0}โ€ๆŽฅๅฃ้€š่ฟ‡ "GeneratedComInterfaceAttribute" ็‰นๆ€งๅŒ–๏ผŒไฝ†ไธบๆณ›ๅž‹ๆŽฅๅฃใ€‚ - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - ๆŽฅๅฃ "GeneratedComInterfaceAttribute" ้€š่ฟ‡โ€œ{0}โ€่ฟ›่กŒ็‰นๆ€งๅŒ–๏ผŒไฝ†็”Ÿๆˆ็š„ไปฃ็ ๆ— ๆณ•่ฎฟ้—ฎๅฎƒใ€‚่ฏฅๆŽฅๅฃๅ’Œๆ‰€ๆœ‰ๅŒ…ๅซ็ฑปๅž‹ๅฟ…้กปๅ…ทๆœ‰ "internal" ๆˆ– "public" ๅฏ่ฎฟ้—ฎไธ‹๏ผŒ็”Ÿๆˆ็š„ไปฃ็ ๆ‰่ƒฝ่ฎฟ้—ฎๅฎƒใ€‚{1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - ๆŽฅๅฃโ€œ{0}โ€ไผš้€š่ฟ‡ โ€œGeneratedComInterfaceAttributeโ€ ็‰นๆ€งๅŒ–๏ผŒไฝ†็ผบๅฐ‘โ€œSystem.Runtime.InteropServices.GuidAttributeโ€ใ€‚ - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - โ€œGeneratedComInterfaceAttributeโ€ ไฝฟ็”จๆ— ๆ•ˆใ€‚ - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - ๆŽฅๅฃโ€œ{0}โ€ๆˆ–ๅ…ถๅŒ…ๅซ็ฑปๅž‹ไน‹ไธ€็ผบๅฐ‘โ€œpartialโ€ๅ…ณ้”ฎๅญ—ใ€‚ไธไผšไธบโ€œ{0}โ€็”Ÿๆˆไปฃ็ ใ€‚ - - - - The specified 'ComInterfaceOptions' are invalid. - ๆŒ‡ๅฎš็š„ "ComInterfaceOptions" ๆ— ๆ•ˆใ€‚ - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - โ€œ{0}โ€ไธŠๆŒ‡ๅฎš็š„ "ComInterfaceOptions" ๆ— ๆ•ˆใ€‚{1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - โ€œStringMarshallingโ€ ๅ’Œ โ€œStringMarshallingCustomTypeโ€ ็š„้…็ฝฎๆ— ๆ•ˆใ€‚ - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - ๅœจ โ€œStringMarshallingโ€ ่ฎพ็ฝฎไธบ โ€œStringMarshalling.Customโ€ ๆ—ถ๏ผŒๅฟ…้กปๆŒ‡ๅฎš โ€œStringMarshallingCustomTypeโ€ใ€‚ - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - ๅœจๆŒ‡ๅฎš โ€œStringMarshallingCustomTypeโ€ ๆ—ถ๏ผŒๅบ”ๅฐ† โ€œStringMarshallingโ€ ่ฎพ็ฝฎไธบ โ€œStringMarshalling.Customโ€ใ€‚ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - ๆŽฅๅฃ "{0}" ไธŠ็š„ "StringMarshalling" ๅ’Œ "StringMarshallingCustomType" ็š„้…็ฝฎๆ— ๆ•ˆใ€‚{1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - ๆ–นๆณ•โ€œ{0}โ€ไธŠ็š„ โ€œStringMarshallingโ€ ๅ’Œ โ€œStringMarshallingCustomTypeโ€ ็š„้…็ฝฎๆ— ๆ•ˆใ€‚{1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - โ€œVirtualMethodIndexAttributeโ€ ไฝฟ็”จๆƒ…ๅ†ตๆ— ๆ•ˆ - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒๅ‚ๆ•ฐโ€œ{1}โ€็š„ๆŒ‡ๅฎšโ€œMarshalAsAttributeโ€้…็ฝฎใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš้…็ฝฎ๏ผŒ่ฏทๆ”น็”จ `ComImport`ใ€‚ - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒๆ–นๆณ•โ€œ{1}โ€่ฟ”ๅ›žๅ€ผ็š„ๆŒ‡ๅฎšโ€œMarshalAsAttributeโ€้…็ฝฎใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš้…็ฝฎ๏ผŒ่ฏทๆ”น็”จ `ComImport`ใ€‚ - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - ๆ‰€ๆœ‰ๆ–นๆณ•้ƒฝๅฟ…้กปๅœจ โ€œGeneratedComInterfaceโ€ ็‰นๆ€งๅŒ–ๆŽฅๅฃ็ฑปๅž‹็š„ๅŒไธ€้ƒจๅˆ†ๅฎšไน‰ไธญๅฃฐๆ˜Ž๏ผŒไปฅ็กฎไฟๅฏน่™šๆ‹Ÿๆ–นๆณ•่กจๅ็งป่ฟ›่กŒๅฏ้ ็š„่ฎก็ฎ—ใ€‚ - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - ๆ–นๆณ•โ€œ{0}โ€ๆ˜ฏๅœจๆŽฅๅฃโ€œ{1}โ€็š„ไธๅŒ้ƒจๅˆ†ๅฎšไน‰ไธŠๅฃฐๆ˜Ž็š„๏ผŒ่€Œไธๆ˜ฏๅœจๅ…ทๆœ‰ โ€œGeneratedComInterfaceโ€ ๅฑžๆ€ง็š„ๅฎšไน‰ไธŠๅฃฐๆ˜Ž็š„ - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - ๆ–นๆณ•ๆ˜ฏๅœจไธๅŒไบŽ โ€œGeneratedComInterfaceโ€ ๅฑžๆ€ง็š„้ƒจๅˆ†ๅฃฐๆ˜Žไธญๅฃฐๆ˜Ž็š„ใ€‚ - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - โ€œGeneratedComInterfaceAttributeโ€็‰นๆ€งๅŒ–ๆŽฅๅฃๆœ€ๅคšๅช่ƒฝไปŽๅฆไธ€ไธชโ€œGeneratedComInterfaceAttributeโ€็‰นๆ€งๅŒ–ๆŽฅๅฃๆดพ็”Ÿใ€‚ - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - ๆŽฅๅฃโ€œ{0}โ€ๆดพ็”Ÿ่‡ชไฝฟ็”จ โ€œGeneratedComInterfaceAttributeโ€็‰นๆ€งๅŒ–็š„ไธคไธชๆˆ–ๆ›ดๅคšๆŽฅๅฃใ€‚ - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - ๆŒ‡ๅฎš็š„ๆŽฅๅฃๆดพ็”Ÿ่‡ชไธคไธชๆˆ–ๆ›ดๅคšโ€œGeneratedComInterfaceAttributeโ€็‰นๆ€งๅŒ–ๆŽฅๅฃใ€‚ - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - ๅฟ…้กปๆŒ‡ๅฎš "ComInterfaceOptions.ManagedObjectWrapper" ๆˆ– "ComInterfaceOptions.ComObjectWrapper"ใ€‚ - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - โ€œGeneratedComInterfaceAttributeโ€ๅ’Œโ€œGeneratedComClassAttributeโ€้œ€่ฆไธๅฎ‰ๅ…จไปฃ็ ใ€‚ๅฟ…้กปๅฐ†้กน็›ฎๆ›ดๆ–ฐไธบโ€œ<AllowUnsafeBlocks>true</AllowUnsafeBlocks>โ€ใ€‚ - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - โ€œGeneratedComInterfaceAttributeโ€ๅ’Œโ€œGeneratedComClassAttributeโ€้œ€่ฆไธๅฎ‰ๅ…จไปฃ็ ใ€‚ๅฟ…้กปๅฐ†้กน็›ฎๆ›ดๆ–ฐไธบโ€œ<AllowUnsafeBlocks>true</AllowUnsafeBlocks>โ€ใ€‚ - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - โ€œGeneratedComInterfaceAttributeโ€ๅ’Œโ€œGeneratedComClassAttributeโ€้œ€่ฆไธๅฎ‰ๅ…จไปฃ็ ใ€‚ - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - โ€œSystem.Runtime.InteropServices.Marshalโ€ไธŠ็š„ COM ไบ’ๆ“ไฝœ API ไธๆ”ฏๆŒๆบ็”Ÿๆˆ็š„ COM๏ผŒๅนถไธ”ๅฐ†ๅœจ่ฟ่กŒๆ—ถๅคฑ่ดฅ - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - ๆ–นๆณ•โ€œ{0}โ€ไป…ๆ”ฏๆŒๅŸบไบŽ่ฟ่กŒๆ—ถ็š„ COM ไบ’ๆ“ไฝœ๏ผŒๅนถไธ”ไธ้€‚็”จไบŽ็ฑปๅž‹โ€œ{1}โ€ - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - โ€œSystem.Runtime.InteropServices.Marshalโ€ไธŠ็š„ COM ไบ’ๆ“ไฝœ API ไธๆ”ฏๆŒๆบ็”Ÿๆˆ็š„ COM - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - ็”Ÿๆˆ็š„ไปฃ็ ๆ— ๆณ•่ฎฟ้—ฎๆŒ‡ๅฎšไธบ "GeneratedComInterfaceAttribute.StringMarshallingCustomType" ็š„โ€œ{0}โ€็ฑปๅž‹ใ€‚่ฏฅ็ฑปๅž‹ๅฟ…้กป่‡ณๅฐ‘ๅ…ทๆœ‰ "internal" ๅฏ่ฎฟ้—ฎๆ€งใ€‚{1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - ๅฏนไบŽๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒ็š„็ฑปๅž‹๏ผŒ็”Ÿๆˆ็š„ๅ‡ฝๆ•ฐๆŒ‡้’ˆๅฐ†ไพ่ต–ๅŸบ็ก€่ฟ่กŒๆ—ถๆฅๅฐ้€ๆŒ‡ๅฎš็š„็ฑปๅž‹ใ€‚ - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - ๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒโ€œ{0}โ€็ฑปๅž‹ใ€‚็”Ÿๆˆ็š„ๆบๅฐ†ไธๅค„็†ๅ‚ๆ•ฐโ€œ{1}โ€็š„ๅฐ้€ใ€‚ - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} ็”Ÿๆˆ็š„ๆบๅฐ†ไธๅค„็†ๅ‚ๆ•ฐโ€œ{1}โ€็š„ๅฐ้€ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - ๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒ "{0}" ็ฑปๅž‹ใ€‚็”Ÿๆˆ็š„ๆบๅฐ†ไธๅค„็†ๆ–นๆณ• "{1}" ็š„่ฟ”ๅ›žๅ€ผ็š„ๅฐ้€ใ€‚ - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} ็”Ÿๆˆ็š„ๆบๅฐ†ไธๅค„็†ๆ–นๆณ•โ€œ{1}โ€็š„่ฟ”ๅ›žๅ€ผ็š„ๅฐ้€ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - ๆบ็”Ÿๆˆ็š„ COM ไธๆ”ฏๆŒๆŒ‡ๅฎš็š„็ฑปๅž‹ - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€ไฟกๆฏใ€‚ๅฏ็งป้™คๆญคๅฐ่ฃ…ไฟกๆฏ๏ผŒ่€Œไธๅฏนๅบ”็”จ็จ‹ๅบ็š„่กŒไธบ่ฟ›่กŒไปปไฝ•ๆ›ดๆ”นใ€‚ - - - - Unnecessary marshalling info was provided and can be removed. - ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€ไฟกๆฏ๏ผŒๅฏๅฐ†ๆญคไฟกๆฏ็งป้™คใ€‚ - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - ไธบๅ‚ๆ•ฐโ€œ{1}โ€ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€ไฟกๆฏโ€œ{0}โ€ - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - ไธบๆ–นๆณ•โ€œ{1}โ€็š„่ฟ”ๅ›ž็ฑปๅž‹ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€ไฟกๆฏโ€œ{0}โ€ - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.zh-Hant.xlf b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.zh-Hant.xlf deleted file mode 100644 index f4dbec36db100..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Resources/xlf/Strings.zh-Hant.xlf +++ /dev/null @@ -1,479 +0,0 @@ -๏ปฟ - - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code - ๆ–ฐๅขž 'GeneratedComClassAttribute' ไปฅๅ•Ÿ็”จๅฐ‡ๆญค้กžๅž‹็š„็‰ฉไปถๅ‚ณ้ž่‡ณ COM ไธฆๅ…่จฑไธๅฎ‰ๅ…จ็š„็จ‹ๅผ็ขผ - - - - This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. - ๆญค้กžๅž‹่‡ณๅฐ‘ๅฏฆไฝœไธ€ๅ€‹ๅ…ทๆœ‰ 'GeneratedComInterfaceAttribute' ๅฑฌๆ€ง็š„้กžๅž‹ใ€‚ๆ–ฐๅขž 'GeneratedComClassAttribute' ไปฅๅ•Ÿ็”จๅฐ‡ๆญค้กžๅž‹ๅ‚ณ้žๅˆฐ COM๏ผŒไธฆๅ…ฌ้–‹ๅ…ทๆœ‰ๆญค้กžๅž‹็‰ฉไปถไน‹ 'GeneratedComInterfaceAttribute' ้กžๅž‹็š„ COM ไป‹้ขใ€‚ - - - - Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM - ๅฐ‡ 'GeneratedComClassAttribute' ๆ–ฐๅขž่‡ณ '{0}' ไปฅๅ•Ÿ็”จๅฐ‡้กžๅž‹ '{0}' ็š„็‰ฉไปถๅ‚ณ้ž่‡ณ COM - - - - Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM - ๆ–ฐๅขž 'GeneratedComClassAttribute' ไปฅๅ•Ÿ็”จๅฐ‡ๆญค้กžๅž‹็š„็‰ฉไปถๅ‚ณ้ž่‡ณ COM - - - - The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. - ็”ข็”Ÿๆญคไป‹้ขๆˆ–ๆ–นๆณ•็จ‹ๅผ็ขผๆ‰€้œ€็š„ๅˆ†ๆžๅคฑๆ•—๏ผŒๅ› ็‚บๆœ‰ๆœช้ ๆœŸ็š„็จ‹ๅผ็ขผๆจกๅผใ€‚ๅฆ‚ๆžœๆ‚จไฝฟ็”จ็š„ๆ˜ฏๆ–ฐ่ชžๆณ•ๆˆ–้žๅธธ่ฆ่ชžๆณ•๏ผŒ่ซ‹่€ƒๆ…ฎไฝฟ็”จๅ…ถไป–่ชžๆณ•ใ€‚ - - - - Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. - ไป‹้ข '{0}' ๅˆ†ๆžๅคฑๆ•—ใ€‚ComInterfaceGenerator ไธๆœƒ็”ข็”Ÿๆญคไป‹้ข็š„็จ‹ๅผ็ขผใ€‚ - - - - Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. - ๆ–นๆณ• '{0}' ๅˆ†ๆžๅคฑๆ•—ใ€‚ComInterfaceGenerator ไธๆœƒ็”ข็”Ÿๆญคๆ–นๆณ•็š„็จ‹ๅผ็ขผใ€‚ - - - - Analysis for COM interface generation has failed. - COM ไป‹้ข็”ข็”Ÿ็š„ๅˆ†ๆžๅคฑๆ•—ใ€‚ - - - - COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. - ็”ข็”Ÿ COM ไป‹้ขไพ†ๆบ่ฆๆฑ‚ๆ‰€ๆœ‰ๅŸบๅบ• COM ไป‹้ข้ƒฝๅฟ…้ ˆๆ˜ฏๆœ‰ๆ•ˆ็š„ไป‹้ขใ€‚่ซ‹ไฟฎๆญฃๅŸบๅบ•ไป‹้ขไธŠ็š„ไปปไฝ•ๅ•้กŒ๏ผŒไปฅ่งฃๆฑบๆญค่จบๆ–ทใ€‚ - - - - COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. - COM ไป‹้ข {0} ็นผๆ‰ฟ่‡ชๆœ‰้Œฏ่ชค็š„ {1}ใ€‚ComInterfaceGenerator ไธๆœƒ็”ข็”Ÿ {0} ็š„ไพ†ๆบใ€‚ - - - - The base COM interface failed to generate source. Code will not be generated for this interface. - ๅŸบๅบ• COM ไป‹้ข็„กๆณ•็”ข็”Ÿไพ†ๆบใ€‚ๅฐ‡ไธๆœƒ็”ข็”Ÿๆญคไป‹้ข็š„็จ‹ๅผ็ขผใ€‚ - - - - A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. - ้™ค้žๅŸบๆœฌไป‹้ข้กžๅž‹ๆœชๆŒ‡ๅฎš้ธ้ …ๆˆ–่‡ณๅฐ‘ๆŒ‡ๅฎšไบ†็›ธๅŒ็š„้ธ้ …๏ผŒๅฆๅ‰‡ 'GeneratedComInterface' ไธ่ƒฝๆŒ‡ๅฎš 'ComInterfaceOptions.ManagedObjectWrapper' ๆˆ– 'ComInterfaceOptions.ComObjectWrapper'ใ€‚ - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime - ไธๆ”ฏๆดๅœจ 'ComImport' ้กžๅž‹่ˆ‡ไพ†ๆบ็”ข็”Ÿ็š„ COM ้กžๅž‹ไน‹้–“่ฝ‰ๆ›,ไธ”ๅฐ‡ๅœจๅŸท่กŒ้šŽๆฎตๅคฑๆ•— - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - ไธๆ”ฏๆดๅœจ 'ComImport' ้กžๅž‹่ˆ‡ไพ†ๆบ็”ข็”Ÿ็š„ COM ้กžๅž‹ไน‹้–“่ฝ‰ๆ› - - - - Casting between a 'ComImport' type and a source-generated COM type is not supported - ไธๆ”ฏๆดๅœจ 'ComImport' ้กžๅž‹่ˆ‡ไพ†ๆบ็”ข็”Ÿ็š„ COM ้กžๅž‹ไน‹้–“่ฝ‰ๆ› - - - - A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. - ๅ…ทๆœ‰ 'GeneratedComClassAttribute' ็š„้กžๅˆฅๅฟ…้ ˆไฝฟ็”จ 'GeneratedComInterfaceAttribute' ไพ†ๅฏฆไฝœ่‡ณๅฐ‘ไธ€ๅ€‹ไป‹้ข๏ผŒๅฆๅ‰‡็”ข็”Ÿ็š„็จ‹ๅผ็ขผๅฐ‡ๆฒ’ๆœ‰ๆ•ˆๆžœใ€‚ - - - - Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. - ๅ…ทๆœ‰ 'GeneratedComClassAttribute' ็š„้กžๅˆฅ '{0}' ๆœชไฝฟ็”จ 'GeneratedComInterfaceAttribute' ไพ†ๅฏฆไฝœไปปไฝ•ไป‹้ขใ€‚ๅฐ‡ไธๆœƒ็‚บ '{0}' ็”ข็”Ÿไพ†ๆบใ€‚ - - - - .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. - ไปฅ 'EnableComHosting' ่ฃ่ผ‰็š„ .NET COM ๅƒ…ๆ”ฏๆดๅ…งๅปบ COM Interopใ€‚ๅฎƒไธฆไธๆ”ฏๆดไฝฟ็”จ 'GeneratedComInterfaceAttribute'ไพ†ๆบ็”ข็”Ÿ็š„ COM Interopใ€‚ - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead - ไปฅ 'EnableComHosting' ่ฃ่ผ‰็š„ .NET COM ไธๆ”ฏๆดๅ…ทๆœ‰ 'GeneratedComInterfaceAttribute' ็š„ไป‹้ขใ€‚่ฎŠๆ›ด '{0}' ๅฏฆไฝœ็š„ไปปไฝ• COM ๅ…ฌ้–‹ไป‹้ข๏ผŒไปฅๆ”น็‚บไฝฟ็”จ 'System.Runtime.InteropServices.ComVisibleAttribute' - - - - .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' - ไปฅ 'EnableComHosting' ่ฃ่ผ‰็š„ .NET COM ไธๆ”ฏๆดๅ…ทๆœ‰ 'GeneratedComInterfaceAttribute' ็š„ไป‹้ข - - - - Source-generated COM will ignore any configuration that is not supported. - ๆฅๆบ็”ข็”Ÿ็š„ COM ๅฐ‡ๆœƒ็•ฅ้Žไปปไฝ•ไธๆ”ฏๆด็š„่จญๅฎšใ€‚ - - - - The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ไพ†ๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆด '{0}' ่จญๅฎšใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จ `ComImport`ใ€‚ - - - - The specified marshalling configuration is not supported by source-generated COM. {0}. - ๆฅๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆดๆŒ‡ๅฎš็š„ๅฐ้€่™•็†่จญๅฎšใ€‚{0}ใ€‚ - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ไพ†ๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆด็‚บๅƒๆ•ธ '{1}' ๆŒ‡ๅฎš็š„ '{0}' ่จญๅฎšใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จ `ComImport`ใ€‚ - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ไพ†ๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆด็‚บๆ–นๆณ• '{1}' ็š„ๅ‚ณๅ›žๅ€ผๆŒ‡ๅฎš '{0}' ่จญๅฎšใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จ `ComImport`ใ€‚ - - - - The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ไพ†ๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆด็‚บ '{1}' ๆŒ‡ๅฎš็š„ๅ€ผ '{0}'ใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จ `ComImport`ใ€‚ - - - - Specified configuration is not supported by source-generated COM. - ๆฅๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆดๆŒ‡ๅฎš็š„่จญๅฎšใ€‚ - - - - Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work - ๅฐ‡ๆญคไป‹้ข่ฝ‰ๆ›็‚บไฝฟ็”จ 'GeneratedComInterfaceAttribute' ๅฏ่ƒฝๆœƒ็”ข็”Ÿ็„กๆ•ˆ็จ‹ๅผ็ขผ๏ผŒ่€Œไธ”ๅฏ่ƒฝ้œ€่ฆ้กๅค–ไฝœๆฅญ - - - - Convert to 'GeneratedComInterface' and allow unsafe code - ่ฝ‰ๆ›็‚บ 'GeneratedComInterface' ไธฆๅ…่จฑไธๅฎ‰ๅ…จ็š„็จ‹ๅผ็ขผ - - - - Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - ไฝฟ็”จ GeneratedComInterfaceAttribute' (่€Œ้ž 'ComImportAttribute') ไปฅๆ–ผ็ทจ่ญฏๆ™‚้–“็”ข็”Ÿ COM ๅฐ้€่™•็†็จ‹ๅผ็ขผ - - - - Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. - ๅฐ‡ๆญค API ่ฝ‰ๆ›็‚บ 'GeneratedComInterfaceAttribute' ้œ€่ฆ้กๅค–็š„็จ‹ๅผ็ขผ๏ผŒๆ‰่ƒฝๆไพ›ๆŸไบ›ๅƒๆ•ธ็š„่‡ช่จ‚ๅฐ้€่™•็†ๅ™จใ€‚ - - - - Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time - ไฝฟ็”จ GeneratedComInterfaceAttribute' (่€Œ้ž 'ComImportAttribute') ๆจ™่จ˜้กžๅž‹ '{0}'๏ผŒไปฅๆ–ผ็ทจ่ญฏๆ™‚้–“็”ข็”Ÿ COM ๅฐ้€่™•็†็จ‹ๅผ็ขผ - - - - Convert to 'GeneratedComInterface' - ่ฝ‰ๆ›็‚บ 'GeneratedComInterface' - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. - 'StringMarshalling' ๅ’Œ 'StringMarshallingCustomType' ็š„่จญๅฎšๅฟ…้ ˆๅ’ŒๅŸบๅบ• COM ไป‹้ข็›ธ็ฌฆใ€‚ - - - - Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - ไบ‹ไปถไธๆ˜ฏ COM ไธญ็š„ๆฆ‚ๅฟต๏ผŒๅ› ๆญคไธๆœƒ็‚บไพ†ๆบ็”ข็”Ÿ็š„ COM ไป‹้ขไธŠ็š„ๅŸท่กŒๅ€‹้ซ”ไบ‹ไปถไพ†ๆบ็”ข็”Ÿ Interop ็จ‹ๅผ็ขผใ€‚ - - - - The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - ๅŸท่กŒๅ€‹้ซ”ไบ‹ไปถ '{0}' ๆ˜ฏๅœจๅฅ—็”จไบ† 'GeneratedComInterfaceAttribute' ็š„ไป‹้ข '{1}' ไธญๅฎฃๅ‘Š็š„ - - - - Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - ไธๆ”ฏๆดๅœจๅ…ทๆœ‰ 'GeneratedComInterfaceAttribute' ็š„้กžๅž‹ไธญๅฎฃๅ‘ŠๅŸท่กŒๅ€‹้ซ”ไบ‹ไปถ - - - - Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - ๅฑฌๆ€งไธๆ˜ฏ COM ไธญ็š„ๆฆ‚ๅฟต๏ผŒๅ› ๆญคไธๆœƒ็‚บไพ†ๆบ็”ข็”Ÿ็š„ COM ไป‹้ขไธŠ็š„ๅŸท่กŒๅ€‹้ซ”ๅฑฌๆ€งไพ†ๆบ็”ข็”Ÿ Interop ็จ‹ๅผ็ขผใ€‚ - - - - The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - ๅŸท่กŒๅ€‹้ซ”ๅฑฌๆ€ง '{0}' ๆ˜ฏๅœจๅฅ—็”จไบ† 'GeneratedComInterfaceAttribute' ็š„ไป‹้ข '{1}' ไธญๅฎฃๅ‘Š็š„ - - - - Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - ไธๆ”ฏๆดๅœจๅ…ทๆœ‰ 'GeneratedComInterfaceAttribute' ็š„้กžๅž‹ไธญๅฎฃๅ‘ŠๅŸท่กŒๅ€‹้ซ”ๅฑฌๆ€ง - - - - Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - 'ComInterfaceType' ๅ€ผ '{0}' ไธๆ”ฏๆดไฝฟ็”จ 'GeneratedComInterfaceAttribute' ๅ’Œ 'InterfaceTypeAttribute'ใ€‚ - - - - 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - 'GeneratedComInterfaceType' ไธๆ”ฏๆดๆไพ›็ตฆ็›ธๅŒ้กžๅž‹ 'InterfaceTypeAttribute' ็š„ 'ComInterfaceType' ๅ€ผใ€‚ - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - ๆ–นๆณ• '{0}' ๅŒ…ๅซๅœจๆœชๆจ™็คบ็‚บ 'partial' ็š„้กžๅž‹ '{1}' ไธญใ€‚COM ๆฅๆบ็”ข็”Ÿๅฐ‡็•ฅ้Žๆ–นๆณ• '{0}'ใ€‚ - - - - Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - ๅŒ…ๅซๅ…ทๆœ‰ VirtualMethodIndexAttribute ็š„ๆ–นๆณ•้กžๅž‹ๆฒ’ๆœ‰ UnmanagedObjectUnwrapperAttributeใ€‚ - - - - Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - ๆจ™็คบ็‚บ 'GeneratedComInterfaceAttribute' ไน‹ไป‹้ขไธŠ็š„ๆ–นๆณ•ๆ‡‰่ฉฒๆ˜ฏ้žๆณ›ๅž‹็š„ใ€‚COM ไพ†ๆบ็”ข็”Ÿๅฐ‡็•ฅ้Žๆณ›ๅž‹ๆ–นๆณ•ใ€‚ - - - - Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - ๅœจ็”จ 'GeneratedComInterfaceAttribute' ๆจ™็คบ็š„ไป‹้ขไธŠ๏ผŒๆ–นๆณ• '{0}' ๆ‡‰่ฉฒๆ˜ฏ้žๆณ›ๅž‹็š„ใ€‚COM ไพ†ๆบ็”ข็”Ÿๅฐ‡็•ฅ้Žๆ–นๆณ• '{0}'ใ€‚ - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - 'ExceptionMarshalling' ๅ’Œ 'ExceptionMarshallingCustomType' ็š„่จญๅฎš็„กๆ•ˆใ€‚ - - - - The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} - ๆ–นๆณ• '{0}' ไธŠ็š„ 'ExceptionMarshalling' ๅ’Œ 'ExceptionMarshallingCustomType' ็š„่จญๅฎš็„กๆ•ˆใ€‚{1} - {1} is a message containing additional details about what is not valid - - - 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - ็•ถ 'ExceptionMarshalling' ่จญๅฎš็‚บ 'ExceptionMarshalling.Custom' ๆ™‚๏ผŒๅฟ…้ ˆๆŒ‡ๅฎš 'ExceptionMarshallingCustomType'ใ€‚ - - - - 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - ๆŒ‡ๅฎš 'ExceptionMarshallingCustomType' ๆ™‚๏ผŒ'ExceptionMarshalling' ๆ‡‰่จญๅฎš็‚บ 'ExceptionMarshalling.Custom'ใ€‚ - - - - The provided value is not a known flag of the 'ExceptionMarshalling' enum. - ๆไพ›็š„ๅ€ผไธๆ˜ฏ 'ExceptionMarshalling' ๅˆ—่ˆ‰็š„ๅทฒ็Ÿฅๆ——ๆจ™ใ€‚ - - - - Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - ๅ…ทๆœ‰ 'GeneratedComClassAttribute' ็š„้กžๅˆฅๅฟ…้ ˆๅฏฆไฝœไธ€ๆˆ–ๅคšๅ€‹ๅ…ทๆœ‰ 'GeneratedComInterfaceAttribute' ็š„ไป‹้ขใ€ๆจ™็คบ็‚บ้ƒจไปฝไธ”้žๆณ›ๅž‹ใ€‚ - - - - Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - ๅ…ทๆœ‰ 'GeneratedComClassAttribute' ๆˆ–ๅ…ถไธญไธ€ๅ€‹ๅŒ…ๅซ้กžๅž‹็š„้กžๅˆฅ '{0}' ๆœชๆจ™็คบ็‚บ 'partial'ใ€‚ - - - - Invalid 'GeneratedComClassAttribute' usage - 'GeneratedComClassAttribute' ไฝฟ็”จๆ–นๅผ็„กๆ•ˆ - - - - Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - ๅฑฌๆ€ง็‚บ 'GeneratedComInterfaceAttribute' ็š„ไป‹้ขๅฟ…้ ˆๅ…ทๆœ‰ 'public' ๆˆ– 'internal' ๅญ˜ๅ–็ฏ„ๅœ๏ผŒไธ”ๆ˜ฏ้ƒจๅˆ†็š„้žๆณ›ๅž‹ไป‹้ข๏ผŒไธ”ๅฟ…้ ˆไฝฟ็”จ 'System.Runtime.InteropServices.GuidAttribute' ๆŒ‡ๅฎš GUIDใ€‚ - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - ไป‹้ข '{0}' ็š„ๅฑฌๆ€ง็‚บ 'GeneratedComInterfaceAttribute'๏ผŒไฝ†็‚บๆณ›ๅž‹ไป‹้ขใ€‚ - - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} - ไป‹้ข '{0}' ็š„ๅฑฌๆ€ง็‚บ 'GeneratedComInterfaceAttribute'๏ผŒไฝ†็„กๆณ•็”ฑ็”ข็”Ÿ็š„็จ‹ๅผ็ขผๅญ˜ๅ–ใ€‚ไป‹้ขๅ’Œๆ‰€ๆœ‰ๅŒ…ๅซ็š„้กžๅž‹็š„ๅฟ…้ ˆๅ…ทๆœ‰ 'internal' ๆˆ– 'public' ๅญ˜ๅ–็ฏ„ๅœ๏ผŒ็”ข็”Ÿ็š„็จ‹ๅผ็ขผๆ‰่ƒฝๅญ˜ๅ–ๅฎƒใ€‚{1} - {1} is details about which type/containing type is not accessible - - - Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - ไป‹้ข '{0}' ็š„ๅฑฌๆ€ง็‚บ 'GeneratedComInterfaceAttribute'๏ผŒไฝ†้บๆผ 'System.Runtime.InteropServices.GuidAttribute'ใ€‚ - - - - Invalid 'GeneratedComInterfaceAttribute' usage. - ็„กๆ•ˆ็š„ 'GeneratedComInterfaceAttribute' ไฝฟ็”จๆ–นๅผใ€‚ - - - - The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - ไป‹้ข '{0}' ๆˆ–ๅ…ถไธญไธ€ๅ€‹ๅŒ…ๅซ้กžๅž‹็š„ไป‹้ข้บๆผ 'partial' ้—œ้ตๅญ—ใ€‚ๅฐ‡ไธๆœƒ็‚บ '{0}' ็”ข็”Ÿ็จ‹ๅผ็ขผใ€‚ - - - - The specified 'ComInterfaceOptions' are invalid. - ๆŒ‡ๅฎš็š„ 'ComInterfaceOptions' ็„กๆ•ˆใ€‚ - - - - The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - '{0}' ไธŠๆŒ‡ๅฎš็š„ 'ComInterfaceOptions' ็„กๆ•ˆใ€‚{1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - 'StringMarshalling' ๅ’Œ 'StringMarshallingCustomType' ็š„่จญๅฎš็„กๆ•ˆใ€‚ - - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - ็•ถ 'StringMarshalling' ่จญๅฎš็‚บ 'StringMarshalling.Custom' ๆ™‚๏ผŒๅฟ…้ ˆๆŒ‡ๅฎš 'StringMarshallingCustomType'ใ€‚ - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - ๆŒ‡ๅฎš 'StringMarshallingCustomType' ๆ™‚๏ผŒ'StringMarshalling' ๆ‡‰่จญๅฎš็‚บ 'StringMarshalling.Custom'ใ€‚ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} - ไป‹้ข '{0}' ไธŠ็š„ 'StringMarshalling' ๅ’Œ 'StringMarshallingCustomType' ่จญๅฎš็„กๆ•ˆใ€‚{1} - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - ๆ–นๆณ• '{0}' ไธŠ็š„ 'StringMarshalling' ๅ’Œ 'StringMarshallingCustomType' ่จญๅฎš็„กๆ•ˆใ€‚{1} - {1} is a message containing additional details about what is not valid - - - Invalid 'VirtualMethodIndexAttribute' usage - 'VirtualMethodIndexAttribute' ไฝฟ็”จๆ–นๅผ็„กๆ•ˆ - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ไพ†ๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆด็‚บๅƒๆ•ธ '{1}' ๆŒ‡ๅฎš 'MarshalAsAttribute' ่จญๅฎšใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จ `ComImport`ใ€‚ - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. - ไพ†ๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆด็‚บๆ–นๆณ• '{1}' ็š„ๅ‚ณๅ›žๅ€ผๆŒ‡ๅฎš 'MarshalAsAttribute' ่จญๅฎšใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จ `ComImport`ใ€‚ - - - - All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - ๆ‰€ๆœ‰ๆ–นๆณ•้ƒฝๅฟ…้ ˆๅœจ 'GeneratedComInterface' ๅฑฌๆ€งๅŒ–ไป‹้ข้กžๅž‹็š„็›ธๅŒ้ƒจๅˆ†ๅฎš็พฉไธญๅฎฃๅ‘Š๏ผŒไปฅ็ขบไฟๅฐ่™›ๆ“ฌๆ–นๆณ•่ณ‡ๆ–™่กจไฝ็งป้€ฒ่กŒๅฏ้ ็š„่จˆ็ฎ—ใ€‚ - - - - The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - ๆ–นๆณ• '{0}' ๆ˜ฏๅœจไป‹้ข '{1}' ็š„ไธๅŒ้ƒจๅˆ†ๅฎš็พฉไธŠๅฎฃๅ‘Š็š„๏ผŒ่€Œไธๆ˜ฏๅœจๅ…ทๆœ‰ 'GeneratedComInterface' ๅฑฌๆ€ง็š„ๅฎš็พฉไธŠๅฎฃๅ‘Š - - - - Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - ๆ–นๆณ•ๆ˜ฏๅœจไธๅŒๆ–ผ 'GeneratedComInterface' ๅฑฌๆ€ง็š„้ƒจๅˆ†ๅฎฃๅ‘Šไธญๅฎฃๅ‘Šใ€‚ - - - - A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - 'GeneratedComInterfaceAttribute'-ๅฑฌๆ€งไป‹้ขๆœ€ๅคšๅช่ƒฝ่ก็”Ÿ่‡ชๅฆไธ€ๅ€‹ 'GeneratedComInterfaceAttribute'-ๅฑฌๆ€งไป‹้ขใ€‚ - - - - Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - ไป‹้ข '{0}' ่ก็”Ÿ่‡ชๅ…ทๆœ‰ 'GeneratedComInterfaceAttribute' ็š„ๅ…ฉๅ€‹ๆˆ–ๅคšๅ€‹ไป‹้ขใ€‚ - - - - Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - ๆŒ‡ๅฎš็š„ไป‹้ข่ก็”Ÿ่‡ชๅ…ฉๅ€‹ๆˆ–ๅ…ฉๅ€‹ไปฅไธŠ็š„ 'GeneratedComInterfaceAttribute'-ๅฑฌๆ€งไป‹้ขใ€‚ - - - - Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - ๅฟ…้ ˆๆŒ‡ๅฎš 'ComInterfaceOptions.ManagedObjectWrapper' ๆˆ– 'ComInterfaceOptions.ComObjectWrapper'ใ€‚ - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - 'GeneratedComInterfaceAttribute' ๅ’Œ 'GeneratedComClassAttribute' ้œ€่ฆไธๅฎ‰ๅ…จ็š„็จ‹ๅผ็ขผใ€‚ๅฐˆๆกˆๅฟ…้ ˆไปฅ '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ๆ›ดๆ–ฐใ€‚ - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - 'GeneratedComInterfaceAttribute' ๅ’Œ 'GeneratedComClassAttribute' ้œ€่ฆไธๅฎ‰ๅ…จ็š„็จ‹ๅผ็ขผใ€‚ๅฐˆๆกˆๅฟ…้ ˆไปฅ '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ๆ›ดๆ–ฐใ€‚ - - - - 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. - 'GeneratedComInterfaceAttribute' ๅ’Œ 'GeneratedComClassAttribute' ้œ€่ฆไธๅฎ‰ๅ…จ็š„็จ‹ๅผ็ขผใ€‚ - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime - 'System.Runtime.InteropServices.Marshal' ไธŠ็š„ COM Interop API ไธๆ”ฏๆดไพ†ๆบ็”ข็”Ÿ็š„ COM๏ผŒไธ”ๅฐ‡ๆ–ผๅŸท่กŒ้šŽๆฎตไธญๅคฑๆ•— - - - - The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' - ๆ–นๆณ• '{0}' ๅชๆ”ฏๆดๅŸท่กŒ้šŽๆฎตๅž‹ COM Interop๏ผŒไธ”ไธ้ฉ็”จๆ–ผ้กžๅž‹ '{1}' - - - - COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM - 'System.Runtime.InteropServices.Marshal' ไธŠ็š„ COM Interop API ไธๆ”ฏๆดไพ†ๆบ็”ข็”Ÿ็š„ COM - - - - The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} - ๆŒ‡ๅฎš็‚บ 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' ็š„้กžๅž‹ '{0}' ็„กๆณ•็”ฑ็”ข็”Ÿ็š„็จ‹ๅผ็ขผๅญ˜ๅ–ใ€‚้กžๅž‹ๅฟ…้ ˆ่‡ณๅฐ‘ๅ…ทๆœ‰ 'internal' ๅญ˜ๅ–็ฏ„ๅœใ€‚{1} - {1} is details about which type/containing type is not accessible - - - For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. - ๅฐๆ–ผไพ†ๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆด็š„้กžๅž‹๏ผŒ็”ข็”Ÿ็š„ๅ‡ฝๅผๆŒ‡ๆจ™ๅฐ‡ไพ่ณดๅŸบ็คŽๅŸท่กŒ้šŽๆฎตไพ†ๅฐ้€่™•็†ๆŒ‡ๅฎš็š„้กžๅž‹ใ€‚ - - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. - ๆฅๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆด้กžๅž‹ '{0}'ใ€‚็”ข็”Ÿ็š„ๆฅๆบๅฐ‡ไธๆœƒ่™•็†ๅƒๆ•ธ '{1}' ็š„ๅฐ้€่™•็†ใ€‚ - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} ็”ข็”Ÿ็š„ๆฅๆบๅฐ†ไธๆœƒ่™•็†ๅƒๆ•ธ '{1}' ็š„ๆŽ’ๅˆ—ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. - ๆฅๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆด้กžๅž‹ '{0}'ใ€‚็”ข็”Ÿ็š„ไพ†ๆบๅฐ‡ไธๆœƒ่™•็†ๆ–นๆณ• '{1}' ็š„ๅ‚ณๅ›žๅ€ผไน‹ๅฐ้€่™•็†ใ€‚ - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} ็”ข็”Ÿ็š„ไพ†ๆบๅฐ‡ไธๆœƒ่™•็†ๆ–นๆณ• '{1}' ไน‹ๅ‚ณๅ›žๅ€ผ็š„ๆŽ’ๅˆ—ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated COM - ๆฅๆบ็”ข็”Ÿ็š„ COM ไธๆ”ฏๆดๆŒ‡ๅฎš็š„้กžๅž‹ใ€‚ - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - ๅทฒๆไพ›ไธๅฟ…่ฆ็š„ๅฐ้€่ณ‡่จŠใ€‚ๆ‚จๅฏไปฅ็งป้™คๆญคๅฐ้€่ณ‡่จŠ๏ผŒ่€Œไธๆœƒๅฐๆ‡‰็”จ็จ‹ๅผ้€ฒ่กŒไปปไฝ•่กŒ็‚บ่ฎŠๆ›ดใ€‚ - - - - Unnecessary marshalling info was provided and can be removed. - ๅทฒๆไพ›ไธๅฟ…่ฆ็š„ๅฐ้€่ณ‡่จŠ๏ผŒ่€Œไธ”ๅฏไปฅ็งป้™คใ€‚ - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - ๅทฒ็‚บๅƒๆ•ธ '{1}' ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€่ณ‡่จŠ '{0}' - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - ๅทฒ็‚บๆ–นๆณ• '{1}' ็š„ๅ‚ณๅ›ž้กžๅž‹ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€่ณ‡่จŠ '{0}' - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/Strings.resx b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/Strings.resx similarity index 56% rename from src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/Strings.resx rename to src/libraries/System.Runtime.InteropServices/gen/Common/Resources/Strings.resx index 2e528def1c88f..f03a1e31d3e59 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/Strings.resx +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/Strings.resx @@ -117,18 +117,129 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + The provided graph has cycles and cannot be topologically sorted. + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + Count information for a given element at a given indirection level can only be specified once + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + Containing type '{0}' has accessibility '{1}'. + + + '{0}' has accessibility '{1}'. + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + Add missing custom type marshaller members + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + Analysis for COM interface generation has failed. + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + The base COM interface failed to generate source. Code will not be generated for this interface. + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. @@ -138,36 +249,105 @@ Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + Source-generated P/Invokes will ignore any configuration that is not supported. - + + Source-generated COM will ignore any configuration that is not supported. + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - + + The specified marshalling configuration is not supported by source-generated COM. {0}. + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + Specified configuration is not supported by source-generated P/Invokes. + + Specified configuration is not supported by source-generated COM. + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + Convert to 'GeneratedComInterface' and allow unsafe code + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + Convert to 'GeneratedComInterface' + Convert to 'LibraryImport' + + Convert to 'LibraryImport' and enable unsafe code + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time @@ -177,42 +357,56 @@ Convert to 'LibraryImport' with '{0}' suffix - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + Marshaller type does not have the required shape - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + A marshaller for an element scenario cannot be stateful. - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - - Invalid 'LibraryImportAttribute' usage + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + An entry-point type for marshalling a given type must not be 'null'. - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - {1} is a message containing additional details about what is not valid + + The entry-point marshaller type for the type '{0}' must be not 'null' - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + The first parameter of the first method must be the same type as the return types of the second method. - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + The first parameters of the two methods must be the same type. + + + The first parameter of '{0}' and '{1}' must be the same type + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. @@ -220,144 +414,150 @@ The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - - The unmanaged type for a custom marshaller must be a C# unmanaged type. + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported - - The return type of '{0}' must be unmanaged + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. - - An entry-point type for marshalling a given type must not be 'null'. + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - - The entry-point marshaller type for the type '{0}' must be not 'null' + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. - - The managed type for a custom marshaller must be non-null. + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. - - The managed type for the entry-point marshaller type '{0}' must not be 'null' + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + Invalid 'CustomMarshallerAttribute' usage - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the method + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. - - Specified type is not supported by source-generated P/Invokes + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + Invalid 'GeneratedComClassAttribute' usage - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + Invalid 'GeneratedComInterfaceAttribute' usage. - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + Invalid 'LibraryImportAttribute' usage - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + Specified managed type is invalid - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + Specified marshaller type is invalid - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + Invalid 'MarshalMode' value. - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + Invalid 'NativeMarshallingAttribute' usage - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + The specified 'ComInterfaceOptions' are invalid. - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + Marshaller type has incompatible method signatures - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - - Add missing custom type marshaller members + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. @@ -365,41 +565,53 @@ The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - - Marshaller type does not have the required shape + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - - Invalid 'CustomMarshallerAttribute' usage + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - - Invalid 'NativeMarshallingAttribute' usage + + The managed type for a custom marshaller must be non-null. - - Specified marshaller type is invalid + + The managed type for the entry-point marshaller type '{0}' must not be 'null' - - Specified managed type is invalid + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - - Marshaller type has incompatible method signatures + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. @@ -413,63 +625,93 @@ The type '{0}' must be a static class or a value type - - The return types of the two methods must be the same type. + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - - The return type of '{0}' must be the same type as the return type of '{1}' + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - - The return type the two method must be the expected type. + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - - The return type of '{0}' must be '{1}' + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. - - The first parameter of the first method must be the same type as the return types of the second method. + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute - - The first parameter of '{0}' must be the same type as the return type of '{1}' + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. - - The first parameters of the two methods must be the same type. + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. - - The first parameter of '{0}' and '{1}' must be the same type + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. - - A marshaller for an element scenario cannot be stateful. + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + LibraryImportAttribute requires unsafe code. + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + The return type the two method must be the expected type. + + + The return type of '{0}' must be '{1}' + + + The return types of the two methods must be the same type. + + + The return type of '{0}' must be the same type as the return type of '{1}' + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. @@ -482,32 +724,115 @@ The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - - Convert to 'LibraryImport' and enable unsafe code + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - - Invalid 'MarshalMode' value. + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + The return type of '{0}' must be unmanaged + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + + + Specified type is not supported by source-generated COM Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. @@ -516,9 +841,43 @@ Unnecessary marshalling info was provided and can be removed. - Unnecessary marshalling info '{0}' was provided for parameter '{1}' + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + [In] and [Out] attributes + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + '[In]' and '[Out]' attributes are not supported on this type. + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.cs.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.cs.xlf new file mode 100644 index 0000000000000..4f377c3a4a843 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.cs.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.de.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.de.xlf new file mode 100644 index 0000000000000..412c5af9bb0f9 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.de.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.es.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.es.xlf new file mode 100644 index 0000000000000..185a49b88f681 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.es.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.fr.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.fr.xlf new file mode 100644 index 0000000000000..de8f498b3a76b --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.fr.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.it.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.it.xlf new file mode 100644 index 0000000000000..1307f14e4ed26 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.it.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ja.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ja.xlf new file mode 100644 index 0000000000000..6a028640bb3b5 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ja.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ko.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ko.xlf new file mode 100644 index 0000000000000..2f64e3ede09a9 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ko.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pl.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pl.xlf new file mode 100644 index 0000000000000..dd91f2c9516e4 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pl.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pt-BR.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pt-BR.xlf new file mode 100644 index 0000000000000..2b4cb2c89e99f --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.pt-BR.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ru.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ru.xlf new file mode 100644 index 0000000000000..45a72e1a63c33 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.ru.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.tr.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.tr.xlf new file mode 100644 index 0000000000000..a64905e2c7668 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.tr.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hans.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hans.xlf new file mode 100644 index 0000000000000..bf4454c10f650 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hans.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hant.xlf b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hant.xlf new file mode 100644 index 0000000000000..fc78bfda59b5c --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf/Strings.zh-Hant.xlf @@ -0,0 +1,1264 @@ +๏ปฟ + + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM and allow unsafe code + + + + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + This type implements at least one type with the 'GeneratedComInterfaceAttribute' attribute. Add the 'GeneratedComClassAttribute' to enable passing this type to COM and exposing the COM interfaces for the types with the 'GeneratedComInterfaceAttribute' from objects of this type. + + + + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + Add the 'GeneratedComClassAttribute' to '{0}' to enable passing objects of type '{0}' to COM + + + + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + Add 'GeneratedComClassAttribute' to enable passing objects of this type to COM + + + + Add missing custom type marshaller members + Add missing custom type marshaller members + + + + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + The analysis required to generate code for this interface or method has failed due to an unexpected code pattern. If you are using new or unconventional syntax, consider using other syntax. + + + + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + Analysis of interface '{0}' has failed. ComInterfaceGenerator will not generate code for this interface. + + + + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + Analysis of method '{0}' has failed. ComInterfaceGenerator will not generate code for this method. + + + + Analysis for COM interface generation has failed. + Analysis for COM interface generation has failed. + + + + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. + + + + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + COM interface source generation requires all base COM interfaces to be valid interfaces. Fix any issues on the base interface to resolve this diagnostic. + + + + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + COM interface {0} inherits from {1}, which has errors. ComInterfaceGenerator will not generate source for {0}. + + + + The base COM interface failed to generate source. Code will not be generated for this interface. + The base COM interface failed to generate source. Code will not be generated for this interface. + + + + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + A 'GeneratedComInterface' cannot specify 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' unless the base interface type did not specify options or specified at least the same options. + + + + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' + + + + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. + + + + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded + + + + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + Casting between a 'ComImport' type and a source-generated COM type is not supported and will fail at runtime + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + Casting between a 'ComImport' type and a source-generated COM type is not supported + Casting between a 'ComImport' type and a source-generated COM type is not supported + + + + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + A class with 'GeneratedComClassAttribute' must implement at least one interface with 'GeneratedComInterfaceAttribute' or else the generated code with not have an effect. + + + + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + Class '{0}' with 'GeneratedComClassAttribute' does not implement any interfaces with 'GeneratedComInterfaceAttribute'. Source will not be generated for '{0}'. + + + + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. + + + + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + .NET COM hosting with 'EnableComHosting' only supports built-in COM interop. It does not support source-generated COM interop with 'GeneratedComInterfaceAttribute'. + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute'. Change any COM exposed interfaces implemented by '{0}' to use the 'System.Runtime.InteropServices.ComVisibleAttribute' instead + + + + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + .NET COM hosting with 'EnableComHosting' does not support interfaces with the 'GeneratedComInterfaceAttribute' + + + + Source-generated COM will ignore any configuration that is not supported. + Source-generated COM will ignore any configuration that is not supported. + + + + Source-generated P/Invokes will ignore any configuration that is not supported. + Source-generated P/Invokes will ignore any configuration that is not supported. + + + + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The '{0}' configuration is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified marshalling configuration is not supported by source-generated COM. {0}. + The specified marshalling configuration is not supported by source-generated COM. {0}. + + + + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified value '{0}' for '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. + + + + Specified configuration is not supported by source-generated COM. + Specified configuration is not supported by source-generated COM. + + + + Specified configuration is not supported by source-generated P/Invokes. + Specified configuration is not supported by source-generated P/Invokes. + + + + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' + + + + Containing type '{0}' has accessibility '{1}'. + Containing type '{0}' has accessibility '{1}'. + + + + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + Converting this interface to use 'GeneratedComInterfaceAttribute' may produce invalid code and may require additional work + + + + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code + + + + Convert to 'GeneratedComInterface' and allow unsafe code + Convert to 'GeneratedComInterface' and allow unsafe code + + + + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Use 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'GeneratedComInterfaceAttribute' will require additional code to provide custom marshallers for some parameters. + + + + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + Mark the type '{0}' with 'GeneratedComInterfaceAttribute' instead of 'ComImportAttribute' to generate COM marshalling code at compile time + + + + Convert to 'GeneratedComInterface' + Convert to 'GeneratedComInterface' + + + + Convert to 'LibraryImport' + Convert to 'LibraryImport' + + + + Convert to 'LibraryImport' and enable unsafe code + Convert to 'LibraryImport' and enable unsafe code + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. + + + + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time + + + + Convert to 'LibraryImport' with '{0}' suffix + Convert to 'LibraryImport' with '{0}' suffix + + + + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code + + + + Marshaller type does not have the required shape + Marshaller type does not have the required shape + + + + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + This element cannot depend on '{0}' for collection size information without creating a dependency cycle + + + + Count information for a given element at a given indirection level can only be specified once + Count information for a given element at a given indirection level can only be specified once + + + + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} + + + + A marshaller for an element scenario cannot be stateful. + A marshaller for an element scenario cannot be stateful. + + + + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' + + + + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. + + + + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. + + + + An entry-point type for marshalling a given type must not be 'null'. + An entry-point type for marshalling a given type must not be 'null'. + + + + The entry-point marshaller type for the type '{0}' must be not 'null' + The entry-point marshaller type for the type '{0}' must be not 'null' + + + + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. + + + + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type + + + + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection + + + + The first parameter of the first method must be the same type as the return types of the second method. + The first parameter of the first method must be the same type as the return types of the second method. + + + + The first parameter of '{0}' must be the same type as the return type of '{1}' + The first parameter of '{0}' must be the same type as the return type of '{1}' + + + + The first parameters of the two methods must be the same type. + The first parameters of the two methods must be the same type. + + + + The first parameter of '{0}' and '{1}' must be the same type + The first parameter of '{0}' and '{1}' must be the same type + + + + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. + + + + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. + + + + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable + + + + The provided graph has cycles and cannot be topologically sorted. + The provided graph has cycles and cannot be topologically sorted. + + + + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + The '[In]' attribute is not supported unless the '[Out]' attribute is also used. Blittable arrays cannot be marshalled as '[In]' only. + + + + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + The '[In]' attribute is not necessary unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. + + + + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + This parameter is marshalled by pinning and does not support the '[In]' attribute without the '[Out]' attribute. + + + + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. + + + + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. + + + + [In] and [Out] attributes + [In] and [Out] attributes + + + + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + The 'in' keyword is not supported on parameters that are marshalled by pinning. Use 'ref' or 'out' instead. + + + + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + Events are not a concept in COM, so no interop code will be source generated for instance events on source-generated COM interfaces. + + + + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance event '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance event in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + Properties are not a concept in COM, so no interop code will be source generated for instance properties on source-generated COM interfaces. + + + + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + The instance property '{0}' is declared in the interface '{1}', which has the 'GeneratedComInterfaceAttribute' applied + + + + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + Declaring an instance property in a type with the 'GeneratedComInterfaceAttribute' is not supported + + + + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + Using 'GeneratedComInterfaceAttribute' and 'InterfaceTypeAttribute' is not supported with 'ComInterfaceType' value '{0}'. + + + + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + 'GeneratedComInterfaceType' does not support the 'ComInterfaceType' value supplied to 'InterfaceTypeAttribute' on the same type. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. COM source generation will ignore method '{0}'. + + + + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. + + + + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + Containing type of method with VirtualMethodIndexAttribute does not have a UnmanagedObjectUnwrapperAttribute. + + + + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + Methods on interfaces marked with 'GeneratedComInterfaceAttribute' should be non-generic. COM source generation will ignore methods that are generic. + + + + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. + + + + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + Method '{0}' should be non-generic when on interfaces marked with the 'GeneratedComInterfaceAttribute'. COM source generation will ignore method '{0}'. + + + + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. + + + + Invalid 'CustomMarshallerAttribute' usage + Invalid 'CustomMarshallerAttribute' usage + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' is invalid. + + + + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'ExceptionMarshalling' and 'ExceptionMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + 'ExceptionMarshallingCustomType' must be specified when 'ExceptionMarshalling' is set to 'ExceptionMarshalling.Custom'. + + + + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + 'ExceptionMarshalling' should be set to 'ExceptionMarshalling.Custom' when 'ExceptionMarshallingCustomType' is specified. + + + + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + The provided value is not a known flag of the 'ExceptionMarshalling' enum. + + + + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + Classes with 'GeneratedComClassAttribute' must implement one or more interfaces with 'GeneratedComInterfaceAttribute', be marked partial, and be non-generic. + + + + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + Class '{0}' with 'GeneratedComClassAttribute' or one of its containing types is not marked 'partial'. + + + + Invalid 'GeneratedComClassAttribute' usage + Invalid 'GeneratedComClassAttribute' usage + + + + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + Interfaces attributed with 'GeneratedComInterfaceAttribute' must have 'public' or 'internal' accessibility and be partial, non-generic, and must specify a GUID with 'System.Runtime.InteropServices.GuidAttribute'. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is generic. + + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is not accessible by generated code. The interface and all containing types must have accessibility 'internal' or 'public' for generated code to access it. {1} + {1} is details about which type/containing type is not accessible + + + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + Interface '{0}' is attributed with 'GeneratedComInterfaceAttribute' but is missing 'System.Runtime.InteropServices.GuidAttribute'. + + + + Invalid 'GeneratedComInterfaceAttribute' usage. + Invalid 'GeneratedComInterfaceAttribute' usage. + + + + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + The interface '{0}' or one of its containing types is missing the 'partial' keyword. Code will not be generated for '{0}'. + + + + Invalid 'LibraryImportAttribute' usage + Invalid 'LibraryImportAttribute' usage + + + + Specified managed type is invalid + Specified managed type is invalid + + + + Invalid 'MarshalMode' value. + Invalid 'MarshalMode' value. + + + + Specified marshaller type is invalid + Specified marshaller type is invalid + + + + Invalid 'NativeMarshallingAttribute' usage + Invalid 'NativeMarshallingAttribute' usage + + + + The specified 'ComInterfaceOptions' are invalid. + The specified 'ComInterfaceOptions' are invalid. + + + + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + The specified 'ComInterfaceOptions' on '{0}' are invalid. {1} + + + + Marshaller type has incompatible method signatures + Marshaller type has incompatible method signatures + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. + + + + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on interface '{0}' is invalid. {1} + + + + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} + {1} is a message containing additional details about what is not valid + + + Invalid 'VirtualMethodIndexAttribute' usage + Invalid 'VirtualMethodIndexAttribute' usage + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. + + + + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' + + + + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' + + + + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. + + + + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. + + + + The managed type for a custom marshaller must be non-null. + The managed type for a custom marshaller must be non-null. + + + + The managed type for the entry-point marshaller type '{0}' must not be 'null' + The managed type for the entry-point marshaller type '{0}' must not be 'null' + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated COM. If the specified configuration is required, use `ComImport` instead. + + + + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. + + + + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. + + + + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. + + + + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. + + + + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. + + + + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. + + + + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' + + + + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. + + + + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. + + + + The type '{0}' must be a static class or a value type + The type '{0}' must be a static class or a value type + + + + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type + + + + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type + + + + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. + + + + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. + + + + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. + + + + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + All methods must be declared in the same partial definition of a 'GeneratedComInterface'-attributed interface type to ensure reliable calculation for virtual method table offsets. + + + + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + The method '{0}' is declared on a different partial definition of the interface '{1}' than the definition that has the 'GeneratedComInterface' attribute + + + + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + Method is declared in different partial declaration than the 'GeneratedComInterface' attribute. + + + + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + A 'GeneratedComInterfaceAttribute'-attributed interface can only derive from at most one other 'GeneratedComInterfaceAttribute'-attributed interface. + + + + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + Interface '{0}' is derived from two or more interfaces attributed with 'GeneratedComInterfaceAttribute'. + + + + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + Specified interface derives from two or more 'GeneratedComInterfaceAttribute'-attributed interfaces. + + + + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + Either 'ComInterfaceOptions.ManagedObjectWrapper' or 'ComInterfaceOptions.ComObjectWrapper' must be specified. + + + + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + The `[Out]` attribute is only supported on array parameters and parameters marshalled by pinning. Consider using 'out' or 'ref' keywords to make the parameter mutable. + + + + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. + + + + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type + + + + This parameter is marshalled by pinning and is '[In, Out]' by default. + This parameter is marshalled by pinning and is '[In, Out]' by default. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. + + + + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + 'GeneratedComInterfaceAttribute' and 'GeneratedComClassAttribute' require unsafe code. + + + + LibraryImportAttribute requires unsafe code. + LibraryImportAttribute requires unsafe code. + + + + The return type the two method must be the expected type. + The return type the two method must be the expected type. + + + + The return type of '{0}' must be '{1}' + The return type of '{0}' must be '{1}' + + + + The return types of the two methods must be the same type. + The return types of the two methods must be the same type. + + + + The return type of '{0}' must be the same type as the return type of '{1}' + The return type of '{0}' must be the same type as the return type of '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM and will fail at runtime + + + + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + The method '{0}' only supports runtime-based COM interop and will not work with type '{1}' + + + + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + COM Interop APIs on 'System.Runtime.InteropServices.Marshal' do not support source-generated COM + + + + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. + + + + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. + + + + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. + + + + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' + + + + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' + + + + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller + + + + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. + + + + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' + + + + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' + + + + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter + + + + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter + + + + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. + + + + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' + + + + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. + + + + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type + + + + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + The type '{0}' specified as 'GeneratedComInterfaceAttribute.StringMarshallingCustomType' is not accessible by generated code. The type must have at least 'internal' accessibility. {1} + {1} is details about which type/containing type is not accessible + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. + + + + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. + + + + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same + + + + '{0}' has accessibility '{1}'. + '{0}' has accessibility '{1}'. + + + + '[In]' and '[Out]' attributes are not supported on this type. + '[In]' and '[Out]' attributes are not supported on this type. + + + + The unmanaged type for a custom marshaller must be a C# unmanaged type. + The unmanaged type for a custom marshaller must be a C# unmanaged type. + + + + The return type of '{0}' must be unmanaged + The return type of '{0}' must be unmanaged + + + + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. + + + + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method + + + + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated COM, the resulting function pointer will rely on the underlying runtime to marshal the specified type. + + + + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. + + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of parameter '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. + + + + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} The generated source will not handle marshalling of parameter '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the parameter + + + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated COM. The generated source will not handle marshalling of the return value of method '{1}'. + + + + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. + + + + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} The generated source will not handle marshalling of the return value of method '{1}'. + {0} is a message containing additional details about what is not supported +{1} is the name of the method + + + Specified type is not supported by source-generated P/Invokes + Specified type is not supported by source-generated P/Invokes + + + + Specified type is not supported by source-generated COM + Specified type is not supported by source-generated COM + + + + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. + + + + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. + + + + Unnecessary marshalling info was provided and can be removed. + Unnecessary marshalling info was provided and can be removed. + + + + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for parameter '{1}'. {2} + + + + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + Unnecessary marshalling info '{0}' was provided for the return type of method '{1}'. {2} + + + + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters + + + + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters + + + + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter + + + + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter + + + + + \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/GeneratorDiagnostics.cs b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/GeneratorDiagnostics.cs index c3de7263618a1..afab0f9d97815 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/GeneratorDiagnostics.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/GeneratorDiagnostics.cs @@ -2,9 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Diagnostics; using Microsoft.CodeAnalysis; namespace Microsoft.Interop @@ -29,56 +26,62 @@ public class Ids private const string Category = "LibraryImportGenerator"; + /// public static readonly DiagnosticDescriptor InvalidAttributedMethodSignature = new DiagnosticDescriptor( Ids.InvalidLibraryImportAttributeUsage, GetResourceString(nameof(SR.InvalidLibraryImportAttributeUsageTitle)), - GetResourceString(nameof(SR.InvalidAttributedMethodSignatureMessage)), + GetResourceString(nameof(SR.InvalidAttributedMethodSignatureMessageLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.InvalidAttributedMethodDescription))); + description: GetResourceString(nameof(SR.InvalidAttributedMethodDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor InvalidAttributedMethodContainingTypeMissingModifiers = new DiagnosticDescriptor( Ids.InvalidLibraryImportAttributeUsage, GetResourceString(nameof(SR.InvalidLibraryImportAttributeUsageTitle)), - GetResourceString(nameof(SR.InvalidAttributedMethodContainingTypeMissingModifiersMessage)), + GetResourceString(nameof(SR.InvalidAttributedMethodContainingTypeMissingModifiersMessageLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.InvalidAttributedMethodDescription))); + description: GetResourceString(nameof(SR.InvalidAttributedMethodDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor InvalidStringMarshallingConfiguration = new DiagnosticDescriptor( Ids.InvalidLibraryImportAttributeUsage, GetResourceString(nameof(SR.InvalidLibraryImportAttributeUsageTitle)), - GetResourceString(nameof(SR.InvalidStringMarshallingConfigurationMessage)), + GetResourceString(nameof(SR.InvalidStringMarshallingConfigurationMessageLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, description: GetResourceString(nameof(SR.InvalidStringMarshallingConfigurationDescription))); + /// public static readonly DiagnosticDescriptor ParameterTypeNotSupported = new DiagnosticDescriptor( Ids.TypeNotSupported, GetResourceString(nameof(SR.TypeNotSupportedTitle)), - GetResourceString(nameof(SR.TypeNotSupportedMessageParameter)), + GetResourceString(nameof(SR.TypeNotSupportedMessageParameterLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); + description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor ReturnTypeNotSupported = new DiagnosticDescriptor( Ids.TypeNotSupported, GetResourceString(nameof(SR.TypeNotSupportedTitle)), - GetResourceString(nameof(SR.TypeNotSupportedMessageReturn)), + GetResourceString(nameof(SR.TypeNotSupportedMessageReturnLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); + description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor ParameterTypeNotSupportedWithDetails = new DiagnosticDescriptor( Ids.TypeNotSupported, @@ -87,8 +90,9 @@ public class Ids Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); + description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor ReturnTypeNotSupportedWithDetails = new DiagnosticDescriptor( Ids.TypeNotSupported, @@ -97,78 +101,86 @@ public class Ids Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); + description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor ParameterConfigurationNotSupported = new DiagnosticDescriptor( Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.ConfigurationNotSupportedMessageParameter)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), + GetResourceString(nameof(SR.ConfigurationNotSupportedMessageParameterLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor ReturnConfigurationNotSupported = new DiagnosticDescriptor( Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.ConfigurationNotSupportedMessageReturn)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), + GetResourceString(nameof(SR.ConfigurationNotSupportedMessageReturnLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor MarshalAsParameterConfigurationNotSupported = new DiagnosticDescriptor( GeneratorDiagnostics.Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.MarshalAsConfigurationNotSupportedMessageParameter)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), + GetResourceString(nameof(SR.MarshalAsConfigurationNotSupportedMessageParameterLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor MarshalAsReturnConfigurationNotSupported = new DiagnosticDescriptor( GeneratorDiagnostics.Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.MarshalAsConfigurationNotSupportedMessageReturn)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), + GetResourceString(nameof(SR.MarshalAsConfigurationNotSupportedMessageReturnLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor ConfigurationNotSupported = new DiagnosticDescriptor( Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.ConfigurationNotSupportedMessage)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), + GetResourceString(nameof(SR.ConfigurationNotSupportedMessageLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor ConfigurationValueNotSupported = new DiagnosticDescriptor( Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.ConfigurationNotSupportedMessageValue)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), + GetResourceString(nameof(SR.ConfigurationNotSupportedMessageValueLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor MarshallingAttributeConfigurationNotSupported = new DiagnosticDescriptor( Ids.ConfigurationNotSupported, - GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), - GetResourceString(nameof(SR.ConfigurationNotSupportedMessageMarshallingInfo)), + GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), + GetResourceString(nameof(SR.ConfigurationNotSupportedMessageMarshallingInfoLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); + description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor CannotForwardToDllImport = new DiagnosticDescriptor( Ids.CannotForwardToDllImport, @@ -179,16 +191,18 @@ public class Ids isEnabledByDefault: true, description: GetResourceString(nameof(SR.CannotForwardToDllImportDescription))); + /// public static readonly DiagnosticDescriptor RequiresAllowUnsafeBlocks = new DiagnosticDescriptor( Ids.RequiresAllowUnsafeBlocks, - GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksTitle)), - GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksMessage)), + GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksTitleLibraryImport)), + GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksMessageLibraryImport)), Category, DiagnosticSeverity.Error, isEnabledByDefault: true, - description: GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksDescription))); + description: GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksDescriptionLibraryImport))); + /// public static readonly DiagnosticDescriptor UnnecessaryParameterMarshallingInfo = new DiagnosticDescriptor( Ids.UnnecessaryMarshallingInfo, @@ -202,6 +216,8 @@ public class Ids { WellKnownDiagnosticTags.Unnecessary }); + + /// public static readonly DiagnosticDescriptor UnnecessaryReturnMarshallingInfo = new DiagnosticDescriptor( Ids.UnnecessaryMarshallingInfo, diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/LibraryImportGenerator.csproj b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/LibraryImportGenerator.csproj index bb29734d33611..9ea25fd251a36 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/LibraryImportGenerator.csproj +++ b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/LibraryImportGenerator.csproj @@ -10,6 +10,7 @@ Diagnostics in runtime use a different mechanism (docs/project/list-of-diagnostics.md) --> RS2008;RS1038;$(NoWarn) cs + ../Common/Resources/Strings.resx diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.cs.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.cs.xlf deleted file mode 100644 index 21887710a9baf..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.cs.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - Pล™idat chybฤ›jรญcรญ vlastnรญ typu zaล™azovacรญch ฤlenลฏ - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Pokud se obrazec โ€žZe spravovanรฝch na nespravovanรฉ s vyrovnรกvacรญ pamฤ›tรญ pล™idฤ›lenou volajรญcรญmuโ€œ pouลพรญvรก metodou FromManaged, kterรก pล™ebรญrรก Span<T> u zaล™azovacรญho typu, musรญ typ poskytovat statickou vlastnost BufferSize, kterรก urฤuje poฤet elementลฏ ve vyrovnรกvacรญ pamฤ›ti pล™idฤ›lenรฉ volajรญcรญmu. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - Zaล™azovacรญ typ {0} musรญ obsahovat statickou celoฤรญselnou vlastnost BufferSize urฤenou jen pro ฤtenรญ, kterรก urฤuje velikost vyrovnรกvacรญ pamฤ›ti pล™idฤ›lenรฉ volajรญcรญmu, protoลพe obsahuje metodu FromManaged, kterรก pล™ebรญrรก Span<{1}> pล™idฤ›lenรฝ volajรญcรญmu. - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - Vygenerovanรฝ atribut DllImportAttribute nebude mรญt hodnotu odpovรญdajรญcรญ {0}. - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - {0} nemรก ลพรกdnรฝ ekvivalent v DllImportAttribute a nepล™esmฤ›ruje se - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - Urฤenรฉ argumenty LibraryImportAttribute nelze pล™esmฤ›rovat do DllImportAttribute - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - Zdrojem generovanรก volรกnรญ P/Invokes budou ignorovat vลกechny nepodporovanรฉ konfigurace. - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Konfigurace {0} nenรญ podporovรกna zdrojovฤ› generovanรฝmi volรกnรญmi P/Invoke. Pokud je zadanรก konfigurace povinnรก, pouลพijte mรญsto toho normรกlnรญ DllImport. - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - Urฤenou konfiguraci zaล™azovรกnรญ nepodporujรญ zdrojem generovanรก volรกnรญ P/Invokes. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Zadanรก konfigurace {0} pro parametr {1} nenรญ podporovรกna zdrojovฤ› generovanรฝmi volรกnรญmi P/Invoke. Pokud je zadanรก konfigurace povinnรก, pouลพijte mรญsto toho normรกlnรญ DllImport. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Zadanรก konfigurace {0} pro nรกvratovou hodnotu metody{1} nenรญ podporovรกna volรกnรญmi P/Invoke generovanรฝmi zdrojem. Pokud je zadanรก konfigurace povinnรก, pouลพijte mรญsto toho normรกlnรญ DllImport. - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - Zadanรก hodnota {0} pro {1} nenรญ podporovรกna zdrojovฤ› generovanรฝmi volรกnรญmi P/Invoke. Pokud je zadanรก hodnota povinnรก, pouลพijte mรญsto toho normรกlnรญ DllImport. - - - - Specified configuration is not supported by source-generated P/Invokes. - Urฤenou konfiguraci nepodporujรญ zdrojem generovanรก volรกnรญ P/Invokes. - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - Automatickรก konverze volรกnรญ P/Invoke s PreserveSig nastavenรฝm na hodnotu False na zdrojem generovanรฉ volรกnรญ P/Invoke mลฏลพe mรญt za nรกsledek neplatnรฝ kรณd. - - - - Convert to 'LibraryImport' - Pล™evรฉst na LibraryImport - - - - Convert to 'LibraryImport' and enable unsafe code - Pล™evรฉst na LibraryImport a povolit nebezpeฤnรฝ kรณd - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - K vygenerovรกnรญ kรณdu zaล™azovรกnรญ P/Invoke v dobฤ› kompilace pouลพijte LibraryImportAttribute mรญsto DllImportAttribute - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - Pล™evod tohoto rozhranรญ API na LibraryImport bude vyลพadovat dalลกรญ kรณd, kterรฝ poskytne vlastnรญ zaล™azovaฤe pro nฤ›kterรฉ parametry. - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Oznaฤit metodu {0} pomocรญ LibraryImportAttribute mรญsto DllImportAttribute, aby doลกlo k vygenerovรกnรญ kรณdu zaล™azovรกnรญ volรกnรญ P/Invoke za kompilace. - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - K vygenerovรกnรญ kรณdu zaล™azovรกnรญ P/Invoke v dobฤ› kompilace pouลพijte LibraryImportAttribute mรญsto DllImportAttribute - - - - Convert to 'LibraryImport' with '{0}' suffix - Pล™evรฉst na LibraryImport s pล™รญponou {0} - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - Pล™evรฉst na LibraryImport s pล™รญponou {0} a povolit nebezpeฤnรฝ kรณd - - - - Marshaller type does not have the required shape - Zaล™azovacรญ typ nemรก poลพadovanรฝ tvar - - - - A marshaller for an element scenario cannot be stateful. - Zaล™azovaฤ pro scรฉnรกล™ elementu nemลฏลพe bรฝt stavovรฝ. - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - Zadanรฝ zaล™azovacรญ typ {0} je stavovรฝ zaล™azovaฤ, ale stavovรฉ zaล™azovaฤe nejsou v poskytnutรฉm reลพimu zaล™azovรกnรญ {1} povolenรฉ. - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - Typ elementu span vrรกcenรฝ prvnรญ metodou musรญ bรฝt stejnรฉho typu jako typ elementu rozsahu vrรกcenรฉho druhou metodou. - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - Typ elementu span vrรกcenรฝ {0} musรญ bรฝt stejnรฉho typu jako typ elementu rozsahu vrรกcenรฉho {1}. - - - - An entry-point type for marshalling a given type must not be 'null'. - Typ vstupnรญho bodu pro zaล™azovรกnรญ danรฉho typu nesmรญ nabรฝvat hodnoty null. - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - Zaล™azovacรญ typ vstupnรญho bodu pro typ {0} nesmรญ nabรฝvat hodnoty null. - - - - The first parameter of the first method must be the same type as the return types of the second method. - Prvnรญ parametr prvnรญ metody musรญ bรฝt stejnรฉho typu jako nรกvratovรฉ typy druhรฉ metody. - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - Prvnรญ parametr {0} musรญ bรฝt stejnรฉho typu jako nรกvratovรฝ typ {1} - - - - The first parameters of the two methods must be the same type. - Prvnรญ parametry tฤ›chto dvou metod musรญ bรฝt stejnรฉho typu. - - - - The first parameter of '{0}' and '{1}' must be the same type - Prvnรญ parametr {0} a {1} musรญ bรฝt stejnรฉho typu. - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - Pล™etรญลพenรญ metody FromUnmanaged nenรญ podporovรกno, protoลพe nฤ›kterรฉ obrazce nedokรกลพou rozliลกit mezi pล™etรญลพenรญmi. - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - Typ {0} pล™etรญลพรญ metodu FromUnmanaged, kterรก se ve vlastnรญch zaล™azovรกnรญch nepodporuje. - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - Nรกvratovรฝ typ GetPinnableReference (kdyลพ se vezme v รบvahu โ€žrefโ€œ) musรญ bรฝt pล™enositelnรฝ. - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - Odkazovanรฝ typ nรกvratovรฉho typu GetPinnableReference musรญ bรฝt pล™enositelnรฝ - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - Metoda {0} je obsaลพena v typu {1}, kterรฝ nenรญ oznaฤen jako โ€žpartialโ€œ. Generovรกnรญ zdrojลฏ volรกnรญ P/Invoke bude metodu {0} ignorovat. - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - Metody oznaฤenรฉ atributem LibraryImportAttribute by mฤ›ly bรฝt typu โ€žstaticโ€œ, โ€žpartialโ€œ a non-generic. Generovรกnรญ zdrojลฏ volรกnรญ P/Invoke bude ignorovat metody typu non-โ€žstaticโ€œ, non-โ€žpartialโ€œ a generic. - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - Metoda {0} by mฤ›la mรญt vlastnost โ€žstaticโ€œ, โ€žpartialโ€œ a non-generic, kdyลพ je oznaฤena atributem LibraryImportAttribute. Generovรกnรญ zdroje volรกnรญm P/Invoke bude metodu {0} ignorovat. - - - - Invalid 'CustomMarshallerAttribute' usage - Neplatnรฉ pouลพitรญ CustomMarshaattribute - - - - Invalid 'LibraryImportAttribute' usage - Neplatnรฉ pouลพitรญ LibraryImportAttribute - - - - Specified managed type is invalid - Zadanรฝ spravovanรฝ typ je neplatnรฝ - - - - Invalid 'MarshalMode' value. - Neplatnรก hodnota โ€žMarshalModeโ€œ. - - - - Specified marshaller type is invalid - Zadanรฝ zaล™azovacรญ typ je neplatnรฝ - - - - Invalid 'NativeMarshallingAttribute' usage - Neplatnรฉ pouลพitรญ NativeMars telemetringAttribute - - - - Marshaller type has incompatible method signatures - Zaล™azovacรญ typ mรก nekompatibilnรญ signatury metod - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - Konfigurace StringMarshalling a StringMarshallingCustomType je neplatnรก. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - Konfigurace StringMarshalling a StringMarshallingCustomType u metody {0} je neplatnรก. {1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - StringMarshallingCustomType musรญ bรฝt urฤenรฝ, pokud je StringMarshalling nastavenรฝ na StringMarshalling.Custom. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - StringMarshalling by mฤ›l bรฝt nastavenรฝ na StringMarshalling.Custom, kdyลพ je pokud je urฤenรฝ StringMarshallingCustomType. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - Typ prvku ReadOnlySpan vrรกcenรฝ GetManagedValuesSource musรญ bรฝt stejnรฝ, jako typ prvku vrรกcenรฝ GetManagedValuesDestination. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - Typ prvku ReadOnlySpan vrรกcenรฝ GetManagedValuesSource musรญ bรฝt stejnรฝ, jako typ prvku vrรกcenรฝ GetManagedValuesDestination - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - Nativnรญ typ druhu LinearCollection, kterรฝ podporuje funkci CallerAllocatedBuffer musรญ poskytovat tล™รญparametrovรฝ konstruktor pล™ebรญrajรญcรญ spravovanรฝ prvek jako prvnรญ parametr, โ€žSpan<byte>โ€œ jako druhรฝ parametr a nativnรญ velikost prvku jako tล™etรญ parametr - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - Typ {0} konkrรฉtnฤ› urฤuje, ลพe podporuje zaล™azovรกnรญ โ€žInโ€œ s funkcรญ CallerAllocatedBuffer pro {1}, ale neposkytuje tล™รญparametrovรฝ konstruktor, kterรฝ pล™ebรญrรก {1}, โ€žSpan<byte>โ€œ a โ€žintโ€œ - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - Souvislรฝ zaล™azovacรญ modul kolekce, kterรฝ podporuje zaล™azovรกnรญ ze spravovanรฉho do nespravovanรฉho, musรญ poskytovat metodu GetManagedValuesSource, kterรก vracรญ metodu ReadOnlySpan<> a GetUnmanagedValuesDestination, kterรก vracรญ hodnotu Span<>. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1}, ale neposkytuje metodu GetManagedValuesSource, kterรก vracรญ metodu ReadOnlySpan<> a GetUnmanagedValuesDestination, kterรก vracรญ Span<>. - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - Souvislรฝ zaล™azovacรญ modul kolekce, kterรฝ podporuje zaล™azovรกnรญ z nespravovanรฉho do spravovanรฉho, musรญ poskytovat metodu GetManagedValuesDestination, kterรก pล™ijรญmรก int a vracรญ metodu Span<> a GetUnmanagedValuesSource, kterรก pล™ijรญmรก int a vracรญ readOnlySpan<>. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1}, ale neposkytuje metodu GetManagedValuesDestination, kterรก pล™ijรญmรก int a vracรญ metodu Span<> a GetUnmanagedValuesSource, kterรก pล™ijรญmรก int a vracรญ readOnlySpan<> - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - Zaล™azovacรญ typ musรญ bรฝt uzavล™enรฝ obecnรฝ typ nebo mรญt stejnรฝ poฤet obecnรฝch parametrลฏ jako spravovanรฝ typ, aby generรกtor mohl urฤit, kterรฉ metody jsou dostupnรฉ u konkrรฉtnรญch zaล™azovacรญch typลฏ. - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - Spravovanรฝ typ {0} pro zaล™azovacรญ typ vstupnรญho bodu {1} musรญ bรฝt uzavล™enรฝ obecnรฝ typ, mรญt stejnou aritu jako spravovanรฝ typ, pokud se jednรก o zaล™azovรกnรญ hodnot, nebo mรญt jeden dalลกรญ obecnรฝ parametr, pokud se jednรก o zaล™azovรกnรญ kolekcรญ. - - - - The managed type for a custom marshaller must be non-null. - Spravovanรฝ typ vlastnรญho zaล™azovรกnรญ nesmรญ nabรฝvat hodnoty null. - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - Spravovanรฝ typ pro zaล™azovacรญ typ vstupnรญho bodu {0} nesmรญ nabรฝvat hodnoty null. - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Zadanรก konfigurace atributu MarshalAsAttribute pro parametr {1} nenรญ podporovanรก volรกnรญmi P/Invoke generovanรฝmi zdrojem. Pokud je zadanรก konfigurace povinnรก, pouลพijte mรญsto toho normรกlnรญ DllImport. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Zadanรก konfigurace atributu MarshalAsAttribute pro nรกvratovou hodnotu metody {1} nenรญ podporovanรก volรกnรญmi P/Invoke generovanรฝmi zdrojem. Pokud je zadanรก konfigurace povinnรก, pouลพijte mรญsto toho normรกlnรญ DllImport. - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - Argument marshalMode atributu โ€žCustomMarshaattributeโ€œ musรญ bรฝt platnรก hodnota vรฝฤtu MarshalMode. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Zaล™azovacรญ typ musรญ bรฝt uzavล™enรฝ obecnรฝ typ nebo mรญt stejnรฝ poฤet obecnรฝch parametrลฏ jako spravovanรฝ typ, aby mohl vygenerovanรฝ kรณd pouลพรญt konkrรฉtnรญ vytvoล™enรญ instance. - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - Zaล™azovacรญ typ {0}, na kterรฝ odkazuje zaล™azovacรญ typ vstupnรญho bodu {1}, musรญ bรฝt uzavล™enรฝ obecnรฝ typ nebo mรญt stejnou aritu jako spravovanรฝ typ. - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - Parametr marshallerType v atributu System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute nemลฏลพe nabรฝvat hodnoty null. - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - Parametr marshallerType v atributu System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute nemลฏลพe nabรฝvat hodnoty null. - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - Typ zaล™azovaฤe musรญ bรฝt bezstavovรก statickรก tล™รญda nebo stavovรฝ typ hodnoty. Nestatickรก tล™รญda nenรญ povolena. - - - - The type '{0}' must be a static class or a value type - Typ {0} musรญ bรฝt statickรก tล™รญda nebo typ hodnoty. - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - Typ s atributem System.Runtime.InteropServices.CustomMarshallerAttribute musรญ urฤovat spravovanรฝ typ, kterรฝ nenabรฝvรก hodnoty null. - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - Typ {0} neurฤuje spravovanรฝ typ v atributu System.Runtime.InteropServices.CustomMarshallerAttribute uplatnฤ›nรฉm na tento typ. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Zaล™azovacรญ typ musรญ bรฝt uzavล™enรฝ obecnรฝ typ nebo mรญt stejnรฝ poฤet obecnรฝch parametrลฏ jako spravovanรฝ typ, aby mohl vygenerovanรฝ kรณd pouลพรญt konkrรฉtnรญ vytvoล™enรญ instance. - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - Zaล™azovacรญ typ {0} pro spravovanรฝ typ {1} musรญ bรฝt uzavล™enรฝ obecnรฝ typ, mรญt stejnou aritu jako spravovanรฝ typ, pokud se jednรก o zaล™azovรกnรญ hodnot, nebo mรญt jeden dalลกรญ obecnรฝ parametr, pokud se jednรก o zaล™azovรกnรญ kolekcรญ. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute vyลพaduje nebezpeฤnรฝ kรณd. Projekt se musรญ aktualizovat na hodnotu <AllowUnsafeBlocks>true</AllowUnsafeBlocks>. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute vyลพaduje nebezpeฤnรฝ kรณd. Projekt se musรญ aktualizovat na hodnotu <AllowUnsafeBlocks>true</AllowUnsafeBlocks>. - - - - LibraryImportAttribute requires unsafe code. - LibraryImportAttribute vyลพaduje nebezpeฤnรฝ kรณd. - - - - The return type the two method must be the expected type. - Nรกvratovรฝ typ, kterรฝ obฤ› metody musรญ bรฝt oฤekรกvanรฉho typu. - - - - The return type of '{0}' must be '{1}' - Nรกvratovรฝ typ {0} musรญ bรฝt {1} - - - - The return types of the two methods must be the same type. - Nรกvratovรฉ typy tฤ›chto dvou metod musรญ bรฝt stejnรฉho typu. - - - - The return type of '{0}' must be the same type as the return type of '{1}' - Nรกvratovรฝ typ {0} musรญ bรฝt stejnรฉho typu jako nรกvratovรฝ typ {1} - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - Stavovรฝ zaล™azovaฤ musรญ mรญt instanฤnรญ metodu s nรกzvem Free, kterรก nemรก ลพรกdnรฉ parametry a vracรญ void. - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - Typ {0} je stavovรฝ zaล™azovaฤ a nemรก instanฤnรญ metodu s nรกzvem Free, kterรก je bez parametrลฏ a vracรญ void. - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - Stavovรฝ zaล™azovaฤ, kterรฝ podporuje zaล™azovรกnรญ ze spravovanรฉho do nespravovanรฉho, musรญ poskytovat instanฤnรญ metodu FromManaged, kterรก pล™ebรญrรก spravovanou hodnotu jako parametr a vracรญ void. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1} pro {2}, ale neposkytuje instanฤnรญ metodu FromManaged s jednรญm parametrem, kterรก pล™ijรญmรก jako parametr {2} a vracรญ void. - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - Stavovรฝ zaล™azovaฤ, kterรฝ podporuje zaล™azovรกnรญ z nespravovanรฉho do spravovanรฉho, musรญ poskytovat instanฤnรญ metodu FromUnmanaged, kterรก pล™ebรญrรก nespravovanou hodnotu jako parametr a vracรญ void. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1} pro {2}, ale neposkytuje instanฤnรญ metodu FromUnmanaged s jednรญm parametrem, kterรก jako parametr pล™ebรญrรก hodnotu unmanaged a vracรญ void. - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - Stavovรฝ zaล™azovaฤ, kterรฝ podporuje zaล™azovรกnรญ z nespravovanรฉho do spravovanรฉho, musรญ poskytovat instanฤnรญ metodu ToManaged, kterรก nepล™ebรญrรก ลพรกdnรฉ parametry a vracรญ typ managed. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1} pro {2}, ale neposkytuje instanฤnรญ metodu bez parametrลฏ s nรกzvem ToManaged, kterรก vracรญ {2} - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - Stavovรฝ zaล™azovaฤ, kterรฝ podporuje zaล™azovรกnรญ ze spravovanรฉho do nespravovanรฉho, musรญ poskytovat instanฤnรญ metodu ToUnmanaged, kterรก nepล™ebรญrรก ลพรกdnรฉ parametry a vracรญ typ unmanaged. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1} pro {2}, ale neposkytuje instanฤnรญ metodu bez parametrลฏ s nรกzvem ToUnmanaged, kterรก pro zaล™azovaฤ vracรญ typ unmanaged. - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Kdyลพ se pouลพije obrazec Spravovanรฝ na nespravovanรฝ s vyrovnรกvacรญ pamฤ›tรญ pล™idฤ›lenou volajรญcรญm poskytnutรญm metody AllocateContainerForUnmanagedElements, kterรก pล™ebรญrรก span<T> typu zaล™azovaฤe, musรญ typ poskytnout statickou vlastnost BufferSize, aby bylo moลพnรฉ poskytnout poฤet prvkลฏ ve vyrovnรกvacรญ pamฤ›ti pล™idฤ›lenรฉ volajรญcรญm. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - Typ zaล™azovacรญho modulu {0} musรญ mรญt statickou vlastnost BufferSize jen pro ฤtenรญ int, aby bylo moลพnรฉ urฤit velikost vyrovnรกvacรญ pamฤ›ti pล™idฤ›lenรฉ volajรญcรญm, protoลพe mรก metodu AllocateContainerForUnmanagedElements, kterรก pล™ebรญrรก metodu Span<{1}> pล™idฤ›lenou volajรญcรญm. - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Souvislรฝ zaล™azovacรญ modul kolekce, kterรฝ podporuje zaล™azovรกnรญ ze spravovanรฉho do nespravovanรฉho, musรญ poskytovat metodu GetManagedValuesSource, kterรก pล™ebรญrรก spravovanou hodnotu jako parametr a vracรญ metodu ReadOnlySpan<> a GetUnmanagedValuesDestination, kterรก pล™ebรญrรก nespravovanou hodnotu jako parametr a vracรญ hodnotu Span<> - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1}, ale neposkytuje metodu GetManagedValuesSource, kterรก pล™ijรญmรก {2} jako parametr a vracรญ metodu ReadOnlySpan<> a GetUnmanagedValuesDestination, kterรก pล™ebรญrรก nespravovanou hodnotu jako parametr a vracรญ hodnotu Span<> - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - Souvislรฝ zaล™azovacรญ modul kolekce, kterรฝ podporuje zaล™azovรกnรญ z nespravovanรฉho do spravovanรฉho, musรญ poskytovat metodu GetManagedValuesDestination, kterรก pล™ebรญrรก spravovanou hodnotu a vracรญ metodu Span<> a GetUnmanagedValuesSource, kterรก pล™ebรญrรก nespravovanou hodnotu a int a vracรญ readOnlySpan<>. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1}, ale neposkytuje metodu GetManagedValuesDestination, kterรก pล™ijรญmรก {2} a vracรญ metodu Span<> a GetUnmanagedValuesSource, kterรก pล™ebรญrรก nespravovanou hodnotu a int a vracรญ hodnotu ReadOnlySpan<> - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - Bezstavovรฝ zaล™azovacรญ modul kolekce, kterรฝ podporuje zaล™azovรกnรญ ze spravovanรฉho do nespravovanรฉho, musรญ poskytovat metodu AllocateContainerForManagedElements, kterรก pล™ebรญrรก nespravovanรฝ typ jako prvnรญ parametr a poฤet elementลฏ jako parametr int. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1} pro {2}, ale neposkytuje metodu AllocateContainerForManagedElements se dvฤ›ma parametry, kterรก pล™ijรญmรก nespravovanรฝ typ jako prvnรญ parametr a int jako druhรฝ parametr. - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - Bezstavovรฝ zaล™azovacรญ modul kolekce, kterรฝ podporuje zaล™azovรกnรญ ze spravovanรฉho do nespravovanรฉho, musรญ poskytovat metodu AllocateContainerForUnmanagedElements, kterรก pล™ebรญrรก spravovanรฝ typ jako prvnรญ parametr a poskytuje poฤet elementลฏ jako parametr out int. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1} pro {2}, ale neposkytuje metodu AllocateContainerForUnmanagedElements se dvฤ›ma parametry, kterรก jako prvnรญ parametr pล™ijรญmรก {2} a druhรฝ parametr out int. - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - Zaล™azovacรญ modul bezstavovรฉ hodnoty, kterรฝ podporuje zaล™azovรกnรญ z nespravovanรฉho do spravovanรฉho, musรญ poskytovat metodu ConvertToManaged, kterรก pล™ebรญrรก nespravovanรฝ typ jako parametr a vracรญ spravovanรฝ typ. - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1}, ale neposkytuje metodu ConvertToManaged, kterรก pล™ijรญmรก nespravovanรฝ typ jako parametr a vracรญ {2}. - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - Zaล™azovacรญ modul bezstavovรฉ hodnoty, kterรฝ podporuje zaล™azovรกnรญ ze spravovanรฉho do nespravovanรฉho, musรญ poskytovat metodu ConvertToUnmanaged s jednรญm parametrem, kterรก pล™ijรญmรก spravovanou hodnotu jako parametr a vracรญ hodnotu nespravovanรฉho typu. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - Typ {0} urฤuje, ลพe podporuje reลพim zaล™azovรกnรญ {1} pro {2}, ale neposkytuje metodu ConvertToUnmanaged s jednรญm parametrem, kterรก pล™ijรญmรก jako parametr {2} a vracรญ hodnotu nespravovanรฉho typu. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - Nรกvratovรฝ typ ConvertToUnmanaged a typ parametru ConvertToManaged musรญ bรฝt stejnรฉ. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - Nรกvratovรฝ typ ConvertToUnmanaged a typ parametru ConvertToManaged musรญ bรฝt stejnรฉ. - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - Nespravovanรฝ typ vlastnรญho zaล™azovacรญho modulu musรญ bรฝt nespravovanรฝ typ jazyka C#. - - - - The return type of '{0}' must be unmanaged - Nรกvratovรฝ typ {0} musรญ bรฝt nespravovanรฝ. - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - void* musรญ bรฝt pล™etypovatelnรฉ na tento typ, aby pล™ipnutรฝ vรฝsledek statickรฉ metody GetPinnableReference mohl bรฝt po pล™ipnutรญ pล™edรกn nativnรญmu kontextu. - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - void* musรญ bรฝt pล™etypovatelnรฉ na typ {0}, protoลพe spravovanรฝ typ {1} obsahuje statickou metodu GetPinnableReference. - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - Typ vstupnรญho bodu pro zaล™azovรกnรญ danรฉho typu musรญ mรญt atribut System.Runtime.InteropServices.CustomMarshallerAttribute, kterรฝ tento typ urฤuje jako spravovanรฝ typ. - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - Zaล™azovacรญ typ vstupnรญho bodu {0} pro typ {1} musรญ bรฝt typ s nejmรฉnฤ› jednรญm atributem System.Runtime.InteropServices.CustomMarshallerAttribute, kterรฝ tento typ urฤuje jako spravovanรฝ typ. - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - Nativnรญ typ โ€žValueโ€œ nebo druhu LinearCollection podporujรญcรญ zaล™azovรกnรญ ve smฤ›ru โ€žOutโ€œ musรญ poskytovat metodu ToManaged, kterรก vracรญ spravovanรฝ typ. - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - Typ {0}urฤuje, ลพe podporuje zaล™azovรกnรญ ve smฤ›ru โ€žOutโ€œ, ale neposkytuje metodu ToManaged, kterรก vracรญ spravovanรฝ typ - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - Nรกvratovรฝ typ ToUnmanaged a typ parametru FromUnmanaged musรญ bรฝt stejnรฉ. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - Nรกvratovรฝ typ ToUnmanaged a typ parametru FromUnmanaged musรญ bรฝt stejnรฉ. - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - U typลฏ, kterรฉ nejsou podporovรกny zdrojem generovanรฝmi volรกnรญmi P/Invoke, bude vรฝslednรฉ volรกnรญ P/Invoke zรกviset na podkladovรฉm modulu runtime, aby urฤenรฝ typ zaล™adil. - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - Typ {0} nepodporujรญ zdrojem generovanรก volรกnรญ P/Invokes. Vygenerovanรฝ zdroj nebude zpracovรกvat zaล™azovรกnรญ parametru {1}. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} Generovanรฝ zdroj nebude zpracovรกvat zaล™azovรกnรญ parametru {1}. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - Typ {0} nepodporujรญ zdrojem generovanรก volรกnรญ P/Invokes. Vygenerovanรฝ zdroj nebude zpracovรกvat zaล™azovรกnรญ nรกvratovรฉ hodnoty metody {1}. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} Generovanรฝ zdroj nebude zpracovรกvat zaล™azovรกnรญ nรกvratovรฉ hodnoty metody {1}. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - Urฤenรฝ typ nepodporujรญ zdrojem generovanรก volรกnรญ P/Invokes. - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Poskytly se neรบmyslnรฉ informace o zaล™azovรกnรญ. Tyto informace o zaล™azovรกnรญ lze odebrat bez jakรฉkoli zmฤ›ny chovรกnรญ aplikace. - - - - Unnecessary marshalling info was provided and can be removed. - Byly poskytnutรฉ nepotล™ebnรฉ informace o zaล™azovรกnรญ a dajรญ se odebrat. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Byly poskytnuty zbyteฤnรฉ informace o zaล™azovรกnรญ {0} pro parametr {1}. - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Byly poskytnuty zbyteฤnรฉ informace o zaล™azovรกnรญ {0} pro nรกvratovรฝ typ metody {1}. - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - Nativnรญ typ druhu Value, kterรฝ podporuje funkci CallerAllocatedBuffer, musรญ poskytovat dvouparametrovรฝ konstruktor pล™ebรญrajรญcรญ spravovanรฝ prvek a hodnotu Span jako parametry. - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - Typ {0} urฤuje, ลพe podporuje zaล™azovรกnรญ In s funkcรญ CallerAllocatedBuffer pro {1}, ale neposkytuje dvouparametrovรฝ konstruktor, kterรฝ pล™ebรญrรก {1} a Span jako parametry. - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - Nativnรญ typ druhu โ€žValueโ€œ musรญ poskytovat jednoparametrovรฝ konstruktor pล™ebรญrajรญcรญ spravovanรฝ typ jako parametr - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - Typ {0} konkrรฉtnฤ› urฤuje, ลพe podporuje zaล™azovรกnรญ โ€žInโ€œ pro {1}, ale neposkytuje jednoparametrovรฝ konstruktor, kterรฝ pล™ebรญrรก {1} jako parametr - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.de.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.de.xlf deleted file mode 100644 index 13e00bb3c7684..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.de.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - Hinzufรผgen fehlender benutzerdefinierter Marshallermember - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Wenn die Form "Verwaltet bis nicht verwaltet mit Caller-Allocated Buffer" verwendet wird, indem eine Methode "FromManaged" bereitgestellt wird, die eine "Span<T>" fรผr den Marshallertyp akzeptiert, muss der Typ eine statische Eigenschaft "BufferSize" bereitstellen, um die Anzahl von Elementen im vom Aufrufer zugewiesenen Puffer anzugeben. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - Der Marshallertyp "{0}" muss eine statische schreibgeschรผtzte "int"-Eigenschaft "BufferSize" aufweisen, um die GrรถรŸe des vom Aufrufer zugewiesenen Puffers anzugeben, da er eine FromManaged-Methode aufweist, die eine vom Aufrufer zugewiesene "Span<{1}>" akzeptiert - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - Das generierte \"DllImportAttribute\" weist keinen Wert auf, der \"{0}\" entspricht. - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - โ€ž{0}โ€œ hat keine Entsprechung in โ€žDllImportAttributeโ€œ und wird nicht weitergeleitet. - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - Die angegebenen LibraryImportAttribute-Argumente kรถnnen nicht an \"DllImportAttribute\" weitergeleitet werden. - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - Quellgenerierte P/Invokes ignorieren alle Konfigurationen, die nicht unterstรผtzt werden. - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Die Konfiguration โ€ž{0}โ€œ wird von quellengenerierten P/Invokes nicht unterstรผtzt. Wenn die angegebene Konfiguration erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žDllImportโ€œ. - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - Die angegebene Marshallingkonfiguration wird von quellgenerierten P/Invokes nicht unterstรผtzt. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Die angegebene Konfiguration โ€ž{0}โ€œ fรผr den Parameter โ€ž{1}โ€œ wird von quellengenerierten P/Invokes nicht unterstรผtzt. Wenn die angegebene Konfiguration erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žDllImportโ€œ. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Die angegebene Konfiguration โ€ž{0}โ€œ fรผr den Rรผckgabewert der Methode โ€ž{1}โ€œ wird von quellengenerierten P/Invokes nicht unterstรผtzt. Wenn die angegebene Konfiguration erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žDllImportโ€œ. - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - Der angegebene Wert โ€ž{0}โ€œ fรผr โ€ž{1}โ€œ wird von quellengenerierten P/Invokes nicht unterstรผtzt. Wenn der angegebene Wert erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žDllImportโ€œ. - - - - Specified configuration is not supported by source-generated P/Invokes. - Die angegebene Konfiguration wird von quellgenerierten P/Invokes nicht unterstรผtzt. - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - Das automatische Konvertieren eines P/Invoke mit \"PreserveSig\" auf \"false\" in einen vom Quellcode generierten P/Invoke erzeugt mรถglicherweise ungรผltigen Code. - - - - Convert to 'LibraryImport' - In \"LibraryImport\" konvertieren - - - - Convert to 'LibraryImport' and enable unsafe code - Konvertieren Sie in โ€žLibraryImportโ€œ, und aktivieren Sie unsicheren Code. - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Verwenden Sie \"LibraryImportAttribute\" anstelle von \"DllImportAttribute\", um P/Invoke-Marshallingcode zur Kompilierzeit zu generieren. - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - Zum Konvertieren dieser API in โ€žLibraryImportโ€œ ist zusรคtzlicher Code erforderlich, um benutzerdefinierte Marshaller fรผr einige Parameter bereitzustellen. - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Markieren Sie die Methode \"{0}\" mit \"LibraryImportAttribute\" anstelle von \"DllImportAttribute\", um zur Kompilierzeit P/Invoke-Marshallingcode zu generieren. - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Verwenden Sie \"LibraryImportAttribute\" anstelle von \"DllImportAttribute\", um P/Invoke-Marshallingcode zur Kompilierzeit zu generieren. - - - - Convert to 'LibraryImport' with '{0}' suffix - In \"LibraryImport\" mit Suffix \"{0}\" konvertieren - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - Konvertieren Sie in โ€žLibraryImportโ€œ mit dem Suffix โ€ž{0}โ€œ, und aktivieren Sie unsicheren Code. - - - - Marshaller type does not have the required shape - Der Marshaller-Typ weist nicht die erforderliche Form auf - - - - A marshaller for an element scenario cannot be stateful. - Ein Marshaller fรผr ein Elementszenario kann nicht statusbehaftet sein. - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - Der angegebene Marshallertyp โ€ž{0}โ€œ ist ein statusbehafteter Marshaller, aber statusbehaftete Marshaller sind im angegebenen Marshallenmodus โ€ž{1}โ€œ nicht zulรคssig. - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - Der Elementtyp des von der ersten Methode zurรผckgegebenen Bereichs muss vom gleichen Typ sein wie der Elementtyp des Bereichs, der von der zweiten Methode zurรผckgegeben wird. - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - Der Elementtyp des von โ€ž{0}โ€œ zurรผckgegebenen Bereichs muss vom gleichen Typ sein wie der Elementtyp des Bereichs, der von โ€ž{1}โ€œ zurรผckgegeben wird. - - - - An entry-point type for marshalling a given type must not be 'null'. - Ein Einstiegspunkttyp zum Marshallen eines angegebenen Typs darf nicht "NULL" sein. - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - Der Marshallertyp des Einstiegspunkts fรผr den Typ "{0}" darf nicht "NULL" sein - - - - The first parameter of the first method must be the same type as the return types of the second method. - Der erste Parameter der ersten Methode muss den gleichen Typ wie die Rรผckgabetypen der zweiten Methode aufweisen. - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - Der erste Parameter von โ€ž{0}โ€œ muss den gleichen Typ aufweisen wie der Rรผckgabetyp von โ€ž{1}โ€œ - - - - The first parameters of the two methods must be the same type. - Die ersten Parameter der beiden Methoden mรผssen vom gleichen Typ sein. - - - - The first parameter of '{0}' and '{1}' must be the same type - Die ersten Parameter von โ€ž{0}โ€œ und von โ€ž{1}โ€œ mรผssen vom gleichen Typ sein - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - Das รœberladen der Methode "FromUnmanaged" ist nicht zulรคssig, weil einige Formen nicht zwischen รœberladungen unterscheiden kรถnnen. - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - Der Typ โ€ž{0}โ€œ รผberlรคdt die โ€žFromUnmanagedโ€œ-Methode, die in benutzerdefinierten Marshallern nicht unterstรผtzt wird. - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - Der Rรผckgabetyp von \"GetPinnableReference\" (nach Berรผcksichtigung von \"ref\") muss geeignet fรผr Blitting sein. - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - Der dereferenzierte Typ des Rรผckgabetyps der GetPinnableReference-Methode muss geeignet fรผr Blitting sein. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - Die Methode \"{0}\" ist in einem Typ \"{1}\" enthalten, der nicht als \"partiell\" gekennzeichnet ist. Die P/Invoke-Quellgenerierung ignoriert die Methode \"{0}\". - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - Methoden, die mit \"LibraryImportAttribute\" gekennzeichnet sind, sollten \"statisch\", \"partiell\" und nicht generisch sein. Die P/Invoke-Quellgenerierung ignoriert Methoden, die nicht \"statisch\", nicht \"partiell\" oder generisch sind. - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - Die Methode \"{0}\" muss \"statisch\", \"partiell\" und nicht generisch sein, wenn sie mit \"LibraryImportAttribute\" markiert ist. Die P/Invoke-Quellgenerierung ignoriert die Methode \"{0}\". - - - - Invalid 'CustomMarshallerAttribute' usage - Ungรผltige Verwendung von โ€žCustomMarshallerAttributeโ€œ - - - - Invalid 'LibraryImportAttribute' usage - Ungรผltige Verwendung von \"LibraryImportAttribute\" - - - - Specified managed type is invalid - Der angegebene verwaltete Typ ist ungรผltig. - - - - Invalid 'MarshalMode' value. - Ungรผltiger Wert fรผr "MarshalMode" - - - - Specified marshaller type is invalid - Der angegebene Marshallertyp ist ungรผltig. - - - - Invalid 'NativeMarshallingAttribute' usage - Ungรผltige Verwendung von โ€žNativeMarshallingAttributeโ€œ - - - - Marshaller type has incompatible method signatures - Der Marshaller-Typ weist inkompatible Methodensignaturen auf - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - Die Konfiguration von \"StringMarshalling\" und \"StringMarshallingCustomType\" ist ungรผltig. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - Die Konfiguration von \"StringMarshalling\" und \"StringMarshallingCustomType\" fรผr die Methode \"{0}\" ist ungรผltig. {1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - \"StringMarshallingCustomType\" muss angegeben werden, wenn \"StringMarshalling\" auf \"StringMarshalling.Custom\" festgelegt ist. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - \"StringMarshalling\" muss auf \"StringMarshalling.Custom\" festgelegt werden, wenn \"StringMarshallingCustomType\" angegeben ist. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - Der von \"GetManagedValuesSource\" zurรผckgegebene Elementtyp \"ReadOnlySpan\" muss mit dem Elementtyp identisch sein, der von \"GetManagedValuesDestination\" zurรผckgegeben wird. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - Der von \"GetManagedValuesSource\" zurรผckgegebene Elementtyp \"ReadOnlySpan\" muss mit dem Elementtyp identisch sein, der von \"GetManagedValuesDestination\" zurรผckgegeben wird. - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - Ein nativer Typ vom Typ \"LinearCollection\", der das Feature \"CallerAllocatedBuffer\" unterstรผtzt, muss einen Konstruktor mit drei Parametern bereitstellen, der den verwalteten Typ als ersten Parameter verwendet, einen \"Span<byte>\" als zweiten Parameter und die native GrรถรŸe des Elements als dritten Parameter. - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - Der Typ \"{0}\" gibt an, dass er das Marshalling \"In\" mit der Funktion \"CallerAllocatedBuffer\" fรผr \"{1}\" unterstรผtzt, aber keinen Konstruktor mit drei Parametern bereitstellt, der einen \"{1}\", einen \"Span<byte>\" und einen \"int\" akzeptiert. - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - Ein zusammenhรคngender Sammlungsmarshaller, der das Marshallen von verwaltet zu nicht verwaltet unterstรผtzt, muss eine โ€žGetManagedValuesSourceโ€œ bereitstellen, die ein โ€žReadOnlySpan<>โ€œ und eine โ€žGetUnmanagedValuesDestinationโ€œ-Methode zurรผckgibt, die ein โ€žSpan<>โ€œ zurรผckgibt. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - Der Typ โ€ž{0}โ€œ gibt an, dass der Marshalling-Modus โ€ž{1}โ€œ unterstรผtzt wird. Er stellt jedoch keine โ€žGetManagedValuesSourceโ€œ bereit, die ein โ€žReadOnlySpan<>โ€œ und eine โ€žGetUnmanagedValuesDestinationโ€œ-Methode zurรผckgibt, die ein โ€žSpan<>โ€œ zurรผckgibt. - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - Ein zusammenhรคngender Sammlungsmarshaller, der das Marshallen von nicht verwaltet zu verwaltet unterstรผtzt, muss ein โ€žGetManagedValuesDestinationโ€œ bereitstellen, das ein โ€žintโ€œ akzeptiert und ein โ€žSpan<>โ€œ und eine โ€žGetUnmanagedValuesSourceโ€œ-Methode zurรผckgibt, die ein โ€žReadOnlySpan<>โ€œ zurรผckgibt. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - Der Typ โ€ž{0}โ€œ gibt an, dass der Marshalling-Modus โ€ž{1}โ€œ unterstรผtzt wird. Er stellt jedoch kein โ€žGetManagedValuesDestinationโ€œ bereit, das ein โ€žintโ€œ akzeptiert und ein โ€žSpan<>โ€œ und eine โ€žGetUnmanagedValuesSourceโ€œ-Methode zurรผckgibt, die ein โ€žintโ€œ und ein โ€žReadOnlySpan<>โ€œ akzeptiert. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - Der Marshallertyp muss ein geschlossener generischer Typ sein oder dieselbe Anzahl generischer Parameter wie der verwaltete Typ aufweisen, damit der Generator bestimmen kann, welche Methoden fรผr die spezifischen Marshallertypen verfรผgbar sind. - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - Der verwalteten Typ "{0}" fรผr den Einstiegspunkt-Marshallertyp "{1}" muss ein geschlossener generischer Typ sein, dieselbe Stelligkeit wie der verwaltete Typ aufweisen, wenn es sich um einen Wertmarshaller handelt, oder einen zusรคtzlichen generischen Parameter aufweisen, wenn es sich um einen Auflistungsmarshaller handelt. - - - - The managed type for a custom marshaller must be non-null. - Der verwaltete Typ fรผr einen benutzerdefinierten Marshaller darf nicht NULL sein. - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - Der verwaltete Typ fรผr den Einstiegspunkt-Marshallertyp "{0}" darf nicht "NULL" sein - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Die angegebene Konfiguration โ€žMarshalAsAttributeโ€œ fรผr den Parameter โ€ž{1}โ€œ wird von quellengenerierten P/Invokes nicht unterstรผtzt. Wenn die angegebene Konfiguration erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žDllImportโ€œ. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Die angegebene Konfiguration โ€žMarshalAsAttributeโ€œ fรผr den Rรผckgabewert der Methode โ€ž{1}โ€œ wird von quellengenerierten P/Invokes nicht unterstรผtzt. Wenn die angegebene Konfiguration erforderlich ist, verwenden Sie stattdessen einen regulรคren โ€žDllImportโ€œ. - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - Das "marshalMode"-Argument von "CustomMarshallerAttribute" muss ein gรผltiger Enumerationswert von "MarshalMode" sein. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Der Marshaller-Typ muss ein geschlossener generischer Typ sein oder dieselbe Anzahl generischer Parameter wie der verwaltete Typ aufweisen, damit der ausgegebene Code eine bestimmte Instanziierung verwenden kann. - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - Der Marshallertyp "{0}", auf den der Einstiegspunkt-Marshallertyp "{1}" zeigt, muss ein geschlossener generischer Typ sein oder dieselbe Stelligkeit wie der verwaltete Typ aufweisen - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - Der Parameter "marshallerType" im "System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute" kann nicht "NULL" sein. - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - Der Parameter "marshallerType" im "System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute" kann nicht "NULL" sein - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - Ein Marshallertyp muss entweder eine zustandslose statische Klasse oder ein zustandsbehafteter Werttyp sein. Eine nicht statische Klasse ist nicht zulรคssig. - - - - The type '{0}' must be a static class or a value type - Der Typ โ€ž{0}โ€œ muss eine statische Klasse oder ein Werttyp sein - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - Ein Typ mit einem "System.Runtime.InteropServices.CustomMarshallerAttribute" muss einen verwalteten Typ, der nicht "NULL" ist, angeben - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - Der Typ "{0}" gibt keinen verwalteten Typ im "System.Runtime.InteropServices.CustomMarshallerAttribute" an, der auf den Typ angewendet wird - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Der Marshaller-Typ muss ein geschlossener generischer Typ sein oder dieselbe Anzahl generischer Parameter wie der verwaltete Typ aufweisen, damit der ausgegebene Code eine bestimmte Instanziierung verwenden kann. - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - Der Marshallertyp '{0}' fรผr den verwalteten Typ '{1}' muss ein geschlossener generischer Typ sein, dieselbe Stelligkeit wie der verwaltete Typ aufweisen, wenn es sich um einen Wertmarshaller handelt, oder einen zusรคtzlichen generischen Parameter aufweisen, wenn es sich um einen Auflistungsmarshaller handelt. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute erfordert unsicheren Code. Das Projekt muss mit "<AllowUnsafeBlocks>true</AllowUnsafeBlocks>" aktualisiert werden. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute erfordert unsicheren Code. Das Projekt muss mit "<AllowUnsafeBlocks>true</AllowUnsafeBlocks>" aktualisiert werden. - - - - LibraryImportAttribute requires unsafe code. - LibraryImportAttribute erfordert unsicheren Code. - - - - The return type the two method must be the expected type. - Der Rรผckgabetyp, den die beiden Methoden aufweisen mรผssen, muss der erwartete Typ sein. - - - - The return type of '{0}' must be '{1}' - Der Rรผckgabetyp von โ€ž{0}โ€œ muss โ€ž{1}โ€œ sein - - - - The return types of the two methods must be the same type. - Die Rรผckgabetypen der beiden Methoden mรผssen vom gleichen Typ sein. - - - - The return type of '{0}' must be the same type as the return type of '{1}' - Der Rรผckgabetyp von โ€ž{0}โ€œ muss den gleichen Typ aufweisen wie der Rรผckgabetyp von โ€ž{1}โ€œ - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - Ein statusbehafteter Marshaller muss eine Instanzmethode mit dem Namen โ€žFreeโ€œ mit null Parametern haben, die โ€žnichtigโ€œ zurรผckgibt. - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - Der Typ โ€ž{0}โ€œ ist ein statusbehafteter Marshaller und verfรผgt nicht รผber eine Instanzmethode mit null Parametern mit dem Namen โ€žFreeโ€œ, die โ€žnichtigโ€œ zurรผckgibt. - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - Ein statusbehafteter Marshaller, der das Marshallen von verwaltet zu nicht verwaltet unterstรผtzt, muss eine โ€žFromManagedโ€œ-Instanzmethode bereitstellen, die den verwalteten Wert als Parameter akzeptiert und โ€žnichtigโ€œ zurรผckgibt. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - Der Typ โ€ž{0}โ€œ gibt an, dass er den Marshallenmodus โ€ž{1}โ€œ fรผr โ€ž{2}โ€œ unterstรผtzt, er stellt jedoch keine Instanzmethode mit einem Parameter namens โ€žFromManagedโ€œ bereit, die eine โ€ž{2}โ€œ als Parameter akzeptiert und โ€žnichtigโ€œ zurรผckgibt. - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - Ein statusbehafteter Marshaller, der das Marshallen von nicht verwaltet zu verwaltet unterstรผtzt, muss eine โ€žFromUnmanagedโ€œ-Instanzmethode bereitstellen, die den nicht verwalteten Wert als Parameter akzeptiert und โ€žnichtigโ€œ zurรผckgibt. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - Der Typ โ€ž{0}โ€œ gibt an, dass er den Marshallenmodus โ€ž{1}โ€œ fรผr โ€ž{2}โ€œ unterstรผtzt, er stellt jedoch keine Instanzmethode mit einem Parameter namens โ€žFromUnmanagedโ€œ bereit, die den Wert โ€žnicht verwaltetโ€œ als Parameter akzeptiert und โ€žnichtigโ€œ zurรผckgibt. - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - Ein statusbehafteter Marshaller, der das Marshallen von nicht verwaltet zu verwaltet unterstรผtzt, muss eine โ€žToManagedโ€œ-Instanzmethode bereitstellen, die keine Parameter akzeptiert und den verwalteten Typ zurรผckgibt. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - Der Typ โ€ž{0}โ€œ gibt an, dass er den Marshallenmodus โ€ž{1}โ€œ fรผr โ€ž{2}โ€œ unterstรผtzt,, aber er stellt keine Instanzmethode mit null Parametern namens โ€žToManagedโ€œ bereit, die โ€ž{2}โ€œ zurรผckgibt. - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - Ein statusbehafteter Marshaller, der das Marshallen von verwaltet zu nicht verwaltet unterstรผtzt, muss eine โ€žToUnmanagedโ€œ-Instanzmethode bereitstellen, die keine Parameter akzeptiert und den Typ โ€žnicht verwaltetโ€œ zurรผckgibt. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - Der Typ โ€ž{0}โ€œ gibt an, dass er den Marshallenmodus โ€ž{1}โ€œ fรผr โ€ž{2}โ€œ unterstรผtzt, er stellt jedoch keine Instanzmethode mit null Parametern namens โ€žToUnmanagedโ€œ bereit, die den Typ โ€žnicht verwaltetโ€œ fรผr den Marshaller zurรผckgibt. - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Wenn die Form โ€žVerwaltet bis nicht verwaltet mit vom Anrufer zugewiesenem Pufferโ€œ verwendet wird, indem eine โ€žAllocateContainerForUnmanagedElementsโ€œ-Methode bereitgestellt wird, die ein โ€žSpan<T>โ€œ fรผr den Marshallertyp akzeptiert, muss der Typ eine statische Eigenschaft โ€žBufferSizeโ€œ bereitstellen, um die Anzahl von Elementen im vom Aufrufer zugewiesenen Puffer anzugeben. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - Der Marshallertyp โ€ž{0}โ€œ muss eine statische schreibgeschรผtzte โ€žintโ€œ-Eigenschaft โ€žBufferSizeโ€œ aufweisen, um die GrรถรŸe des vom Aufrufer zugewiesenen Puffers anzugeben, da er eine โ€žAllocateContainerForUnmanagedElements-Methode aufweist, die ein vom Aufrufer zugewiesenes โ€žSpan<{1}>โ€œ akzeptiert - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Ein zusammenhรคngender Sammlungsmarshaller, der das Marshallen von verwaltet zu nicht verwaltet unterstรผtzt, muss eine โ€žGetManagedValuesSourceโ€œ bereitstellen, die den verwalteten Wert als Parameter akzeptiert und ein โ€žReadOnlySpan<>โ€œ und eine โ€žGetUnmanagedValuesDestinationโ€œ-Methode zurรผckgibt, die einen nicht verwaltet Wert als Parameter akzeptiert und ein โ€žSpan<>โ€œ zurรผckgibt. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Der Typ โ€ž{0}โ€œ gibt an, dass der Marshalling-Modus โ€ž{1}โ€œ unterstรผtzt wird. Er stellt jedoch keine โ€žGetManagedValuesSourceโ€œ bereit, die ein โ€ž{2}โ€œ als Parameter akzeptiert und ein โ€žReadOnlySpan<>โ€œ und eine โ€žGetUnmanagedValuesDestinationโ€œ-Methode zurรผckgibt, die den nicht verwalteteten Wert als Parameter akzeptiert und ein โ€žSpan<>โ€œ akzeptiert - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - Ein zusammenhรคngender Sammlungsmarshaller, der das Marshallen von nicht verwaltet zu verwaltet unterstรผtzt, muss ein โ€žGetManagedValuesDestinationโ€œ bereitstellen, das den verwalteten Wert akzeptiert und ein โ€žSpan<>โ€œ und eine โ€žGetUnmanagedValuesSourceโ€œ-Methode zurรผckgibt, die ein โ€žReadOnlySpan<>โ€œ zurรผckgibt. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - Der Typ โ€ž{0}โ€œ gibt an, dass der Marshalling-Modus โ€ž{1}โ€œ unterstรผtzt wird. Er stellt jedoch kein โ€žGetManagedValuesDestinationโ€œ bereit, das ein โ€ž{2}โ€œ akzeptiert und ein โ€žSpan<>โ€œ und eine โ€žGetUnmanagedValuesSourceโ€œ-Methode zurรผckgibt, die den nicht verwalteten Wert und ein โ€žintโ€œ akzeptiert und und ein โ€žReadOnlySpan<>โ€œ zurรผckgibt - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - Ein zustandsloser zusammenhรคngender Sammlungsmarshaller, der das Marshallen von verwaltet zu nicht verwaltet unterstรผtzt, muss eine โ€žAllocateContainerForManagedElementsโ€œ-Methode bereitstellen, die den nicht verwalteten Typ als ersten Parameter und die Anzahl der Elemente als โ€žintโ€œ-Parameter akzeptiert - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - Der Typ โ€ž{0}โ€œ gibt an, dass der Marshalling-Modus โ€ž{1}โ€œ fรผr โ€ž{2}โ€œ unterstรผtzt wird. Er stellt jedoch keine โ€žAllocateContainerForManagedElementsโ€œ-Methode mit zwei Parametern bereit, die den nicht verwalteten Typ als ersten Parameter und ein โ€žintโ€œ als zweiten Parameter akzeptiert - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - Ein zustandsloser zusammenhรคngender Sammlungsmarshaller, der das Marshallen von verwaltet zu nicht verwaltet unterstรผtzt, muss eine โ€žAllocateContainerForUnmanagedElementsโ€œ-Methode bereitstellen, die den verwalteten Typ als ersten Parameter akzeptiert und die Anzahl der Elemente als โ€žout intโ€œ-Parameter bereitstellt. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - Der Typ โ€ž{0}โ€œ gibt an, dass der Marshalling-Modus โ€ž{1}โ€œ fรผr โ€ž{2}โ€œ unterstรผtzt wird. Er stellt jedoch keine โ€žAllocateContainerForUnmanagedElementsโ€œ-Methode mit zwei Parametern bereit, die ein โ€ž{2}โ€œ als ersten Parameter und ein โ€žout intโ€œ als zweiten Parameter akzeptiert - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - Ein zustandsloser Wertmarshaller, der das Marshallen von nicht verwaltet zu verwaltet unterstรผtzt, muss eine โ€žConvertToManagedโ€œ-Methode bereitstellen, die den nicht verwalteten Wert als Parameter akzeptiert und einen Wert vom Typ โ€žverwaltetโ€œ zurรผckgibt. - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - Der Typ โ€ž{0}โ€œ gibt an, dass der Marshalling-Modus โ€ž{1}โ€œ unterstรผtzt wird. Er stellt aber keine โ€žConvertToManagedโ€œ-Methode bereit, die den nicht verwalteten Typ als Parameter akzeptiert und โ€ž{2}โ€œ zurรผckgibt - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - Ein zustandsloser Wertmarshaller, der das Marshallen von verwaltet zu nicht verwaltet unterstรผtzt, muss eine โ€žConvertToUnmanagedโ€œ-Methode mit einem Parameter bereitstellen, die den verwalteten Wert als Parameter akzeptiert und einen Wert vom Typ โ€žnicht verwaltetโ€œ zurรผckgibt. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - Der Typ โ€ž{0}โ€œ gibt an, dass der Marshalling-Modus โ€ž{1}โ€œ fรผr โ€ž{2}โ€œ unterstรผtzt wird. Er stellt aber keine โ€žConvertToUnmanagedโ€œ-Methode mit einem Parameter bereit, die einen โ€ž{2}โ€œ als Parameter akzeptiert und einen Wert als โ€žnicht verwaltetenโ€œ Typ zurรผckgibt - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - Der Rรผckgabetyp von "ConvertToUnmanaged" und der Parametertyp von "ConvertToUnmanaged" mรผssen identisch sein. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - Der Rรผckgabetyp von "ConvertToUnmanaged" und der Parametertyp von "ConvertToUnmanaged" mรผssen identisch sein - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - Der nicht verwaltete Typ fรผr einen benutzerdefinierten Marshaller muss ein nicht verwalteter C#-Typ sein. - - - - The return type of '{0}' must be unmanaged - Der Rรผckgabetyp von โ€ž{0}โ€œ darf nicht verwaltet sein - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - "void*" muss in den Typ umgewandelt werden kรถnnen, damit das angeheftete Ergebnis der statischen Methode "GetPinnableReference" nach dem Anheften an den nativen Kontext รผbergeben werden kann. - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - "void*" muss in den Typ "{0}" umgewandelt werden, da der verwaltete Typ "{1}" eine statische "GetPinnableReference"-Methode aufweist - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - Ein nativer Typ fรผr einen bestimmten Typ muss รผber das "System.Runtime.InteropServices.CustomTypeMarshallerAttribute" verfรผgen, das diesen Typ als verwalteten Typ angibt. - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - Der Marshallertyp "{0}" des Eintrittspunkts fรผr den Typ "{1}" muss ein Typ mit mindestens einem "System.Runtime.InteropServices.CustomMarshallerAttribute" sein, der diesen Typ als verwalteten Typ angibt - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - Ein nativer Typ vom Typ \"Value\" oder \"LinearCollection\", der Marshalling in der Out-Richtung unterstรผtzt, muss eine ToManaged-Methode bereitstellen, die den verwalteten Typ zurรผckgibt. - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - Der Typ \"{0}\" gibt an, dass das Marshalling in der Out-Richtung unterstรผtzt wird. Er stellt jedoch keine ToManaged-Methode bereit, die den verwalteten Typ zurรผckgibt. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - Der Rรผckgabetyp von "ToUnmanaged" und der Parametertyp von "FromUnmanaged" mรผssen identisch sein. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - Der Rรผckgabetyp von "ToUnmanaged" und der Parametertyp von "FromUnmanaged" mรผssen identisch sein - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - Bei Typen, die von dquellgenerierten P/Invokes nicht unterstรผtzt werden, basiert der resultierende P/Invoke auf der zugrunde liegenden Laufzeit, um den angegebenen Typ zu marshallen. - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - Der Typ \"{0}\" wird von vom Quellcode generierten P/Invokes nicht unterstรผtzt. Die generierte Quelle verarbeitet das Marshalling des Parameters \"{1}\" nicht. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} Die generierte Quelle verarbeitet das Marshalling des Parameters \"{1}\" nicht. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - Der Typ \"{0}\" wird von vom Quellcode generierten P/Invokes nicht unterstรผtzt. Die generierte Quelle verarbeitet das Marshalling des Rรผckgabewerts der Methode \"{1}\" nicht. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} Die generierte Quelle verarbeitet das Marshalling des Rรผckgabewerts der Methode \"{1}\" nicht. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - Der angegebene Typ wird von quellgenerierten P/Invokes nicht unterstรผtzt. - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Es wurden nicht benรถtigte Marshallinginformationen angegeben. Diese Marshallinginformationen kรถnnen entfernt werden, ohne dass sich das Verhalten der Anwendung รคndert. - - - - Unnecessary marshalling info was provided and can be removed. - Es wurden nicht benรถtigte Marshallinginformationen angegeben, die entfernt werden kรถnnen. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Fรผr den Parameter "{0}" wurden nicht benรถtigte Marshallinginformationen "{1}" angegeben. - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Fรผr den Rรผckgabetyp der Methode "{0}" wurden nicht benรถtigte Marshallinginformationen "{1}" angegeben - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - Ein nativer Typ โ€žValueโ€œ, der das Feature โ€žCallerAllocatedBufferโ€œ unterstรผtzt, muss einen Konstruktor mit zwei Parametern bereitstellen, der den verwalteten Typ und โ€žSpanโ€œ eines โ€žUnmanagedโ€œ-Typs als Parameter verwendet. - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - Der Typ '{0}' gibt an, dass er 'In'-Marshalling mit der 'CallerAllocatedBuffer'-Funktion fรผr '{1}' unterstรผtzt, stellt aber keinen Konstruktor mit zwei Parametern bereit, der '{1}' und 'Span' eines 'nicht verwalteten' Typs als Parameter akzeptiert - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - Ein nativer Typ vom Typ \"Value\" muss einen Konstruktor mit einem Parameter bereitstellen, der den verwalteten Typ als Parameter akzeptiert. - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - Der Typ \"{0}\" gibt an, dass er das In-Marshalling von \"{1}\" unterstรผtzt, aber keinen Konstruktor mit einem Parameter bereitstellt, der \"{1}\" als Parameter akzeptiert. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.es.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.es.xlf deleted file mode 100644 index a2a48c1b4d7cd..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.es.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - Agregue los miembros de serializador de tipo personalizado que faltan - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Cuando la forma "Administrado a no administrado con bรบfer asignado por el llamador" se usa con un mรฉtodo "FromManaged" que toma un "Span<T>" en el tipo de serializador, el tipo debe proporcionar una propiedad estรกtica "BufferSize" para proporcionar el nรบmero de elementos en el bรบfer asignado por el llamador. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - El tipo de serializador "{0}" debe tener una propiedad "int" "BufferSize" estรกtica de solo lectura para especificar el tamaรฑo del bรบfer asignado por el autor de la llamada porque tiene un mรฉtodo FromManaged que toma una propiedad "Span<{1}>" asignada por el autor de la llamada. - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - El โ€œDllImportAttributeโ€ generado no tendrรก un valor correspondiente a โ€œ{0}โ€. - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - โ€œ{0}โ€ no tiene equivalente en โ€œDllImportAttributeโ€ y no se reenviarรก - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - Los argumentos โ€œLibraryImportAttributeโ€ especificados no se pueden reenviar a โ€œDllImportAttributeโ€ - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - Los P/Invoke de un generador de cรณdigo fuente omitirรกn cualquier configuraciรณn que no estรฉ admitida. - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configuraciรณn de "{0}" no estรก admitida por P/Invokes de un generador de cรณdigo fuente. Si se requiere la configuraciรณn, use un "DllImport" normal en su lugar. - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - La configuraciรณn de serializaciรณn especificada no estรก admitida por P/Invokes de un generador de cรณdigo fuente. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configuraciรณn de "{0}" especificada para el parรกmetro "{1}" no es compatible con P/Invokes de un generador de cรณdigo fuente. Si se requiere la configuraciรณn especificada, use un "DllImport" normal en su lugar. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configuraciรณn de "{0}" especificada para el valor devuelto del mรฉtodo "{1}" no es compatible con P/Invokes generados por origen. Si se requiere la configuraciรณn especificada, use un "DllImport" normal en su lugar. - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - El valor especificado de "{0}" para "{1}" no es compatible con P/Invokes de un generador de cรณdigo fuente. Si se requiere el valor especificado, use un "DllImport" normal en su lugar. - - - - Specified configuration is not supported by source-generated P/Invokes. - La configuraciรณn especificada no estรก admitida por P/Invokes de un generador de cรณdigo fuente. - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - Convertir automรกticamente un P/Invoke con โ€œPreserveSigโ€ establecido en โ€œfalseโ€ en un P/Invoke de un generador de cรณdigo fuente puede producir cรณdigo no vรกlido - - - - Convert to 'LibraryImport' - Convertir en โ€œLibraryImportโ€ - - - - Convert to 'LibraryImport' and enable unsafe code - Convertir a 'LibraryImport' y habilitar cรณdigo no seguro - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Use โ€œLibraryImportAttributeโ€ en lugar de โ€œDllImportAttributeโ€ para generar cรณdigo de serializaciรณn P/Invoke en el tiempo de compilaciรณn - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - La conversiรณn de esta API a 'LibraryImport' requerirรก cรณdigo adicional para proporcionar serializadores personalizados para algunos parรกmetros. - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Marque el mรฉtodo โ€œ{0}โ€ con โ€œLibraryImportAttributeโ€ en lugar de โ€œDllImportAttributeโ€ para generar cรณdigo de serializaciรณn P/Invoke en el tiempo de compilaciรณn - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Use โ€œLibraryImportAttributeโ€ en lugar de โ€œDllImportAttributeโ€ para generar cรณdigo de serializaciรณn P/Invoke en el tiempo de compilaciรณn - - - - Convert to 'LibraryImport' with '{0}' suffix - Convertir a โ€œLibraryImportโ€ con sufijo โ€œ{0}โ€ - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - Convertir a 'LibraryImport' con el sufijo '{0}' y habilitar cรณdigo no seguro - - - - Marshaller type does not have the required shape - El tipo de serializador no tiene la forma necesaria - - - - A marshaller for an element scenario cannot be stateful. - Un serializador para un escenario del elemento no puede tener estado. - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - El tipo de serializador especificado '{0}' es un serializador con estado, pero no se permiten serializadores con estado en el modo de serializaciรณn proporcionado '{1}'. - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - El tipo de elemento del intervalo devuelto por el primer mรฉtodo debe ser del mismo tipo que el tipo de elemento del intervalo devuelto por el segundo mรฉtodo. - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - El tipo de elemento del intervalo devuelto por "{0}" debe ser del mismo tipo que el tipo de elemento del intervalo devuelto por "{1}". - - - - An entry-point type for marshalling a given type must not be 'null'. - Un tipo de punto de entrada para serializar un tipo determinado no debe ser "null". - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - El tipo de serializador de punto de entrada para el tipo "{0}" no debe ser "null" - - - - The first parameter of the first method must be the same type as the return types of the second method. - El primer parรกmetro del primer mรฉtodo debe ser del mismo tipo que los tipos devueltos del segundo mรฉtodo. - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - El primer parรกmetro de "{0}" debe ser del mismo tipo que el tipo de valor devuelto de "{1}" - - - - The first parameters of the two methods must be the same type. - Los primeros parรกmetros de los dos mรฉtodos deben ser del mismo tipo. - - - - The first parameter of '{0}' and '{1}' must be the same type - El primer parรกmetro de "{0}" y "{1}" deben ser del mismo tipo - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - No se puede sobrecargar el mรฉtodo "FromUnmanaged" porque algunas formas no pueden distinguir entre sobrecargas. - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - El tipo '{0}' sobrecarga el mรฉtodo 'FromUnmanaged', que no se admite en serializadores personalizados. - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - El tipo de valor devuelto de โ€œGetPinnableReferenceโ€ (tras pasar por โ€œrefโ€) debe poder transferirse en bloques de bits. - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - El tipo desreferenciado del tipo de valor devuelto del mรฉtodo โ€œGetPinnableReferenceโ€ debe poder transferirse en bloques de bits - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - El mรฉtodo โ€œ{0}โ€ estรก contenido en un tipo โ€œ{1}โ€ que no estรก marcado como โ€œpartialโ€. La generaciรณn de cรณdigo fuente P/Invoke omitirรก el mรฉtodo โ€œ{0}โ€. - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - Los mรฉtodos marcados con โ€œLibraryImportAttributeโ€ deben ser โ€œstaticโ€, โ€œpartialโ€ y no genรฉricos. La generaciรณn de cรณdigo fuente P/Invoke omitirรก los mรฉtodos que no sean โ€œstaticโ€, โ€œpartialโ€ ni genรฉricos. - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - El mรฉtodo โ€œ{0}โ€ debe ser โ€œstaticโ€, โ€œpartialโ€, y no genรฉrico cuando estรก marcado con โ€œLibraryImportAttributeโ€. La generaciรณn del cรณdigo fuente P/Invoke omitirรก el mรฉtodo โ€œ{0}โ€. - - - - Invalid 'CustomMarshallerAttribute' usage - Uso de "CustomMarshallerAttribute" no vรกlido - - - - Invalid 'LibraryImportAttribute' usage - Uso de โ€œLibraryImportAttributeโ€ no vรกlido - - - - Specified managed type is invalid - El tipo administrado especificado no es vรกlido - - - - Invalid 'MarshalMode' value. - Valor 'MarshalMode' no vรกlido. - - - - Specified marshaller type is invalid - El tipo de serializador especificado no es vรกlido - - - - Invalid 'NativeMarshallingAttribute' usage - Uso de "NativeMarshallingAttribute" no vรกlido - - - - Marshaller type has incompatible method signatures - El tipo de serializador tiene firmas de mรฉtodo incompatibles - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - La configuraciรณn de โ€œStringMarshallingโ€ y โ€œStringMarshallingCustomTypeโ€ no es vรกlida. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - La configuraciรณn de โ€œStringMarshallingโ€ y โ€œStringMarshallingCustomTypeโ€ en el mรฉtodo โ€œ{0}โ€ no es vรกlida. {1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - Se debe especificar โ€œStringMarshallingCustomTypeโ€ cuando โ€œStringMarshallingโ€ estรฉ establecido en โ€œStringMarshalling.Customโ€. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - โ€œStringMarshallingโ€ debe establecerse en โ€œStringMarshalling.Customโ€ cuando โ€œStringMarshallingCustomTypeโ€ estรฉ especificado. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - El tipo de elemento del โ€œReadOnlySpanโ€ devuelto por โ€œGetManagedValuesSourceโ€ debe ser el mismo que el tipo de elemento devuelto por โ€œGetManagedValuesDestinationโ€. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - El tipo de elemento de โ€œReadOnlySpanโ€ devuelto por โ€œGetManagedValuesSourceโ€ debe ser el mismo que el tipo de elemento devuelto por โ€œGetManagedValuesDestinationโ€ - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - Un tipo nativo de variante โ€œLinearCollectionโ€ que admita la caracterรญstica โ€œCallerAllocatedBufferโ€ debe proporcionar un constructor de tres parรกmetros que tome el tipo administrado como primer parรกmetro, un โ€œSpan<byte>โ€ como segundo parรกmetro y el tamaรฑo nativo del elemento como tercer parรกmetro - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - El tipo โ€œ{0}โ€ especifica que admite serializar โ€œInโ€ con la caracterรญstica โ€œCallerAllocatedBufferโ€ para โ€œ{1}โ€ pero no provee un constructor de tres parรกmetros que incluya un โ€œ{1}โ€, un โ€œSpan<byte>โ€, y un โ€œintโ€ - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - Un serializador de colecciรณn contigua que admita la serializaciรณn de administrado a no administrado debe proporcionar un "GetManagedValuesSource" que devuelva un valor de "ReadOnlySpan<>" y un mรฉtodo "GetUnmanagedValuesDestination" que devuelva un valor de "Span<>". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - El tipo "{0}" especifica que admite el modo de serializaciรณn "{1}", pero no proporciona un "GetManagedValuesSource" que devuelva un "ReadOnlySpan<>" y un mรฉtodo "GetNativeValuesDestination" que devuelva un "Span<>" - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - Un serializador de colecciรณn contigua que admita serializaciones de no administrado a administrado debe proporcionar un mรฉtodo 'GetManagedValuesDestination' que tome "int" y devuelva un "Span<>" y un mรฉtodo "GetUnmanagedValuesSource" que tome "int" y devuelva "ReadOnlySpan<>". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - El tipo "{0}" especifica que admite el modo de serializaciรณn "{1}", pero no proporciona un "GetManagedValuesDestination" que tome un "int" y devuelva un "Span<>" y un mรฉtodo "GetUnmanagedValuesSource" que tome un "int" y devuelva un "ReadOnlySpan<>" - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - El tipo de serializador debe ser un genรฉrico cerrado o tener el mismo nรบmero de parรกmetros genรฉricos que el tipo administrado para que el generador pueda determinar quรฉ mรฉtodos estรกn disponibles en los tipos de serializador especรญficos. - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - El tipo administrado "{0}" para el tipo de serializador de punto de entrada "{1}" debe ser un tipo genรฉrico cerrado, tener la misma aridad que el tipo administrado si es un serializador de valores o tener un parรกmetro genรฉrico adicional si es un serializador de colecciรณn. - - - - The managed type for a custom marshaller must be non-null. - El tipo administrado de un serializador personalizado no debe ser nulo. - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - El tipo administrado para el tipo de serializador de punto de entrada "{0}" no debe ser "null" - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configuraciรณn "MarshalAsAttribute" para el parรกmetro "{1}" no se admite en P/Invokes generado por cรณdigo fuente. Si se requiere la configuraciรณn especificada, use un "DllImport" normal en su lugar. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configuraciรณn "MarshalAsAttribute" para el valor devuelto del mรฉtodo "{1}" no se admite en P/Invokes generado por cรณdigo fuente. Si se requiere la configuraciรณn especificada, use un "DllImport" normal en su lugar. - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - El argumento 'marshalMode' de 'CustomMarshallerAttribute' debe ser un valor de enumeraciรณn vรกlido de 'MarshalMode'. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - El tipo serializador debe ser un genรฉrico cerrado o tener el mismo nรบmero de parรกmetros genรฉricos que el tipo administrado para que el cรณdigo emitido pueda usar una creaciรณn de instancia especรญfica. - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - El tipo de serializador "{0}" al que apunta el tipo de serializador de punto de entrada "{1}" debe ser un tipo genรฉrico cerrado o tener la misma aridad que el tipo administrado - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - El parรกmetro "marshallerType" de "System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute" no puede ser "null". - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - El parรกmetro "marshallerType" de "System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute" no puede ser "null" - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - Un tipo de serializador debe ser una clase estรกtica sin estado o un tipo de valor con estado. No se permite una clase no estรกtica. - - - - The type '{0}' must be a static class or a value type - El tipo "{0}" debe ser una clase estรกtica o un tipo de valor - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - Un tipo con un "System.Runtime.InteropServices.CustomMarshallerAttribute" debe especificar un tipo administrado no nulo - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - El tipo "{0}" no especifica un tipo administrado en el "System.Runtime.InteropServices.CustomMarshallerAttribute" aplicado al tipo - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - El tipo serializador debe ser un genรฉrico cerrado o tener el mismo nรบmero de parรกmetros genรฉricos que el tipo administrado para que el cรณdigo emitido pueda usar una creaciรณn de instancia especรญfica. - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - El tipo de serializador "{0}" para el tipo administrado "{1}" debe ser un tipo genรฉrico cerrado, tener la misma aridad que el tipo administrado si es un serializador de valores o tener un parรกmetro genรฉrico adicional si es un serializador de colecciรณn. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute requiere cรณdigo no seguro. El proyecto debe actualizarse con '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute requiere cรณdigo no seguro. El proyecto debe actualizarse con '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - - LibraryImportAttribute requires unsafe code. - LibraryImportAttribute requiere cรณdigo no seguro. - - - - The return type the two method must be the expected type. - El tipo de valor devuelto por el que ambos mรฉtodos deben ser del tipo esperado. - - - - The return type of '{0}' must be '{1}' - El tipo de valor devuelto de "{0}" debe ser "{1}" - - - - The return types of the two methods must be the same type. - Los tipos devueltos de los dos mรฉtodos deben ser del mismo tipo. - - - - The return type of '{0}' must be the same type as the return type of '{1}' - El tipo de valor devuelto de "{0}" debe ser del mismo tipo que el tipo de valor devuelto de "{1}" - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - Un serializador con estado debe tener un mรฉtodo de instancia de devoluciรณn void de parรกmetro cero denominado 'Free'. - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - El tipo '{0}' es un serializador con estado y no tiene ningรบn mรฉtodo de instancia de devoluciรณn void de parรกmetro cero denominado 'Free'. - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - Un serializador con estado que admita la serializaciรณn de administrado a no administrado debe proporcionar un mรฉtodo de instancia 'FromManaged' que tome el valor administrado como parรกmetro y devuelva 'void'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - El tipo '{0}' especifica que admite el modo de serializaciรณn '{1}' para '{2}', pero no proporciona ningรบn mรฉtodo de instancia de un parรกmetro denominado 'FromManaged' que tome '{2}' como parรกmetro y lo devuelva 'void'. - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - Un serializador con estado que admita la serializaciรณn de no administrado a administrado debe proporcionar un mรฉtodo de instancia 'FromUnmanaged' que tome el valor no administrado como parรกmetro y devuelva 'void'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - El tipo '{0}' especifica que admite el modo de serializaciรณn '{1}' para '{2}', pero no proporciona ningรบn mรฉtodo de instancia de un parรกmetro denominado 'FromUnmanaged' que tome el valor 'unmanaged' como parรกmetro y devuelva 'void'. - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - Un serializador con estado que admita la serializaciรณn de no administrado a administrado debe proporcionar un mรฉtodo de instancia 'ToManaged' que no tome ningรบn parรกmetro y devuelva el tipo administrado. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - El tipo '{0}' especifica que admite el modo de serializaciรณn '{1}' para '{2}', pero no proporciona un mรฉtodo de instancia de parรกmetro cero denominado 'ToManaged' que devuelva '{2}'. - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - Un serializador con estado que admita la serializaciรณn de administrado a no administrado debe proporcionar un mรฉtodo de instancia 'ToUnmanaged' que no tome ningรบn parรกmetro y devuelva el tipo 'unmanaged'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - El tipo '{0}' especifica que admite el modo de serializaciรณn '{1}' para '{2}', pero no proporciona ningรบn mรฉtodo de instancia de parรกmetro cero denominado 'ToUnmanaged' que devuelva el tipo 'unmanaged' para el serializador. - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Cuando la forma "Administrado a no administrado con bรบfer asignado por el llamador" se usa con un mรฉtodo "AllocateContainerForUnmanagedElements" que toma un "Span<T>" en el tipo de serializador, el tipo debe proporcionar una propiedad estรกtica "BufferSize" para proporcionar el nรบmero de elementos en el bรบfer asignado por el llamador. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - El tipo de serializador "{0}" debe tener una propiedad "int" "BufferSize" estรกtica de solo lectura para especificar el tamaรฑo del bรบfer asignado por el autor de la llamada porque tiene un mรฉtodo "AllocateContainerForUnmanagedElements" que toma una propiedad "Span<{1}>" - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Un serializador de colecciรณn contigua que admita serializaciones de administrado a administrado debe proporcionar un mรฉtodo "GetManagedValuesSource" que tome el valor administrado y devuelva un "'ReadOnlySpan<>" y un mรฉtodo "GetUnmanagedValuesDestination" que tome el valor no administrado como perรกmetro y devuelva "Span<>" - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - El tipo "{0}" especifica que admite el modo de serializaciรณn "{1}", pero no proporciona un "GetManagedValuesSource" que tome como parรกmetro un "{2}" y devuelva un "ReadOnlySpan<>" y un mรฉtodo "GetUnmanagedValuesDestination" que tome como parรกmetro un valor no administrado y devuelva un "Span<>" - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - Un serializador de colecciรณn contigua que admita serializaciones de no administrado a administrado debe proporcionar un mรฉtodo "GetManagedValuesDestination" que tome el valor administrado y devuelva un "Span<>" y un mรฉtodo "GetUnmanagedValuesSource" que tome el valor no administrado y "int" y devuelva "ReadOnlySpan<>". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - El tipo "{0}" especifica que admite el modo de serializaciรณn "{1}", pero no proporciona un "GetManagedValuesDestination" que tome un "{2}" y devuelva un "Span<>" y un mรฉtodo "GetUnmanagedValuesSource" que tome el valor no administrado y un "int" y devuelva un "ReadOnlySpan<>" - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - Un serializador de colecciรณn contigua sin estado que admita serializaciones de administrado a no administrado debe proporcionar un mรฉtodo "AllocateContainerForManagedElements" que tome el tipo no administrado como primer parรกmetro y el nรบmero de elementos como parรกmetro "int" - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - El tipo "{0}" especifica que admite el modo de serializaciรณn "{1}" para "{2}", pero no proporciona un mรฉtodo "AllocateContainerForUnmanagedElements" de dos parรกmetros que toma el tipo no administrado como primer parรกmetro y "int" como segundo parรกmetro - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - Un serializador de colecciรณn contigua sin estado que admita serializaciones de administrado a no administrado debe proporcionar un mรฉtodo "AllocateContainerForManagedElements" que tome el tipo administrado como primer parรกmetro y que proporcione el nรบmero de elementos como parรกmetro "out int" - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - El tipo "{0}" especifica que admite el modo de serializaciรณn "{1}" para "{2}", pero no proporciona un mรฉtodo "AllocateContainerForUnmanagedElements" de dos parรกmetros que toma "{2}" como primer parรกmetro y "out int" como segundo parรกmetro - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - Un serializador de valores sin estado que admita la serializaciรณn de no administrado a administrado debe proporcionar un mรฉtodo "ConvertToManaged" que tome el tipo no administrado como parรกmetro y devuelva el tipo administrado. - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - El tipo "{0}" especifica que admite el modo de serializaciรณn "{1}", pero no proporciona un mรฉtodo "ConvertToManaged" que toma el tipo no administrado como parรกmetro y devuelve "{2}" - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - Un serializador de valores sin estado que admita la serializaciรณn de administrado a no administrado debe proporcionar un mรฉtodo "ConvertToUnmanaged" de un parรกmetro que tome el valor administrado como parรกmetro y devuelva un valor del tipo "no administrado". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - El tipo "{0}" especifica que admite el modo de serializaciรณn "{1}" para "{2}" pero no proporciona un mรฉtodo "ConvertToUnmanaged" de un solo parรกmetro que toma un "{2}" como parรกmetro y devuelve un valor de un tipo "no administrado". - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - El tipo de valor devuelto de "ConvertToUnmanaged" y el tipo de parรกmetro de "ConvertToManaged" deben coincidir. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - El tipo de valor devuelto de "ConvertToUnmanaged" y el tipo de parรกmetro de "ConvertToManaged" deben coincidir - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - El tipo no administrado de un serializador personalizado debe ser un tipo no administrado de C#. - - - - The return type of '{0}' must be unmanaged - El tipo de valor devuelto de "{0}" debe ser no administrado - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - "void*" debe poder convertirse al tipo para que el resultado anclado del mรฉtodo "GetPinnableReference" estรกtico se pueda pasar al contexto nativo despuรฉs de anclarse. - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - "void*" debe poder convertirse al tipo "{0}" porque el tipo administrado "{1}" tiene un mรฉtodo "GetPinnableReference" estรกtico - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - Un tipo de punto de entrada para serializar un tipo determinado debe tener un "System.Runtime.InteropServices.CustomMarshallerAttribute" que especifique este tipo como el tipo administrado. - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - El tipo de serializador de punto de entrada "{0}" para el tipo "{1}" debe ser un tipo con al menos un "System.Runtime.InteropServices.CustomMarshallerAttribute" que especifique este tipo como el tipo administrado - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - Un tipo nativo de variante โ€œValueโ€ o โ€œLinearCollectionโ€ que admita serializaciรณn en la direcciรณn โ€œOutโ€ debe proporcionar un mรฉtodo โ€œToManagedโ€ que devuelva el tipo administrado. - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - El tipo โ€œ{0}โ€ especifica que admite la serializaciรณn en la direcciรณn โ€œOutโ€, pero no proporciona un mรฉtodo โ€œToManagedโ€ que devuelva el tipo administrado - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - El tipo de valor devuelto de "ToUnmanaged" y el tipo de parรกmetro de "FromUnmanaged" deben coincidir. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - El tipo de valor devuelto de "ToUnmanaged" y el tipo de parรกmetro de "FromUnmanaged" deben ser el mismo - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - Para los tipos que no son compatibles con P/Invokes de un generador de cรณdigo fuente, el P/Invoke resultante se basarรก en el entorno de ejecuciรณn subyacente para serializar las referencias del tipo especificado. - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - El tipo โ€œ{0}โ€ no es compatible con P/Invokes de un generador de cรณdigo fuente. El cรณdigo fuente generado no controlarรก la serializaciรณn del parรกmetro โ€œ{1}โ€. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} El origen generado no controlarรก la serializaciรณn del parรกmetro โ€œ{1}โ€. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - El tipo โ€œ{0}โ€ no es compatible con P/Invokes de un generador de cรณdigo fuente. El cรณdigo fuente generado no controlarรก la serializaciรณn del valor devuelto del mรฉtodo โ€œ{1}โ€. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} El cรณdigo fuente generado no controlarรก la serializaciรณn del valor devuelto del mรฉtodo โ€œ{1}โ€. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - El tipo especificado no estรก admitido por P/Invokes de un generador de cรณdigo fuente - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Se proporcionรณ informaciรณn de serializaciรณn innecesaria. Esta informaciรณn de serializaciรณn se puede quitar sin ningรบn cambio en el comportamiento de la aplicaciรณn. - - - - Unnecessary marshalling info was provided and can be removed. - Se proporcionรณ informaciรณn de serializaciรณn innecesaria y se puede quitar. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Se proporcionรณ informaciรณn de serializaciรณn innecesaria '{0}' para el parรกmetro '{1}' - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Se proporcionรณ informaciรณn de clasificaciรณn innecesaria '{0}' para el tipo de mรฉtodo de devoluciรณn '{1}' - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - Un tipo nativo de tipo \"Value\" que admita la caracterรญstica \"CallerAllocatedBuffer\" debe proporcionar un constructor de dos parรกmetros que tome el tipo administrado y un \"Span\" de un tipo \"no administrado\" como parรกmetros - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - El tipo โ€œ{0}โ€ especifica que admite serializar โ€œInโ€ con la caracterรญstica โ€œCallerAllocatedBufferโ€ para โ€œ{1}โ€ pero no provee un constructor de dos parรกmetro que tome un โ€œ{1}โ€ y un โ€œSpanโ€ de un tipo โ€œno administradoโ€ como parรกmetros - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - Un tipo nativo de variante โ€œValueโ€ debe proporcionar un constructor de un solo parรกmetro tomando el tipo administrado como parรกmetro - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - El tipo โ€œ{0}โ€ especifica que admite la serializaciรณn โ€œInโ€ de โ€œ{1}โ€ pero no proporciona un constructor de un solo parรกmetro que tome un โ€œ{1}โ€ como parรกmetro - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.fr.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.fr.xlf deleted file mode 100644 index 6fd0235a24952..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.fr.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - Ajouter les membres du marshaleur de type personnalisรฉ manquants - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Lorsque la forme ยซย Managรฉe ร  non managรฉe avec mรฉmoire tampon allouรฉe par lโ€™appelantย ยป est utilisรฉe en fournissant une mรฉthode ยซย FromManagedย ยป qui prend un ยซย Span<T>ย ยป sur le type marshaler, le type doit fournir une propriรฉtรฉ ยซย BufferSizeย ยป statique pour fournir le nombre dโ€™รฉlรฉments dans la mรฉmoire tampon allouรฉe par lโ€™appelant. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - Le type de marshaleur ยซย {0}ย ยป doit avoir une propriรฉtรฉ ยซย BufferSizeย ยป en lecture seule ยซย intย ยป statique pour spรฉcifier la taille de la mรฉmoire tampon allouรฉe par lโ€™appelant, car elle a une mรฉthode FromManaged qui accepte un ยซย Span<{1}>ย ยป allouรฉ par lโ€™appelant - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - Le ยซย DllImportAttributeย ยป gรฉnรฉrรฉ nโ€™aura pas de valeur correspondant ร  ยซย {0}ย ยป. - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - '{0}' nโ€™a pas dโ€™รฉquivalent dans 'DllImportAttribute' et ne sera pas transfรฉrรฉ. - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - Les arguments ยซย LibraryImportAttributeย ยป spรฉcifiรฉs ne peuvent pas รชtre transfรฉrรฉs ร  ยซย DllImportAttributeย ยป - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - Les P/Invokes gรฉnรฉrรฉs par la source ignorent toute configuration qui nโ€™est pas prise en charge. - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configuration '{0}' nโ€™est pas prise en charge par les appels/P gรฉnรฉrรฉs par la source. Si la configuration spรฉcifiรฉe est requise, utilisez plutรดt un 'DllImport' standard. - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - La configuration de marshaling spรฉcifiรฉe nโ€™est pas prise en charge par les P/Invokes gรฉnรฉrรฉs par la source. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configuration '{0}' spรฉcifiรฉe pour le paramรจtre '{1}' nโ€™est pas prise en charge par les P/Invokes gรฉnรฉrรฉs par la source. Si la configuration spรฉcifiรฉe est requise, utilisez plutรดt un 'DllImport' standard. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configuration '{0}' spรฉcifiรฉe pour la valeur de retour de la mรฉthode '{1}' nโ€™est pas prise en charge par les P/Invokes gรฉnรฉrรฉs par la source. Si la configuration spรฉcifiรฉe est requise, utilisez plutรดt un 'DllImport' standard. - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - La valeur spรฉcifiรฉe '{0}' pour '{1}' nโ€™est pas prise en charge par les P/Invokes gรฉnรฉrรฉs par la source. Si la valeur spรฉcifiรฉe est requise, utilisez un 'DllImport' standard ร  la place. - - - - Specified configuration is not supported by source-generated P/Invokes. - La configuration spรฉcifiรฉe nโ€™est pas prise en charge par les P/Invokes gรฉnรฉrรฉs par la source. - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - La conversion automatique dโ€™un P/Invoke avec ยซย PreserveSigย ยป dรฉfini sur ยซย falseย ยป en P/Invoke gรฉnรฉrรฉ par la source peut produire du code non valide - - - - Convert to 'LibraryImport' - Convertir en ยซย LibraryImportย ยป - - - - Convert to 'LibraryImport' and enable unsafe code - Convertir en 'LibraryImport' et activer le code non sรฉcurisรฉ - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Utilisez ยซย LibraryImportAttributeย ยป ร  la place de ยซย DllImportAttributeย ยป pour gรฉnรฉrer du code de marshaling P/Invoke au moment de la compilation - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - La conversion de cette API en 'LibraryImport' nรฉcessite du code supplรฉmentaire pour fournir des marshaleurs personnalisรฉs pour certains paramรจtres. - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Marquer la mรฉthode ยซย {0}ย ยป avec ยซย LibraryImportAttributeย ยป ร  la place de ยซย DllImportAttributeย ยป pour gรฉnรฉrer du code de marshaling P/Invoke au moment de la compilation - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Utilisez ยซย LibraryImportAttributeย ยป ร  la place de ยซย DllImportAttributeย ยป pour gรฉnรฉrer du code de marshaling P/Invoke au moment de la compilation - - - - Convert to 'LibraryImport' with '{0}' suffix - Convertir en ยซย LibraryImportย ยป avec suffixe ยซย {0}ย ยป - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - Convertir en 'LibraryImport' avec le suffixe '{0}' et activer le code non sรฉcurisรฉ - - - - Marshaller type does not have the required shape - Le type Marshaller nโ€™a pas la forme requise - - - - A marshaller for an element scenario cannot be stateful. - Un marshaleur pour un scรฉnario dโ€™รฉlรฉment ne peut pas รชtre avec รฉtat. - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - Le type de marshaleur spรฉcifiรฉ '{0}' est un marshaleur avec รฉtat, mais les marshaleurs avec รฉtat ne sont pas autorisรฉs dans le mode marshal '{1}' fourni - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - Le type dโ€™รฉlรฉment de lโ€™รฉtendue retournรฉe par la premiรจre mรฉthode doit รชtre du mรชme type que le type dโ€™รฉlรฉment de lโ€™รฉtendue retournรฉe par la deuxiรจme mรฉthode. - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - Le type dโ€™รฉlรฉment de lโ€™รฉtendue retournรฉe par '{0}' doit รชtre du mรชme type que le type dโ€™รฉlรฉment de lโ€™รฉtendue retournรฉe par '{1}'. - - - - An entry-point type for marshalling a given type must not be 'null'. - Un type de point dโ€™entrรฉe pour le marshaling dโ€™un type donnรฉ ne doit pas รชtre ยซย nullย ยป. - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - Le type de marshaleur de point dโ€™entrรฉe pour le type ยซย {0}ย ยป ne doit pas รชtre ยซย nullย ยป - - - - The first parameter of the first method must be the same type as the return types of the second method. - Le premier paramรจtre de la premiรจre mรฉthode doit รชtre du mรชme type que les types de retour de la deuxiรจme mรฉthode. - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - Le premier paramรจtre de '{0}' doit รชtre du mรชme type que le type de retour de '{1}' - - - - The first parameters of the two methods must be the same type. - Les premiers paramรจtres des deux mรฉthodes doivent รชtre du mรชme type. - - - - The first parameter of '{0}' and '{1}' must be the same type - Le premier paramรจtre de '{0}' et '{1}' doit รชtre du mรชme type - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - La surcharge de la mรฉthode ยซย FromUnmanagedย ยป nโ€™est pas prise en charge, car certaines formes ne peuvent pas faire la distinction entre les surcharges. - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - Le type '{0}' surcharge la mรฉthode 'FromUnmanaged', qui nโ€™est pas prise en charge dans les marshaleurs personnalisรฉs - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - Le type de retour de ยซย GetPinnableReferenceย ยป (aprรจs la gestion des comptes pour ยซย refย ยป) doit รชtre blittable. - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - Le type dรฉrรฉfรฉrencรฉ du type de retour de la mรฉthode GetPinnableReference doit รชtre blittable - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - La mรฉthode ยซย {0}ย ยป est contenue dans un type ยซย {1}ย ยป qui nโ€™est pas marquรฉ comme รฉtant ยซย partialย ยป. La gรฉnรฉration source P/Invoke ignore la mรฉthode ยซย {0}ย ยป. - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - Les mรฉthodes marquรฉes avec ยซย LibraryImportAttributeย ยป doivent รชtre ยซย staticย ยป, ยซย partialย ยป et non gรฉnรฉriques. La gรฉnรฉration de source P/Invoke ignore les mรฉthodes qui ne sont pas statiques, non partielles ou gรฉnรฉriques. - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - La mรฉthode ยซย {0}ย ยป doit รชtre ยซย staticย ยป, ยซย partialย ยป et non gรฉnรฉrique quand elle est marquรฉe avec ยซย LibraryImportAttributeย ยป. La gรฉnรฉration source P/Invoke ignore la mรฉthode ยซย {0}ย ยป. - - - - Invalid 'CustomMarshallerAttribute' usage - Utilisation de 'CustomMarshallerAttribute' non valide - - - - Invalid 'LibraryImportAttribute' usage - Utilisation de ยซย LibraryImportAttributeย ยป non valide - - - - Specified managed type is invalid - Le type managรฉ spรฉcifiรฉ nโ€™est pas valide - - - - Invalid 'MarshalMode' value. - Valeur 'MarshalMode' non valide. - - - - Specified marshaller type is invalid - Le type de marshaleur spรฉcifiรฉ nโ€™est pas valide - - - - Invalid 'NativeMarshallingAttribute' usage - Utilisation de 'NativeMarstribuingAttribute' non valide - - - - Marshaller type has incompatible method signatures - Le type Marshaller a des signatures de mรฉthode incompatibles - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - La configuration de ยซย StringMarshallingย ยป et de ยซย StringMarshallingCustomTypeย ยป nโ€™est pas valide. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - La configuration de ยซย StringMarshallingย ยป et de ยซย StringMarshallingCustomTypeย ยป nโ€™est sur la mรฉthode ยซย {0}ย ยป pas valide. {1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - ยซย StringMarshallingCustomTypeย ยป doit รชtre spรฉcifiรฉ quand ยซย StringMarshallingย ยป a la valeur ยซย StringMarshalling.Customย ยป. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - ยซย StringMarshallingย ยป doit รชtre dรฉfini sur ยซย StringMarshalling.Customย ยป quand ยซย StringMarshallingCustomTypeย ยป est spรฉcifiรฉ. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - Le type dโ€™รฉlรฉment de ยซย ReadOnlySpanย ยป retournรฉ par ยซย GetManagedValuesSourceย ยป doit รชtre identique au type dโ€™รฉlรฉment retournรฉ par ยซย GetManagedValuesDestinationย ยป. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - Le type dโ€™รฉlรฉment de ยซย ReadOnlySpanย ยป retournรฉ par ยซย GetManagedValuesSourceย ยป doit รชtre identique au type dโ€™รฉlรฉment retournรฉ par ยซย GetManagedValuesDestinationย ยป - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - Un type natif de type ยซLinearCollectionยป qui prend en charge la fonctionnalitรฉ ยซCallerAllocatedBufferยป doit fournir un constructeur ร  trois paramรจtres prenant le type managรฉ comme premier paramรจtre, un ยซSpan<byte>ยป comme deuxiรจme paramรจtre et la taille native de lโ€™รฉlรฉment comme troisiรจme paramรจtre - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - Le type ยซ{0}ยป spรฉcifie quโ€™il prend en charge le marshaling ยซInยป avec la fonctionnalitรฉ ยซCallerAllocatedBufferยป pour ยซ{1}ยป mais ne fournit pas de constructeur ร  trois paramรจtres qui accepte un ยซ{1}ยป, un ยซSpan<byte>ยป et un ยซintยป - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - Un marshaleur de collection contigu qui prend en charge le marshaling de managรฉ ร  non managรฉ doit fournir un 'GetManagedValuesSource' qui retourne un 'ReadOnlySpan<>' et une mรฉthode 'GetUnmanagedValuesDestination' qui retourne un 'Span<>'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}', mais il ne fournit pas de 'GetManagedValuesSource' qui retourne un 'ReadOnlySpan<>' et une mรฉthode 'GetUnmanagedValuesDestination' qui retourne 'Span<>' - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - Un marshaleur de collection contigu qui prend en charge le marshaling de non managรฉ ร  managรฉ doit fournir un 'GetManagedValuesDestination' qui prend un 'int' et retourne 'Span<>' et une mรฉthode 'GetUnmanagedValuesSource' qui prend un 'int' et retourne un 'ReadOnlySpan<>'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}', mais il ne fournit pas de 'GetManagedValuesDestination' qui prend un 'int' et retourne 'Span<>' et une mรฉthode 'GetUnmanagedValuesSource' qui prend un 'int' et retourne un 'ReadOnlySpan<>' - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - Le type de marshaleur doit รชtre un gรฉnรฉrique fermรฉ ou avoir le mรชme nombre de paramรจtres gรฉnรฉriques que le type managรฉ pour que le gรฉnรฉrateur puisse dรฉterminer quelles mรฉthodes sont disponibles sur les types de marshaleurs spรฉcifiques. - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - Le type managรฉ ยซย {0}ย ยป pour le type marshaleur de point dโ€™entrรฉe ยซย {1}ย ยป doit รชtre un type gรฉnรฉrique fermรฉ, avoir la mรชme aritรฉ que le type managรฉ sโ€™il sโ€™agit dโ€™un marshaleur de valeurs ou avoir un paramรจtre gรฉnรฉrique supplรฉmentaire sโ€™il sโ€™agit dโ€™un marshaleur de collection. - - - - The managed type for a custom marshaller must be non-null. - Le type managรฉ dโ€™un marshaleur personnalisรฉ doit รชtre non null. - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - Le type managรฉ du type marshaleur de point dโ€™entrรฉe ยซย {0}ย ยป ne doit pas avoir la valeur 'null' - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configuration ยซ MarshalAsAttribute ยป spรฉcifiรฉe pour le paramรจtre ยซ{1}ยป nโ€™est pas prise en charge par les P/Invokes gรฉnรฉrรฉs par la source. Si la configuration spรฉcifiรฉe est requise, utilisez plutรดt un ยซ DllImport ยป standard. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configuration ยซ MarshalAsAttribute ยป spรฉcifiรฉe pour la valeur de retour de la mรฉthode ยซ{1}ยป nโ€™est pas prise en charge par les P/Invokes gรฉnรฉrรฉs par la source. Si la configuration spรฉcifiรฉe est requise, utilisez plutรดt un ยซ DllImport ยป standard. - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - Lโ€™argument 'marshalMode' de 'CustomMarshallerAttribute' doit รชtre une valeur enum valide de 'MarshalMode'. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Le type marshaler doit รชtre un gรฉnรฉrique fermรฉ ou avoir le mรชme nombre de paramรจtres gรฉnรฉriques que le type managรฉ pour que le code รฉmis puisse utiliser une instanciation spรฉcifique. - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - Le type marshaleur ยซย {0}ย ยป pointรฉ par le type marshaler de point dโ€™entrรฉe ยซ0รก{1}ย ยป doit รชtre un type gรฉnรฉrique fermรฉ ou avoir la mรชme aritรฉ que le type managรฉ - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - Le paramรจtre ยซย marshallerTypeย ยป dans ยซย System.Runtime.InteropServices.Marshalling.CustomMarshallerAttributeย ยป ne peut pas รชtre ยซย nullย ยป. - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - Le paramรจtre ยซย marshallerTypeย ยป dans ยซย System.Runtime.InteropServices.Marshalling.CustomMarshallerAttributeย ยป ne peut pas รชtre ยซย nullย ยป - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - Un type de marshaleur doit รชtre une classe statique sans รฉtat ou un type valeur avec รฉtat. Une classe non statique nโ€™est pas autorisรฉe. - - - - The type '{0}' must be a static class or a value type - Le type '{0}' doit รชtre une classe statique ou un type valeur - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - Un type avec un ยซย System.Runtime.InteropServices.CustomMarshallerAttributeย ยป doit spรฉcifier un type managรฉ non 'null' - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - Le type ยซย {0}ย ยป ne spรฉcifie pas de type managรฉ dans ยซย System.Runtime.InteropServices.CustomMarshallerAttributeย ยป appliquรฉ au type - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Le type marshaler doit รชtre un gรฉnรฉrique fermรฉ ou avoir le mรชme nombre de paramรจtres gรฉnรฉriques que le type managรฉ pour que le code รฉmis puisse utiliser une instanciation spรฉcifique. - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - Le type de marshaleur ยซย {0}ย ยป pour le type managรฉ ยซย {1}ย ยป doit รชtre un type gรฉnรฉrique fermรฉ, avoir la mรชme aritรฉ que le type managรฉ sโ€™il sโ€™agit dโ€™un marshaleur de valeurs ou avoir un paramรจtre gรฉnรฉrique supplรฉmentaire sโ€™il sโ€™agit dโ€™un marshaleur de collection. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute requiert du code non sรฉcurisรฉ. Le projet doit รชtre mis ร  jour avec '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute requiert du code non sรฉcurisรฉ. Le projet doit รชtre mis ร  jour avec '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - - LibraryImportAttribute requires unsafe code. - LibraryImportAttribute requiert du code non sรฉcurisรฉ. - - - - The return type the two method must be the expected type. - Le type de retour de la mรฉthode deux doit รชtre le type attendu. - - - - The return type of '{0}' must be '{1}' - Le type de retour '{0}' doit รชtre '{1}' - - - - The return types of the two methods must be the same type. - Les types de retour des deux mรฉthodes doivent รชtre du mรชme type. - - - - The return type of '{0}' must be the same type as the return type of '{1}' - Le type de retour de '{0}' doit รชtre le mรชme que le type de retour de '{1}' - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - Un marshaleur avec รฉtat doit avoir une mรฉthode dโ€™instance de retour void de paramรจtre zรฉro nommรฉe 'Free'. - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - Le type '{0}' est un marshaleur avec รฉtat et nโ€™a pas de mรฉthode dโ€™instance de retour void de paramรจtre zรฉro nommรฉe 'Free' - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - Un marshaleur avec รฉtat qui prend en charge le marshaling de managรฉ ร  non managรฉ doit fournir une mรฉthode dโ€™instance 'FromManaged' qui prend la valeur managรฉe en tant que paramรจtre et retourne 'void'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}' pour '{2}', mais il ne fournit pas de mรฉthode dโ€™instance ร  un paramรจtre nommรฉe 'FromManaged' qui accepte '{2}' comme paramรจtre et retourne 'void' - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - Un marshaleur avec รฉtat qui prend en charge le marshaling de non managรฉ ร  managรฉ doit fournir une mรฉthode dโ€™instance 'FromUnmanaged' qui prend la valeur non managรฉe comme paramรจtre et retourne 'void'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}' pour '{2}', mais il ne fournit pas de mรฉthode dโ€™instance ร  un paramรจtre nommรฉe 'FromUnmanaged' qui prend la valeur 'unmanaged' comme paramรจtre et retourne 'void' - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - Un marshaleur avec รฉtat qui prend en charge le marshaling de non managรฉ ร  managรฉ doit fournir une mรฉthode dโ€™instance 'ToManaged' qui ne prend aucun paramรจtre et retourne le type managรฉ. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}' pour '{2}', mais il ne fournit pas de mรฉthode dโ€™instance de paramรจtre zรฉro nommรฉe 'ToManaged' qui retourne '{2}' - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - Un marshaleur avec รฉtat qui prend en charge le marshaling de managรฉ ร  non managรฉ doit fournir une mรฉthode dโ€™instance 'ToUnmanaged' qui ne prend aucun paramรจtre et retourne le type 'unmanaged'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}' pour '{2}', mais il ne fournit pas de mรฉthode dโ€™instance de paramรจtre zรฉro nommรฉe 'ToUnmanaged' qui retourne le type 'unmanaged' pour le marshaleur - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Lorsque la forme 'Managรฉe ร  non managรฉe avec mรฉmoire tampon allouรฉe par lโ€™appelant' est utilisรฉe en fournissant une mรฉthode 'AllocateContainerForUnmanagedElements' qui prend un 'Span<T>' sur le type marshaler, le type doit fournir une propriรฉtรฉ 'BufferSize' statique pour fournir le nombre dโ€™รฉlรฉments dans la mรฉmoire tampon allouรฉe par lโ€™appelant. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - Le type marshaleur '{0}' doit avoir une propriรฉtรฉ 'int' 'BufferSize' statique en lecture seule pour spรฉcifier la taille de la mรฉmoire tampon allouรฉe par lโ€™appelant, car elle a une mรฉthode 'AllocateContainerForUnmanagedElements' qui accepte un 'Span<{1}>' allouรฉ par lโ€™appelant - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Un marshaleur de collection contigu qui prend en charge le marshaling de managรฉ ร  non managรฉ doit fournir un 'GetManagedValuesSource' qui prend la valeur managรฉe en tant que paramรจtre et retourne un 'ReadOnlySpan<>' et une mรฉthode 'GetUnmanagedValuesDestination' qui prend la valeur non managรฉe comme paramรจtre et retourne un 'Span<>' - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}', mais il ne fournit pas de 'GetManagedValuesSource' qui prend '{2}' comme paramรจtre et retourne 'ReadOnlySpan<>' et une mรฉthode 'GetUnmanagedValuesDestination' qui prend la valeur non managรฉe comme paramรจtre et retourne 'Span<>' - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - Un marshaleur de collection contigu qui prend en charge le marshaling de non managรฉ ร  managรฉ doit fournir un 'GetManagedValuesDestination' qui prend la valeur managรฉe et retourne un 'Span<>' et une mรฉthode 'GetUnmanagedValuesSource' qui prend la valeur non managรฉe et un 'int' et retourne un 'ReadOnlySpan<>'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}', mais il ne fournit pas de 'GetManagedValuesDestination' qui prend '{2}' et retourne 'Span<>' et une mรฉthode 'GetUnmanagedValuesSource' qui prend la valeur non managรฉe et un 'int' et retourne un 'ReadOnlySpan<>' - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - Un marshaleur de collection contigu sans รฉtat qui prend en charge le marshaling de managรฉ ร  non managรฉ doit fournir une mรฉthode 'AllocateContainerForManagedElements' prenant le type non managรฉ comme premier paramรจtre et le nombre dโ€™รฉlรฉments en tant que paramรจtre 'int' - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}' pour '{2}', mais ne fournit pas de mรฉthode 'AllocateContainerForManagedElements' ร  deux paramรจtres qui prend le type non managรฉ comme premier paramรจtre et un 'int' comme second paramรจtre - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - Un marshaleur de collection contigu sans รฉtat qui prend en charge le marshaling de managรฉ ร  non managรฉ doit fournir une mรฉthode 'AllocateContainerForUnmanagedElements' prenant le type managรฉ comme premier paramรจtre et en fournissant le nombre dโ€™รฉlรฉments en tant que paramรจtre 'out int' - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}' pour '{2}', mais ne fournit pas de mรฉthode 'AllocateContainerForUnmanagedElements' ร  deux paramรจtres qui accepte '{2}' comme premier paramรจtre et 'out int' comme second paramรจtre - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - Un marshaleur de valeurs sans รฉtat qui prend en charge le marshaling dโ€™un marshaling non managรฉ ร  managรฉ doit fournir une mรฉthode 'ConvertToManaged' qui prend le type non managรฉ en tant que paramรจtre et retourne le type managรฉ. - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}', mais il ne fournit pas de mรฉthode 'ConvertToManaged' qui accepte le type non managรฉ comme paramรจtre et retourne '{2}' - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - Un marshaleur de valeurs sans รฉtat qui prend en charge le marshaling de managรฉ ร  non managรฉ doit fournir une mรฉthode 'ConvertToUnmanaged' ร  paramรจtre unique qui accepte la valeur managรฉe comme paramรจtre et retourne une valeur du type 'unmanaged'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - Le type '{0}' spรฉcifie quโ€™il prend en charge le mode marshal '{1}' pour '{2}' mais ne fournit pas de mรฉthode 'ConvertToUnmanaged' ร  un paramรจtre qui accepte un '{2}' comme paramรจtre et retourne une valeur de type 'unmanaged' - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - Le type de retour de ยซย ConvertToUnmanagedย ยป et le type de paramรจtre ยซย ConvertToManagedย ยป doivent รชtre identiques. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - Le type de retour de ยซย ConvertToUnmanagedย ยป et le type de paramรจtre ยซย ConvertToManagedย ยป doivent รชtre identiques - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - Le type non managรฉ dโ€™un marshaleur personnalisรฉ doit รชtre un type non managรฉ C#. - - - - The return type of '{0}' must be unmanaged - Le type de retour '{0}' doit รชtre non managรฉ - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - ยซย void*ย ยป doit รชtre castable en type pour que le rรฉsultat รฉpinglรฉ de la mรฉthode ยซย GetPinnableReferenceย ยป statique puisse รชtre passรฉ au contexte natif aprรจs avoir รฉtรฉ รฉpinglรฉ. - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - ยซย void*ย ยป doit รชtre castable en type ยซย {0}ย ยป, car le type managรฉ ยซย {1}ย ยป a une mรฉthode ยซย GetPinnableReferenceย ยป statique - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - Un type de point dโ€™entrรฉe pour le marshaling dโ€™un type donnรฉ doit avoir un ยซย System.Runtime.InteropServices.CustomMarshallerAttributeย ยป qui spรฉcifie ce type en tant que type managรฉ. - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - Le type de marshaleur de point dโ€™entrรฉe ยซย {0}ย ยป pour le type ยซย {1}ย ยป doit รชtre un type avec au moins un type ยซย System.Runtime.InteropServices.CustomMarspiaerAttributeย ยป qui spรฉcifie ce type comme type managรฉ - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - Un type natif de type ยซย Valueย ยป ou ยซย LinearCollectionย ยป qui prend en charge le marshaling dans la direction ยซย Outย ยป doit fournir une mรฉthode ยซย ToManagedย ยป qui retourne le type managรฉ. - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - Le type ยซย {0}ย ยป spรฉcifie quโ€™il prend en charge le marshaling dans la direction ยซย Outย ยป, mais il ne fournit pas de mรฉthode ยซย ToManagedย ยป qui retourne le type managรฉ - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - Le type de retour de ยซย ToUnmanagedย ยป et le type de paramรจtre ยซย FromUnmanagedย ยป doivent รชtre identiques. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - Le type de retour de ยซย ToUnmanagedย ยป et le type de paramรจtre ยซย FromUnmanagedย ยป doivent รชtre identiques - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - Pour les types qui ne sont pas pris en charge par les P/Invok gรฉnรฉrรฉs par la source, le P/Invoke rรฉsultant se base sur le runtime sous-jacent pour marshaler le type spรฉcifiรฉ. - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - Le type ยซย {0}ย ยป nโ€™est pas pris en charge par les P/Invokes gรฉnรฉrรฉs par la source. La source gรฉnรฉrรฉe ne gรจre pas le marshaling du paramรจtre ยซย {1}ย ยป. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} La source gรฉnรฉrรฉe ne gรจre pas le marshaling du paramรจtre ยซย {1}ย ยป. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - Le type ยซย {0}ย ยป nโ€™est pas pris en charge par les P/Invokes gรฉnรฉrรฉs par la source. La source gรฉnรฉrรฉe ne gรจre pas le marshaling de la valeur de retour de la mรฉthode ยซย {1}ย ยป. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} La source gรฉnรฉrรฉe ne gรจre pas le marshaling de la valeur de retour de la mรฉthode ยซย {1}ย ยป. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - Le type spรฉcifiรฉ nโ€™est pas prise en charge par les P/Invokes gรฉnรฉrรฉs par la source. - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Des informations de triage inutiles ont รฉtรฉ fournies. Ces informations de regroupement peuvent รชtre supprimรฉes sans aucune modification du comportement de l'application. - - - - Unnecessary marshalling info was provided and can be removed. - Des informations de rassemblement inutiles ont รฉtรฉ fournies et peuvent รชtre supprimรฉes. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Des informations de regroupement inutiles '{0}' ont รฉtรฉ fournies pour le paramรจtre '{1}' - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Des informations de regroupement inutiles '{0}' ont รฉtรฉ fournies pour le type de retour de la mรฉthode '{1}' - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - Un type natif de type ยซValueยป qui prend en charge la fonctionnalitรฉ ยซCallerAllocatedBufferยป doit fournir un constructeur ร  deux paramรจtres prenant le type managรฉ et un ยซย Spanย ยป dโ€™un type ยซย non gรฉrรฉย ยป comme paramรจtres - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - Le type ยซ {0} ยป spรฉcifie quโ€™il prend en charge le marshaling ยซInยป avec la fonctionnalitรฉ ยซCallerAllocatedBufferยป pour ยซ {1} ยป mais ne fournit pas de constructeur ร  deux paramรจtre qui accepte un ยซ {1} ยป et ยซ Span ยป dโ€™un type ยซ non gรฉrรฉ ยป comme paramรจtres. - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - Un type natif de type ยซย Valueย ยป doit fournir un constructeur ร  un paramรจtre prenant le type managรฉ en tant que paramรจtre - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - Le type ยซย {0}ย ยป spรฉcifie quโ€™il prend en charge le marshaling ยซย Inย ยป de ยซย {1}ย ยป mais ne fournit pas de constructeur ร  paramรจtre unique qui accepte un ยซย {1}ย ยป comme paramรจtre - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.it.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.it.xlf deleted file mode 100644 index 4ad947e968b63..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.it.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - Aggiungi membri mancanti del gestore del marshalling di tipi personalizzato mancanti - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Quando si usa la forma 'Managed to Unmanaged with Caller-Allocated Buffer', fornendo un metodo "FromManaged" che accetta un elemento "Span<T>" per il tipo di marshaller, il tipo deve fornire una proprietร  statica "BufferSize" per fornire il numero di elementi nel buffer allocato dal chiamante. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - Il tipo di marshaller '{0}' deve avere una proprietร  'int' 'BufferSize' di sola lettura statica per specificare le dimensioni del buffer allocato dal chiamante perchรฉ dispone di un metodo FromManaged che accetta un elemento 'Span<{1}>' allocato dal chiamante - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - L'elemento 'DllImportAttribute' generato non avrร  un valore corrispondente a '{0}'. - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - '{0}' non ha equivalenti in 'DllImportAtttribute' e non verrร  inoltrato - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - Gli argomenti 'LibraryImportAttribute' specificati non possono essere inoltrati a 'DllImportAttribute' - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - I P/Invoke generati dall'origine ignoreranno qualsiasi configurazione non supportata. - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configurazione '{0}' non รจ supportata dai P/Invoke generati dall'origine. Se la configurazione specificata รจ obbligatoria, usa un attributo `DllImport` normale. - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - La configurazione di marshalling specificata non รจ supportata dai P/Invoke generati dall'origine. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configurazione '{0}' specificata per il parametro '{1}' non รจ supportata dai P/Invoke generati dall'origine. Se la configurazione specificata รจ obbligatoria, us un attributo `DllImport` normale. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configurazione '{0}' specificata per il valore restituito del metodo '{1}' non รจ supportata dai P/Invoke generati dall'origine. Se la configurazione specificata รจ obbligatoria, usa un attributo `DllImport` normale. - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - Il valore specificato '{0}' per '{1}' non รจ supportato da P/Invoke generati dall'origine. Se il valore specificato รจ obbligatorio, usa un 'DllImport' normale. - - - - Specified configuration is not supported by source-generated P/Invokes. - La configurazione specificata non รจ supportata dai P/Invoke generati dall'origine. - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - La conversione automatica di un P/Invoke con 'PreserveSig' impostato su 'false' in un P/Invoke generato dall'origine puรฒ produrre codice non valido - - - - Convert to 'LibraryImport' - Converti in 'LibraryImport' - - - - Convert to 'LibraryImport' and enable unsafe code - Converti in 'LibraryImport' e abilita codice non sicuro - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Usare 'LibraryImportAttribute' invece di 'DllImportAttribute' per generare codice di marshalling di P/Invoke in fase di compilazione - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - La conversione di questa API in 'LibraryImport' richiederร  codice aggiuntivo per fornire gestori di marshalling personalizzati per alcuni parametri. - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Contrassegnare il metodo '{0}' con 'LibraryImportAttribute' invece di 'DllImportAttribute' per generare codice di marshalling di P/Invoke in fase di compilazione - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Usare 'LibraryImportAttribute' invece di 'DllImportAttribute' per generare codice di marshalling di P/Invoke in fase di compilazione - - - - Convert to 'LibraryImport' with '{0}' suffix - Converti in 'LibraryImport' con il suffisso '{0}' - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - Converti in 'LibraryImport' con il suffisso '{0}' e abilita codice non sicuro - - - - Marshaller type does not have the required shape - Il tipo di marshaller non ha la forma richiesta - - - - A marshaller for an element scenario cannot be stateful. - Un gestore di marshalling per uno scenario di elemento non puรฒ essere con stato. - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - Il tipo di marshalling specificato '{0}' รจ un gestore di marshalling con stato, ma i marshalling con stato non sono consentiti nella modalitร  di marshalling specificata '{1}' - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - Il tipo di elemento dell'intervallo restituito dal primo metodo deve essere dello stesso tipo del tipo di elemento dell'intervallo restituito dal secondo metodo. - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - Il tipo di elemento dell'intervallo restituito da '{0}' deve essere dello stesso tipo del tipo di elemento dell'intervallo restituito da '{1}'. - - - - An entry-point type for marshalling a given type must not be 'null'. - Un tipo di punto di ingresso per il marshalling di un tipo specificato non deve essere 'null'. - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - Il tipo di marshaller del punto di ingresso per il tipo '{0}' non deve essere 'null' - - - - The first parameter of the first method must be the same type as the return types of the second method. - Il primo parametro del primo metodo deve essere dello stesso tipo dei tipi restituiti del secondo metodo. - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - Il primo parametro di '{0}' deve essere dello stesso tipo restituito di '{1}' - - - - The first parameters of the two methods must be the same type. - I primi parametri dei due metodi devono essere dello stesso tipo. - - - - The first parameter of '{0}' and '{1}' must be the same type - Il primo parametro di '{0}' e '{1}' deve essere dello stesso tipo - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - L'overload del metodo 'FromUnmanaged' non รจ supportato perchรฉ alcune forme non sono in grado di distinguere tra overload. - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - Il tipo '{0}' esegue l'overload del metodo 'FromUnmanaged', che non รจ supportato nei marshaller personalizzati - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - Il tipo restituito di 'GetPinnableReference' (dopo l'accounting di 'ref') deve essere copiabile da BLT. - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - Il tipo dereferenziato del tipo restituito del metodo 'GetPinnableReference' deve essere copiabile da BLT - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - Il metodo '{0}' รจ contenuto in un tipo '{1}' non contrassegnato come 'partial'. Durante la generazione dell'origine P/Invoke il metodo '{0}' verrร  ignorato. - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - I metodi contrassegnati con 'LibraryImportAttribute' devono essere 'static', 'partial' e non generici. Durante la generazione dell'origine P/Invoke i metodi non 'static', non 'partial' o generici verranno ignorati. - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - Il metodo '{0}' deve essere 'static', 'partial' e non generico quando รจ contrassegnato con 'LibraryImportAttribute'. Durante la generazione dell'origine P/Invoke il metodo '{0}' verrร  ignorato. - - - - Invalid 'CustomMarshallerAttribute' usage - Utilizzo di 'CustomMarshallerAttribute' non valido - - - - Invalid 'LibraryImportAttribute' usage - Utilizzo di 'LibraryImportAttribute' non valido - - - - Specified managed type is invalid - Il tipo gestito specificato non รจ valido - - - - Invalid 'MarshalMode' value. - Valore 'MarshalMode' non valido. - - - - Specified marshaller type is invalid - Il tipo di marshaller specificato non รจ valido - - - - Invalid 'NativeMarshallingAttribute' usage - Utilizzo di 'NativeMarshallingAttribute' non valido - - - - Marshaller type has incompatible method signatures - Il tipo marshaller ha firme di metodo incompatibili - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - La configurazione di 'StringMarshalling' e 'StringMarshallingCustomType' non รจ valida. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - La configurazione di 'StringMarshalling' e 'StringMarshallingCustomType' nel metodo '{0}' non รจ valida. {1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - รˆ necessario specificare 'StringMarshallingCustomType' quando 'StringMarshalling' รจ impostato su 'StringMarshalling.Custom'. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - 'StringMarshalling' deve essere impostato su 'StringMarshalling.Custom' quando รจ specificato 'StringMarshallingCustomType'. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - Il tipo di elemento di 'ReadOnlySpan' restituito da 'GetManagedValuesSource' deve essere uguale al tipo di elemento restituito da 'GetManagedValuesDestination'. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - Il tipo di elemento di 'ReadOnlySpan' restituito da 'GetManagedValuesSource' deve essere uguale al tipo di elemento restituito da 'GetManagedValuesDestination' - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - Un tipo nativo di tipo 'LinearCollection' che supporta la funzionalitร  'CallerAllocatedBuffer' deve fornire un costruttore a tre parametri che accetta il tipo gestito come primo parametro, un elemento 'Span<byte>' come secondo parametro e la dimensione nativa dell'elemento come terzo parametro - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - Il tipo '{0}' specifica che supporta il marshalling 'In' con la funzionalitร  'CallerAllocatedBuffer' per '{1}', ma non fornisce un costruttore a tre parametri che accetta '{1}', 'Span<byte>' e 'int' - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - Un marshaller di raccolta contiguo che supporta il marshalling da gestito a non gestito deve fornire un 'GetManagedValuesSource' che restituisce 'ReadOnlySpan<>' e un metodo 'GetUnmanagedValuesDestination' che restituisce un 'Span<>'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}', ma non fornisce 'GetManagedValuesSource' che restituisce 'ReadOnlySpan<>' e un metodo 'GetUnmanagedValuesDestination' che restituisce un 'Span<>' - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - Un marshaller di raccolta contiguo che supporta il marshalling da non gestito a gestito deve fornire un 'GetManagedValuesDestination' che accetta un 'int' e restituisce un 'Span<>' e un metodo 'GetUnmanagedValuesSource' che accetta 'int' e restituisce 'ReadOnlySpan<>'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}', ma non fornisce un 'GetManagedValuesDestination' che accetta 'int' e restituisce 'Span<>' e un metodo 'GetUnmanagedValuesSource' che accetta 'int' e restituisce 'ReadOnlySpan<>' - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - Il tipo di marshaller deve essere un tipo generico chiuso o avere lo stesso numero di parametri generici del tipo gestito, in modo che il generatore possa determinare quali metodi sono disponibili nei tipi di marshaller specifici. - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - Il tipo gestito '{0}' per il tipo di marshaller di ingresso '{1}' deve essere un tipo generico chiuso, avere lo stesso grado del tipo gestito se si tratta di un marshaller di valori o avere un parametro generico aggiuntivo se si tratta di un marshaller di raccolta. - - - - The managed type for a custom marshaller must be non-null. - Il tipo gestito per un marshaller personalizzato deve essere non null. - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - Il tipo gestito per il tipo di marshaller del punto di ingresso '{0}' non deve essere 'null' - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configurazione 'MarshalAsAttribute' specificata per il parametro '{1}' non รจ supportata dai P/Invoke generati dall'origine. Se la configurazione specificata รจ obbligatoria, us un attributo `DllImport` normale. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - La configurazione 'MarshalAsAttribute' specificata per il valore restituito del metodo '{1}' non รจ supportata dai P/Invoke generati dall'origine. Se la configurazione specificata รจ obbligatoria, usa un attributo 'DllImport' normale. - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - L'argomento 'marshalMode' di 'CustomMarshallerAttribute' deve essere un valore di enumerazione valido di 'MarshalMode'. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Il tipo di marshaller deve essere un generico chiuso o avere lo stesso numero di parametri generici del tipo gestito, in modo che il codice generato possa usare una creazione di istanza specifica. - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - Il tipo di marshaller '{0}' a cui fa riferimento il tipo di marshaller del punto di ingresso '{1}' deve essere un tipo generico chiuso o avere lo stesso grado del tipo gestito - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - Il parametro 'marshallerType' in 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' non puรฒ essere 'null'. - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - Il parametro 'marshallerType' in 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' non puรฒ essere 'null' - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - Un tipo di marshaller deve essere una classe statica senza stato o un tipo di valore con stato. Una classe non statica non รจ consentita. - - - - The type '{0}' must be a static class or a value type - Il tipo '{0}' deve essere una classe statica o un tipo valore - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - Un tipo con 'System.Runtime.InteropServices.CustomMarshallerAttribute' deve specificare un tipo gestito diverso da 'null' - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - Il tipo '{0}' non specifica un tipo gestito nellโ€™elemento 'System.Runtime.InteropServices.CustomMarshallerAttribute' applicato al tipo - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Il tipo di marshaller deve essere un generico chiuso o avere lo stesso numero di parametri generici del tipo gestito, in modo che il codice generato possa usare una creazione di istanza specifica. - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - Il tipo di marshaller '{0}' per il tipo gestito '{1}' deve essere un tipo generico chiuso, avere lo stesso grado del tipo gestito se si tratta di un marshaller di valori o avere un parametro generico aggiuntivo se si tratta di un marshaller di raccolta. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute richiede un codice non sicuro. Il progetto deve essere aggiornato con '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute richiede un codice non sicuro. Il progetto deve essere aggiornato con '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - - LibraryImportAttribute requires unsafe code. - LibraryImportAttribute richiede un codice non sicuro. - - - - The return type the two method must be the expected type. - Tipo restituito il due metodo deve essere il tipo previsto. - - - - The return type of '{0}' must be '{1}' - Il tipo restituito di '{0}' deve essere '{1}' - - - - The return types of the two methods must be the same type. - I tipi restituiti dei due metodi devono essere dello stesso tipo. - - - - The return type of '{0}' must be the same type as the return type of '{1}' - Il tipo restituito di '{0}' deve essere dello stesso tipo restituito di '{1}' - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - Un gestore di marshalling con stato deve avere un metodo di istanza con restituzione void con parametro zero denominato 'Free'. - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - Il tipo '{0}' รจ un gestore di marshalling con stato e non dispone di un metodo di istanza con restituzione void con parametro zero denominato 'Free' - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - Un gestore di marshalling con stato che supporta il marshalling da gestito a non gestito deve fornire un metodo di istanza 'FromManaged' che accetta il valore gestito come parametro e restituisce 'void'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}' per '{2}', ma non fornisce un metodo di istanza con un solo parametro denominato 'FromManaged' che accetta '{2}' come parametro e restituisce 'void' - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - Un gestore di marshalling con stato che supporta il marshalling da non gestito a gestito deve fornire un metodo di istanza 'FromUnmanaged' che accetta il valore non gestito come parametro e restituisce 'void'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}' per '{2}', ma non fornisce un metodo di istanza con un parametro denominato 'FromUnmanaged' che accetta il valore 'unmanaged' come parametro e restituisce 'void' - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - Un gestore di marshalling con stato che supporta il marshalling da gestito a non gestito deve fornire un metodo di istanza 'ToUnmanaged' che non accetta parametri e restituisce il tipo gestito (โ€œmanagedโ€). - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}' per '{2}', ma non fornisce un metodo di istanza con parametro zero denominato 'ToManaged' che restituisce '{2}' - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - Un gestore di marshalling con stato che supporta il marshalling da gestito a non gestito deve fornire un metodo di istanza 'ToUnmanaged' che non accetta parametri e restituisce il tipo 'unmanaged'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}' per '{2}' ma non fornisce un metodo di istanza con parametro zero denominato 'ToUnmanaged' che restituisce il tipo 'unmanaged' per il gestore del marshalling - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Quando si usa la forma 'Managed to Unmanaged with Caller-Allocated Buffer', fornendo un metodo 'AllocateContainerForUnmanagedElements' che accetta un elemento "Span<T>" per il tipo di marshaller, il tipo deve fornire una proprietร  statica "BufferSize" per fornire il numero di elementi nel buffer allocato dal chiamante. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - Il tipo di marshaller '{0}' deve avere una proprietร  'int' 'BufferSize' di sola lettura statica per specificare le dimensioni del buffer allocato dal chiamante perchรฉ dispone di un metodo 'AllocateContainerForUnmanagedElements' che accetta un elemento 'Span<{1}>' allocato dal chiamante - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Un marshaller di raccolta contiguo che supporta il marshalling da gestito a non gestito deve fornire 'GetManagedValuesSource' che accetta il valore gestito come parametro e restituisce 'ReadOnlySpan<>' e un metodo 'GetUnmanagedValuesDestination' che accetta il valore non gestito come parametro e restituisce un 'Span<>' - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}', ma non fornisce 'GetManagedValuesSource' che accetta '{2}' come parametro e restituisce 'ReadOnlySpan<>' e un metodo 'GetUnmanagedValuesDestination' che accetta il valore non gestito come parametro e restituisce un 'Span<>' - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - Un marshaller di raccolta contiguo che supporta il marshalling da non gestito a gestito deve fornire un 'GetManagedValuesDestination' che accetta il valore gestito e restituisce 'Span<>' e un metodo 'GetUnmanagedValuesSource' che accetta il valore non gestito e un 'int' e restituisce un 'ReadOnlySpan<>'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}', ma non fornisce 'GetManagedValuesDestination' che accetta '{2}' e restituisce 'Span<>' e un metodo 'GetUnmanagedValuesSource' che accetta il valore non gestito e un 'int' e restituisce 'ReadOnlySpan<>' - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - Un marshaller di raccolta contiguo senza stato che supporta il marshalling da gestito a non gestito deve fornire un metodo 'AllocateContainerForManagedElements' che accetta il tipo non gestito come primo parametro e il numero di elementi come parametro 'int' - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}' per '{2}' ma non fornisce un metodo 'AllocateContainerForManagedElements' con due parametri che accetta il tipo non gestito come primo parametro e un 'int' come secondo parametro - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - Un marshaller di raccolta contiguo senza stato che supporta il marshalling da gestito a non gestito deve fornire un metodo 'AllocateContainerForUnmanagedElements' che accetta il tipo gestito come primo parametro e fornisce il numero di elementi come parametro 'out int' - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}' per '{2}' ma non fornisce un metodo 'AllocateContainerForUnmanagedElements' con due parametri che accetta '{2}' come primo parametro e 'out int' come secondo parametro - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - Un marshaller di valori senza stato che supporta il marshalling da non gestito a gestito deve fornire un metodo 'ConvertToManaged' che accetta il tipo non gestito come parametro e restituisce il tipo gestito. - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}', ma non fornisce un metodo 'ConvertToManaged' che accetta il tipo non gestito come parametro e restituisce '{2}' - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - Un marshaller di valori senza stato che supporta il marshalling da gestito a non gestito deve fornire un metodo 'ConvertToUnmanaged' con un solo parametro che accetta il valore gestito come parametro e restituisce un valore del tipo 'non gestito'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - Il tipo '{0}' specifica che supporta la modalitร  di marshalling '{1}' per '{2}' ma non fornisce un metodo 'ConvertToUnmanaged' con un solo parametro che accetta un '{2}' come parametro e restituisce un valore di tipo 'non gestito' - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - Il tipo restituito di 'ConvertToUnmanaged' e il tipo di parametro di 'ConvertToManaged' devono essere uguali. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - Il tipo restituito di 'ConvertToUnmanaged' e il tipo di parametro di 'ConvertToManaged' devono essere uguali - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - Il tipo non gestito per un marshaller personalizzato deve essere un tipo non gestito C#. - - - - The return type of '{0}' must be unmanaged - Il tipo restituito di '{0}' deve essere non gestito - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - 'void*' deve poter essere sottoposto a cast nel tipo in modo che il risultato aggiunto del metodo statico 'GetPinnableReference' possa essere passato al contesto nativo dopo essere stato aggiunto. - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - Il cast di 'void*' al tipo '{0}' deve essere eseguito perchรฉ il tipo gestito '{1}' include un metodo statico 'GetPinnableReference' - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - Un tipo di punto di ingresso per il marshalling di un determinato tipo deve includere un elemento 'System.Runtime.InteropServices.CustomMarshallerAttribute' che specifichi questo tipo come tipo gestito. - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - Il tipo di marshaller del punto di ingresso '{0}' per il tipo '{1}' deve essere un tipo con almeno un elemento 'System.Runtime.InteropServices.CustomMarshallerAttribute' che specifica questo tipo come tipo gestito - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - Un tipo nativo di tipo 'Value' o 'LinearCollection' che supporta il marshalling nella direzione 'Out' deve fornire un metodo 'ToManaged' che restituisce il tipo gestito. - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - Il tipo '{0}' specifica che supporta il marshalling nella direzione 'Out', ma non fornisce un metodo 'ToManaged' che restituisce il tipo gestito - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - Il tipo restituito di 'ToUnmanaged' e il tipo di parametro di 'FromUnmanaged' devono essere uguali. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - Il tipo restituito di 'ToUnmanaged' e il tipo di parametro di 'FromUnmanaged' devono essere uguali. - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - Per i tipi non supportati da P/Invoke generati dall'origine, il P/Invoke risultante si baserร  sul runtime sottostante per effettuare il marshalling del tipo specificato. - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - Il tipo '{0}' non รจ supportato dai P/Invoke generati dall'origine. L'origine generata non gestirร  il marshalling del parametro '{1}'. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} L'origine generata non gestirร  il marshalling del parametro '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - Il tipo '{0}' non รจ supportato dai P/Invoke generati dall'origine. L'origine generata non gestirร  il marshalling del valore restituito del metodo '{1}'. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} L'origine generata non gestirร  il marshalling del valore restituito del metodo '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - Il tipo specificato non รจ supportato dai P/Invoke generati dall'origine - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Sono state specificate informazioni di marshalling non necessarie. Queste informazioni di marshalling possono essere rimosse senza alcuna modifica nel comportamento dell'applicazione. - - - - Unnecessary marshalling info was provided and can be removed. - Sono state fornite informazioni di marshalling non necessarie e possono essere rimosse. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Informazioni di mashalling '{0}' non necessarie fornite per il parametro '{1}' - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Sono state fornite informazioni di mashalling '{0}' non necessarie per il tipo restituito del metodo '{1}' - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - Un tipo nativo di tipo 'Value' che supporta la funzionalitร  'CallerAllocatedBuffer' deve fornire un costruttore a due parametri che accetta il tipo gestito e un 'Span' di un tipo 'non gestito' come parametri - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - Il tipo '{0}' specifica che supporta il marshalling 'In' con la funzionalitร  'CallerAllocatedBuffer' per '{1}' ma non fornisce un costruttore con due parametri che accetta '{1}' e 'Span' di un tipo 'non gestito' come parametri - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - Un tipo nativo di tipo 'Value' deve fornire un costruttore a un parametro che accetta il tipo gestito come parametro - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - Il tipo '{0}' specifica che supporta il marshalling 'In' di '{1}' ma non fornisce un costruttore con un solo parametro che accetta '{1}' come parametro - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ja.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ja.xlf deleted file mode 100644 index 4ebde852994b6..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ja.xlf +++ /dev/null @@ -1,675 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - ไธ่ถณใ—ใฆใ„ใ‚‹ใ‚ซใ‚นใ‚ฟใƒ ๅž‹ใƒžใƒผใ‚ทใƒฃใƒฉใƒผ ใƒกใƒณใƒใƒผใฎ่ฟฝๅŠ  - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ใง 'Span<T>' ใ‚’ๅ–ใ‚‹ 'FromManaged' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆŒ‡ๅฎšใ—ใฆ 'Managed to Unmanaged with Caller-Allocated Buffer' ๅ›ณๅฝขใ‚’ไฝฟ็”จใ™ใ‚‹ๅ ดๅˆใ€ๅ‘ผใณๅ‡บใ—ๅ…ƒใซๅ‰ฒใ‚Šๅฝ“ใฆใ‚‰ใ‚ŒใŸใƒใƒƒใƒ•ใ‚กใƒผๅ†…ใฎ่ฆ็ด ใฎๆ•ฐใ‚’ๆไพ›ใ™ใ‚‹ใซใฏใ€้™็š„ใช 'BufferSize' ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃใ‚’ๅž‹ใงๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{0}' ใซใฏใ€ๅ‘ผใณๅ‡บใ—ๅ…ƒใŒๅ‰ฒใ‚Šๅฝ“ใฆใŸ 'Span<{1}>' ใ‚’ๅ—ใ‘ๅ–ใ‚‹ FromManaged ใƒกใ‚ฝใƒƒใƒ‰ใŒใ‚ใ‚‹ใŸใ‚ใ€ๅ‘ผใณๅ‡บใ—ๅ…ƒใŒๅ‰ฒใ‚Šๅฝ“ใฆใŸใƒใƒƒใƒ•ใ‚กใƒผใฎใ‚ตใ‚คใ‚บใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ใซใฏใ€้™็š„ใช่ชญใฟๅ–ใ‚Šๅฐ‚็”จใฎ 'int' 'BufferSize' ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃใŒๅฟ…่ฆใงใ™ - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - ็”Ÿๆˆใ•ใ‚ŒใŸ 'DllImportAttribute' ใซใฏใ€'{0}' ใซๅฏพๅฟœใ™ใ‚‹ๅ€คใŒใ‚ใ‚Šใพใ›ใ‚“ใ€‚ - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - '{0}' ใซใฏใ€'DllImportAtttribute' ใซ็›ธๅฝ“ใ™ใ‚‹ใ‚‚ใฎใŒใชใ„ใŸใ‚ใ€่ปข้€ใ•ใ‚Œใพใ›ใ‚“ - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - ๆŒ‡ๅฎšใ•ใ‚ŒใŸ 'LibraryImportAttribute' ๅผ•ๆ•ฐใ‚’ 'DllImportAttribute' ใซ่ปข้€ใ™ใ‚‹ใ“ใจใฏใงใใพใ›ใ‚“ - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ P/Invoke ใฏใ€ใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใชใ„ๆง‹ๆˆใ‚’็„ก่ฆ–ใ—ใพใ™ใ€‚ - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - '{0}' ๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆ P/Invokes ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๆง‹ๆˆใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ้€šๅธธใฎ 'DllImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚นใง็”Ÿๆˆใ•ใ‚ŒใŸ P/Invoke ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚{0}ใ€‚ - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ '{1}' ใซๆŒ‡ๅฎšใ•ใ‚ŒใŸๆง‹ๆˆ '{0}' ใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆ P/Invokes ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๆง‹ๆˆใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ้€šๅธธใฎ 'DllImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ใƒกใ‚ฝใƒƒใƒ‰ '{1}' ใฎๆˆปใ‚Šๅ€คใซๆŒ‡ๅฎšใ•ใ‚ŒใŸ '{0}' ๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆ P/Invokes ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๆง‹ๆˆใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ้€šๅธธใฎ 'DllImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - '{1}' ใซๆŒ‡ๅฎšใ•ใ‚ŒใŸๅ€ค '{0}' ใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆ P/Invokes ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๅ€คใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ้€šๅธธใฎ 'DllImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - Specified configuration is not supported by source-generated P/Invokes. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚นใง็”Ÿๆˆใ•ใ‚ŒใŸ P/Invoke ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - 'PreserveSig' ใŒ 'false' ใซ่จญๅฎšใ•ใ‚ŒใŸ P/Invoke ใ‚’ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ P/Invoke ใซ่‡ชๅ‹•็š„ใซๅค‰ๆ›ใ™ใ‚‹ใจใ€็„กๅŠนใชใ‚ณใƒผใƒ‰ใŒ็”Ÿๆˆใ•ใ‚Œใ‚‹ๅ ดๅˆใŒใ‚ใ‚Šใพใ™ - - - - Convert to 'LibraryImport' - 'LibraryImport' ใธใฎๅค‰ๆ› - - - - Convert to 'LibraryImport' and enable unsafe code - 'LibraryImport' ใซๅค‰ๆ›ใ—ใ€ใ‚ขใƒณใ‚ปใƒผใƒ• ใ‚ณใƒผใƒ‰ใ‚’ๆœ‰ๅŠนใซใ™ใ‚‹ - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ใ‚ณใƒณใƒ‘ใ‚คใƒซๆ™‚ใซ P/Invoke ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใ‚ณใƒผใƒ‰ใ‚’็”Ÿๆˆใ™ใ‚‹ใซใฏใ€'DllImportAttribute' ใฎไปฃใ‚ใ‚Šใซ 'LibraryImportAttribute' ใ‚’ไฝฟ็”จใ—ใพใ™ - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - ใ“ใฎ API ใ‚’ 'LibraryImport' ใซๅค‰ๆ›ใ™ใ‚‹ใซใฏใ€ไธ€้ƒจใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใซใ‚ซใ‚นใ‚ฟใƒ  ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใ‚’ๆไพ›ใ™ใ‚‹ใŸใ‚ใซ่ฟฝๅŠ ใฎใ‚ณใƒผใƒ‰ใŒๅฟ…่ฆใงใ™ใ€‚ - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ใ‚ณใƒณใƒ‘ใ‚คใƒซๆ™‚ใซ P/Invoke ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใ‚ณใƒผใƒ‰ใ‚’็”Ÿๆˆใ™ใ‚‹ใซใฏใ€'DllImportAttribute' ใฎไปฃใ‚ใ‚Šใซ 'LibraryImportAttribute' ใ‚’ๆŒใคใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใ‚’ใƒžใƒผใ‚ฏใ—ใพใ™ - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ใ‚ณใƒณใƒ‘ใ‚คใƒซๆ™‚ใซ P/Invoke ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใ‚ณใƒผใƒ‰ใ‚’็”Ÿๆˆใ™ใ‚‹ใซใฏใ€'DllImportAttribute' ใฎไปฃใ‚ใ‚Šใซ 'LibraryImportAttribute' ใ‚’ไฝฟ็”จใ—ใพใ™ - - - - Convert to 'LibraryImport' with '{0}' suffix - '{0}' ใ‚ตใƒ•ใ‚ฃใƒƒใ‚ฏใ‚นใ‚’ๆŒใค 'LibraryImport' ใธใฎๅค‰ๆ› - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - '{0}' ใ‚ตใƒ•ใ‚ฃใƒƒใ‚ฏใ‚นใ‚’ๆŒใค 'LibraryImport' ใซๅค‰ๆ›ใ—ใ€ใ‚ขใƒณใ‚ปใƒผใƒ• ใ‚ณใƒผใƒ‰ใ‚’ๆœ‰ๅŠนใซใ™ใ‚‹ - - - - Marshaller type does not have the required shape - ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ใซๅฟ…่ฆใชๅ›ณๅฝขใŒใ‚ใ‚Šใพใ›ใ‚“ - - - - A marshaller for an element scenario cannot be stateful. - ่ฆ็ด ใ‚ทใƒŠใƒชใ‚ชใฎใƒžใƒผใ‚ทใƒฃใƒฉใƒผใ‚’ใ‚นใƒ†ใƒผใƒˆใƒ•ใƒซใซใ™ใ‚‹ใ“ใจใฏใงใใพใ›ใ‚“ใ€‚ - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - ๆŒ‡ๅฎšใ•ใ‚ŒใŸใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{0}' ใฏใ‚นใƒ†ใƒผใƒˆใƒ•ใƒซ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใงใ™ใŒใ€ๆŒ‡ๅฎšใ•ใ‚ŒใŸใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ '{1} ใงใฏใ‚นใƒ†ใƒผใƒˆใƒ•ใƒซ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใ‚’ไฝฟ็”จใงใใพใ›ใ‚“ - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - ๆœ€ๅˆใฎใƒกใ‚ฝใƒƒใƒ‰ใซใ‚ˆใฃใฆ่ฟ”ใ•ใ‚Œใ‚‹ใ‚นใƒ‘ใƒณใฎ่ฆ็ด ๅž‹ใฏใ€2 ็•ช็›ฎใฎใƒกใ‚ฝใƒƒใƒ‰ใซใ‚ˆใฃใฆ่ฟ”ใ•ใ‚Œใ‚‹ใ‚นใƒ‘ใƒณใฎ่ฆ็ด ๅž‹ใจๅŒใ˜ๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - '{0}' ใซใ‚ˆใฃใฆ่ฟ”ใ•ใ‚Œใ‚‹ใ‚นใƒ‘ใƒณใฎ่ฆ็ด ๅž‹ใฏใ€'{1}' ใซใ‚ˆใฃใฆ่ฟ”ใ•ใ‚Œใ‚‹ใ‚นใƒ‘ใƒณใฎ่ฆ็ด ๅž‹ใจๅŒใ˜ๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - An entry-point type for marshalling a given type must not be 'null'. - ็‰นๅฎšใฎๅž‹ใ‚’ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ™ใ‚‹ใŸใ‚ใฎใ‚จใƒณใƒˆใƒช ใƒใ‚คใƒณใƒˆๅž‹ใ‚’ 'null' ใซใ™ใ‚‹ใ“ใจใฏใงใใพใ›ใ‚“ใ€‚ - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - ๅž‹ '{0}' ใฎใ‚จใƒณใƒˆใƒช ใƒใ‚คใƒณใƒˆ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ใฏ 'null' ไปฅๅค–ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - The first parameter of the first method must be the same type as the return types of the second method. - ๆœ€ๅˆใฎใƒกใ‚ฝใƒƒใƒ‰ใฎๆœ€ๅˆใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใฏใ€2 ็•ช็›ฎใฎใƒกใ‚ฝใƒƒใƒ‰ใฎๆˆปใ‚Šๅ€คใฎๅž‹ใจๅŒใ˜ๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - '{0}' ใฎๆœ€ๅˆใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใฏใ€ๆˆปใ‚Šๅ€คใฎๅž‹ '{1}' ใจๅŒใ˜ๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - The first parameters of the two methods must be the same type. - 2 ใคใฎใƒกใ‚ฝใƒƒใƒ‰ใฎๆœ€ๅˆใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใฏๅŒใ˜ๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The first parameter of '{0}' and '{1}' must be the same type - '{0}' ใฎๆœ€ๅˆใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจ '{1}' ใฏๅŒใ˜ๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - ใ„ใใคใ‹ใฎๅ›ณๅฝขใŒใ‚ชใƒผใƒใƒผใƒญใƒผใƒ‰ใ‚’ๅŒบๅˆฅใงใใชใ„ใŸใ‚ใ€'FromUnmanaged' ใƒกใ‚ฝใƒƒใƒ‰ใฎใ‚ชใƒผใƒใƒผใƒญใƒผใƒ‰ใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - ๅž‹ '{0}' ใฏใ€ใ‚ซใ‚นใ‚ฟใƒ  ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใงใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใชใ„ 'FromUnmanaged' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ใ‚ชใƒผใƒใƒผใƒญใƒผใƒ‰ใ—ใพใ™ - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - 'GetPinnableReference' ใฎๆˆปใ‚Šๅ€คใฎๅž‹ ('ref' ใฎไผš่จˆๅพŒ) ใฏ blittable ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - 'GetPinnableReference' ใƒกใ‚ฝใƒƒใƒ‰ใฎๆˆปใ‚Šๅ€คใฎ้€†ๅ‚็…งๅž‹ใฏ blittable ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - ใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใฏใ€'partial' ใจใƒžใƒผใ‚ฏใ•ใ‚Œใฆใ„ใชใ„ๅž‹ '{1}' ใซๅซใพใ‚Œใฆใ„ใพใ™ใ€‚P/Invoke ใ‚ฝใƒผใ‚น็”Ÿๆˆใฏใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใ‚’็„ก่ฆ–ใ—ใพใ™ใ€‚ - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - 'LibraryImportAttribute' ใงใƒžใƒผใ‚ฏใ•ใ‚ŒใŸใƒกใ‚ฝใƒƒใƒ‰ใฏใ€'static'ใ€'partial'ใ€้žใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚P/Invoke ใ‚ฝใƒผใ‚น็”Ÿๆˆใงใฏใ€้ž 'static'ใ€้ž 'partial'ใ€ใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏใงใ‚ใ‚‹ใƒกใ‚ฝใƒƒใƒ‰ใฏ็„ก่ฆ–ใ•ใ‚Œใพใ™ใ€‚ - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - 'LibraryImportAttribute' ใงใƒžใƒผใ‚ฏใ•ใ‚Œใฆใ„ใ‚‹ๅ ดๅˆใ€ใƒกใ‚ฝใƒƒใƒ‰ '{0}'ใฏ 'static'ใ€'partial'ใ€้žใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚P/Invoke ใ‚ฝใƒผใ‚น็”Ÿๆˆใงใฏใ€ใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใฏ็„ก่ฆ–ใ•ใ‚Œใพใ™ใ€‚ - - - - Invalid 'CustomMarshallerAttribute' usage - 'CustomMarshallerAttribute' ใฎไฝฟ็”จ็ŠถๆณใŒ็„กๅŠนใงใ™ - - - - Invalid 'LibraryImportAttribute' usage - 'LibraryImportAttribute' ใฎไฝฟ็”จ็ŠถๆณใŒ็„กๅŠนใงใ™ - - - - Specified managed type is invalid - ๆŒ‡ๅฎšใ•ใ‚ŒใŸใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใŒ็„กๅŠนใงใ™ - - - - Invalid 'MarshalMode' value. - 'MarshalMode' ๅ€คใŒ็„กๅŠนใงใ™ใ€‚ - - - - Specified marshaller type is invalid - ๆŒ‡ๅฎšใ•ใ‚ŒใŸใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ใŒ็„กๅŠนใงใ™ - - - - Invalid 'NativeMarshallingAttribute' usage - 'NativeMarshallingAttribute' ใฎไฝฟ็”จ็ŠถๆณใŒ็„กๅŠนใงใ™ - - - - Marshaller type has incompatible method signatures - ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ใซไบ’ๆ›ๆ€งใฎใชใ„ใƒกใ‚ฝใƒƒใƒ‰ ใ‚ทใ‚ฐใƒใƒใƒฃใŒใ‚ใ‚Šใพใ™ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - 'StringMarshalling' ใจ 'StringMarshallingCustomType' ใฎๆง‹ๆˆใŒ็„กๅŠนใงใ™ใ€‚ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - ใƒกใ‚ฝใƒƒใƒ‰ '{0}' ใฎ 'StringMarshalling' ใจ 'StringMarshallingCustomType' ใฎๆง‹ๆˆใŒ็„กๅŠนใงใ™ใ€‚{1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - 'StringMarshalling' ใŒ 'StringMarshalling.Custom' ใซ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹ๅ ดๅˆใฏใ€'StringMarshallingCustomType' ใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - 'StringMarshallingCustomType' ใŒๆŒ‡ๅฎšใ•ใ‚Œใฆใ„ใ‚‹ๅ ดๅˆใ€'StringMarshalling' ใ‚’ 'StringMarshalling.Custom' ใซ่จญๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - 'GetManagedValuesSource' ใซใ‚ˆใฃใฆ่ฟ”ใ•ใ‚Œใ‚‹ 'ReadOnlySpan' ใฎ่ฆ็ด ๅž‹ใฏใ€'GetManagedValuesDestination' ใซใ‚ˆใฃใฆ่ฟ”ใ•ใ‚Œใ‚‹่ฆ็ด ๅž‹ใจๅŒใ˜ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - 'GetManagedValuesSource' ใซใ‚ˆใฃใฆ่ฟ”ใ•ใ‚Œใ‚‹ 'ReadOnlySpan' ใฎ่ฆ็ด ๅž‹ใฏใ€'GetManagedValuesDestination' ใซใ‚ˆใฃใฆ่ฟ”ใ•ใ‚Œใ‚‹่ฆ็ด ๅž‹ใจๅŒใ˜ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - 'CallerAllocatedBuffer' ๆฉŸ่ƒฝใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ 'LinearCollection' ๅž‹ใฎใƒใ‚คใƒ†ใ‚ฃใƒ–ๅž‹ใฏใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’ๆœ€ๅˆใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆใ€'Span<byte>' ใ‚’ 2 ็•ช็›ฎใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆใ€่ฆ็ด ใฎใƒใ‚คใƒ†ใ‚ฃใƒ– ใ‚ตใ‚คใ‚บใ‚’ 3 ็•ช็›ฎใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆใ€3 ใคใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ ใ‚ณใƒณใ‚นใƒˆใƒฉใ‚ฏใ‚ฟใƒผใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - ๅž‹ '{0}' ใฏใ€'{1}' ใฎ 'CallerAllocatedBuffer' ๆฉŸ่ƒฝใ‚’ไฝฟ็”จใ—ใŸ 'In' ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใฆใ„ใพใ™ใŒใ€'{1}'ใ€'Span<byte>'ใ€'int' ใ‚’ๅ—ใ‘ๅ–ใ‚‹ 3 ใคใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ ใ‚ณใƒณใ‚นใƒˆใƒฉใ‚ฏใ‚ฟใƒผใ‚’ๆŒ‡ๅฎšใ—ใพใ›ใ‚“ - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - ใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹้€ฃ็ถšใ—ใŸใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€'ReadOnlySpan<>' ใ‚’่ฟ”ใ™ 'GetManagedValuesSource' ใจ 'Span<>' ใ‚’่ฟ”ใ™ 'GetUnmanagedValuesDestination' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - ๅž‹ '{0}' ใฏใ€'{1}' ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€'ReadOnlySpan<>' ใ‚’่ฟ”ใ™ 'GetManagedValuesSource' ใจ 'Span<>' ใ‚’่ฟ”ใ™ 'GetUnmanagedValuesDestination' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ—ใพใ›ใ‚“ - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹้€ฃ็ถšใ—ใŸใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€'int' ใ‚’ๅ—ใ‘ๅ–ใ‚Šใ€'Span<>' ใ‚’่ฟ”ใ™ 'GetManagedValuesDestination' ใƒกใ‚ฝใƒƒใƒ‰ใจใ€'int' ใ‚’ๅ—ใ‘ๅ–ใฃใฆ 'ReadOnlySpan<>' ใ‚’่ฟ”ใ™ 'GetUnmanagedValuesSource' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - ๅž‹ '{0}' ใฏใ€ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ '{1}' ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€'int' ใ‚’ๅ—ใ‘ๅ–ใ‚Šใ€'Span<>' ใ‚’่ฟ”ใ™ 'GetManagedValuesDestination' ใƒกใ‚ฝใƒƒใƒ‰ใจใ€'Int' ใ‚’ๅ—ใ‘ๅ–ใฃใฆ 'ReadOnlySpan<>' ใ‚’่ฟ”ใ™ 'GetUnmanagedValuesSource' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ—ใพใ›ใ‚“ใ€‚ - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ใฏใ€ใ‚ฏใƒญใƒผใ‚บ ใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏใงใ‚ใ‚‹ใ‹ใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใจๅŒใ˜ๆ•ฐใฎใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏ ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใ‚’ๆŒใคๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ใ“ใ‚Œใซใ‚ˆใ‚Šใ€ใ‚ธใ‚งใƒใƒฌใƒผใ‚ฟใƒผใŒ็‰นๅฎšใฎใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ใงไฝฟ็”จใงใใ‚‹ใƒกใ‚ฝใƒƒใƒ‰ใ‚’็‰นๅฎšใงใใ‚‹ใ‚ˆใ†ใซใชใ‚Šใพใ™ใ€‚ - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - ใ‚จใƒณใƒˆใƒช ใƒใ‚คใƒณใƒˆ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{1}' ใฎใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ '{0}' ใฏใ€ใ‚ฏใƒญใƒผใ‚บ ใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏๅž‹ใงใ‚ใ‚‹ใ‹ใ€ๅ€คใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฎๅ ดๅˆใฏใƒžใƒใƒผใ‚ธๅž‹ใจๅŒใ˜ใ‚ขใƒชใƒ†ใ‚ฃใ‚’ๆŒใคใ€ใพใŸใฏใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฎๅ ดๅˆใฏ่ฟฝๅŠ ใฎใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏ ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใ‚’ 1 ใคๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The managed type for a custom marshaller must be non-null. - ใ‚ซใ‚นใ‚ฟใƒ  ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฎใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใฏ null ไปฅๅค–ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - ใ‚จใƒณใƒˆใƒช ใƒใ‚คใƒณใƒˆ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{0}' ใฎใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’ 'null' ใซใ™ใ‚‹ใ“ใจใฏใงใใพใ›ใ‚“ - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ '{1}' ใซๆŒ‡ๅฎšใ•ใ‚ŒใŸ 'MarshalAsAttribute' ๆง‹ๆˆ ใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆ P/Invokes ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๆง‹ๆˆใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ้€šๅธธใฎ 'DllImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ใƒกใ‚ฝใƒƒใƒ‰ '{1}' ใฎๆˆปใ‚Šๅ€คใซๆŒ‡ๅฎšใ•ใ‚ŒใŸ 'MarshalAsAttribute' ๆง‹ๆˆใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆ P/Invokes ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ—ใŸๆง‹ๆˆใŒๅฟ…่ฆใชๅ ดๅˆใฏใ€ไปฃใ‚ใ‚Šใซ้€šๅธธใฎ 'DllImport' ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„ใ€‚ - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - 'CustomMarshallerAttribute' ใฎ 'marshalMode' ๅผ•ๆ•ฐใฏใ€'MarshalMode' ใฎๆœ‰ๅŠนใชๅˆ—ๆŒ™ๅ€คใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ใฏใ€ใ‚ฏใƒญใƒผใ‚บ ใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏใงใ‚ใ‚‹ใ‹ใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใจๅŒใ˜ๆ•ฐใฎใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏ ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใ‚’ๆŒใคๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ใ“ใ‚Œใซใ‚ˆใ‚Šใ€็”Ÿๆˆใ•ใ‚ŒใŸใ‚ณใƒผใƒ‰ใŒ็‰นๅฎšใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚นๅŒ–ใ‚’ไฝฟ็”จใงใใ‚‹ใ‚ˆใ†ใซใชใ‚Šใพใ™ใ€‚ - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - ใ‚จใƒณใƒˆใƒช ใƒใ‚คใƒณใƒˆ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{1}' ใŒๆŒ‡ใ™ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{0}' ใฏใ€ใ‚ฏใƒญใƒผใ‚บ ใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏๅž‹ใงใ‚ใ‚‹ใ‹ใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใจๅŒใ˜ใ‚ขใƒชใƒ†ใ‚ฃใ‚’ๆŒใคๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' ใฎ 'marshallerType' ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใ‚’ 'null' ใซใ™ใ‚‹ใ“ใจใฏใงใใพใ›ใ‚“ใ€‚ - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' ใฎ 'marshallerType' ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใ‚’ 'null' ใซใ™ใ‚‹ใ“ใจใฏใงใใพใ›ใ‚“ - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ใฏใ€ใ‚นใƒ†ใƒผใƒˆใƒฌใ‚นใช้™็š„ใ‚ฏใƒฉใ‚นใพใŸใฏใ‚นใƒ†ใƒผใƒˆใƒ•ใƒซใชๅ€คใฎๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚้ž้™็š„ใ‚ฏใƒฉใ‚นใฏไฝฟ็”จใงใใพใ›ใ‚“ใ€‚ - - - - The type '{0}' must be a static class or a value type - ๅž‹ '{0}' ใฏ้™็š„ใ‚ฏใƒฉใ‚นใพใŸใฏๅ€คใฎๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - 'System.Runtime.InteropServices.CustomMarshallerAttribute' ใ‚’ๆŒใคๅž‹ใซใฏใ€้ž 'null' ใฎใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - ๅž‹ '{0}' ใฏใ€ๅž‹ใซ้ฉ็”จใ•ใ‚Œใ‚‹ 'System.Runtime.InteropServices.CustomMarshallerAttribute' ใงใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’ๆŒ‡ๅฎšใ—ใพใ›ใ‚“ - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ใฏใ€ใ‚ฏใƒญใƒผใ‚บ ใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏใงใ‚ใ‚‹ใ‹ใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใจๅŒใ˜ๆ•ฐใฎใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏ ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใ‚’ๆŒใคๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ใ“ใ‚Œใซใ‚ˆใ‚Šใ€็”Ÿๆˆใ•ใ‚ŒใŸใ‚ณใƒผใƒ‰ใŒ็‰นๅฎšใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚นๅŒ–ใ‚’ไฝฟ็”จใงใใ‚‹ใ‚ˆใ†ใซใชใ‚Šใพใ™ใ€‚ - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ '{1}' ใฎใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{0}' ใฏใ€ใ‚ฏใƒญใƒผใ‚บ ใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏๅž‹ใงใ‚ใ‚‹ใ‹ใ€ๅ€คใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฎๅ ดๅˆใฏใƒžใƒใƒผใ‚ธๅž‹ใจๅŒใ˜ใ‚ขใƒชใƒ†ใ‚ฃใ‚’ๆŒใคใ€ใพใŸใฏใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฎๅ ดๅˆใฏ่ฟฝๅŠ ใฎใ‚ธใ‚งใƒใƒชใƒƒใ‚ฏ ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใ‚’ 1 ใคๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute ใซใฏๅฎ‰ๅ…จใงใชใ„ใ‚ณใƒผใƒ‰ใŒๅฟ…่ฆใงใ™ใ€‚ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใฏ '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ใงๆ›ดๆ–ฐใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute ใซใฏๅฎ‰ๅ…จใงใชใ„ใ‚ณใƒผใƒ‰ใŒๅฟ…่ฆใงใ™ใ€‚ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใฏ '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ใงๆ›ดๆ–ฐใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - LibraryImportAttribute requires unsafe code. - LibraryImportAttribute ใซใฏๅฎ‰ๅ…จใงใชใ„ใ‚ณใƒผใƒ‰ใŒๅฟ…่ฆใงใ™ใ€‚ - - - - The return type the two method must be the expected type. - ๆˆปใ‚Šๅ€คใฎๅž‹ใฏใ€2 ใคใฎใƒกใ‚ฝใƒƒใƒ‰ใŒๆœŸๅพ…ใ™ใ‚‹ๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The return type of '{0}' must be '{1}' - ๆˆปใ‚Šๅ€คใฎๅž‹ '{0}' ใฏ '{1}' ใงใชใ‘ใ‚Œใฐใชใ‚Šใพใ›ใ‚“ - - - - The return types of the two methods must be the same type. - 2 ใคใฎใƒกใ‚ฝใƒƒใƒ‰ใฎๆˆปใ‚Šๅ€คใฎๅž‹ใฏๅŒใ˜ๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The return type of '{0}' must be the same type as the return type of '{1}' - ๆˆปใ‚Šๅ€คใฎๅž‹ '{0}' ใฏใ€ๆˆปใ‚Šๅ€คใฎๅž‹ '{1}' ใจๅŒใ˜ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - ใ‚นใƒ†ใƒผใƒˆใƒ•ใƒซ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใซใฏใ€'Free' ใจใ„ใ†ๅๅ‰ใงใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใŒใชใใ€โ€˜voidโ€™ ใ‚’่ฟ”ใ™ใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒกใ‚ฝใƒƒใƒ‰ใŒๅฟ…่ฆใงใ™ใ€‚ - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - ๅž‹ '{0}' ใฏใ‚นใƒ†ใƒผใƒˆใƒ•ใƒซ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใงใ‚ใ‚Šใ€'Free' ใจใ„ใ†ๅๅ‰ใงใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใŒใชใใ€โ€™voidโ€™ ใ‚’่ฟ”ใ™ 0 ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒกใ‚ฝใƒƒใƒ‰ใŒใ‚ใ‚Šใพใ›ใ‚“ - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - ใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ‚นใƒ†ใƒผใƒˆใƒ•ใƒซ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅ€คใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Š 'void' ใ‚’่ฟ”ใ™ใ€'FromManaged' ใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - ๅž‹ '{0}' ใฏใ€'{2}' ใฎ '{1}' ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€'FromManaged' ใจใ„ใ†ๅๅ‰ใงใ€'{2}' ใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Š 'void' ใ‚’่ฟ”ใ™ใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใŒ 1 ใคใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒกใ‚ฝใƒƒใƒ‰ใฏๆไพ›ใ•ใ‚Œใพใ›ใ‚“ - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ‚นใƒ†ใƒผใƒˆใƒ•ใƒซ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€ใ‚ขใƒณใƒžใƒใƒผใ‚ธๅ€คใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Š 'void' ใ‚’่ฟ”ใ™ 'FromUnmanaged' ใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - ๅž‹ '{0}' ใฏใ€'{2}' ใฎ '{1}' ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€'FromUnmanaged' ใจใ„ใ†ๅๅ‰ใงใ€โ€™unmanagedโ€™ ๅ€คใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Š 'void' ใ‚’่ฟ”ใ™ใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใŒ 1 ใคใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒกใ‚ฝใƒƒใƒ‰ใฏๆไพ›ใ•ใ‚Œใพใ›ใ‚“ - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ‚นใƒ†ใƒผใƒˆใƒ•ใƒซ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใ‚’ๅ—ใ‘ๅ–ใ‚‰ใšใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’่ฟ”ใ™ใ€'ToManaged' ใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - ๅž‹ '{0}' ใฏใ€'{2}' ใฎ '{1}' ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€'ToManaged' ใจใ„ใ†ๅๅ‰ใงใ€'{2}' ใ‚’่ฟ”ใ™ใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ ใŒใชใ„ใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒกใ‚ฝใƒƒใƒ‰ใฏๆไพ›ใ•ใ‚Œใฆใ„ใพใ›ใ‚“ - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - ใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ‚นใƒ†ใƒผใƒˆใƒ•ใƒซ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใ‚’ๅ—ใ‘ๅ–ใ‚‰ใš 'unmanaged' ๅž‹ใ‚’่ฟ”ใ™ 'ToUnmanaged' ใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - ๅž‹ '{0}' ใฏใ€'{2}' ใฎ '{1}' ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€'ToUnmanaged' ใจใ„ใ†ๅๅ‰ใงใ€ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฎ 'unmanaged' ๅž‹ใ‚’่ฟ”ใ™ใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใŒใชใ„ใ‚คใƒณใ‚นใ‚ฟใƒณใ‚น ใƒกใ‚ฝใƒƒใƒ‰ใฏๆไพ›ใ•ใ‚Œใพใ›ใ‚“ - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ใฎ 'Span<T>' ใ‚’ๅ—ใ‘ๅ–ใ‚‹ 'AllocateContainerForUnmanagedElements' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆŒ‡ๅฎšใ—ใฆ 'Managed to Unmanaged with Caller-Allocated Buffer' ใ‚ทใ‚งใ‚คใƒ—ใ‚’ไฝฟ็”จใ™ใ‚‹ๅ ดๅˆใ€ๅž‹ใฏ้™็š„ใช 'BufferSize' ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃใ‚’ๆไพ›ใ—ใฆใ€็™บไฟกๅ…ƒใŒๅ‰ฒใ‚Šๅฝ“ใฆใŸใƒใƒƒใƒ•ใ‚กใƒผๅ†…ใฎ่ฆ็ด ๆ•ฐใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{0}' ใซใฏใ€็™บไฟกๅ…ƒใŒๅ‰ฒใ‚Šๅฝ“ใฆใŸใƒใƒƒใƒ•ใ‚กใƒผใฎใ‚ตใ‚คใ‚บใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ใŸใ‚ใซใ€้™็š„ใช่ชญใฟๅ–ใ‚Šๅฐ‚็”จใฎ 'int' 'BufferSize' ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃใŒๅฟ…่ฆใงใ™ใ€ใชใœใชใ‚‰ -็™บไฟกๅ…ƒใŒๅ‰ฒใ‚Šๅฝ“ใฆใŸ 'Span<{1}>' ใ‚’ๅ—ใ‘ๅ–ใ‚‹ 'AllocateContainerForUnmanagedElements' ใƒกใ‚ฝใƒƒใƒ‰ใŒใ‚ใ‚‹ใ‹ใ‚‰ใงใ™ - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - ใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹้€ฃ็ถšใ—ใŸใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅ€คใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Šใ€'ReadOnlySpan<>' ใ‚’่ฟ”ใ™ 'GetManagedValuesSource' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใ€ใพใŸใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ๅ€คใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Šใ€'Span<>' ใ‚’่ฟ”ใ™ 'GetUnmanagedValuesDestination' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - ๅž‹ '{0}' ใฏใ€ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ '{1}' ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆ '{2}' ใ‚’ๅ—ใ‘ๅ–ใ‚Šใ€'ReadOnlySpan<>' ใ‚’่ฟ”ใ™ 'GetManagedValuesSource' ใƒกใ‚ฝใƒƒใƒ‰ใจใ€ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ๅ€คใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Šใ€'Span<>' ใ‚’่ฟ”ใ™ 'GetUnmanagedValuesDestination' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ—ใพใ›ใ‚“ใ€‚ - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹้€ฃ็ถšใ—ใŸใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅ€คใ‚’ๅ—ใ‘ๅ–ใ‚Šใ€'Span<>' ใ‚’่ฟ”ใ™ 'GetUnmanagedValuesSource' ใƒกใ‚ฝใƒƒใƒ‰ใจใ€ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ๅ€คใจ 'int' ใ‚’ๅ—ใ‘ๅ–ใ‚Šใ€'ReadOnlySpan<>' ใ‚’่ฟ”ใ™ 'GetManagedValuesDestination' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - ๅž‹ '{0}' ใฏใ€ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ '{1}' ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€'{2}' ใ‚’ๅ—ใ‘ๅ–ใ‚Šใ€'Span<>' ใ‚’่ฟ”ใ™ 'GetManagedValuesDestination' ใƒกใ‚ฝใƒƒใƒ‰ใจใ€ใ‚ขใƒณใƒžใƒใƒผใ‚ธๅ€คใจ 'int' ใ‚’ๅ—ใ‘ๅ–ใฃใฆ 'ReadOnlySpan<>' ใ‚’่ฟ”ใ™ 'GetUnmanagedValuesSource' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ—ใพใ›ใ‚“ - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - ใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ‚นใƒ†ใƒผใƒˆใƒฌใ‚นใช้€ฃ็ถšใ—ใŸใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’ๆœ€ๅˆใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Šใ€่ฆ็ด ๆ•ฐใ‚’ 'int' ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚‹ 'AllocateContainerForManagedElements' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - ๅž‹ '{0}' ใฏใ€'{2}' ใฎใŸใ‚ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ '{1}' ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€ใ‚ขใƒณใƒžใƒใƒผใ‚ธๅž‹ใ‚’ๆœ€ๅˆใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Šใ€2 ็•ช็›ฎใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆ 'int' ใ‚’ๅ—ใ‘ๅ–ใ‚‹ 2 ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ ใฎ 'AllocateContainerForManagedElements' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ—ใพใ›ใ‚“ - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - ใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ‚นใƒ†ใƒผใƒˆใƒฌใ‚นใช้€ฃ็ถšใ—ใŸใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’ๆœ€ๅˆใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Šใ€่ฆ็ด ๆ•ฐใ‚’ 'int' ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚‹ 'AllocateContainerForManagedElements' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - ๅž‹ '{0}' ใฏ '{2}' ใฎใŸใ‚ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ '{1}' ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€ๆœ€ๅˆใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆ '{2}' ใ‚’ๅ—ใ‘ๅ–ใ‚Šใ€2 ็•ช็›ฎใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆ 'out int' ใ‚’ๅ—ใ‘ๅ–ใ‚‹ 2 ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใฎ 'AllocateContainerForUnmanagedElements' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ—ใพใ›ใ‚“ - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ‚นใƒ†ใƒผใƒˆใƒฌใ‚นใชๅ€คใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€ใ‚ขใƒณใƒžใƒใƒผใ‚ธๅž‹ใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Šใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’่ฟ”ใ™ 'ConvertToManaged' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - ๅž‹ '{0}' ใฏใ€ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ '{1}' ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Šใ€'{2}' ใ‚’่ฟ”ใ™ 'ConvertToManaged' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ—ใพใ›ใ‚“ - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - ใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใธใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ‚นใƒ†ใƒผใƒˆใƒฌใ‚นใชใƒใƒชใƒฅใƒผ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅ€คใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Šใ€'unmanaged' ๅž‹ใฎๅ€คใ‚’่ฟ”ใ™ 1 ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ 'ConvertToUnmanaged' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - ๅž‹ '{0}' ใฏใ€'{2}' ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐ ใƒขใƒผใƒ‰ '{1}' ใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใŒใ€'{2}' ใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚Šใ€'unmanaged' ๅž‹ใฎๅ€คใ‚’่ฟ”ใ™ 1 ใคใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ 'ConvertToUnmanaged' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆไพ›ใ—ใพใ›ใ‚“ - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - 'ConvertToUnmanaged' ใฎๆˆปใ‚Šๅ€คใฎๅž‹ใจ 'ConvertToManaged' ใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผๅž‹ใฏๅŒใ˜ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - 'ConvertToUnmanaged' ใฎๆˆปใ‚Šๅ€คใฎๅž‹ใจ 'ConvertToManaged' ใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผๅž‹ใฏๅŒใ˜ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - ใ‚ซใ‚นใ‚ฟใƒ  ใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฎใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใฏใ€C# ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The return type of '{0}' must be unmanaged - '{0}' ใฎๆˆปใ‚Šๅ€คใฎๅž‹ใฏใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - ้™็š„ใช 'GetPinnableReference' ใƒกใ‚ฝใƒƒใƒ‰ใฎใƒ”ใƒณ็•™ใ‚ใ•ใ‚ŒใŸ็ตๆžœใ‚’ใƒ”ใƒณ็•™ใ‚ๅพŒใซใƒใ‚คใƒ†ใ‚ฃใƒ– ใ‚ณใƒณใƒ†ใ‚ญใ‚นใƒˆใซๆธกใ™ใ“ใจใŒใงใใ‚‹ใ‚ˆใ†ใซใ€'void*' ใฏๅž‹ใซใ‚ญใƒฃใ‚นใƒˆๅฏ่ƒฝใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ '{1}' ใซ้™็š„ใช 'GetPinnableReference' ใƒกใ‚ฝใƒƒใƒ‰ใŒใ‚ใ‚‹ใŸใ‚ใ€'void*' ใฏๅž‹ '{0}' ใซใ‚ญใƒฃใ‚นใƒˆๅฏ่ƒฝใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸๅž‹ใ‚’ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ™ใ‚‹ใŸใ‚ใฎใ‚จใƒณใƒˆใƒช ใƒใ‚คใƒณใƒˆๅž‹ใฏใ€ใ“ใฎๅž‹ใ‚’ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใจใ—ใฆๆŒ‡ๅฎšใ™ใ‚‹ 'System.Runtime.InteropServices.CustomMarshallerAttribute' ใ‚’ๆŒใคๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - ๅž‹ '{1}' ๅ‘ใ‘ใฎใ‚จใƒณใƒˆใƒช ใƒใ‚คใƒณใƒˆ ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{0}' ใฏใ€ใ“ใฎๅž‹ใ‚’ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใจใ—ใฆๆŒ‡ๅฎšใ™ใ‚‹ 'System.Runtime.InteropServices.CustomMarshallerAttribute' ใ‚’ 1 ใคไปฅไธŠๆŒใคๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - 'Out' ๆ–นๅ‘ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ 'Value' ใ‚„ 'LinearCollection' ๅž‹ใฎใƒใ‚คใƒ†ใ‚ฃใƒ–ๅž‹ใงใฏใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’่ฟ”ใ™ 'ToManaged' ใƒกใ‚ฝใƒƒใƒ‰ใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - ๅž‹ '{0}' ใฏใ€'Out' ๆ–นๅ‘ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ—ใพใ™ใŒใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’่ฟ”ใ™ 'ToManaged' ใƒกใ‚ฝใƒƒใƒ‰ใฏๆŒ‡ๅฎšใ•ใ‚Œใพใ›ใ‚“ - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - 'ToUnmanaged' ใฎๆˆปใ‚Šๅ€คใฎๅž‹ใจ 'FromUnmanaged' ใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผๅž‹ใฏๅŒใ˜ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - 'ToUnmanaged' ใฎๆˆปใ‚Šๅ€คใฎๅž‹ใจ 'FromUnmanaged' ใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผๅž‹ใฏๅŒใ˜ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ P/Invoke ใงใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใชใ„ๅž‹ใงใ‚ใ‚‹ๅ ดๅˆใ€็”Ÿๆˆใ•ใ‚ŒใŸ P/Invoke ใฏใ€ๅŸบ็คŽใจใชใ‚‹ใชใ‚‹ใƒฉใƒณใ‚ฟใ‚คใƒ ใซไพๅญ˜ใ—ใฆใ€ๆŒ‡ๅฎšใ•ใ‚ŒใŸๅž‹ใ‚’ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ—ใพใ™ใ€‚ - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - ๅž‹ '{0}' ใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ P/Invoke ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚็”Ÿๆˆใ•ใ‚ŒใŸใ‚ฝใƒผใ‚นใฏใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ '{1}' ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ๅ‡ฆ็†ใ—ใพใ›ใ‚“ใ€‚ - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} ็”Ÿๆˆใ•ใ‚ŒใŸใ‚ฝใƒผใ‚นใฏใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ '{1}' ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ๅ‡ฆ็†ใ—ใพใ›ใ‚“ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - ๅž‹ '{0}' ใฏใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ P/Invoke ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚็”Ÿๆˆใ•ใ‚ŒใŸใ‚ฝใƒผใ‚นใฏใ€ใƒกใ‚ฝใƒƒใƒ‰ '{1}' ใฎๆˆปใ‚Šๅ€คใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ๅ‡ฆ็†ใ—ใพใ›ใ‚“ใ€‚ - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} ็”Ÿๆˆใ•ใ‚ŒใŸใ‚ฝใƒผใ‚นใฏใ€ใƒกใ‚ฝใƒƒใƒ‰ '{1}' ใฎๆˆปใ‚Šๅ€คใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ๅ‡ฆ็†ใ—ใพใ›ใ‚“ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - ๆŒ‡ๅฎšใ•ใ‚ŒใŸๅž‹ใฏใ€ใ‚ฝใƒผใ‚นใง็”Ÿๆˆใ•ใ‚ŒใŸ P/Invoke ใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - ไธ่ฆใชใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑใŒๆไพ›ใ•ใ‚Œใพใ—ใŸใ€‚ใ“ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑใฏใ€ใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใฎๅ‹•ไฝœใ‚’ๅค‰ๆ›ดใ™ใ‚‹ใ“ใจใชใๅ‰Š้™คใงใใพใ™ใ€‚ - - - - Unnecessary marshalling info was provided and can be removed. - ไธ่ฆใชใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑใŒๆŒ‡ๅฎšใ•ใ‚ŒใŸใŸใ‚ใ€ๅ‰Š้™คใงใใพใ™ใ€‚ - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ '{1}' ใซไธ่ฆใชใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑ '{0}' ใŒๆŒ‡ๅฎšใ•ใ‚Œใพใ—ใŸ - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - ใƒกใ‚ฝใƒƒใƒ‰ '{1}' ใฎๆˆปใ‚Šๅ€คใฎๅž‹ใซไธ่ฆใชใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑ '{0}' ใŒๆŒ‡ๅฎšใ•ใ‚Œใพใ—ใŸ - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - 'CallerAllocatedBuffer' ๆฉŸ่ƒฝใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ 'Value' ใฎใƒใ‚คใƒ†ใ‚ฃใƒ–ๅž‹ใงใฏใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใจ 'ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰' ๅž‹ใฎ 'Span' ใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚‹ 2 ใคใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ ใ‚ณใƒณใ‚นใƒˆใƒฉใ‚ฏใ‚ฟใƒผใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - ๅž‹ '{0}' ใฏใ€'{1}' ใฎ 'CallerAllocatedBuffer' ๆฉŸ่ƒฝใ‚’ไฝฟ็”จใ—ใŸ 'In' ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ“ใจใ‚’ๆŒ‡ๅฎšใ—ใฆใ„ใพใ™ใŒใ€'{1}' ใจ 'ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰' ๅž‹ใฎ 'Span' ใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚‹ใ€2 ใคใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ ใ‚ณใƒณใ‚นใƒˆใƒฉใ‚ฏใ‚ฟใƒผใ‚’ๆŒ‡ๅฎšใ—ใพใ›ใ‚“ - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - 'Value' ใฎใƒใ‚คใƒ†ใ‚ฃใƒ–ๅž‹ใฏใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚‹ 1 ใคใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ ใ‚ณใƒณใ‚นใƒˆใƒฉใ‚ฏใ‚ฟใƒผใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - ๅž‹ '{0}' ใงใฏใ€'{1}' ใฎ 'In' ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใ‚ˆใ†ใซๆŒ‡ๅฎšใ•ใ‚Œใฆใ„ใพใ™ใŒใ€'{1}' ใ‚’ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใจใ—ใฆๅ—ใ‘ๅ–ใ‚‹ 1 ใคใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผ ใ‚ณใƒณใ‚นใƒˆใƒฉใ‚ฏใ‚ฟใƒผใฏๆŒ‡ๅฎšใ•ใ‚Œใพใ›ใ‚“ - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ko.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ko.xlf deleted file mode 100644 index 51fe24435ced2..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ko.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - ๋ˆ„๋ฝ๋œ ์‚ฌ์šฉ์ž ์ง€์ • ํ˜•์‹ ๋งˆ์ƒฌ๋Ÿฌ ๊ตฌ์„ฑ์› ์ถ”๊ฐ€ - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - ๋งˆ์ƒฌ๋Ÿฌ ํ˜•์‹์—์„œ 'Span<T>'์„ ์‚ฌ์šฉํ•˜๋Š” 'FromManaged' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•˜์—ฌ 'ํ˜ธ์ถœ์ž ํ• ๋‹น ๋ฒ„ํผ๋กœ ๊ด€๋ฆฌ๋˜์ง€ ์•Š์Œ' ์…ฐ์ดํ”„๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ ํ˜•์‹์€ ์ˆซ์ž๋ฅผ ์ œ๊ณตํ•˜๊ธฐ ์œ„ํ•ด ์ •์  'BufferSize' ์†์„ฑ์„ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ํ˜ธ์ถœ์ž ํ• ๋‹น ๋ฒ„ํผ์˜ ์š”์†Œ ์ˆ˜ - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜• '{0}'์—๋Š” ํ˜ธ์ถœ์ž ํ• ๋‹น 'Span<{1}>'๋ฅผ ์‚ฌ์šฉํ•˜๋Š” FromManaged ๋ฉ”์„œ๋“œ๊ฐ€ ์žˆ์œผ๋ฏ€๋กœ ํ˜ธ์ถœ์ž ํ• ๋‹น ๋ฒ„ํผ์˜ ํฌ๊ธฐ๋ฅผ ์ง€์ •ํ•˜๋ ค๋ฉด ์ •์  ์ฝ๊ธฐ ์ „์šฉ 'int' 'BufferSize' ์†์„ฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - ์ƒ์„ฑ๋œ 'DllImportAttribute'์—๋Š” '{0}'์— ํ•ด๋‹นํ•˜๋Š” ๊ฐ’์ด ์—†์Šต๋‹ˆ๋‹ค. - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - '{0}'์—๋Š” 'DllImportAttribute'์— ํ•ด๋‹นํ•˜๋Š” ํ•ญ๋ชฉ์ด ์—†์œผ๋ฉฐ ์ „๋‹ฌ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - ์ง€์ •๋œ 'LibraryImportAttribute' ์ธ์ˆ˜๋Š” 'DllImportAttribute'๋กœ ์ „๋‹ฌํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - ์†Œ์Šค ์ƒ์„ฑ P/Invoke๋Š” ์ง€์›๋˜์ง€ ์•Š๋Š” ๊ตฌ์„ฑ์„ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค. - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - '{0}' ๊ตฌ์„ฑ์€ ์†Œ์Šค ์ƒ์„ฑ P/Invoke์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ์ผ๋ฐ˜ 'DllImport'๋ฅผ ๋Œ€์‹  ์‚ฌ์šฉํ•˜์„ธ์š”. - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - ์ง€์ •๋œ ๋งˆ์ƒฌ๋ง ๊ตฌ์„ฑ์€ ์†Œ์Šค ์ƒ์„ฑ P/Invoke์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ๋งค๊ฐœ ๋ณ€์ˆ˜ '{1}'์— ๋Œ€ํ•ด ์ง€์ •๋œ '{0}' ๊ตฌ์„ฑ์ด ์†Œ์Šค ์ƒ์„ฑ P/Invoke์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ์ผ๋ฐ˜ 'DllImport'๋ฅผ ๋Œ€์‹  ์‚ฌ์šฉํ•˜์„ธ์š”. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ๋ฉ”์„œ๋“œ '{0}'์˜ ๋ฐ˜ํ™˜ ๊ฐ’์— ๋Œ€ํ•ด ์ง€์ •๋œ '{1}' ๊ตฌ์„ฑ์€ ์†Œ์Šค ์ƒ์„ฑ P/Invoke์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ์ผ๋ฐ˜ 'DllImport'๋ฅผ ๋Œ€์‹  ์‚ฌ์šฉํ•˜์„ธ์š”. - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - '{1}'์— ๋Œ€ํ•ด ์ง€์ •๋œ ๊ฐ’ '{0}'์€(๋Š”) ์†Œ์Šค ์ƒ์„ฑ P/Invoke์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ฐ’์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ์ผ๋ฐ˜ โ€˜DllImportโ€™๋ฅผ ๋Œ€์‹  ์‚ฌ์šฉํ•˜์„ธ์š”. - - - - Specified configuration is not supported by source-generated P/Invokes. - ์ง€์ •๋œ ๊ตฌ์„ฑ์€ ์†Œ์Šค ์ƒ์„ฑ P/Invoke์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - 'PreserveSig'๊ฐ€ 'false'๋กœ ์„ค์ •๋œ P/Invoke๋ฅผ ์†Œ์Šค ์ƒ์„ฑ P/Invoke๋กœ ์ž๋™ ๋ณ€ํ™˜ํ•˜๋ฉด ์ž˜๋ชป๋œ ์ฝ”๋“œ๊ฐ€ ์ƒ์„ฑ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - Convert to 'LibraryImport' - 'LibraryImport'๋กœ ๋ณ€ํ™˜ - - - - Convert to 'LibraryImport' and enable unsafe code - 'LibraryImport'๋กœ ๋ณ€ํ™˜ํ•˜๊ณ  ์•ˆ์ „ํ•˜์ง€ ์•Š์€ ์ฝ”๋“œ ํ™œ์„ฑํ™” - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ์ปดํŒŒ์ผ ํƒ€์ž„์— P/Invoke ๋งˆ์ƒฌ๋ง ์ฝ”๋“œ๋ฅผ ์ƒ์„ฑํ•˜๋ ค๋ฉด 'DllImportAttribute' ๋Œ€์‹  'LibraryImportAttribute'๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”. - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - ์ด API๋ฅผ 'LibraryImport'๋กœ ๋ณ€ํ™˜ํ•˜๋ ค๋ฉด ์ผ๋ถ€ ๋งค๊ฐœ ๋ณ€์ˆ˜์— ๋Œ€ํ•œ ์‚ฌ์šฉ์ž ์ง€์ • ๋งˆ์ƒฌ๋Ÿฌ๋ฅผ ์ œ๊ณตํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ์ฝ”๋“œ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ์ปดํŒŒ์ผ ํƒ€์ž„์— P/Invoke ๋งˆ์ƒฌ๋ง ์ฝ”๋“œ๋ฅผ ์ƒ์„ฑํ•˜๋ ค๋ฉด 'DllImportAttribute' ๋Œ€์‹  'LibraryImportAttribute'๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ '{0}' ๋ฉ”์„œ๋“œ๋ฅผ ํ‘œ์‹œํ•˜์„ธ์š”. - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ์ปดํŒŒ์ผ ํƒ€์ž„์— P/Invoke ๋งˆ์ƒฌ๋ง ์ฝ”๋“œ๋ฅผ ์ƒ์„ฑํ•˜๋ ค๋ฉด 'DllImportAttribute' ๋Œ€์‹  'LibraryImportAttribute'๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”. - - - - Convert to 'LibraryImport' with '{0}' suffix - '{0}' ์ ‘๋ฏธ์‚ฌ๊ฐ€ ์žˆ๋Š” 'LibraryImport'๋กœ ๋ณ€ํ™˜ - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - '{0}' ์ ‘๋ฏธ์‚ฌ๊ฐ€ ์žˆ๋Š” 'LibraryImport'๋กœ ๋ณ€ํ™˜ํ•˜๊ณ  ์•ˆ์ „ํ•˜์ง€ ์•Š์€ ์ฝ”๋“œ๋ฅผ ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค. - - - - Marshaller type does not have the required shape - ๋งˆ์ƒฌ๋Ÿฌ ํ˜•์‹์— ํ•„์š”ํ•œ ์…ฐ์ดํ”„๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค. - - - - A marshaller for an element scenario cannot be stateful. - ์š”์†Œ ์‹œ๋‚˜๋ฆฌ์˜ค์˜ ๋งˆ์ƒฌ๋Ÿฌ๋Š” ์ƒํƒœ๋ฅผ ์ €์žฅํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - ์ง€์ •๋œ ๋งˆ์ƒฌ๋Ÿฌ ํ˜•์‹ '{0}'์€(๋Š”) ์ƒํƒœ ์ €์žฅ ๋งˆ์ƒฌ๋Ÿฌ์ด์ง€๋งŒ ์ œ๊ณต๋œ ๋งˆ์ƒฌ ๋ชจ๋“œ '{1}'์—์„œ๋Š” ์ƒํƒœ ์ €์žฅ ๋งˆ์ƒฌ๋Ÿฌ๊ฐ€ ํ—ˆ์šฉ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - ์ฒซ ๋ฒˆ์งธ ๋ฉ”์„œ๋“œ์—์„œ ๋ฐ˜ํ™˜๋œ ๋ฒ”์œ„์˜ ์š”์†Œ ํ˜•์‹์€ ๋‘ ๋ฒˆ์งธ ๋ฉ”์„œ๋“œ์—์„œ ๋ฐ˜ํ™˜๋œ ๋ฒ”์œ„์˜ ์š”์†Œ ํ˜•์‹๊ณผ ๊ฐ™์€ ํ˜•์‹์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - '{0}'์—์„œ ๋ฐ˜ํ™˜๋œ ๋ฒ”์œ„์˜ ์š”์†Œ ํ˜•์‹์€ '{1}'์—์„œ ๋ฐ˜ํ™˜๋œ ๋ฒ”์œ„์˜ ์š”์†Œ ํ˜•์‹๊ณผ ๋™์ผํ•œ ํ˜•์‹์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - An entry-point type for marshalling a given type must not be 'null'. - ์ง€์ •๋œ ์œ ํ˜•์„ ๋งˆ์ƒฌ๋งํ•˜๊ธฐ ์œ„ํ•œ ์ง„์ž…์  ์œ ํ˜•์€ 'null'์ด ์•„๋‹ˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - '{0}' ์œ ํ˜•์˜ ์ง„์ž…์  ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜•์€ 'null'์ด ์•„๋‹ˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The first parameter of the first method must be the same type as the return types of the second method. - ์ฒซ ๋ฒˆ์งธ ๋ฉ”์„œ๋“œ์˜ ์ฒซ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ๋‘ ๋ฒˆ์งธ ๋ฉ”์„œ๋“œ์˜ ๋ฐ˜ํ™˜ ํ˜•์‹๊ณผ ๊ฐ™์€ ํ˜•์‹์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - '{0}'์˜ ์ฒซ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” '{1}'์˜ ๋ฐ˜ํ™˜ ํ˜•์‹๊ณผ ๋™์ผํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The first parameters of the two methods must be the same type. - ๋‘ ๋ฉ”์„œ๋“œ์˜ ์ฒซ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ๋™์ผํ•œ ํ˜•์‹์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The first parameter of '{0}' and '{1}' must be the same type - '{0}' ๋ฐ '{1}'์˜ ์ฒซ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ๋™์ผํ•œ ํ˜•์‹์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - ์ผ๋ถ€ ์…ฐ์ดํ”„๋Š” ์˜ค๋ฒ„๋กœ๋“œ๋ฅผ ๊ตฌ๋ถ„ํ•  ์ˆ˜ ์—†์œผ๋ฏ€๋กœ 'FromUnmanaged' ๋ฉ”์„œ๋“œ ์˜ค๋ฒ„๋กœ๋”ฉ์€ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - ํ˜•์‹ '{0}'์€(๋Š”) ์‚ฌ์šฉ์ž ์ง€์ • ๋งˆ์ƒฌ๋Ÿฌ์—์„œ ์ง€์›๋˜์ง€ ์•Š๋Š” 'FromUnmanaged' ๋ฉ”์„œ๋“œ๋ฅผ ์˜ค๋ฒ„๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค. - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - 'GetPinnableReference'์˜ ๋ฐ˜ํ™˜ ํ˜•์‹('ref'๋ฅผ ๊ณ ๋ คํ•œ ํ›„)์€ blittable์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - 'GetPinnableReference' ๋ฉ”์„œ๋“œ ๋ฐ˜ํ™˜ ํ˜•์‹์˜ ์—ญ์ฐธ์กฐ ํ˜•์‹์€ blittable์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - ๋ฉ”์„œ๋“œ '{0}'์€(๋Š”) 'partial'๋กœ ํ‘œ์‹œ๋˜์ง€ ์•Š์€ '{1}' ํ˜•์‹์— ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. P/Invoke ์†Œ์Šค ์ƒ์„ฑ์€ '{0}' ๋ฉ”์„œ๋“œ๋ฅผ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค. - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - 'LibraryImportAttribute'๋กœ ํ‘œ์‹œ๋œ ๋ฉ”์†Œ๋“œ๋Š” 'static', 'partial' ๋ฐ ๋น„์ œ๋„ค๋ฆญ์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. P/Invoke ์†Œ์Šค ์ƒ์„ฑ์€ 'static'์ด ์•„๋‹ˆ๊ฑฐ๋‚˜ 'partial'์ด ์•„๋‹ˆ๊ฑฐ๋‚˜ ์ œ๋„ค๋ฆญ์ธ ๋ฉ”์„œ๋“œ๋ฅผ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค. - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - '{0}' ๋ฉ”์„œ๋“œ๋Š” 'LibraryImportAttribute'๋กœ ํ‘œ์‹œ๋œ ๊ฒฝ์šฐ '์ •์ ', '๋ถ€๋ถ„์ '์ด์–ด์•ผ ํ•˜๋ฉฐ ์ผ๋ฐ˜์ด ์•„๋‹ˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. P/Invoke ์†Œ์Šค ์ƒ์„ฑ์€ '{0}' ๋ฉ”์„œ๋“œ๋ฅผ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค. - - - - Invalid 'CustomMarshallerAttribute' usage - ์ž˜๋ชป๋œ 'CustomMarshallerAttribute' ์‚ฌ์šฉ - - - - Invalid 'LibraryImportAttribute' usage - ์ž˜๋ชป๋œ 'LibraryImportAttribute' ์‚ฌ์šฉ - - - - Specified managed type is invalid - ์ง€์ •๋œ ๊ด€๋ฆฌ ์œ ํ˜•์ด ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - Invalid 'MarshalMode' value. - 'MarshalMode' ๊ฐ’์ด ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - Specified marshaller type is invalid - ์ง€์ •๋œ ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜•์ด ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - Invalid 'NativeMarshallingAttribute' usage - ์ž˜๋ชป๋œ 'NativeMarshallingAttribute' ์‚ฌ์šฉ - - - - Marshaller type has incompatible method signatures - ๋งˆ์ƒฌ๋Ÿฌ ํ˜•์‹์— ํ˜ธํ™˜๋˜์ง€ ์•Š๋Š” ๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - 'StringMarshalling' ๋ฐ 'StringMarshallingCustomType'์˜ ๊ตฌ์„ฑ์ด ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - '{0}' ๋ฉ”์„œ๋“œ์˜ 'StringMarshalling' ๋ฐ 'StringMarshallingCustomType' ๊ตฌ์„ฑ์ด ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค. {1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - 'StringMarshalling'์ด 'StringMarshalling.Custom'์œผ๋กœ ์„ค์ •๋œ ๊ฒฝ์šฐ 'StringMarshallingCustomType'์„ ์ง€์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - 'StringMarshallingCustomType'์ด ์ง€์ •๋œ ๊ฒฝ์šฐ 'StringMarshalling'์€ 'StringMarshalling.Custom'์œผ๋กœ ์„ค์ •๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - 'GetManagedValuesSource'์—์„œ ๋ฐ˜ํ™˜๋œ 'ReadOnlySpan'์˜ ์š”์†Œ ํ˜•์‹์€ 'GetManagedValuesDestination'์—์„œ ๋ฐ˜ํ™˜๋œ ์š”์†Œ ํ˜•์‹๊ณผ ๋™์ผํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - 'GetManagedValuesSource'์—์„œ ๋ฐ˜ํ™˜๋œ 'ReadOnlySpan'์˜ ์š”์†Œ ํ˜•์‹์€ 'GetManagedValuesDestination'์—์„œ ๋ฐ˜ํ™˜๋œ ์š”์†Œ ํ˜•์‹๊ณผ ๋™์ผํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - 'CallerAllocatedBuffer' ๊ธฐ๋Šฅ์„ ์ง€์›ํ•˜๋Š” 'LinearCollection' ์ข…๋ฅ˜์˜ ๋„ค์ดํ‹ฐ๋ธŒ ํ˜•์‹์€ ๊ด€๋ฆฌ๋˜๋Š” ํ˜•์‹์„ ์ฒซ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ , 'Span<byte>'์„ ๋‘ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ , ์š”์†Œ์˜ ๋„ค์ดํ‹ฐ๋ธŒ ํฌ๊ธฐ๋ฅผ ์„ธ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๋Š” ์„ธ ๊ฐœ์˜ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์ƒ์„ฑ์ž๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - ํ˜•์‹ '{0}'์€(๋Š”) '{1}'์— ๋Œ€ํ•œ 'CallerAllocatedBuffer' ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•˜์—ฌ 'In' ๋งˆ์ƒฌ๋ง์„ ์ง€์›ํ•˜์ง€๋งŒ '{1}', 'Span<byte>' ๋ฐ 'int'๋ฅผ ์‚ฌ์šฉํ•˜๋Š” 3๊ฐœ์˜ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์ƒ์„ฑ์ž๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - ๊ด€๋ฆฌํ˜• ์ปฌ๋ ‰์…˜๋ถ€ํ„ฐ ๋น„๊ด€๋ฆฌํ˜•๊นŒ์ง€ ๋งˆ์ƒฌ๋ง๊นŒ์ง€ ์ง€์›ํ•˜๋Š” ์—ฐ์† ์ปฌ๋ ‰์…˜ ๋งˆ์ƒฌ๋Ÿฌ๋Š” 'ReadOnlySpan<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetManagedValuesSource'์™€ 'Span<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetUnmanagedValuesDestination' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - ํ˜•์‹ '{0}'์€(๋Š”) '{1}' ๋งˆ์ƒฌ ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜์ง€๋งŒ 'Span<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'ReadOnlySpan<>' ๋ฐ 'GetUnmanagedValuesDestination' ๋ฉ”์„œ๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetManagedValuesSource'๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - ๋น„๊ด€๋ฆฌํ˜•๋ถ€ํ„ฐ ๊ด€๋ฆฌํ˜•๊นŒ์ง€ ๋งˆ์ƒฌ๋ง์„ ์ง€์›ํ•˜๋Š” ์—ฐ์† ์ปฌ๋ ‰์…˜ ๋งˆ์ƒฌ๋Ÿฌ๋Š” 'int'๋ฅผ ์ž…๋ ฅํ•˜๋ฉด 'Span<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetManagedValuesDestination'๊ณผ 'Int'๋ฅผ ์ž…๋ ฅํ•˜๋ฉด 'ReadOnlySpan<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetUnmanagedValuesSource' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - '{0}' ํ˜•์‹์€ '{1}' ๋งˆ์ƒฌ ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜์ง€๋งŒ 'int'๋ฅผ ์ž…๋ ฅํ•˜๋ฉด 'Span<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetManagedValuesDestination' ๋ฉ”์„œ๋“œ ๋ฐ โ€˜intโ€™๋ฅผ ์ž…๋ ฅํ•˜๋ฉด 'ReadOnlySpan<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetUnmanagedValuesSource'์„ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - ์ƒ์„ฑ๊ธฐ๊ฐ€ ํŠน์ • ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜•์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ฉ”์„œ๋“œ๋ฅผ ๊ฒฐ์ •ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋งˆ์ƒฌ๋Ÿฌ ํ˜•์‹์€ ๋‹ซํžŒ ์ œ๋„ค๋ฆญ์ด๊ฑฐ๋‚˜ ๊ด€๋ฆฌ๋˜๋Š” ํ˜•์‹๊ณผ ๋™์ผํ•œ ์ˆ˜์˜ ์ œ๋„ค๋ฆญ ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ๊ฐ€์ ธ์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - ์ง„์ž…์  ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜• '{1}'์— ๋Œ€ํ•œ ๊ด€๋ฆฌ ์œ ํ˜• '{0}'์€(๋Š”) ๋‹ซํžŒ ์ œ๋„ค๋ฆญ ์œ ํ˜•์ด์–ด์•ผ ํ•˜๊ณ , ๊ฐ’ ๋งˆ์ƒฌ๋Ÿฌ์ธ ๊ฒฝ์šฐ ๊ด€๋ฆฌ ์œ ํ˜•๊ณผ ๋™์ผํ•œ ์šฐ์„ ์ˆœ์œ„๋ฅผ ๊ฐ€์ ธ์•ผ ํ•˜๋ฉฐ, ์ปฌ๋ ‰์…˜ ๋งˆ์ƒฌ๋Ÿฌ์ธ ๊ฒฝ์šฐ ํ•˜๋‚˜์˜ ์ถ”๊ฐ€ ์ œ๋„ค๋ฆญ ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The managed type for a custom marshaller must be non-null. - ์‚ฌ์šฉ์ž ์ง€์ • ๋งˆ์ƒฌ๋Ÿฌ์˜ ๊ด€๋ฆฌ ํ˜•์‹์€ null์ด ์•„๋‹ˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - ์ง„์ž…์  ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜• '{0}'์˜ ๊ด€๋ฆฌ ์œ ํ˜•์€ 'null'์ด ์•„๋‹ˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ๋งค๊ฐœ ๋ณ€์ˆ˜ '{1}'์— ๋Œ€ํ•ด ์ง€์ •๋œ 'MarshalAsAttribute' ๊ตฌ์„ฑ์€ ์†Œ์Šค ์ƒ์„ฑ P/Invokes์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ๋Œ€์‹  ์ผ๋ฐ˜ 'DllImport'๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ๋ฉ”์„œ๋“œ '{1}'์˜ ๋ฐ˜ํ™˜ ๊ฐ’์— ๋Œ€ํ•ด ์ง€์ •๋œ 'MarshalAsAttribute' ๊ตฌ์„ฑ์€ ์†Œ์Šค์—์„œ ์ƒ์„ฑ๋œ P/Invokes์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ๊ตฌ์„ฑ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ๋Œ€์‹  ์ผ๋ฐ˜ 'DllImport'๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - 'CustomMarshallerAttribute'์˜ 'marshalMode' ์ธ์ˆ˜๋Š” 'MarshalMode'์˜ ์œ ํšจํ•œ ์—ด๊ฑฐํ˜• ๊ฐ’์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - ๋งˆ์ƒฌ๋Ÿฌ ํ˜•์‹์€ ๋‹ซํžŒ ์ œ๋„ค๋ฆญ์ด๊ฑฐ๋‚˜ ๊ด€๋ฆฌ๋˜๋Š” ํ˜•์‹๊ณผ ๋™์ผํ•œ ์ˆ˜์˜ ์ œ๋„ค๋ฆญ ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ ์žˆ์–ด์•ผ ๋‚ด๋ณด๋‚ธ ์ฝ”๋“œ์—์„œ ํŠน์ • ์ธ์Šคํ„ด์Šคํ™”๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - ์ง„์ž…์  ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜• '{1}'์ด(๊ฐ€) ๊ฐ€๋ฆฌํ‚ค๋Š” ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜• '{0}'์€(๋Š”) ๋‹ซํžŒ ์ œ๋„ค๋ฆญ ์œ ํ˜•์ด๊ฑฐ๋‚˜ ๊ด€๋ฆฌ๋˜๋Š” ์œ ํ˜•๊ณผ ๊ฐ™์€ ์šฐ์„ ์ˆœ์œ„๋ฅผ ๊ฐ€์ ธ์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute'์˜ 'marshallerType' ๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” 'null'์ผ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute'์˜ 'marshallerType' ๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” 'null'์ผ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - ๋งˆ์ƒฌ๋Ÿฌ ํ˜•์‹์€ ์ƒํƒœ ๋น„์ €์žฅ ์ •์  ํด๋ž˜์Šค ๋˜๋Š” ์ƒํƒœ ์ €์žฅ ๊ฐ’ ํ˜•์‹์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๋น„์ •์  ํด๋ž˜์Šค๋Š” ์‚ฌ์šฉํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. - - - - The type '{0}' must be a static class or a value type - '{0}' ํ˜•์‹์€ ์ •์  ํด๋ž˜์Šค ๋˜๋Š” ๊ฐ’ ํ˜•์‹์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - 'System.Runtime.InteropServices.CustomMarshallerAttribute'๊ฐ€ ์žˆ๋Š” ์œ ํ˜•์€ 'null'์ด ์•„๋‹Œ ๊ด€๋ฆฌ ์œ ํ˜•์„ ์ง€์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - ์œ ํ˜• '{0}'์€(๋Š”) ์œ ํ˜•์— ์ ์šฉ๋œ 'System.Runtime.InteropServices.CustomMarshallerAttribute'์—์„œ ๊ด€๋ฆฌ๋˜๋Š” ์œ ํ˜•์„ ์ง€์ •ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - ๋งˆ์ƒฌ๋Ÿฌ ํ˜•์‹์€ ๋‹ซํžŒ ์ œ๋„ค๋ฆญ์ด๊ฑฐ๋‚˜ ๊ด€๋ฆฌ๋˜๋Š” ํ˜•์‹๊ณผ ๋™์ผํ•œ ์ˆ˜์˜ ์ œ๋„ค๋ฆญ ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ ์žˆ์–ด์•ผ ๋‚ด๋ณด๋‚ธ ์ฝ”๋“œ์—์„œ ํŠน์ • ์ธ์Šคํ„ด์Šคํ™”๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - ๊ด€๋ฆฌ ์œ ํ˜• '{1}'์— ๋Œ€ํ•œ ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜• '{0}'์€(๋Š”) ๋‹ซํžŒ ์ œ๋„ค๋ฆญ ์œ ํ˜•์ด์–ด์•ผ ํ•˜๊ณ , ๊ฐ’ ๋งˆ์ƒฌ๋Ÿฌ์ธ ๊ฒฝ์šฐ ๊ด€๋ฆฌ ์œ ํ˜•๊ณผ ๋™์ผํ•œ ์šฐ์„ ์ˆœ์œ„๋ฅผ ๊ฐ€์ ธ์•ผ ํ•˜๋ฉฐ, ์ปฌ๋ ‰์…˜ ๋งˆ์ƒฌ๋Ÿฌ์ธ ๊ฒฝ์šฐ ํ•˜๋‚˜์˜ ์ถ”๊ฐ€ ์ œ๋„ค๋ฆญ ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute์—๋Š” ์•ˆ์ „ํ•˜์ง€ ์•Š์€ ์ฝ”๋“œ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ๋Š” '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'๋กœ ์—…๋ฐ์ดํŠธํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute์—๋Š” ์•ˆ์ „ํ•˜์ง€ ์•Š์€ ์ฝ”๋“œ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ๋Š” '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'๋กœ ์—…๋ฐ์ดํŠธํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - LibraryImportAttribute requires unsafe code. - LibraryImportAttribute์—๋Š” ์•ˆ์ „ํ•˜์ง€ ์•Š์€ ์ฝ”๋“œ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. - - - - The return type the two method must be the expected type. - ๋‘ ๋ฉ”์„œ๋“œ๊ฐ€ ํ•„์š”ํ•œ ํ˜•์‹์ด์–ด์•ผ ํ•˜๋Š” ๋ฐ˜ํ™˜ ํ˜•์‹์ž…๋‹ˆ๋‹ค. - - - - The return type of '{0}' must be '{1}' - '{0}'์˜ ๋ฐ˜ํ™˜ ํ˜•์‹์€ '{1}'์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The return types of the two methods must be the same type. - ๋‘ ๋ฉ”์„œ๋“œ์˜ ๋ฐ˜ํ™˜ ํ˜•์‹์€ ๊ฐ™์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The return type of '{0}' must be the same type as the return type of '{1}' - '{0}' ๋ฐ˜ํ™˜ ํ˜•์‹์€ '{1}' ๋ฐ˜ํ™˜ ํ˜•์‹๊ณผ ๊ฐ™์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - ์ƒํƒœ ์ €์žฅ ๋งˆ์ƒฌ๋Ÿฌ์—๋Š” 'Free'๋ผ๋Š” 0 ๋งค๊ฐœ ๋ณ€์ˆ˜ ๋ฐ˜ํ™˜ ์ธ์Šคํ„ด์Šค ๋ฉ”์„œ๋“œ๊ฐ€ ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - ํ˜•์‹ '{0}'์€(๋Š”) ์ƒํƒœ ์ €์žฅ ๋งˆ์ƒฌ๋Ÿฌ์ด๋ฉฐ 'Free'๋ผ๋Š” ์ด๋ฆ„์˜ 0 ๋งค๊ฐœ ๋ณ€์ˆ˜ ๋ฌดํšจ ๋ฐ˜ํ™˜ ์ธ์Šคํ„ด์Šค ๋ฉ”์„œ๋“œ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค. - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - ๊ด€๋ฆฌํ˜•์—์„œ ๋น„๊ด€๋ฆฌํ˜•์œผ๋กœ์˜ ๋งˆ์ƒฌ๋ง์„ ์ง€์›ํ•˜๋Š” ์ƒํƒœ ์ €์žฅ ๋งˆ์ƒฌ๋Ÿฌ๋Š” ๊ด€๋ฆฌ๋˜๋Š” ๊ฐ’์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ  'void'๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” 'FromManaged' ์ธ์Šคํ„ด์Šค ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - ํ˜•์‹ '{0}'์€(๋Š”) '{2}'์— ๋Œ€ํ•œ '{1}' ๋งˆ์ƒฌ ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜๋„๋ก ์ง€์ •ํ•˜์ง€๋งŒ '{2}โ€™์„(๋ฅผ) ๊ฐ’์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ  'void'๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” 'FromManaged'๋ผ๋Š” ๋‹จ์ผ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์ธ์Šคํ„ด์Šค ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - ๋น„๊ด€๋ฆฌ์—์„œ ๊ด€๋ฆฌ๋กœ์˜ ๋งˆ์ƒฌ๋ง์„ ์ง€์›ํ•˜๋Š” ์ƒํƒœ ์ €์žฅ ๋งˆ์ƒฌ๋Ÿฌ๋Š” ๋น„๊ด€๋ฆฌ ๊ฐ’์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ  'void'๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” 'FromUnmanaged' ์ธ์Šคํ„ด์Šค ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - ํ˜•์‹ '{0}'์€(๋Š”) '{2}'์— ๋Œ€ํ•œ '{1}' ๋งˆ์ƒฌ ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜๋„๋ก ์ง€์ •ํ•˜์ง€๋งŒ 'unmanaged' ๊ฐ’์„ ๋งค๊ฐœ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ  'void'๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” 'FromUnmanaged'๋ผ๋Š” ๋‹จ์ผ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์ธ์Šคํ„ด์Šค ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - ๋น„๊ด€๋ฆฌํ˜•์—์„œ ๊ด€๋ฆฌํ˜•์œผ๋กœ์˜ ๋งˆ์ƒฌ๋ง์„ ์ง€์›ํ•˜๋Š” ์ƒํƒœ ์ €์žฅ ๋งˆ์ƒฌ๋Ÿฌ๋Š” ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ  ๊ด€๋ฆฌ๋˜๋Š” ํ˜•์‹์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'ToManaged' ์ธ์Šคํ„ด์Šค ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - ํ˜•์‹ '{0}'์€(๋Š”) '{2}'์— ๋Œ€ํ•œ '{1}' ๋งˆ์ƒฌ ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜๋„๋ก ์ง€์ •ํ•˜์ง€๋งŒ {2}์„(๋ฅผ) ๋ฐ˜ํ™˜ํ•˜๋Š” 'ToManaged'๋ผ๋Š” ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ ์—†๋Š” ์ธ์Šคํ„ด์Šค ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - ๊ด€๋ฆฌํ˜•์—์„œ ๋น„๊ด€๋ฆฌํ˜•์œผ๋กœ์˜ ๋งˆ์ƒฌ๋ง์„ ์ง€์›ํ•˜๋Š” ์ƒํƒœ ์ €์žฅ ๋งˆ์ƒฌ๋Ÿฌ๋Š” ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ  '๊ด€๋ฆฌ๋˜์ง€ ์•Š๋Š”' ํ˜•์‹์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'ToUnmanaged' ์ธ์Šคํ„ด์Šค ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - ํ˜•์‹ '{0}'์€(๋Š”) '{2}'์— ๋Œ€ํ•œ '{1}' ๋งˆ์ƒฌ ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜๋„๋ก ์ง€์ •ํ•˜์ง€๋งŒ ๋งˆ์ƒฌ๋Ÿฌ์— ๋Œ€ํ•œ '๊ด€๋ฆฌ๋˜์ง€ ์•Š๋Š”' ํ˜•์‹์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'ToUnmanaged'๋ผ๋Š” ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ ์—†๋Š” ์ธ์Šคํ„ด์Šค ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - ๋งˆ์ƒฌ๋Ÿฌ ํ˜•์‹์—์„œ 'Span<T>'์„ ์‚ฌ์šฉํ•˜๋Š” 'AllocateContainerForUnmanagedElements' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•˜์—ฌ 'ํ˜ธ์ถœ์ž ํ• ๋‹น ๋ฒ„ํผ๋กœ ๊ด€๋ฆฌ๋˜์ง€ ์•Š์Œ' ์…ฐ์ดํ”„๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ ํ˜•์‹์€ ํ˜ธ์ถœ์ž ํ• ๋‹น ๋ฒ„ํผ์˜ ์š”์†Œ ์ˆ˜๋ฅผ ์ œ๊ณตํ•˜๊ธฐ ์œ„ํ•ด ์ •์  'BufferSize' ์†์„ฑ์„ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜• '{0}'์—๋Š” ํ˜ธ์ถœ์ž ํ• ๋‹น 'Span<{1}>'์„ ์‚ฌ์šฉํ•˜๋Š” 'AllocateContainerForUnmanagedElements' ๋ฉ”์„œ๋“œ๊ฐ€ ์žˆ์œผ๋ฏ€๋กœ ํ˜ธ์ถœ์ž ํ• ๋‹น ๋ฒ„ํผ์˜ ํฌ๊ธฐ๋ฅผ ์ง€์ •ํ•˜๋ ค๋ฉด ์ •์  ์ฝ๊ธฐ ์ „์šฉ 'int' 'BufferSize' ์†์„ฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - ๊ด€๋ฆฌํ˜•๋ถ€ํ„ฐ ๋น„๊ด€๋ฆฌํ˜• ๋งˆ์ƒฌ๋ง๊นŒ์ง€ ์ง€์›ํ•˜๋Š” ์—ฐ์† ์ปฌ๋ ‰์…˜ ๋งˆ์ƒฌ๋Ÿฌ๋Š” ๊ด€๋ฆฌ๋˜๋Š” ๊ฐ’์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์ž…๋ ฅํ•˜๋ฉด 'ReadOnlySpan<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetManagedValuesSource'์™€ ๋น„๊ด€๋ฆฌํ˜• ๊ฐ’์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์ž…๋ ฅํ•˜๋ฉด 'Span<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetUnmanagedValuesDestination' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - '{0}' ํ˜•์‹์€ '{1}' ๋งˆ์ƒฌ๋ง ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜์ง€๋งŒ '{2}' ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ  'ReadOnlySpan<>' ๋ฐ 'GetUnmanagedValuesDestination' ๋ฉ”์„œ๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetManagedValuesSource'๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ด ๋ฉ”์„œ๋“œ๋Š” ๋น„๊ด€๋ฆฌํ˜• ๊ฐ’์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ์ž…๋ ฅํ•˜๋ฉด 'Span<>'์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค. - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - ๋น„๊ด€๋ฆฌํ˜•๋ถ€ํ„ฐ ๊ด€๋ฆฌํ˜• ๋งˆ์ƒฌ๋ง๊นŒ์ง€ ์ง€์›ํ•˜๋Š” ์—ฐ์† ์ปฌ๋ ‰์…˜ ๋งˆ์ƒฌ๋Ÿฌ๋Š” ๊ด€๋ฆฌ๋˜๋Š” ๊ฐ’์„ ์ž…๋ ฅํ•˜๋ฉด 'Span<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetManagedValuesDestination'๊ณผ ๊ด€๋ฆฌ๋˜์ง€ ์•Š๋Š” ๊ฐ’์„ ์ž…๋ ฅํ•˜๋ฉด 'ReadOnlySpan<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetUnmanagedValuesSource' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - '{0}' ํ˜•์‹์€ '{1}' ๋งˆ์ƒฌ ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜์ง€๋งŒ '{2}'์„(๋ฅผ) ์ž…๋ ฅํ•˜๋ฉด 'Span<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetManagedValuesDestination' ๋ฉ”์„œ๋“œ ๋ฐ ๊ด€๋ฆฌ๋˜์ง€ ์•Š๋Š” ๊ฐ’๊ณผ โ€˜intโ€™๋ฅผ ์ž…๋ ฅํ•˜๋ฉด 'ReadOnlySpan<>'์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'GetUnmanagedValuesSource'์„ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - ๊ด€๋ฆฌํ˜• ์ปฌ๋ ‰์…˜๋ถ€ํ„ฐ ๋น„๊ด€๋ฆฌํ˜•๊นŒ์ง€ ๋งˆ์ƒฌ๋ง๊นŒ์ง€ ์ง€์›ํ•˜๋Š” ์ƒํƒœ ๋น„์ €์žฅ ์—ฐ์† ์ปฌ๋ ‰์…˜ ๋งˆ์ƒฌ๋Ÿฌ๋Š” ๋น„๊ด€๋ฆฌํ˜• ํ˜•์‹์„ ์ฒซ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ  ์š”์†Œ ์ˆ˜๋ฅผ 'int' ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๋Š” 'AllocateContainerForManagedElements' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - '{0}' ํ˜•์‹์€ '{2}'์— ๋Œ€ํ•ด '{1}' ๋งˆ์ƒฌ ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜์ง€๋งŒ ๋น„๊ด€๋ฆฌํ˜• ํ˜•์‹์„ ์ฒซ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ  ๋‘ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ 'out int'๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์ด์ค‘ ๋ณ€์ˆ˜ 'AllocateContainerForManagedElements' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - ๊ด€๋ฆฌํ˜•๋ถ€ํ„ฐ ๋น„๊ด€๋ฆฌํ˜• ๋งˆ์ƒฌ๋ง๊นŒ์ง€ ์ง€์›ํ•˜๋Š” ์ƒํƒœ ๋น„์ €์žฅ ์—ฐ์† ์ปฌ๋ ‰์…˜ ๋งˆ์ƒฌ๋Ÿฌ๋Š” ๋น„๊ด€๋ฆฌํ˜• ํ˜•์‹์„ ์ฒซ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์š”์†Œ ์ˆ˜๋ฅผ 'out int' ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๋Š” 'AllocateContainerForUnmanagedElements' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - '{0}' ํ˜•์‹์€ '{2}'์— ๋Œ€ํ•ด '{1}' ๋งˆ์ƒฌ ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜์ง€๋งŒ '{2}'์„ ์ฒซ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ  ๋‘ ๋ฒˆ์งธ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ 'out int'๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์ด์ค‘ ๋ณ€์ˆ˜ 'AllocateContainerForUnmanagedElements' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - ๋น„๊ด€๋ฆฌํ˜• ํ˜•์‹๋ถ€ํ„ฐ ๊ด€๋ฆฌํ˜• ํ˜•์‹๊นŒ์ง€ ๋งˆ์ƒฌ๋ง์„ ์ง€์›ํ•˜๋Š” ์ƒํƒœ ๋น„์ €์žฅ ๊ฐ’ ๋งˆ์ƒฌ๋Ÿฌ๋Š” ๋น„๊ด€๋ฆฌํ˜• ํ˜•์‹์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ  ๊ด€๋ฆฌํ˜• ํ˜•์‹์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'ConvertToManaged' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - '{0}' ํ˜•์‹์€ '{1}' ๋งˆ์ƒฌ ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜์ง€๋งŒ ๋น„๊ด€๋ฆฌํ˜•์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์ž…๋ ฅํ•˜๋ฉด '{2}'์„(๋ฅผ) ๋ฐ˜ํ™˜ํ•˜๋Š” 'ConvertToManaged' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - ๊ด€๋ฆฌํ˜•๋ถ€ํ„ฐ ๋น„๊ด€๋ฆฌํ˜• ๋งˆ์ƒฌ๋ง๊นŒ์ง€ ์ง€์›ํ•˜๋Š” ์ƒํƒœ ๋น„์ €์žฅ ๊ฐ’ ๋งˆ์ƒฌ๋Ÿฌ๋Š” ๊ด€๋ฆฌํ˜• ๊ฐ’์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๊ณ  '๋น„๊ด€๋ฆฌํ˜•' ํ˜•์‹์˜ ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•˜๋Š” ๋‹จ์ผ ๋งค๊ฐœ ๋ณ€์ˆ˜ 'ConvertToUnmanaged' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - '{0}' ํ˜•์‹์€ '{2}'์— ๋Œ€ํ•ด '{1}' ๋งˆ์ƒฌ๋ง ๋ชจ๋“œ๋ฅผ ์ง€์›ํ•˜์ง€๋งŒ '{2}'์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์ž…๋ ฅํ•˜๋ฉด '๋น„๊ด€๋ฆฌํ˜•' ํ˜•์‹์˜ ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•˜๋Š” ๋‹จ์ผ ๋งค๊ฐœ ๋ณ€์ˆ˜ 'ConvertToUnmanaged' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - 'ConvertToUnmanaged'์˜ ๋ฐ˜ํ™˜ ์œ ํ˜•๊ณผ 'ConvertToManaged'์˜ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์œ ํ˜•์€ ๋™์ผํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - 'ConvertToUnmanaged'์˜ ๋ฐ˜ํ™˜ ์œ ํ˜•๊ณผ 'ConvertToManaged'์˜ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์œ ํ˜•์€ ๋™์ผํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - ์‚ฌ์šฉ์ž ์ง€์ • ๋งˆ์ƒฌ๋Ÿฌ์˜ ๋น„๊ด€๋ฆฌํ˜• ํ˜•์‹์€ C# ๋น„๊ด€๋ฆฌํ˜• ํ˜•์‹์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The return type of '{0}' must be unmanaged - '{0}'์˜ ๋ฐ˜ํ™˜ ํ˜•์‹์€ ๋น„๊ด€๋ฆฌํ˜•์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - ๊ณ ์ •๋œ ํ›„ ์ •์  'GetPinnableReference' ๋ฉ”์„œ๋“œ์˜ ๊ณ ์ •๋œ ๊ฒฐ๊ณผ๋ฅผ ๊ธฐ๋ณธ ์ปจํ…์ŠคํŠธ๋กœ ์ „๋‹ฌํ•  ์ˆ˜ ์žˆ๋„๋ก 'void*'๋Š” ์œ ํ˜•์œผ๋กœ ์บ์ŠคํŒ… ๊ฐ€๋Šฅํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - ๊ด€๋ฆฌ ์œ ํ˜• '{1}'์— ์ •์  'GetPinnableReference' ๋ฉ”์„œ๋“œ๊ฐ€ ์žˆ์œผ๋ฏ€๋กœ 'void*'๋Š” '{0}' ์œ ํ˜•์œผ๋กœ ์บ์ŠคํŒ… ๊ฐ€๋Šฅํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - ์ง€์ •๋œ ํ˜•์‹์„ ๋งˆ์ƒฌ๋งํ•˜๊ธฐ ์œ„ํ•œ ์ง„์ž…์  ํ˜•์‹์—๋Š” ์ด ํ˜•์‹์„ ๊ด€๋ฆฌ๋˜๋Š” ํ˜•์‹์œผ๋กœ ์ง€์ •ํ•˜๋Š” 'System.Runtime.InteropServices.CustomMarshallerAttribute'๊ฐ€ ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - '{1}' ์œ ํ˜•์˜ ์ง„์ž…์  ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜• '{0}'์€(๋Š”) ์ด ์œ ํ˜•์„ ๊ด€๋ฆฌ ์œ ํ˜•์œผ๋กœ ์ง€์ •ํ•˜๋Š” 'System.Runtime.InteropServices.CustomMarshallerAttribute'๊ฐ€ ํ•˜๋‚˜ ์ด์ƒ ์žˆ๋Š” ์œ ํ˜•์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - 'Out' ๋ฐฉํ–ฅ์œผ๋กœ ๋งˆ์ƒฌ๋ง์„ ์ง€์›ํ•˜๋Š” 'Value' ๋˜๋Š” 'LinearCollection' ์ข…๋ฅ˜์˜ ๋„ค์ดํ‹ฐ๋ธŒ ํ˜•์‹์€ ๊ด€๋ฆฌ ํ˜•์‹์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'ToManaged' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - ํ˜•์‹ '{0}'์€(๋Š”) 'Out' ๋ฐฉํ–ฅ์œผ๋กœ ๋งˆ์ƒฌ๋ง์„ ์ง€์›ํ•˜๋„๋ก ์ง€์ •ํ•˜์ง€๋งŒ ๊ด€๋ฆฌ ํ˜•์‹์„ ๋ฐ˜ํ™˜ํ•˜๋Š” 'ToManaged' ๋ฉ”์„œ๋“œ๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - 'ToUnmanaged'์˜ ๋ฐ˜ํ™˜ ์œ ํ˜•๊ณผ 'FromUnmanaged'์˜ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์œ ํ˜•์€ ๋™์ผํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - 'ToUnmanaged'์˜ ๋ฐ˜ํ™˜ ์œ ํ˜•๊ณผ 'FromUnmanaged'์˜ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์œ ํ˜•์€ ๋™์ผํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - ์†Œ์Šค ์ƒ์„ฑ P/Invoke์—์„œ ์ง€์›ํ•˜์ง€ ์•Š๋Š” ํ˜•์‹์˜ ๊ฒฝ์šฐ ๊ฒฐ๊ณผ P/Invoke๋Š” ๊ธฐ๋ณธ ๋Ÿฐํƒ€์ž„์— ์˜์กดํ•˜์—ฌ ์ง€์ •๋œ ํ˜•์‹์„ ๋งˆ์ƒฌ๋งํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - ํ˜•์‹ '{0}'์€(๋Š”) ์†Œ์Šค ์ƒ์„ฑ P/Invoke์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ƒ์„ฑ๋œ ์†Œ์Šค๋Š” '{1}' ๋งค๊ฐœ ๋ณ€์ˆ˜์˜ ๋งˆ์ƒฌ๋ง์„ ์ฒ˜๋ฆฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} ์ƒ์„ฑ๋œ ์†Œ์Šค๋Š” '{1}' ๋งค๊ฐœ ๋ณ€์ˆ˜์˜ ๋งˆ์ƒฌ๋ง์„ ์ฒ˜๋ฆฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - ํ˜•์‹ '{0}'์€(๋Š”) ์†Œ์Šค ์ƒ์„ฑ P/Invoke์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ƒ์„ฑ๋œ ์†Œ์Šค๋Š” '{1}' ๋ฉ”์„œ๋“œ์˜ ๋ฐ˜ํ™˜ ๊ฐ’ ๋งˆ์ƒฌ๋ง์„ ์ฒ˜๋ฆฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} ์ƒ์„ฑ๋œ ์†Œ์Šค๋Š” '{1}' ๋ฉ”์„œ๋“œ์˜ ๋ฐ˜ํ™˜ ๊ฐ’ ๋งˆ์ƒฌ๋ง์„ ์ฒ˜๋ฆฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - ์ง€์ •๋œ ํ˜•์‹์€ ์†Œ์Šค ์ƒ์„ฑ P/Invoke์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - ๋ถˆํ•„์š”ํ•œ ๋งˆ์ƒฌ๋ง ์ •๋ณด๊ฐ€ ์ œ๊ณต๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ๋™์ž‘์„ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š๊ณ  ์ด ๋งˆ์ƒฌ๋ง ์ •๋ณด๋ฅผ ์ œ๊ฑฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - Unnecessary marshalling info was provided and can be removed. - ๋ถˆํ•„์š”ํ•œ ๋งˆ์ƒฌ๋ง ์ •๋ณด๊ฐ€ ์ œ๊ณต๋˜์—ˆ์œผ๋ฉฐ ์ œ๊ฑฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - ๋ถˆํ•„์š”ํ•œ ๋งˆ์ƒฌ๋ง ์ •๋ณด '{0}'์ด(๊ฐ€) ๋งค๊ฐœ ๋ณ€์ˆ˜ '{1}'์— ์ œ๊ณต๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - ๋ถˆํ•„์š”ํ•œ ๋งˆ์ƒฌ๋ง ์ •๋ณด '{0}'์ด(๊ฐ€) '{1}' ๋ฉ”์„œ๋“œ ๋ฐ˜ํ™˜ ํ˜•์‹์— ์ œ๊ณต๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - 'CallerAllocatedBuffer' ๊ธฐ๋Šฅ์„ ์ง€์›ํ•˜๋Š” '๊ฐ’' ์ข…๋ฅ˜์˜ ๋„ค์ดํ‹ฐ๋ธŒ ํ˜•์‹์€ ๊ด€๋ฆฌ๋˜๋Š” ํ˜•์‹๊ณผ '๊ด€๋ฆฌ๋˜์ง€ ์•Š๋Š”' ํ˜•์‹์˜ 'Span'์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๋Š” ๋‘ ๊ฐœ์˜ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์ƒ์„ฑ์ž๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - ํ˜•์‹ '{0}์€(๋Š”) '{1}์— ๋Œ€ํ•œ 'CallerAllocatedBuffer' ๊ธฐ๋Šฅ์œผ๋กœ 'In' ๋งˆ์ƒฌ๋ง์„ ์ง€์›ํ•˜๋„๋ก ์ง€์ •ํ•˜์ง€๋งŒ '{1} ๋ฐ '๊ด€๋ฆฌ๋˜์ง€ ์•Š๋Š”' ํ˜•์‹์˜ 'Span'์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๋Š” 2๊ฐœ์˜ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์ƒ์„ฑ์ž๋Š” ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - 'Value' ์ข…๋ฅ˜์˜ ๋„ค์ดํ‹ฐ๋ธŒ ํ˜•์‹์€ ๊ด€๋ฆฌ ํ˜•์‹์„ ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๋Š” ๋‹จ์ผ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์ƒ์„ฑ์ž๋ฅผ ์ œ๊ณตํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - ํ˜•์‹ '{0}'์€(๋Š”) '{1}'์˜ 'In' ๋งˆ์ƒฌ๋ง์„ ์ง€์›ํ•˜๋„๋ก ์ง€์ •ํ•˜์ง€๋งŒ '{1}'์„(๋ฅผ) ๋งค๊ฐœ ๋ณ€์ˆ˜๋กœ ์‚ฌ์šฉํ•˜๋Š” ๋‹จ์ผ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์ƒ์„ฑ์ž๋Š” ์ œ๊ณตํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.pl.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.pl.xlf deleted file mode 100644 index 50201cdd143c0..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.pl.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - Dodaj brakujฤ…ce skล‚adowe elementu przeprowadzajฤ…cego marshalling typu niestandardowego - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Gdy ksztaล‚t โ€žZarzฤ…dzane do niezarzฤ…dzanego za pomocฤ… buforu przydzielonego przez wywoล‚ujฤ…cegoโ€ jest uลผywany przez podanie metody โ€žFromManagedโ€, ktรณra przyjmuje element โ€žSpan< T>โ€ w typie marshallera, typ musi udostฤ™pniaฤ‡ statycznฤ… wล‚aล›ciwoล›ฤ‡ โ€žBufferSizeโ€, aby podaฤ‡ liczbฤ™ elementรณw w buforze przydzielonym przez wywoล‚ujฤ…cego. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - Typ marshallera โ€ž{0}โ€ musi mieฤ‡ statycznฤ… wล‚aล›ciwoล›ฤ‡ โ€žintโ€ โ€žBufferSizeโ€ tylko do odczytu, aby okreล›liฤ‡ rozmiar buforu przydzielonego przez wywoล‚ujฤ…cego, poniewaลผ ma metodฤ™ FromManaged, ktรณra przyjmuje przydzielony przez wywoล‚ujฤ…cego element โ€žSpan<{1}>โ€ - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - Wygenerowany atrybut โ€žDllImportAttributeโ€ nie bฤ™dzie miaล‚ wartoล›ci odpowiadajฤ…cej elementowi โ€ž{0}โ€. - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - Element โ€ž{0}โ€ nie ma odpowiednika w atrybucie โ€žDllImportAtttributeโ€ i nie zostanie przekazany - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - Okreล›lonych argumentรณw โ€žLibraryImportAttributeโ€ nie moลผna przekazaฤ‡ do elementu โ€žDllImportAttributeโ€ - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - Funkcja P/Invokes generowana przez ลบrรณdล‚o zignoruje kaลผdฤ… nieobsล‚ugiwanฤ… konfiguracjฤ™. - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Konfiguracja โ€ž{0}โ€ nie jest obsล‚ugiwana przez funkcjฤ™ P/Invokes generowanฤ… przez ลบrรณdล‚o. Jeล›li okreล›lona konfiguracja jest wymagana, uลผyj zamiast tego zwykล‚ego elementu โ€žDllImportโ€. - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - Okreล›lona konfiguracja skierowania nie jest obsล‚ugiwana przez funkcjฤ™ P/Invokes generowanฤ… przez ลบrรณdล‚o. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Okreล›lona konfiguracja โ€ž{0}โ€ dla parametru โ€ž{1}โ€ nie jest obsล‚ugiwana przez funkcjฤ™ P/Invokes generowanฤ… przez ลบrรณdล‚o. Jeล›li okreล›lona konfiguracja jest wymagana, uลผyj zamiast tego zwykล‚ego elementu โ€žDllImportโ€. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Okreล›lona konfiguracja โ€ž{0}โ€ dla wartoล›ci zwracanej metody โ€ž{1}โ€ nie jest obsล‚ugiwana przez funkcjฤ™ P/Invokes generowanฤ… przez ลบrรณdล‚o. Jeล›li okreล›lona konfiguracja jest wymagana, uลผyj zamiast tego zwykล‚ego elementu โ€žDllImportโ€. - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - Okreล›lona wartoล›ฤ‡ โ€ž{0}โ€ dla parametru โ€ž{1}โ€ nie jest obsล‚ugiwana przez funkcjฤ™ P/Invokes generowanฤ… przez ลบrรณdล‚o. Jeล›li okreล›lona konfiguracja jest wymagana, uลผyj zamiast tego zwykล‚ego elementu โ€žDllImportโ€. - - - - Specified configuration is not supported by source-generated P/Invokes. - Okreล›lona konfiguracja nie jest obsล‚ugiwana przez funkcjฤ™ P/Invokes generowanฤ… przez ลบrรณdล‚o. - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - Automatyczne konwertowanie funkcji P/Invoke z parametrem โ€žPreserveSigโ€ ustawionym na wartoล›ฤ‡ โ€žfalseโ€ na wygenerowanฤ… przez ลบrรณdล‚o funkcjฤ™ P/Invoke moลผe spowodowaฤ‡ utworzenie nieprawidล‚owego kodu - - - - Convert to 'LibraryImport' - Konwertuj na element โ€žLibraryImportโ€ - - - - Convert to 'LibraryImport' and enable unsafe code - Konwertuj na element โ€žLibraryImportโ€ i wล‚ฤ…cz niebezpieczny kod - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Uลผyj elementu โ€žLibraryImportAttributeโ€ zamiast elementu โ€žDllImportAttributeโ€, aby wygenerowaฤ‡ kod skierowania funkcji P/Invoke w czasie kompilacji - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - Przekonwertowanie tego interfejsu API na element โ€žLibraryImportโ€ bฤ™dzie wymagaฤ‡ dodatkowego kodu w celu udostฤ™pnienia niestandardowych poleceล„ dla niektรณrych parametrรณw. - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Oznacz metodฤ™ โ€ž{0}โ€ za pomocฤ… elementu โ€žLibraryImportAttributeโ€ zamiast elementu โ€žDllImportAttributeโ€, aby wygenerowaฤ‡ kod skierowania funkcji P/Invoke w czasie kompilacji - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Uลผyj elementu โ€žLibraryImportAttributeโ€ zamiast elementu โ€žDllImportAttributeโ€, aby wygenerowaฤ‡ kod skierowania funkcji P/Invoke w czasie kompilacji - - - - Convert to 'LibraryImport' with '{0}' suffix - Konwertuj na element โ€žLibraryImportโ€ z sufiksem โ€ž{0}โ€ - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - Konwertuj na element โ€žLibraryImportโ€ z sufiksem โ€ž{0}โ€ i wล‚ฤ…cz niebezpieczny kod - - - - Marshaller type does not have the required shape - Typ marshallera nie ma wymaganego ksztaล‚tu - - - - A marshaller for an element scenario cannot be stateful. - Marshaller dla scenariusza elementu nie moลผe byฤ‡ stanowy. - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - Okreล›lony typ marshallera โ€ž{0}โ€ jest stanowym marshallerem, ale stanowe marshallery nie sฤ… dozwolone w podanym trybie marshalingu โ€ž{1}โ€ - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - Typ elementu zakresu zwracanego przez pierwszฤ… metodฤ™ musi byฤ‡ tego samego typu co typ elementu zakresu zwracanego przez drugฤ… metodฤ™. - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - Typ elementu zakresu zwracanego przez โ€ž{0}โ€ musi byฤ‡ tego samego typu co typ elementu zakresu zwracanego przez โ€ž{1}โ€. - - - - An entry-point type for marshalling a given type must not be 'null'. - Typ punktu wejล›cia do przeprowadzenia marshalingu danego typu nie moลผe mieฤ‡ wartoล›ci โ€žnullโ€. - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - Typ marshallera punktu wejล›cia dla typu โ€ž{0}โ€ nie moลผe mieฤ‡ wartoล›ci โ€žnullโ€ - - - - The first parameter of the first method must be the same type as the return types of the second method. - Pierwszy parametr pierwszej metody musi byฤ‡ tego samego typu co zwracane typy drugiej metody. - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - Pierwszy parametr โ€ž{0}โ€ musi byฤ‡ tego samego typu co zwracany typ โ€ž{1}โ€ - - - - The first parameters of the two methods must be the same type. - Pierwsze parametry obu tych metod muszฤ… byฤ‡ tego samego typu. - - - - The first parameter of '{0}' and '{1}' must be the same type - Pierwszy parametr โ€ž{0}โ€ i โ€ž{1}โ€ musi byฤ‡ tego samego typu - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - Przeciฤ…ลผenie metody โ€žFromUnmanagedโ€ nie jest obsล‚ugiwane, poniewaลผ niektรณre ksztaล‚ty nie mogฤ… rozrรณลผniฤ‡ przeciฤ…ลผeล„. - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - Typ โ€ž{0}โ€ przeciฤ…ลผa metodฤ™ โ€žZNiezarzฤ…dzaneโ€, ktรณra nie jest obsล‚ugiwana w niestandardowych marshalerach - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - Zwracany typ elementu โ€žGetPinnableReferenceโ€ (po uwzglฤ™dnieniu wartoล›ci โ€žrefโ€) musi byฤ‡ kopiowalny. - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - Typ, do ktรณrego nie moลผna usunฤ…ฤ‡ odwoล‚ania, zwracanego typu metody โ€žGetPinnableReferenceโ€ musi byฤ‡ kopiowalny - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - Metoda โ€ž{0}โ€ jest zawarta w typie โ€ž{1}โ€, ktรณry nie jest oznaczony jako โ€žczฤ™ล›ciowyโ€. Generowanie ลบrรณdล‚a funkcji P/Invoke zignoruje metodฤ™ โ€ž{0}โ€. - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - Metody oznaczone jako atrybut โ€žLibraryImportAttributeโ€ powinny byฤ‡ โ€žstatyczneโ€, โ€žczฤ™ล›cioweโ€ i nieogรณlne. Generowanie ลบrรณdล‚a funkcji P/Invoke zignoruje metody, ktรณre nie sฤ… โ€žstatyczneโ€, nie sฤ… โ€žczฤ™ล›cioweโ€ lub ogรณlne. - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - Metoda โ€ž{0}โ€ powinna byฤ‡ โ€žstatycznaโ€, โ€žczฤ™ล›ciowaโ€ i nieogรณlna, gdy jest oznaczona za pomocฤ… atrybutu โ€žLibraryImportAttributeโ€. Generowanie ลบrรณdล‚a funkcji P/Invoke zignoruje metodฤ™ โ€ž{0}โ€. - - - - Invalid 'CustomMarshallerAttribute' usage - Nieprawidล‚owe uลผycie atrybutu โ€žCustomMarshallerAttributeโ€ - - - - Invalid 'LibraryImportAttribute' usage - Nieprawidล‚owe uลผycie parametru โ€žLibraryImportAttributeโ€ - - - - Specified managed type is invalid - Okreล›lony typ zarzฤ…dzany jest nieprawidล‚owy - - - - Invalid 'MarshalMode' value. - Nieprawidล‚owa wartoล›ฤ‡ โ€žMarshalModeโ€. - - - - Specified marshaller type is invalid - Okreล›lony typ marshallera jest nieprawidล‚owy - - - - Invalid 'NativeMarshallingAttribute' usage - Nieprawidล‚owe uลผycie atrybutu โ€žNativeMarshallingAttributeโ€ - - - - Marshaller type has incompatible method signatures - Typ marshallera ma niezgodne sygnatury metody - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - Konfiguracja elementรณw โ€žStringMarshallingโ€ i โ€žStringMarshallingCustomTypeโ€ jest nieprawidล‚owa. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - Konfiguracja elementรณw โ€žStringMarshallingโ€ i โ€žStringMarshallingCustomTypeโ€ w metodzie โ€ž{0}โ€ jest nieprawidล‚owa. {1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - Element โ€žStringMarshallingCustomTypeโ€ naleลผy okreล›liฤ‡, gdy element โ€žStringMarshallingโ€ ma wartoล›ฤ‡ โ€žStringMarshalling.Customโ€. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - Element โ€žStringMarshallingโ€ naleลผy ustawiฤ‡ na wartoล›ฤ‡ โ€žStringMarshalling.Customโ€, gdy okreล›lono element โ€žStringMarshallingCustomTypeโ€. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - Typ elementu โ€žReadOnlySpanโ€ zwracany przez element โ€žGetManagedValuesSourceโ€ musi byฤ‡ taki sam jak typ elementu zwracany przez element โ€žGetManagedValuesDestinationโ€. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - Typ elementu โ€žReadOnlySpanโ€ zwracany przez element โ€žGetManagedValuesSourceโ€ musi byฤ‡ taki sam jak typ elementu zwracany przez element โ€žGetManagedValuesDestinationโ€ - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - Typ natywny rodzaju โ€žLinearCollectionโ€, ktรณry obsล‚uguje funkcjฤ™ โ€žCallerAllocatedBufferโ€, musi zapewniaฤ‡ konstruktora z trzema parametrami, przyjmujฤ…cego typ zarzฤ…dzany jako pierwszy parametr, wartoล›ฤ‡ โ€žSpan<byte>โ€ jako drugi parametr i natywny rozmiar elementu jako trzeci parametr - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje funkcjฤ™ skierowania โ€žInโ€ z funkcjฤ… โ€žCallerAllocatedBufferโ€ dla elementu โ€ž{1}โ€, ale nie udostฤ™pnia konstruktora z trzema parametrami, ktรณry przyjmuje wartoล›ฤ‡ โ€ž{1}โ€, \"Span<byte>\" i โ€žintโ€ - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - Organizator zwartej kolekcji, ktรณry obsล‚uguje przeprowadzanie marshalingu z zarzฤ…dzanych do niezarzฤ…dzanych, musi zapewniaฤ‡ metodฤ™ โ€žGetManagedValuesSourceโ€, ktรณra zwraca wartoล›ฤ‡ โ€žReadOnlySpan<>โ€ oraz metodฤ™ โ€žGetUnmanagedValuesDestinationโ€, ktรณra zwraca wartoล›ฤ‡ โ€žSpan<>โ€. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb przeprowadzenia marshalingu โ€ž{1}โ€, ale nie zapewnia metody โ€žGetManagedValuesSourceโ€, ktรณra zwraca wartoล›ฤ‡ โ€žReadOnlySpan<>โ€ ani metody โ€žGetNativeValuesDestinationโ€, ktรณra zwraca wartoล›ฤ‡ โ€žSpan<>โ€ - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - Organizator zwartej kolekcji, ktรณry obsล‚uguje przeprowadzanie marshalingu z niezarzฤ…dzanych do zarzฤ…dzanych, musi zapewniaฤ‡ metodฤ™ โ€žGetManagedValuesDestinationโ€, ktรณra przyjmuje wartoล›ฤ‡ โ€žintโ€ i zwraca wartoล›ฤ‡ โ€žSpan<>โ€, oraz metodฤ™ โ€žGetUnmanagedValuesSourceโ€, ktรณra przyjmuje wartoล›ฤ‡ โ€žintโ€ i zwraca wartoล›ฤ‡ โ€žReadOnlySpan<>โ€. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb przeprowadzania marshalingu โ€ž{1}โ€, ale nie zapewnia metody โ€žGetManagedValuesDestinationโ€, ktรณra przyjmuje wartoล›ฤ‡ โ€žintโ€ i zwraca wartoล›ฤ‡ โ€žSpan<>โ€, oraz metodฤ™ โ€žGetUnmanagedValuesSourceโ€, ktรณra przyjmuje wartoล›ฤ‡ โ€žintโ€ i zwraca wartoล›ฤ‡ โ€žReadOnlySpan<>โ€ - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - Typ marshallera musi byฤ‡ zamkniฤ™tym typem ogรณlnym lub mieฤ‡ takฤ… samฤ… liczbฤ™ parametrรณw ogรณlnych jak typ zarzฤ…dzany, aby generator mรณgล‚ okreล›liฤ‡, ktรณre metody sฤ… dostฤ™pne na okreล›lonych typach marshallerรณw. - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - Typ zarzฤ…dzany โ€ž{0}โ€ dla typu marshaller punktu wejล›cia โ€ž{1}โ€ musi byฤ‡ zamkniฤ™tym typem ogรณlnym, mieฤ‡ takฤ… samฤ… argumentacjฤ™ jak typ zarzฤ…dzany, jeล›li jest to marshaller wartoล›ci lub mieฤ‡ jeden dodatkowy parametr ogรณlny, jeล›li jest to marshaller kolekcji. - - - - The managed type for a custom marshaller must be non-null. - Typ zarzฤ…dzany dla niestandardowego marshallera musi mieฤ‡ wartoล›ฤ‡ innฤ… niลผ null. - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - Typ zarzฤ…dzany dla typu marshaller punktu wejล›cia โ€ž{0}โ€ nie moลผe mieฤ‡ wartoล›ci โ€žnullโ€ - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Okreล›lona konfiguracja atrybutu โ€žMarshalAsAttributeโ€ dla parametru โ€ž{1}โ€ nie jest obsล‚ugiwana przez generowane ลบrรณdล‚owo P/Invokes. Jeล›li okreล›lona konfiguracja jest wymagana, naleลผy zamiast niej uลผyฤ‡ zwykล‚ego elementu โ€žDllImportโ€. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - Okreล›lona konfiguracja atrybutu โ€žMarshalAsAttributeโ€ dla wartoล›ci zwracanej metody โ€ž{1}โ€ nie jest obsล‚ugiwana przez generowane ลบrรณdล‚owo P/Invokes. Jeล›li okreล›lona konfiguracja jest wymagana, naleลผy zamiast niej uลผyฤ‡ zwykล‚ego elementu โ€žDllImportโ€. - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - Argument โ€žmarshalModeโ€ atrybutu โ€žCustomMarshaellerAttributeโ€ musi byฤ‡ prawidล‚owฤ… wartoล›ciฤ… wyliczenia argumentu โ€žMarshalModeโ€. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Typ marshallera musi byฤ‡ zamkniฤ™tym typem ogรณlnym lub mieฤ‡ takฤ… samฤ… liczbฤ™ parametrรณw ogรณlnych jak typ zarzฤ…dzany, aby emitowany kod mรณgล‚ uลผywaฤ‡ okreล›lonego wystฤ…pienia. - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - Typ marshallera โ€ž{0}โ€ wskazywanego przez typ marshallera punktu wejล›cia โ€ž{1}โ€ musi byฤ‡ zamkniฤ™tym typem ogรณlnym lub mieฤ‡ takฤ… samฤ… argumentacjฤ™ jak typ zarzฤ…dzany - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - Parametr โ€žmarshallerTypeโ€ w atrybucie โ€žSystem.Runtime.InteropServices.Marshalling.CustomMarshaellerAttributeโ€ nie moลผe mieฤ‡ wartoล›ci โ€žnullโ€. - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - Parametr โ€žmarshallerTypeโ€ w atrybucie โ€žSystem.Runtime.InteropServices.Marshalling.CustomMarshaellerAttributeโ€ nie moลผe mieฤ‡ wartoล›ci โ€žnullโ€ - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - Typ organizatora musi byฤ‡ bezstanowฤ… klasฤ… statycznฤ… lub stanowym typem wartoล›ci. Klasa niestatyczna jest niedozwolona. - - - - The type '{0}' must be a static class or a value type - Typ โ€ž{0}โ€ musi byฤ‡ klasฤ… statycznฤ… lub typem wartoล›ci - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - Typ z atrybutem โ€žSystem.Runtime.InteropServices.CustomMarshaellerAttributeโ€ musi okreล›laฤ‡ typ zarzฤ…dzany inny niลผ โ€žnullโ€ - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - Typ โ€ž{0}โ€ nie okreล›la typu zarzฤ…dzanego w atrybucie โ€žSystem.Runtime.InteropServices.CustomTypeMarshallerAttributeโ€ zastosowanym do typu - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Typ marshallera musi byฤ‡ zamkniฤ™tym typem ogรณlnym lub mieฤ‡ takฤ… samฤ… liczbฤ™ parametrรณw ogรณlnych jak typ zarzฤ…dzany, aby emitowany kod mรณgล‚ uลผywaฤ‡ okreล›lonego wystฤ…pienia. - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - Typ marshallera โ€ž{0}โ€ dla typu zarzฤ…dzanego โ€ž{1}โ€ musi byฤ‡ zamkniฤ™tym typem ogรณlnym, mieฤ‡ takฤ… samฤ… argumentacjฤ™ jak typ zarzฤ…dzany, jeล›li jest to marshaller wartoล›ci lub mieฤ‡ jeden dodatkowy parametr ogรณlny, jeล›li jest to marshaller kolekcji. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - Element LibraryImportAttribute wymaga niebezpiecznego kodu. Projekt musi zostaฤ‡ zaktualizowany za pomocฤ… โ€ž<AllowUnsafeBlocks>true</AllowUnsafeBlocks>โ€. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - Element LibraryImportAttribute wymaga niebezpiecznego kodu. Projekt musi zostaฤ‡ zaktualizowany za pomocฤ… โ€ž<AllowUnsafeBlocks>true</AllowUnsafeBlocks>โ€. - - - - LibraryImportAttribute requires unsafe code. - Element LibraryImportAttribute wymaga niebezpiecznego kodu. - - - - The return type the two method must be the expected type. - Zwracany typ obu tych metod musi byฤ‡ oczekiwanym typem. - - - - The return type of '{0}' must be '{1}' - Zwracany typ โ€ž{0}โ€ musi byฤ‡ โ€ž{1}โ€ - - - - The return types of the two methods must be the same type. - Zwracane typy obu tych metod muszฤ… byฤ‡ tego samego typu. - - - - The return type of '{0}' must be the same type as the return type of '{1}' - Zwracany typ โ€ž{0}โ€ musi byฤ‡ tego samego typu co zwracany typ โ€ž{1}โ€ - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - Stanowy marshaller musi mieฤ‡ metodฤ™ wystฤ…pienia zwracajฤ…cฤ… wartoล›ฤ‡ niewaลผnฤ… o parametrze 0 o nazwie โ€žFreeโ€. - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - Typ โ€ž{0}โ€ jest stanowym marshallerem i nie ma metody wystฤ…pienia zwracajฤ…cego wartoล›ฤ‡ niewaลผnฤ… o parametrze 0 o nazwie โ€žFreeโ€ - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - Stanowu marshaller obsล‚ugujฤ…cy kierowanie z zarzฤ…dzanego do niezarzฤ…dzanego musi udostฤ™pniaฤ‡ metodฤ™ wystฤ…pienia โ€žZNiezarzฤ…dzaneโ€, ktรณra przyjmuje wartoล›ฤ‡ zarzฤ…dzanฤ… jako parametr i zwraca wartoล›ฤ‡ โ€žniewaลผneโ€ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb marshalingu โ€ž{1}โ€ dla โ€ž{2}โ€, ale nie udostฤ™pnia metody wystฤ…pienia z jednym parametrem o nazwie โ€žZNiezarzฤ…dzaneโ€, ktรณra przyjmuje jako parametr โ€ž{2}โ€ i zwraca wartoล›ฤ‡ โ€žniewaลผneโ€ - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - Stanowy marshaller obsล‚ugujฤ…cy kierowanie z niezarzฤ…dzanego do zarzฤ…dzanego musi udostฤ™pniaฤ‡ metodฤ™ wystฤ…pienia โ€žZNiezarzฤ…dzaneโ€, ktรณra przyjmuje wartoล›ฤ‡ niezarzฤ…dzanฤ… jako parametr i zwraca wartoล›ฤ‡ โ€žniewaลผneโ€. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb marshalingu โ€ž{1}โ€ dla elementu โ€ž{2}โ€, ale nie udostฤ™pnia metody wystฤ…pienia jednego parametru o nazwie โ€žZNiezarzฤ…dzaneโ€, ktรณra przyjmuje wartoล›ฤ‡ โ€žniezarzฤ…dzaneโ€ jako parametr i zwraca wartoล›ฤ‡ โ€žniewaลผneโ€ - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - Marshaller stanu obsล‚ugujฤ…cy kierowanie z niezarzฤ…dzanego do zarzฤ…dzanego musi udostฤ™pniaฤ‡ metodฤ™ wystฤ…pienia โ€žDoZarzฤ…dzaneโ€, ktรณra nie przyjmuje parametrรณw i zwraca typ zarzฤ…dzany. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb marshalingu โ€ž{1}โ€ dla elementu โ€ž{2}โ€, ale nie udostฤ™pnia metody wystฤ…pienia o wartoล›ci zero parametrรณw o nazwie โ€žDoZarzฤ…dzaneโ€, ktรณra zwraca wartoล›ฤ‡ โ€ž{2}โ€ - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - Stanowy marshaller obsล‚ugujฤ…cy kierowanie z zarzฤ…dzanego do niezarzฤ…dzanego musi udostฤ™pniaฤ‡ metodฤ™ wystฤ…pienia โ€žDoNiezarzฤ…dzaneโ€, ktรณra nie przyjmuje parametrรณw i zwraca typ โ€žniezarzฤ…dzaneโ€. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb marshalingu โ€ž{1}โ€ dla elementu โ€ž{2}โ€, ale nie udostฤ™pnia metody wystฤ…pienia o wartoล›ci zero parametrรณw o nazwie โ€žDoNiezarzฤ…dzaneโ€, ktรณra zwraca typ โ€žniezarzฤ…dzaneโ€ dla marshalera - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Gdy ksztaล‚t โ€žZarzฤ…dzane do niezarzฤ…dzanych za pomocฤ… buforu przydzielonego przez wywoล‚ujฤ…cegoโ€ jest uลผywany poprzez zapewnienie metody โ€žAllocateContainerForUnmanagedElementsโ€, ktรณra przyjmuje wartoล›ฤ‡ โ€žSpan< T>โ€ w przypadku typu organizatora, typ musi zapewniaฤ‡ statycznฤ… wล‚aล›ciwoล›ฤ‡ โ€žBufferSizeโ€, aby okreล›liฤ‡ liczbฤ™ elementรณw w buforze przydzielonym przez wywoล‚ujฤ…cego. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - Typ organizatora โ€ž{0}โ€ musi mieฤ‡ statycznฤ… wล‚aล›ciwoล›ฤ‡ โ€žBufferSizeโ€ โ€žintโ€ tylko do odczytu, aby okreล›liฤ‡ rozmiar buforu przydzielonego przez wywoล‚ujฤ…cego, poniewaลผ ma metodฤ™ โ€žAllocateContainerForUnmanagedElementsโ€, ktรณra przyjmuje przydzielonฤ… przez wywoล‚ujฤ…cego wartoล›ฤ‡ โ€žSpan<{1}>โ€ - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Organizator zwartej kolekcji, ktรณry obsล‚uguje przeprowadzanie marshalingu z niezarzฤ…dzanych do zarzฤ…dzanych, musi zapewniaฤ‡ metodฤ™ โ€žGetManagedValuesSourceโ€, ktรณra przyjmuje zarzฤ…dzanฤ… wartoล›ฤ‡ jako parametr i zwraca wartoล›ฤ‡ โ€žReadOnlySpan<>โ€, oraz metodฤ™ โ€žGetUnmanagedValuesDestinationโ€, ktรณra przyjmuje niezarzฤ…dzanฤ… wartoล›ฤ‡ jako parametr i zwraca wartoล›ฤ‡ โ€žSpan<>โ€. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb przeprowadzania marshalingu โ€ž{1}โ€, ale nie zapewnia metody โ€žGetManagedValuesSourceโ€, ktรณra przyjmuje wartoล›ฤ‡ โ€ž{2}โ€ jako parametr i zwraca wartoล›ฤ‡ โ€žReadOnlySpan<>โ€, oraz metodฤ™ โ€žGetUnmanagedValuesDestinationโ€, ktรณra przyjmuje niezarzฤ…dzanฤ… wartoล›ฤ‡ jako parametr i zwraca wartoล›ฤ‡ โ€žSpan<>โ€ - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - Organizator zwartej kolekcji, ktรณry obsล‚uguje przeprowadzanie marshalingu z niezarzฤ…dzanych do zarzฤ…dzanych, musi zapewniaฤ‡ metodฤ™ โ€žGetManagedValuesDestinationโ€, ktรณra przyjmuje zarzฤ…dzanฤ… wartoล›ฤ‡ i zwraca wartoล›ฤ‡ โ€žSpan<>โ€, oraz metodฤ™ โ€žGetUnmanagedValuesSourceโ€, ktรณra przyjmuje niezarzฤ…dzanฤ… wartoล›ฤ‡ i wartoล›ฤ‡ โ€žintโ€ oraz zwraca wartoล›ฤ‡ โ€žReadOnlySpan<>โ€. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb przeprowadzania marshalingu โ€ž{1}โ€, ale nie zapewnia metody โ€žGetManagedValuesDestinationโ€, ktรณra przyjmuje wartoล›ฤ‡ โ€ž{2}โ€ i zwraca wartoล›ฤ‡ โ€žSpan<>โ€, oraz metodฤ™ โ€žGetUnmanagedValuesSourceโ€, ktรณra przyjmuje wartoล›ฤ‡ niezarzฤ…dzanฤ… iย โ€žintโ€ oraz zwraca wartoล›ฤ‡ โ€žReadOnlySpan<>โ€ - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - Bezstanowy organizator zwartej kolekcji, ktรณry obsล‚uguje przeprowadzanie marshalingu z zarzฤ…dzanych do niezarzฤ…dzanych, musi zapewniaฤ‡ metodฤ™ โ€žAllocateContainerForManagedElementsโ€, przyjmujฤ…c typ niezarzฤ…dzany jako pierwszy parametr oraz liczbฤ™ elementรณw jako parametr โ€žintโ€ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb przeprowadzania marshalingu โ€ž{1}โ€ dla โ€ž{2}โ€, ale nie zapewnia metody โ€žAllocateContainerForManagedElementsโ€ z dwoma parametrami, ktรณra przyjmuje typ niezarzฤ…dzany jako pierwszy parametr i wartoล›ฤ‡ โ€žintโ€ jako drugi parametr - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - Bezstanowy organizator zwartej kolekcji, ktรณry obsล‚uguje przeprowadzanie marshalingu z zarzฤ…dzanych do niezarzฤ…dzanych, musi zapewniaฤ‡ metodฤ™ โ€žAllocateContainerForUnmanagedElementsโ€, przyjmujฤ…c typ zarzฤ…dzany jako pierwszy parametr oraz okreล›lajฤ…c liczbฤ™ elementรณw jako parametr โ€žout intโ€ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb przeprowadzania marshalingu โ€ž{1}โ€ dla โ€ž{2}โ€, ale nie zapewnia metody โ€žAllocateContainerForUnmanagedElementsโ€ z dwoma parametrami, ktรณra przyjmuje wartoล›ฤ‡ โ€ž{2}โ€ jako pierwszy parametr i wartoล›ฤ‡ โ€žout intโ€ jako drugi parametr - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - Bezstanowy organizator wartoล›ci, ktรณry obsล‚uguje przeprowadzanie marshalingu z zarzฤ…dzanych do niezarzฤ…dzanych, musi zapewniaฤ‡ metodฤ™ โ€žConvertToManagedโ€, ktรณra przyjmuje typ niezarzฤ…dzany jako parametr i zwraca typ zarzฤ…dzany. - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb przeprowadzania marshalingu โ€ž{1}โ€, ale nie zapewnia metody โ€žConvertToManagedโ€, ktรณra przyjmuje typ niezarzฤ…dzany jako parametr i zwraca wartoล›ฤ‡ โ€ž{2}โ€ - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - Bezstanowy organizator wartoล›ci, ktรณry obsล‚uguje przeprowadzanie marshalingu z zarzฤ…dzanych do niezarzฤ…dzanych, musi zapewniaฤ‡ metodฤ™ โ€žConvertToUnmanagedโ€ z jednym parametrem, ktรณra przyjmuje wartoล›ฤ‡ zarzฤ…dzanฤ… jako parametr i zwraca wartoล›ฤ‡ typu โ€žniezarzฤ…dzanyโ€. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje tryb przeprowadzania marshalingu โ€ž{1}โ€ dla โ€ž{2}โ€, ale nie zapewnia metody โ€žConvertToUnmanagedโ€ z jednym parametrem, ktรณra przyjmuje wartoล›ฤ‡ โ€ž{2}โ€ jako parametr i zwraca wartoล›ฤ‡ typu โ€žniezarzฤ…dzanyโ€ - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - Zwracany typ elementu โ€žConvertToUnmanagedโ€ i typ parametru elementu โ€žConvertToManagedโ€ muszฤ… byฤ‡ takie same. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - Zwracany typ elementu โ€žConvertToUnmanagedโ€ i typ parametru elementu โ€žConvertToManagedโ€ muszฤ… byฤ‡ takie same - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - Typ niezarzฤ…dzany dla niestandardowego organizatora musi byฤ‡ niezarzฤ…dzanym typem jฤ™zyka C#. - - - - The return type of '{0}' must be unmanaged - Zwracany typ โ€ž{0}โ€ musi byฤ‡ niezarzฤ…dzany - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - Element โ€žvoid*โ€ musi byฤ‡ rzutowany na typ, aby przypiฤ™ty wynik statycznej metody โ€žGetPinnableReferenceโ€ mรณgล‚ zostaฤ‡ przekazany do kontekstu macierzystego po przypiฤ™ciu. - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - Element โ€žvoid*โ€ musi byฤ‡ rzutowany na typ โ€ž{0}โ€, poniewaลผ typ zarzฤ…dzany โ€ž{1}โ€ ma statycznฤ… metodฤ™ โ€žGetPinnableReferenceโ€ - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - Typ punktu wejล›cia do przeprowadzenia marshalingu danego typu musi mieฤ‡ atrybut โ€žSystem.Runtime.InteropServices.CustomMarshaellerAttributeโ€, ktรณry okreล›la ten typ jako typ zarzฤ…dzany. - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - Typ marshallera punktu wejล›cia โ€ž{0}โ€ dla typu โ€ž{1}โ€ musi byฤ‡ typem z co najmniej jednym atrybutem โ€žSystem.Runtime.InteropServices.CustomMarshaellerAttributeโ€, ktรณry okreล›la ten typ jako typ zarzฤ…dzany - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - Typ natywny rodzaju โ€žValueโ€ lub โ€žLinearCollectionโ€, ktรณry obsล‚uguje skierowanie w kierunku โ€žOutโ€, musi zapewniaฤ‡ metodฤ™ โ€žToManagedโ€, ktรณra zwraca typ zarzฤ…dzany. - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje skierowanie w kierunku โ€žOutโ€, ale nie zapewnia metody โ€žToManagedโ€, ktรณra zwraca typ zarzฤ…dzany - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - Zwracany typ elementu โ€žToUnmanagedโ€ i typ parametru elementu โ€žFromUnmanagedโ€ muszฤ… byฤ‡ takie same. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - Zwracany typ elementu โ€žToUnmanagedโ€ i typ parametru elementu โ€žFromUnmanagedโ€ muszฤ… byฤ‡ takie same - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - W przypadku typรณw, ktรณre nie sฤ… obsล‚ugiwane przez funkcjฤ™ P/Invokes generowanฤ… przez ลบrรณdล‚o, wynikowa funkcja P/Invoke bฤ™dzie polegaฤ‡ na bazowym ล›rodowisku uruchomieniowym, aby skierowaฤ‡ okreล›lony typ. - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - Typ โ€ž{0}โ€ nie jest obsล‚ugiwany przez funkcjฤ™ P/Invokes generowanฤ… przez ลบrรณdล‚o. Wygenerowane ลบrรณdล‚o nie obsล‚uguje skierowania parametru โ€ž{1}โ€. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} Wygenerowane ลบrรณdล‚o nie obsล‚uguje skierowania parametru โ€ž{1}โ€. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - Typ โ€ž{0}โ€ nie jest obsล‚ugiwany przez funkcjฤ™ P/Invokes generowanฤ… przez ลบrรณdล‚o. Wygenerowane ลบrรณdล‚o nie obsล‚uguje skierowania wartoล›ci zwracanej przez metodฤ™ โ€ž{1}โ€. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0}Wygenerowane ลบrรณdล‚o nie obsล‚uguje skierowania wartoล›ci zwracanej przez metodฤ™ โ€ž{1}โ€. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - Okreล›lony typ nie jest obsล‚ugiwany przez funkcjฤ™ P/Invokes generowanฤ… przez ลบrรณdล‚o - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Niepotrzebne informacje o marshallingu zostaล‚y przekazane. Te informacje o marshallingu moลผna usunฤ…ฤ‡ bez ลผadnych zmian w zachowaniu aplikacji. - - - - Unnecessary marshalling info was provided and can be removed. - Niepotrzebne informacje o marshallingu zostaล‚y przekazane iย moลผna je usunฤ…ฤ‡. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Niepotrzebne informacje o marshallingu โ€ž{0}โ€ zostaล‚y przekazane dla parametru โ€ž{1}โ€ - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Niepotrzebne informacje o marshallingu โ€ž{0}โ€ zostaล‚y przekazane dla zwracanego typu metody โ€ž{1}โ€ - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - Typ natywny rodzaju โ€žValueโ€, ktรณry obsล‚uguje funkcjฤ™ โ€žCallerAllocatedBufferโ€ musi zapewniaฤ‡ konstruktora z dwoma parametrami przyjmujฤ…cego typ zarzฤ…dzany i wartoล›ฤ‡ โ€žSpanโ€ typu โ€žunmanagedโ€ jako parametry - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje marshalling โ€žInโ€ z funkcjฤ… โ€žCallerAllocatedBufferโ€ dla elementu โ€ž{1}โ€, ale nie zapewnia konstruktora z dwoma parametrami, ktรณry przyjmuje wartoล›ฤ‡i โ€ž{1}โ€โ€Spanโ€ typu โ€žunmanagedโ€ jako parametry - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - Typ natywny rodzaju โ€žValueโ€ musi zapewniaฤ‡ konstruktora z jednym parametrem przyjmujฤ…cego typ zarzฤ…dzany jako parametr - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - Typ โ€ž{0}โ€ okreล›la, ลผe obsล‚uguje skierowanie โ€žInโ€ z elementu โ€ž{1}โ€, ale nie zapewnia konstruktora z jednym parametrem, ktรณry przyjmuje element โ€ž{1}โ€ jako parametr - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.pt-BR.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.pt-BR.xlf deleted file mode 100644 index 0ee8ec9385533..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.pt-BR.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - Adicionar membros marshaller de tipo personalizado ausentes - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Quando a forma 'Managed to Unmanaged com Caller-Allocated Buffer' รฉ usada fornecendo um mรฉtodo 'FromManaged' que usa um 'Span<T>' no tipo de empacotador, o tipo deve fornecer uma propriedade estรกtica 'BufferSize' para fornecer o nรบmero de elementos no buffer alocado pelo chamador. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - O tipo de empacotador '{0}' deve ter uma propriedade estรกtica somente leitura 'int' 'BufferSize' para especificar o tamanho do buffer alocado pelo chamador porque ele tem um mรฉtodo FromManaged que recebe um 'Span' alocado pelo chamador<{1}>' - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - O 'DllImportAttribute' gerado nรฃo terรก um valor correspondente a '{0}'. - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - '{0}' nรฃo tem equivalente em 'DllImportAttribute' e nรฃo serรก encaminhado - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - Os argumentos 'LibraryImportAttribute' especificados nรฃo podem ser encaminhados para 'DllImportAttribute' - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - P/Invokes gerados pela origem ignorarรฃo qualquer configuraรงรฃo sem suporte. - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - A configuraรงรฃo โ€œ{0}โ€ nรฃo รฉ tem suporte para P/Invokes gerados pela origem. Se a configuraรงรฃo especificada for necessรกria, use um 'DllImport' regular. - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - Nรฃo hรก suporte para a configuraรงรฃo de marshaling especificada por P/Invokes gerados pela origem. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - A configuraรงรฃo โ€œ{0}โ€ especificada para o parรขmetro โ€œ{1}โ€ nรฃo tem o suporte do P/Invokes gerados pela origem. Se a configuraรงรฃo especificada for necessรกria, use um 'DllImport' regular. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - A configuraรงรฃo โ€œ{0}โ€ especificada para o valor retornado do mรฉtodo โ€œ{1}โ€ nรฃo tem suporte para P/Invokes gerados pela origem. Se a configuraรงรฃo especificada for necessรกria, use um 'DllImport' regular. - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - O valor โ€œ{0}โ€ especificado para โ€œ{1}โ€ nรฃo tem suporte do P/Invokes gerados pela origem. Se o valor especificado for necessรกrio, use um 'DllImport' regular. - - - - Specified configuration is not supported by source-generated P/Invokes. - A configuraรงรฃo especificada nรฃo tem suporte de P/Invokes gerados pela origem. - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - Converter automaticamente um P/Invoke com 'PreserveSig' definido como 'false' em um P/Invoke gerado pela origem pode produzir cรณdigo invรกlido - - - - Convert to 'LibraryImport' - Converter em 'LibraryImport' - - - - Convert to 'LibraryImport' and enable unsafe code - Converta em 'LibraryImport' e habilite cรณdigo nรฃo seguro - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Use 'LibraryImportAttribute' em vez de 'DllImportAttribute' para gerar cรณdigo de marshalling P/Invoke no tempo de compilaรงรฃo - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - Converter essa API em 'LibraryImport' exigirรก cรณdigo adicional para fornecer marshallers personalizados para alguns parรขmetros. - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Marque o mรฉtodo '{0}' com 'LibraryImportAttribute' em vez de 'DllImportAttribute' para gerar cรณdigo de marshaling P/Invoke em tempo de compilaรงรฃo - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - Use 'LibraryImportAttribute' em vez de 'DllImportAttribute' para gerar cรณdigo de marshalling P/Invoke no tempo de compilaรงรฃo - - - - Convert to 'LibraryImport' with '{0}' suffix - Converter em 'LibraryImport' com '{0}' sufixo - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - Converta em 'LibraryImport' com o sufixo '{0}' e habilite o cรณdigo nรฃo seguro - - - - Marshaller type does not have the required shape - O tipo de marshaller nรฃo tem a forma necessรกria - - - - A marshaller for an element scenario cannot be stateful. - Um marshaller para um cenรกrio de elemento nรฃo pode ter estado. - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - O tipo de marshaller especificado '{0}' รฉ um marshaller com estado, mas os marshallers com estado nรฃo sรฃo permitidos no modo de marshal '{1}' fornecido - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - O tipo de elemento do intervalo retornado pelo primeiro mรฉtodo deve ser do mesmo tipo que o tipo de elemento da extensรฃo retornada pelo segundo mรฉtodo. - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - O tipo de elemento do intervalo retornado por โ€œ{0}โ€ deve ser do mesmo tipo que o tipo de elemento do intervalo retornado por โ€œ{1}โ€. - - - - An entry-point type for marshalling a given type must not be 'null'. - Um tipo de ponto de entrada para empacotar um determinado tipo nรฃo deve ser 'null'. - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - O tipo de empacotador de ponto de entrada para o tipo '{0}' nรฃo deve ser 'nulo' - - - - The first parameter of the first method must be the same type as the return types of the second method. - O primeiro parรขmetro do primeiro mรฉtodo deve ser do mesmo tipo que os tipos de retorno do segundo mรฉtodo. - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - O primeiro parรขmetro de โ€œ{0}โ€ deve ser do mesmo tipo que o tipo de retorno โ€œ{1}โ€ - - - - The first parameters of the two methods must be the same type. - Os primeiros parรขmetros dos dois mรฉtodos devem ser do mesmo tipo. - - - - The first parameter of '{0}' and '{1}' must be the same type - O primeiro parรขmetro de โ€œ{0}โ€ e โ€œ{1}โ€ deve ser do mesmo tipo - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - A sobrecarga do mรฉtodo 'FromUnmanaged' nรฃo รฉ suportada, pois algumas formas nรฃo conseguem distinguir entre sobrecargas. - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - O tipo '{0}' sobrecarrega o mรฉtodo 'FromUnmanaged', que nรฃo tem suporte em marshallers personalizados - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - O tipo de retorno de 'GetPinnableReference' (apรณs a contabilizaรงรฃo de 'ref') deve ser blittable. - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - O tipo desreferenciado do tipo de retorno do mรฉtodo 'GetPinnableReference' deve ser blittable - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - O '{0}' estรก contido em um tipo '{1}' que nรฃo estรก marcado como 'partial'. A geraรงรฃo de origem P/Invoke ignorarรก o mรฉtodo '{0}'. - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - Os mรฉtodos marcados com 'LibraryImportAttribute' devem ser 'static', 'partial' e nรฃo genรฉricos. A geraรงรฃo de origem P/Invoke ignorarรก os mรฉtodos que nรฃo sรฃo 'static', nรฃo-'partial' ou genรฉricos. - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - O mรฉtodo '{0}' deve ser 'static', 'partial' e nรฃo genรฉrico quando marcado com 'LibraryImportAttribute'. A geraรงรฃo de origem P/Invoke ignorarรก o mรฉtodo '{0}'. - - - - Invalid 'CustomMarshallerAttribute' usage - Uso invรกlido de 'CustomMarshallerAttribute' - - - - Invalid 'LibraryImportAttribute' usage - Uso 'LibraryImportAttribute' invรกlido - - - - Specified managed type is invalid - O tipo gerenciado especificado รฉ invรกlido - - - - Invalid 'MarshalMode' value. - Valor 'MarshalMode' invรกlido. - - - - Specified marshaller type is invalid - O tipo de empacotador especificado รฉ invรกlido - - - - Invalid 'NativeMarshallingAttribute' usage - Uso 'NativeMarshallingAttribute' invรกlido - - - - Marshaller type has incompatible method signatures - O tipo de marshaller tem assinaturas de mรฉtodo incompatรญveis - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - A configuraรงรฃo de 'StringMarshalling' e 'StringMarshallingCustomType' รฉ invรกlida. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - A configuraรงรฃo de 'StringMarshalling' e 'StringMarshallingCustomType' no mรฉtodo '{0}' รฉ invรกlida. {1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - 'StringMarshallingCustomType' deve ser especificado quando 'StringMarshalling' estรก definido como 'StringMarshalling.Custom'. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - 'StringMarshalling' deve ser definido como 'StringMarshalling.Custom' quando 'StringMarshallingCustomType' for especificado. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - O tipo de elemento de 'ReadOnlySpan' retornado por 'GetManagedValuesSource' deve ser igual ao tipo de elemento retornado por 'GetManagedValuesDestination'. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - O tipo de elemento de 'ReadOnlySpan' retornado por 'GetManagedValuesSource' deve ser igual ao tipo de elemento retornado por 'GetManagedValuesDestination' - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - Um tipo nativo do tipo 'LinearCollection' que dรก suporte ao recurso 'CallerAllocatedBuffer' deve fornecer um construtor de trรชs parรขmetros usando o tipo gerenciado como o primeiro parรขmetro, um 'Span<byte>' como o segundo parรขmetro e o tamanho nativo do elemento como o terceiro parรขmetro - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - O tipo '{0}' especifica que dรก suporte ao empacotamento 'In' com o recurso 'CallerAllocatedBuffer' para o '{1}', mas nรฃo fornece um construtor de trรชs parรขmetros que recebe um '{1}', um 'Span<byte>' e um 'int' - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - Um marshaller de coleรงรฃo contรญguo que dรช suporte ao marshaling de gerenciado para nรฃo gerenciado deve fornecer um 'GetManagedValuesSource' que retorna um mรฉtodo 'ReadOnlySpan<>' e um mรฉtodo 'GetUnmanagedValuesDestination' que retorna um 'Span<>'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - O tipo โ€œ{0}โ€ especifica que รฉ compatรญvel com o modo marshal โ€œ{1},โ€ mas nรฃo fornece um 'GetManagedValuesSource' que retorna um mรฉtodo 'ReadOnlySpan<>' e um mรฉtodo 'GetUnmanagedValuesDestination' que retorna um 'Span<>' - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - Um marshaller de coleรงรฃo contรญguo que dรช suporte ao marshaling de nรฃo gerenciado para gerenciado deve fornecer um mรฉtodo 'GetManagedValuesDestination' que aceita um 'int' e retorna um mรฉtodo 'Span<>' e um mรฉtodo 'GetUnmanagedValuesSource' que aceita um 'int' e retorna um 'ReadOnlySpan<>'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - O tipo โ€œ{0}โ€ especifica que dรก suporte ao modo marshal โ€œ{1}โ€, mas nรฃo fornece um mรฉtodo 'GetManagedValuesDestination' que recebe um 'int' e retorna um mรฉtodo 'Span<>' e um mรฉtodo 'GetUnmanagedValuesSource' que usa um 'int' e retorna um 'ReadOnlySpan<>' - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - O tipo de empacotador deve ser um genรฉrico fechado ou ter o mesmo nรบmero de parรขmetros genรฉricos que o tipo gerenciado para que o gerador possa determinar quais mรฉtodos estรฃo disponรญveis nos tipos de empacotador especรญficos. - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - O tipo gerenciado '{0}' para o tipo de empacotador de ponto de entrada '{1}' deve ser um tipo genรฉrico fechado, ter a mesma aridade que o tipo gerenciado se for um empacotador de valor ou ter um parรขmetro genรฉrico adicional se for um empacotador de coleรงรฃo. - - - - The managed type for a custom marshaller must be non-null. - O tipo gerenciado para um empacotador personalizado deve ser nรฃo nulo. - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - O tipo gerenciado para o tipo de empacotador de ponto de entrada '{0}' nรฃo deve ser 'nulo' - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - A configuraรงรฃo especificada "MarshalAsAttribute" para o parรขmetro "{1}" nรฃo tem suporte do P/Invokes gerado pela origem. Se a configuraรงรฃo especificada for necessรกria, use "DllImport" no lugar. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - A configuraรงรฃo especificada "MarshalAsAttribute" para o valor retornado do mรฉtodo "{1}" nรฃo tem suporte do P/Invokes gerado pela origem. Se a configuraรงรฃo especificada for necessรกria, use "DllImport" no lugar. - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - O argumento 'marshalMode' de 'CustomMarshallerAttribute' deve ser um valor de enumeraรงรฃo vรกlido de 'MarshalMode'. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - O tipo de empacotador deve ser um genรฉrico fechado ou ter o mesmo nรบmero de parรขmetros genรฉricos que o tipo gerenciado para que o cรณdigo emitido possa usar uma instanciaรงรฃo especรญfica. - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - O tipo de empacotador '{0}' apontado pelo tipo de empacotador de ponto de entrada '{1}' deve ser um tipo genรฉrico fechado ou ter a mesma aridade que o tipo gerenciado - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - O parรขmetro 'marshallerType' no 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' nรฃo pode ser 'null'. - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - O parรขmetro 'marshallerType' no 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' nรฃo pode ser 'null' - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - Um tipo de marshaller deve ser uma classe estรกtica sem estado ou um tipo de valor com estado. Uma classe nรฃo estรกtica nรฃo รฉ permitida. - - - - The type '{0}' must be a static class or a value type - O tipo โ€œ{0}โ€ deve ser uma classe estรกtica ou um tipo de valor - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - Um tipo com um 'System.Runtime.InteropServices.CustomMarshallerAttribute' deve especificar um tipo gerenciado nรฃo 'null' - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - O tipo '{0}' nรฃo especifica um tipo gerenciado no 'System.Runtime.InteropServices.CustomMarshallerAttribute' aplicado ao tipo - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - O tipo de empacotador deve ser um genรฉrico fechado ou ter o mesmo nรบmero de parรขmetros genรฉricos que o tipo gerenciado para que o cรณdigo emitido possa usar uma instanciaรงรฃo especรญfica. - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - O tipo de empacotador '{0}' para tipo gerenciado '{1}' deve ser um tipo genรฉrico fechado, ter a mesma aridade que o tipo gerenciado se for um empacotador de valor ou ter um parรขmetro genรฉrico adicional se for um empacotador de coleรงรฃo. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute requer cรณdigo nรฃo seguro. O projeto deve ser atualizado com '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute requer cรณdigo nรฃo seguro. O projeto deve ser atualizado com '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - - - - LibraryImportAttribute requires unsafe code. - LibraryImportAttribute requer cรณdigo nรฃo seguro. - - - - The return type the two method must be the expected type. - O tipo de retorno do mรฉtodo dois deve ser o tipo esperado. - - - - The return type of '{0}' must be '{1}' - O tipo de retorno de โ€œ{0}โ€ deve ser โ€œ{1}โ€ - - - - The return types of the two methods must be the same type. - Os tipos de retorno dos dois mรฉtodos devem ser do mesmo tipo. - - - - The return type of '{0}' must be the same type as the return type of '{1}' - O tipo de retorno de โ€œ{0}โ€ deve ser do mesmo tipo que o tipo de retorno โ€œ{1}โ€ - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - Um marshaller com estado deve ter um mรฉtodo de instรขncia de retorno nulo de parรขmetro zero chamado 'Gratuito'. - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - O tipo '{0}' รฉ um marshaller com estado e nรฃo tem um mรฉtodo de instรขncia de retorno nulo de parรขmetro zero chamado 'Gratuito' - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - Um marshaller com estado que dรก suporte ao marshalling de gerenciado para nรฃo gerenciado deve fornecer um mรฉtodo de instรขncia 'FromManaged' que usa o valor gerenciado como um parรขmetro e retorna 'void'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - O tipo '{0}' especifica que ele dรก suporte ao modo de marshaling '{1}' para '{2}', mas nรฃo fornece um mรฉtodo de instรขncia de um parรขmetro chamado 'FromManaged' que usa um '{2}' como um parรขmetro e retorna 'void' - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - Um marshaller com estado que dรก suporte ao marshalling de nรฃo gerenciado para gerenciado deve fornecer um mรฉtodo de instรขncia 'FromUnmanaged' que usa o valor nรฃo gerenciado como um parรขmetro e retorna 'void'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - O tipo '{0}' especifica que ele dรก suporte ao modo de marshaling '{1}' para '{2}', mas nรฃo fornece um mรฉtodo de instรขncia de um parรขmetro chamado 'FromUnmanaged' que usa o valor 'unmanaged' como um parรขmetro e retorna 'void' - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - Um marshaller com estado que dรก suporte ao marshalling de nรฃo gerenciado para gerenciado deve fornecer um mรฉtodo de instรขncia 'ToManaged' que nรฃo usa parรขmetros e retorna o tipo gerenciado. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - O tipo '{0}' especifica que ele dรก suporte ao modo de marshaling '{1}' para '{2}', mas nรฃo fornece um mรฉtodo de instรขncia de parรขmetro zero chamado 'ToManaged' que retorna '{2}' - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - Um marshaller com estado que dรก suporte ao marshalling de gerenciado para nรฃo gerenciado deve fornecer um mรฉtodo de instรขncia 'ToUnmanaged' que nรฃo usa parรขmetros e retorna o tipo 'nรฃo gerenciado'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - O tipo '{0}' especifica que ele dรก suporte ao marshal '{1}' modo para '{2}', mas nรฃo fornece um mรฉtodo de instรขncia de parรขmetro zero chamado 'ToUnmanaged' que retorna o tipo 'unmanaged' para o marshaller - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Quando a forma 'Managed to Unmanaged with Caller-Allocated Buffer' รฉ usada fornecendo um mรฉtodo 'AllocateContainerForUnmanagedElements' que usa um 'Span<T>' no tipo de marshaller, o tipo deve fornecer uma propriedade estรกtica 'BufferSize' para fornecer o nรบmero de elementos no buffer alocado pelo chamador. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - O tipo de marshaller โ€œ{0}โ€ deve ter uma propriedade estรกtica somente leitura 'int' 'BufferSize' para especificar o tamanho do buffer alocado pelo chamador porque ele tem um mรฉtodo 'AllocateContainerForUnmanagedElements' que recebe um 'Span' alocado pelo chamador<{1}>' - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Um marshaller de coleรงรฃo contรญguo que dรช suporte ao marshaling de gerenciado para nรฃo gerenciado deve fornecer um mรฉtodo 'GetManagedValuesSource' que aceita o valor gerenciado como um parรขmetro e retorna o mรฉtodo 'ReadOnlySpan<>' e um mรฉtodo 'GetUnmanagedValuesDestination' que aceita o valor nรฃo gerenciado como um parรขmetro e retorna um 'Span<>' - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - O tipo โ€œ{0}โ€ especifica que dรก suporte ao modo marshal โ€œ{1}โ€, mas nรฃo fornece um mรฉtodo 'GetManagedValuesSource' que recebe um โ€œ{2}โ€™โ€™ como um parรขmetro e retorna um mรฉtodo 'ReadOnlySpan<>' e um mรฉtodo 'GetUnmanagedValuesDestination' que usa o valor nรฃo gerenciado como um parรขmetro e retorna um 'Span<>' - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - Um marshaller de coleรงรฃo contรญguo que dรช suporte ao marshaling de nรฃo gerenciado para gerenciado deve fornecer um mรฉtodo 'GetManagedValuesDestination' que aceita o valor gerenciado e retorna o mรฉtodo 'Span<>' e um mรฉtodo 'GetUnmanagedValuesSource' que aceita o valor nรฃo gerenciado e um 'int' e retorna um 'ReadOnlySpan<>'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - O tipo โ€œ{0}โ€ especifica que dรก suporte ao modo marshal โ€œ{1}โ€, mas nรฃo fornece um mรฉtodo 'GetManagedValuesDestination' que recebe um โ€œ{2}โ€ e retorna um mรฉtodo 'Span<>' e um mรฉtodo 'GetUnmanagedValuesSource' que usa um valor nรฃo gerenciado e um 'int' e retorna um 'ReadOnlySpan<>' - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - Um marshaller de coleรงรฃo contรญguo sem estado que dรช suporte ao marshalling de gerenciado para nรฃo gerenciado deve fornecer um mรฉtodo 'AllocateContainerForManagedElements' usando o tipo nรฃo gerenciado como o primeiro parรขmetro e o nรบmero de elementos como um parรขmetro 'int' - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - O tipo โ€œ{0}โ€ especifica que dรก suporte ao modo marshal โ€œ{1}โ€ para โ€œ{2}โ€, mas nรฃo fornece um mรฉtodo de dois parรขmetros 'AllocateContainerForManagedElements' que usa o tipo nรฃo gerenciado como o primeiro parรขmetro e um 'int' como o segundo parรขmetro - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - Um marshaller de coleรงรฃo contรญguo sem estado que dรช suporte ao marshalling de gerenciado para nรฃo gerenciado deve fornecer um mรฉtodo 'AllocateContainerForManagedElements' usando o tipo nรฃo gerenciado como o primeiro parรขmetro e fornecendo um nรบmero de elementos como um parรขmetro 'out int' - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - O tipo โ€œ{0}โ€ especifica que dรก suporte ao modo marshalling โ€œ{1}โ€ para โ€œ{2}โ€, mas nรฃo fornece um mรฉtodo de dois parรขmetros 'AllocateContainerForUnmanagedElements' que usa um โ€œ{2}โ€ como o primeiro parรขmetro e um 'out int' como o segundo parรขmetro - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - Um marshaller de valor sem estado que dรช suporte ao marshalling de nรฃo gerenciado para gerenciado deve fornecer um mรฉtodo 'ConvertToManaged' que usa o tipo nรฃo gerenciado como um parรขmetro e retorna o tipo gerenciado. - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - O tipo โ€œ{0}โ€ especifica que dรก suporte ao modo marshal โ€œ{1}โ€, mas nรฃo fornece um mรฉtodo 'ConvertToManaged' que usa o tipo nรฃo gerenciado como um parรขmetro e retorna โ€œ{2}โ€ - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - Um marshaller de valor sem estado que dรช suporte ao marshalling de gerenciado para nรฃo gerenciado deve fornecer um mรฉtodo 'ConvertToUnmanaged' de um parรขmetro que assume o valor gerenciado como parรขmetro e retorna um valor do tipo 'unmanaged'. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - O tipo โ€œ{0}โ€ especifica que dรก suporte ao modo de marshaling โ€œ{1}โ€ para โ€œ{2}โ€, mas nรฃo fornece um mรฉtodo 'ConvertToUnmanaged' de um parรขmetro que usa um โ€œ{2}โ€ como um parรขmetro e retorna um valor de um tipo 'unmanaged' - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - O tipo de retorno de 'ConvertToUnmanaged' e o tipo de parรขmetro de 'ConvertToManaged' devem ser os mesmos. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - O tipo de retorno de 'ConvertToUnmanaged' e o tipo de parรขmetro de 'ConvertToManaged' devem ser os mesmos - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - O tipo nรฃo gerenciado para um marshaller personalizado deve ser um tipo nรฃo gerenciado C#. - - - - The return type of '{0}' must be unmanaged - O tipo de retorno de โ€œ{0}โ€ deve ser nรฃo gerenciado - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - 'void*' deve ser passรญvel de conversรฃo para o tipo para que o resultado fixado do mรฉtodo estรกtico 'GetPinnableReference' possa ser passado para o contexto nativo apรณs ser fixado. - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - 'void*' deve ser convertรญvel para o tipo '{0}' porque o tipo gerenciado '{1}' tem um mรฉtodo estรกtico 'GetPinnableReference' - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - Um tipo de ponto de entrada para empacotar um determinado tipo deve ter um 'System.Runtime.InteropServices.CustomMarshallerAttribute' que especifica esse tipo como o tipo gerenciado. - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - O tipo de empacotador de ponto de entrada '{0}' para o tipo '{1}' deve ser um tipo com pelo menos um 'System.Runtime.InteropServices.CustomMarshallerAttribute' que especifica esse tipo como o tipo gerenciado - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - Um tipo nativo do tipo 'Value' ou 'LinearCollection' que dรก suporte a marshalling na direรงรฃo 'Out' deve fornecer um mรฉtodo 'ToManaged' que retorne o tipo gerenciado. - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - O tipo '{0}' especifica que ele dรก suporte a marshalling na direรงรฃo 'Out', mas nรฃo fornece um mรฉtodo 'ToManaged' que retorna o tipo gerenciado - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - O tipo de retorno de 'ToUnmanaged' e o tipo de parรขmetro de 'FromUnmanaged' devem ser os mesmos. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - O tipo de retorno de 'ToUnmanaged' e o tipo de parรขmetro de 'FromUnmanaged' devem ser os mesmos - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - Para tipos sem suporte por P/Invokes gerados pela origem, o P/Invoke resultante dependerรก do tempo de execuรงรฃo subjacente para realizar marshaling no tipo especificado. - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - O tipo '{0}' nรฃo รฉ suportado por P/Invokes gerados pela origem. A origem gerada nรฃo manipularรก o marshalling do parรขmetro '{1}'. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} A origem gerada nรฃo manipularรก o marshalling do parรขmetro '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - O tipo '{0}' nรฃo รฉ suportado por P/Invokes gerados pela origem. A origem gerada nรฃo tratarรก marshaling do valor de retorno do mรฉtodo '{1}'. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} A origem gerada nรฃo manipularรก o marshalling do valor retornado do mรฉtodo '{1}'. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - O tipo especificado nรฃo tem suporte de P/Invokes gerados pela origem. - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Informaรงรตes desnecessรกrias de organizaรงรฃo foram fornecidas. Essas informaรงรตes de empacotamento podem ser removidas sem qualquer alteraรงรฃo no comportamento do aplicativo. - - - - Unnecessary marshalling info was provided and can be removed. - Informaรงรตes de organizaรงรฃo desnecessรกrias foram fornecidas e podem ser removidas. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - Informaรงรตes de organizaรงรฃo desnecessรกrias '{0}' foram fornecidas para o parรขmetro '{1}' - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - Informaรงรตes desnecessรกrias de empacotamento '{0}' foram fornecidas para o tipo de retorno do mรฉtodo '{1}' - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - Um tipo nativo do tipo 'Value' que dรก suporte ao recurso 'CallerAllocatedBuffer' deve fornecer um construtor de dois parรขmetros usando o tipo gerenciado e um 'Span' de um tipo 'nรฃo gerenciado' como parรขmetros - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - O tipo '{0}' especifica que ele dรก suporte ao marshalling 'In' com o recurso 'CallerAllocatedBuffer' para '{1}', mas nรฃo fornece um construtor de dois parรขmetro que usa um '{1}' e 'Span' de um tipo 'nรฃo gerenciado' como parรขmetros - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - Um tipo nativo do tipo 'Value' deve fornecer um construtor de um parรขmetro usando o tipo gerenciado como um parรขmetro - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - O tipo '{0}' especifica que ele dรก suporte ao marshalling 'In' do '{1}', mas nรฃo fornece um construtor de um parรขmetro que recebe um '{1}' como um parรขmetro - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ru.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ru.xlf deleted file mode 100644 index 74338b7678a9d..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.ru.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - ะ”ะพะฑะฐะฒะธั‚ัŒ ะพั‚ััƒั‚ัั‚ะฒัƒัŽั‰ะธะต ัะปะตะผะตะฝั‚ั‹ ะผะฐั€ัˆะฐะปะฐั‚ะพั€ะฐ ะฝะฐัั‚ั€ะฐะธะฒะฐะตะผะพะณะพ ั‚ะธะฟะฐ - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - ะ•ัะปะธ ั„ะธะณัƒั€ะฐ "ะ˜ะท ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะฒ ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั ะฑัƒั„ะตั€ะพะผ, ะฒั‹ะดะตะปัะตะผั‹ะผ ะฒั‹ะทั‹ะฒะฐัŽั‰ะธะผ ะพะฑัŠะตะบั‚ะพะผ" ะธัะฟะพะปัŒะทัƒะตั‚ัั ะฟัƒั‚ะตะผ ะฟั€ะตะดะพัั‚ะฐะฒะปะตะฝะธั ะผะตั‚ะพะดะฐ "FromManaged", ะฒั‹ะฟะพะปะฝััŽั‰ะตะณะพ "Span<T>" ะดะปั ั‚ะธะฟะฐ ะผะฐั€ัˆะฐะปะตั€ะฐ, ัั‚ะพั‚ ั‚ะธะฟ ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะปัั‚ัŒ ัั‚ะฐั‚ะธั‡ะตัะบะพะต ัะฒะพะนัั‚ะฒะพ "BufferSize", ั‡ั‚ะพะฑั‹ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ะบะพะปะธั‡ะตัั‚ะฒะพ ัะปะตะผะตะฝั‚ะพะฒ ะฒ ะฑัƒั„ะตั€ะต, ะฒั‹ะดะตะปะตะฝะฝะพะผ ะฒั‹ะทั‹ะฒะฐัŽั‰ะธะผ ะพะฑัŠะตะบั‚ะพะผ. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - ะฃ ั‚ะธะฟะฐ ะผะฐั€ัˆะฐะปะตั€ะฐ "{0}" ะดะพะปะถะฝะพ ะฑั‹ั‚ัŒ ัั‚ะฐั‚ะธั‡ะตัะบะพะต ะดะพัั‚ัƒะฟะฝะพะต ั‚ะพะปัŒะบะพ ะดะปั ั‡ั‚ะตะฝะธั ัะฒะพะนัั‚ะฒะพ "BufferSize" ัะพ ะทะฝะฐั‡ะตะฝะธะตะผ ั‚ะธะฟะฐ "int", ั‡ั‚ะพะฑั‹ ัƒะบะฐะทั‹ะฒะฐั‚ัŒ ั€ะฐะทะผะตั€ ะฑัƒั„ะตั€ะฐ, ะฒั‹ะดะตะปะตะฝะฝะพะณะพ ะฒั‹ะทั‹ะฒะฐัŽั‰ะธะผ ะพะฑัŠะตะบั‚ะพะผ, ะฟะพัะบะพะปัŒะบัƒ ัƒ ัั‚ะพะณะพ ั‚ะธะฟะฐ ะตัั‚ัŒ ะผะตั‚ะพะด FromManaged, ะฒั‹ะฟะพะปะฝััŽั‰ะธะน "Span<{1}>", ะฒั‹ะดะตะปัะตะผั‹ะน ะฒั‹ะทั‹ะฒะฐัŽั‰ะธะผ ะพะฑัŠะตะบั‚ะพะผ. - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - ะกะพะทะดะฐะฝะฝั‹ะน ะฐั‚ั€ะธะฑัƒั‚ \"DllImportAttribute\" ะฝะต ะฑัƒะดะตั‚ ะธะผะตั‚ัŒ ะทะฝะฐั‡ะตะฝะธั, ัะพะพั‚ะฒะตั‚ัั‚ะฒัƒัŽั‰ะตะณะพ \"{0}\". - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - "{0}" ะฝะต ะธะผะตะตั‚ ัะบะฒะธะฒะฐะปะตะฝั‚ะฐ ะฒ "DllImportAtttribute" ะธ ะฝะต ะฑัƒะดะตั‚ ะฟะตั€ะตะฝะฐะฟั€ะฐะฒะปัั‚ัŒัั - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - ะฃะบะฐะทะฐะฝะฝั‹ะต ะฐั€ะณัƒะผะตะฝั‚ั‹ \"LibraryImportAttribute\" ะฝะต ะผะพะณัƒั‚ ะฑั‹ั‚ัŒ ะฟะตั€ะตะฝะฐะฟั€ะฐะฒะปะตะฝั‹ ะฒ \"DllImportAttribute\" - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - P/Invoke ั ัะพะทะดะฐะฝะธะตะผ ะธัั‚ะพั‡ะฝะธะบะฐ ะฑัƒะดัƒั‚ ะธะณะฝะพั€ะธั€ะพะฒะฐั‚ัŒ ะฒัะต ะฝะตะฟะพะดะดะตั€ะถะธะฒะฐะตะผั‹ะต ะบะพะฝั„ะธะณัƒั€ะฐั†ะธะธ. - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ะšะพะฝั„ะธะณัƒั€ะฐั†ะธั "{0}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั P/Invokes, ัะพะทะดะฐะฝะฝั‹ะผะธ ะธัั‚ะพั‡ะฝะธะบะพะผ. ะ•ัะปะธ ั‚ั€ะตะฑัƒะตั‚ัั ัƒะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั, ะธัะฟะพะปัŒะทัƒะนั‚ะต ะฒะผะตัั‚ะพ ะฝะตะต ะพะฑั‹ั‡ะฝั‹ะน "DllImport". - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะผะฐั€ัˆะฐะปะธะทะฐั†ะธะธ ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะฒ P/Invoke ั ัะพะทะดะฐะฝะธะตะผ ะธัั‚ะพั‡ะฝะธะบะฐ. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั "{0}" ะดะปั ะฟะฐั€ะฐะผะตั‚ั€ะฐ "{1}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั P/Invokes, ัะพะทะดะฐะฝะฝั‹ะผะธ ะธัั‚ะพั‡ะฝะธะบะพะผ. ะ•ัะปะธ ั‚ั€ะตะฑัƒะตั‚ัั ัƒะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั, ะธัะฟะพะปัŒะทัƒะนั‚ะต ะฒะผะตัั‚ะพ ะฝะตะต ะพะฑั‹ั‡ะฝั‹ะน "DllImport". - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั "{0}" ะดะปั ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั ะผะตั‚ะพะดะฐ "{1}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ัะพะทะดะฐะฝะฝั‹ะผ ะธัั‚ะพั‡ะฝะธะบะพะผ P/Invokes. ะ•ัะปะธ ัƒะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะพะฑัะทะฐั‚ะตะปัŒะฝะฐ, ะธัะฟะพะปัŒะทัƒะนั‚ะต ะพะฑั‹ั‡ะฝั‹ะน ะผะตั‚ะพะด "DllImport". - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - ะฃะบะฐะทะฐะฝะฝะพะต ะทะฝะฐั‡ะตะฝะธะต "{0}" ะดะปั "{1}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั P/Invokes, ัะณะตะฝะตั€ะธั€ะพะฒะฐะฝะฝั‹ะผะธ ะธัั‚ะพั‡ะฝะธะบะพะผ. ะ•ัะปะธ ั‚ั€ะตะฑัƒะตั‚ัั ัƒะบะฐะทะฐะฝะฝะพะต ะทะฝะฐั‡ะตะฝะธะต, ะธัะฟะพะปัŒะทัƒะนั‚ะต ะฒะผะตัั‚ะพ ะฝะตะณะพ ะพะฑั‹ั‡ะฝั‹ะน "DllImport". - - - - Specified configuration is not supported by source-generated P/Invokes. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะฒ P/Invoke ั ัะพะทะดะฐะฝะธะตะผ ะธัั‚ะพั‡ะฝะธะบะฐ. - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - ะะฒั‚ะพะผะฐั‚ะธั‡ะตัะบะพะต ะฟั€ะตะพะฑั€ะฐะทะพะฒะฐะฝะธะต P/Invoke ั ะฟะฐั€ะฐะผะตั‚ั€ะพะผ \"PreserveSig\" ัะพ ะทะฝะฐั‡ะตะฝะธะตะผ \"false\" ะฒ P/Invoke ั ัะพะทะดะฐะฝะธะตะผ ะธัั‚ะพั‡ะฝะธะบะฐ ะผะพะถะตั‚ ะฟั€ะธะฒะตัั‚ะธ ะบ ะฝะตะฟั€ะฐะฒะธะปัŒะฝะพะผัƒ ะบะพะดัƒ - - - - Convert to 'LibraryImport' - ะŸั€ะตะพะฑั€ะฐะทะพะฒะฐั‚ัŒ ะฒ \"LibraryImport\" - - - - Convert to 'LibraryImport' and enable unsafe code - ะŸั€ะตะพะฑั€ะฐะทะพะฒะฐะฝะธะต ะฒ "LibraryImport" ะธ ะฒะบะปัŽั‡ะตะฝะธะต ะฝะตะฑะตะทะพะฟะฐัะฝะพะณะพ ะบะพะดะฐ - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ะ˜ัะฟะพะปัŒะทัƒะนั‚ะต \"LibraryImportAttribute\" ะฒะผะตัั‚ะพ \"DllImportAttribute\" ะดะปั ะณะตะฝะตั€ะธั€ะพะฒะฐะฝะธั ะบะพะดะฐ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธะธ P/Invoke ะฒะพ ะฒั€ะตะผั ะบะพะผะฟะธะปัั†ะธะธ - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - ะŸั€ะตะพะฑั€ะฐะทะพะฒะฐะฝะธะต ัั‚ะพะณะพ API ะฒ "LibraryImport" ะฟะพั‚ั€ะตะฑัƒะตั‚ ะดะพะฟะพะปะฝะธั‚ะตะปัŒะฝะพะณะพ ะบะพะดะฐ ะดะปั ะฟั€ะตะดะพัั‚ะฐะฒะปะตะฝะธั ะฝะฐัั‚ั€ะฐะธะฒะฐะตะผั‹ั… ะผะฐั€ัˆะฐะปะตั€ะพะฒ ะดะปั ะฝะตะบะพั‚ะพั€ั‹ั… ะฟะฐั€ะฐะผะตั‚ั€ะพะฒ. - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ะŸะพะผะตั‚ัŒั‚ะต ะผะตั‚ะพะด \"{0}\" ะฐั‚ั€ะธะฑัƒั‚ะพะผ \"LibraryImportAttribute\" ะฒะผะตัั‚ะพ \"DllImportAttribute\", ั‡ั‚ะพะฑั‹ ะณะตะฝะตั€ะธั€ะพะฒะฐั‚ัŒ ะบะพะด ะผะฐั€ัˆะฐะปะธะทะฐั†ะธะธ P/Invoke ะฒะพ ะฒั€ะตะผั ะบะพะผะฟะธะปัั†ะธะธ - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ะ˜ัะฟะพะปัŒะทัƒะนั‚ะต \"LibraryImportAttribute\" ะฒะผะตัั‚ะพ \"DllImportAttribute\" ะดะปั ะณะตะฝะตั€ะธั€ะพะฒะฐะฝะธั ะบะพะดะฐ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธะธ P/Invoke ะฒะพ ะฒั€ะตะผั ะบะพะผะฟะธะปัั†ะธะธ - - - - Convert to 'LibraryImport' with '{0}' suffix - ะŸั€ะตะพะฑั€ะฐะทะพะฒะฐั‚ัŒ ะฒ \"LibraryImport\" ั ััƒั„ั„ะธะบัะพะผ \"{0}\" - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - ะŸั€ะตะพะฑั€ะฐะทะพะฒะฐะฝะธะต ะฒ "LibraryImport" ั ััƒั„ั„ะธะบัะพะผ "{0}" ะธ ะฒะบะปัŽั‡ะตะฝะธะต ะฝะตะฑะตะทะพะฟะฐัะฝะพะณะพ ะบะพะดะฐ - - - - Marshaller type does not have the required shape - ะขะธะฟ ะผะฐั€ัˆะฐะปะตั€ะฐ ะฝะต ะธะผะตะตั‚ ั‚ั€ะตะฑัƒะตะผะพะน ั„ะธะณัƒั€ั‹ - - - - A marshaller for an element scenario cannot be stateful. - ะœะฐั€ัˆะฐะปะตั€ ะดะปั ัั†ะตะฝะฐั€ะธั ัะปะตะผะตะฝั‚ะฐ ะฝะต ะผะพะถะตั‚ ะธะผะตั‚ัŒ ะพั‚ัะปะตะถะธะฒะฐะฝะธะต ัะพัั‚ะพัะฝะธั. - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - ะฃะบะฐะทะฐะฝะฝั‹ะน ั‚ะธะฟ ะผะฐั€ัˆะฐะปะตั€ะฐ "{0}" ัะฒะปัะตั‚ัั ะผะฐั€ัˆะฐะปะตั€ะพะผ ั ะพั‚ัะปะตะถะธะฒะฐะฝะธะตะผ ัะพัั‚ะพัะฝะธั, ะฝะพ ะผะฐั€ัˆะฐะปะตั€ ั ะพั‚ัะปะตะถะธะฒะฐะฝะธะตะผ ัะพัั‚ะพัะฝะธั ะฒ ะฟั€ะตะดะพัั‚ะฐะฒะปะตะฝะฝะพะผ ั€ะตะถะธะผะต "{1}" ะฝะต ะดะพะฟัƒัะบะฐะตั‚ัั. - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - ะขะธะฟ ัะปะตะผะตะฝั‚ะฐ ะดะธะฐะฟะฐะทะพะฝะฐ, ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะฟะตั€ะฒั‹ะผ ะผะตั‚ะพะดะพะผ, ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ั‚ะพะณะพ ะถะต ั‚ะธะฟะฐ, ั‡ั‚ะพ ะธ ั‚ะธะฟ ัะปะตะผะตะฝั‚ะฐ ะดะธะฐะฟะฐะทะพะฝะฐ, ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะฒั‚ะพั€ั‹ะผ ะผะตั‚ะพะดะพะผ. - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - ะขะธะฟ ะดะธะฐะฟะฐะทะพะฝะฐ, ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ "{0}", ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ั‚ะพะณะพ ะถะต ั‚ะธะฟะฐ, ั‡ั‚ะพ ะธ ั‚ะธะฟ ะดะธะฐะฟะฐะทะพะฝะฐ, ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ "{1}". - - - - An entry-point type for marshalling a given type must not be 'null'. - ะขะธะฟ ั‚ะพั‡ะบะธ ะฒั…ะพะดะฐ ะดะปั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั ะทะฐะดะฐะฝะฝะพะณะพ ั‚ะธะฟะฐ ะดะพะปะถะตะฝ ะพั‚ะปะธั‡ะฐั‚ัŒัั ะพั‚ "NULL". - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - ะขะธะฟ ะผะฐั€ัˆะฐะปะตั€ะฐ ั‚ะพั‡ะบะธ ะฒั…ะพะดะฐ ะดะปั ั‚ะธะฟะฐ '{0}' ะดะพะปะถะตะฝ ะพั‚ะปะธั‡ะฐั‚ัŒัั ะพั‚ "NULL" - - - - The first parameter of the first method must be the same type as the return types of the second method. - ะŸะตั€ะฒั‹ะน ะฟะฐั€ะฐะผะตั‚ั€ ะฟะตั€ะฒะพะณะพ ะผะตั‚ะพะดะฐ ะดะพะปะถะตะฝ ะธะผะตั‚ัŒ ั‚ะพั‚ ะถะต ั‚ะธะฟ, ั‡ั‚ะพ ะธ ะฒะพะทะฒั€ะฐั‰ะฐะตะผั‹ะต ั‚ะธะฟั‹ ะฒั‚ะพั€ะพะณะพ ะผะตั‚ะพะดะฐ. - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - ะŸะตั€ะฒั‹ะน ะฟะฐั€ะฐะผะตั‚ั€ "{0}" ะดะพะปะถะตะฝ ะธะผะตั‚ัŒ ั‚ะพั‚ ะถะต ั‚ะธะฟ, ั‡ั‚ะพ ะธ ั‚ะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั "{1}" - - - - The first parameters of the two methods must be the same type. - ะŸะตั€ะฒั‹ะต ะฟะฐั€ะฐะผะตั‚ั€ั‹ ะดะฒัƒั… ะผะตั‚ะพะดะพะฒ ะดะพะปะถะฝั‹ ะฑั‹ั‚ัŒ ะพะดะฝะพะณะพ ั‚ะธะฟะฐ. - - - - The first parameter of '{0}' and '{1}' must be the same type - ะŸะตั€ะฒั‹ะน ะฟะฐั€ะฐะผะตั‚ั€ "{0}" ะธ "{1}" ะดะพะปะถะฝั‹ ะฑั‹ั‚ัŒ ะพะดะฝะพะณะพ ั‚ะธะฟะฐ - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - ะŸะตั€ะตะณั€ัƒะทะบะฐ ะผะตั‚ะพะดะฐ FromUnmanaged ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั, ะฟะพัะบะพะปัŒะบัƒ ะฝะตะบะพั‚ะพั€ั‹ะต ั„ะธะณัƒั€ั‹ ะฝะต ะผะพะณัƒั‚ ั€ะฐะทะปะธั‡ะฐั‚ัŒ ะฟะตั€ะตะณั€ัƒะทะบะธ. - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - ะขะธะฟ "{0}" ะฟะตั€ะตะณั€ัƒะถะฐะตั‚ ะผะตั‚ะพะด FromUnmanaged, ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตะผั‹ะน ะฒ ะฝะฐัั‚ั€ะฐะธะฒะฐะตะผั‹ั… ะผะฐั€ัˆะฐะปะตั€ะฐั…. - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - ะขะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั \"GetPinnableReference\" (ะฟะพัะปะต ัƒั‡ะตั‚ะฐ \"ref\") ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะฝะตะฟั€ะตะพะฑั€ะฐะทัƒะตะผั‹ะผ. - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - ะ ะฐะทั‹ะผะตะฝะพะฒะฐะฝะฝั‹ะน ั‚ะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ั‚ะธะฟะฐ ะผะตั‚ะพะดะฐ \"GetPinnableReference\" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะฝะตะฟั€ะตะพะฑั€ะฐะทัƒะตะผั‹ะผ - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - ะœะตั‚ะพะด \"{0}\" ัะพะดะตั€ะถะธั‚ัั ะฒ ั‚ะธะฟะต \"{1}\", ะบะพั‚ะพั€ั‹ะน ะฝะต ะฟะพะผะตั‡ะตะฝ ะบะฐะบ \"partial\". ะœะตั‚ะพะด \"{0}\" ะฑัƒะดะตั‚ ะธะณะฝะพั€ะธั€ะพะฒะฐั‚ัŒัั ะฟั€ะธ ัะพะทะดะฐะฝะธะธ ะธัั‚ะพั‡ะฝะธะบะฐ ะฒ P/Invoke. - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - ะœะตั‚ะพะดั‹, ะฟะพะผะตั‡ะตะฝะฝั‹ะต ะฐั‚ั€ะธะฑัƒั‚ะพะผ \"LibraryImportAttribute\", ะดะพะปะถะฝั‹ ะฑั‹ั‚ัŒ \"static\", \"partial\" ะธ ะฝะตัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผะธ. ะŸั€ะธ ัะพะทะดะฐะฝะธะธ ะธัั‚ะพั‡ะฝะธะบะฐ ะฒ P/Invoke ะฑัƒะดัƒั‚ ะธะณะฝะพั€ะธั€ะพะฒะฐั‚ัŒัั ะผะตั‚ะพะดั‹, ะพั‚ะปะธั‡ะฝั‹ะต ะพั‚ \"static\", \"partial\" ะธะปะธ ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะต. - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - ะœะตั‚ะพะด \"{0}\" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ \"static\", \"partial\" ะธ ะฝะตัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผ, ะตัะปะธ ะพะฝ ะธะผะตะตั‚ ะฐั‚ั€ะธะฑัƒั‚ \"LibraryImportAttribute\". ะŸั€ะธ ัะพะทะดะฐะฝะธะธ ะธัั‚ะพั‡ะฝะธะบะฐ ะฒ P/Invoke ะผะตั‚ะพะด \"{0}\" ะธะณะฝะพั€ะธั€ัƒะตั‚ัั. - - - - Invalid 'CustomMarshallerAttribute' usage - ะะตะดะพะฟัƒัั‚ะธะผะพะต ะธัะฟะพะปัŒะทะพะฒะฐะฝะธะต "CustomMarshallerAttribute" - - - - Invalid 'LibraryImportAttribute' usage - ะะตะดะพะฟัƒัั‚ะธะผะพะต ะธัะฟะพะปัŒะทะพะฒะฐะฝะธะต \"LibraryImportAttribute\" - - - - Specified managed type is invalid - ะฃะบะฐะทะฐะฝ ะฝะตะดะพะฟัƒัั‚ะธะผั‹ะน ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ - - - - Invalid 'MarshalMode' value. - ะะตะดะพะฟัƒัั‚ะธะผะพะต ะทะฝะฐั‡ะตะฝะธะต "MarshalMode". - - - - Specified marshaller type is invalid - ะฃะบะฐะทะฐะฝ ะฝะตะดะพะฟัƒัั‚ะธะผั‹ะน ั‚ะธะฟ ะผะฐั€ัˆะฐะปะตั€ะฐ - - - - Invalid 'NativeMarshallingAttribute' usage - ะะตะดะพะฟัƒัั‚ะธะผะพะต ะธัะฟะพะปัŒะทะพะฒะฐะฝะธะต "NativeMarsingAttribute" - - - - Marshaller type has incompatible method signatures - ะขะธะฟ ะผะฐั€ัˆะฐะปะตั€ ะธะผะตะตั‚ ะฝะตัะพะฒะผะตัั‚ะธะผั‹ะต ัะธะณะฝะฐั‚ัƒั€ั‹ ะผะตั‚ะพะดะพะฒ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - ะšะพะฝั„ะธะณัƒั€ะฐั†ะธั \"StringMarshalling\" ะธ \"StringMarshallingCustomType\" ะฝะตะดะพะฟัƒัั‚ะธะผะฐ. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - ะšะพะฝั„ะธะณัƒั€ะฐั†ะธั \"StringMarshalling\" ะธ \"StringMarshallingCustomType\" ะฒ ะผะตั‚ะพะดะต \"{0}\" ะฝะตะดะพะฟัƒัั‚ะธะผะฐ. {1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - ะ•ัะปะธ ะดะปั \"StringMarshalling\" ะทะฐะดะฐะฝะพ ะทะฝะฐั‡ะตะฝะธะต \"StringMarshalling.Custom\", ะฝะตะพะฑั…ะพะดะธะผะพ ัƒะบะฐะทะฐั‚ัŒ \"StringMarshallingCustomType\". - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - ะ•ัะปะธ ัƒะบะฐะทะฐะฝะพ \"StringMarshallingCustomType\", ะดะปั \"StringMarshalling\" ัะปะตะดัƒะตั‚ ะทะฐะดะฐั‚ัŒ ะทะฝะฐั‡ะตะฝะธะต \"StringMarshalling.Custom\". - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - ะขะธะฟ ัะปะตะผะตะฝั‚ะฐ \"ReadOnlySpan\", ะฒะพะทะฒั€ะฐั‰ะตะฝะฝั‹ะน ะผะตั‚ะพะดะพะผ \"GetManagedValuesSource\", ะดะพะปะถะตะฝ ัะพะฒะฟะฐะดะฐั‚ัŒ ั ั‚ะธะฟะพะผ ัะปะตะผะตะฝั‚ะฐ, ะฒะพะทะฒั€ะฐั‰ะฐะตะผั‹ะผ ะผะตั‚ะพะดะพะผ \"GetManagedValuesDestination\". - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - ะขะธะฟ ัะปะตะผะตะฝั‚ะฐ \"ReadOnlySpan\", ะฒะพะทะฒั€ะฐั‰ะฐะตะผั‹ะน ะผะตั‚ะพะดะพะผ \"GetManagedValuesSource\", ะดะพะปะถะตะฝ ัะพะฒะฟะฐะดะฐั‚ัŒ ั ั‚ะธะฟะพะผ ัะปะตะผะตะฝั‚ะฐ, ะฒะพะทะฒั€ะฐั‰ะฐะตะผั‹ะผ ะผะตั‚ะพะดะพะผ \"GetManagedValuesDestination\" - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - ะกะพะฑัั‚ะฒะตะฝะฝั‹ะน ั‚ะธะฟ ะฒะธะดะฐ \"LinearCollection\", ะบะพั‚ะพั€ั‹ะน ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ั„ัƒะฝะบั†ะธัŽ CallerAllocatedBuffer, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะปัั‚ัŒ ะบะพะฝัั‚ั€ัƒะบั‚ะพั€ ั ั‚ั€ะตะผั ะฟะฐั€ะฐะผะตั‚ั€ะฐะผะธ, ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ, \"Span<byte>\" ะธ ัะพะฑัั‚ะฒะตะฝะฝั‹ะน ั€ะฐะทะผะตั€ ัะปะตะผะตะฝั‚ะฐ - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - \"{0}\" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ ะฒ ะฝะฐะฟั€ะฐะฒะปะตะฝะธะธ \"ะฒะฝัƒั‚ั€ัŒ\" ั ั„ัƒะฝะบั†ะธะตะน \"CallerAllocatedBuffer\" ะดะปั \"{1}\", ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะบะพะฝัั‚ั€ัƒะบั‚ะพั€, ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ั‚ั€ะธ ะฟะฐั€ะฐะผะตั‚ั€ะฐ: \"{1}\", \"Span<byte>\" ะธ \"int\" - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - ะะตะฟั€ะตั€ั‹ะฒะฝั‹ะน ะผะฐั€ัˆะฐะปะตั€ ะบะพะปะปะตะบั†ะธะธ, ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‰ะธะน ะผะฐั€ัˆะฐะปะธะฝะณ ะธะท ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะฒ ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะปัั‚ัŒ ะผะตั‚ะพะด "GetManagedValuesSource", ะบะพั‚ะพั€ั‹ะน ะฒะพะทะฒั€ะฐั‰ะฐะตั‚ "ReadOnlySpan<>" ะธ ะผะตั‚ะพะด "GetUnmanagedValuesDestination", ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "Span<>". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ั€ะตะถะธะผ ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั "{1}", ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะผะตั‚ะพะด "GetManagedValuesSource", ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "ReadOnlySpan<>", ะธ ะผะตั‚ะพะด GetUnmanagedValuesDestination, ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "Span<>". - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - ะะตะฟั€ะตั€ั‹ะฒะฝั‹ะน ะผะฐั€ัˆะฐะปะตั€ ะบะพะปะปะตะบั†ะธะธ, ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‰ะธะน ะผะฐั€ัˆะฐะปะธะฝะณ ะธะท ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะฒ ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะปัั‚ัŒ ะผะตั‚ะพะด "GetManagedValuesDestination", ะบะพั‚ะพั€ั‹ะน ะฟั€ะธะฝะธะผะฐะตั‚ "int" ะธ ะฒะพะทะฒั€ะฐั‰ะฐะตั‚ "Span"<>, ะธ ะผะตั‚ะพะด "GetUnmanagedValuesSource", ะบะพั‚ะพั€ั‹ะน ะฟั€ะธะฝะธะผะฐะตั‚ "int" ะธ ะฒะพะทะฒั€ะฐั‰ะฐะตั‚ "ReadOnlySpan<>". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ "{1}"l, ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ "GetManagedValuesDestination", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน "int" ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "Span<>", ะธ ะผะตั‚ะพะด "GetUnmanagedValuesSource", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน "int" ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "ReadOnlySpan<>" - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - ะขะธะฟ ะผะฐั€ัˆะฐะปะตั€ะฐ ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะทะฐะบั€ั‹ั‚ั‹ะผ ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผ ั‚ะธะฟะพะผ ะธะปะธ ัƒ ะฝะตะณะพ ะดะพะปะถะฝะพ ะฑั‹ั‚ัŒ ัั‚ะพะปัŒะบะพ ะถะต ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ั… ะฟะฐั€ะฐะผะตั‚ั€ะพะฒ, ะบะฐะบ ัƒ ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ั‚ะธะฟะฐ, ั‡ั‚ะพะฑั‹ ะณะตะฝะตั€ะฐั‚ะพั€ ะผะพะณ ะพะฟั€ะตะดะตะปะธั‚ัŒ, ะบะฐะบะธะต ะผะตั‚ะพะดั‹ ะดะพัั‚ัƒะฟะฝั‹ ะดะปั ะพะฟั€ะตะดะตะปะตะฝะฝั‹ั… ั‚ะธะฟะพะฒ ะผะฐั€ัˆะฐะปะตั€ะพะฒ. - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - ะฃะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ "{0}" ะดะปั ั‚ะธะฟะฐ ะผะฐั€ัˆะฐะปะตั€ะฐ ั‚ะพั‡ะบะธ ะฒั…ะพะดะฐ "{1}" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะทะฐะบั€ั‹ั‚ั‹ะผ ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผ ั‚ะธะฟะพะผ, ะตะณะพ ะฐั€ะฝะพัั‚ัŒ ะดะพะปะถะฝะฐ ะฑั‹ั‚ัŒ ั‚ะฐะบะพะน ะถะต, ะบะฐะบ ัƒ ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ั‚ะธะฟะฐ, ะตัะปะธ ัั‚ะพ ะผะฐั€ัˆะฐะปะตั€ ะทะฝะฐั‡ะตะฝะธะน, ะปะธะฑะพ ัƒ ะฝะตะณะพ ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะพะดะธะฝ ะดะพะฟะพะปะฝะธั‚ะตะปัŒะฝั‹ะน ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะน ะฟะฐั€ะฐะผะตั‚ั€, ะตัะปะธ ัั‚ะพ ะผะฐั€ัˆะฐะปะตั€ ะบะพะปะปะตะบั†ะธะน. - - - - The managed type for a custom marshaller must be non-null. - ะฃะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ ะดะปั ะฝะฐัั‚ั€ะฐะธะฒะฐะตะผะพะณะพ ะผะฐั€ัˆะฐะปะตั€ะฐ ะดะพะปะถะตะฝ ะพั‚ะปะธั‡ะฐั‚ัŒัั ะพั‚ "NULL". - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - ะฃะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ ะดะปั ั‚ะธะฟะฐ ะผะฐั€ัˆะฐะปะตั€ะฐ ั‚ะพั‡ะบะธ ะฒั…ะพะดะฐ "{0}" ะดะพะปะถะตะฝ ะพั‚ะปะธั‡ะฐั‚ัŒัั ะพั‚ "NULL" - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั "MarshalAsAttribute" ะดะปั ะฟะฐั€ะฐะผะตั‚ั€ะฐ "{1}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ัะณะตะฝะตั€ะธั€ะพะฒะฐะฝะฝั‹ะผะธ ะธัั‚ะพั‡ะฝะธะบะพะผ P/Invokes. ะ•ัะปะธ ั‚ั€ะตะฑัƒะตั‚ัั ัƒะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั, ะธัะฟะพะปัŒะทัƒะนั‚ะต ะฒะผะตัั‚ะพ ะฝะตะต ะพะฑั‹ั‡ะฝั‹ะน "DllImport". - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ะฃะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั "MarshalAsAttribute" ะดะปั ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั ะผะตั‚ะพะดะฐ "{1}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ัะณะตะฝะตั€ะธั€ะพะฒะฐะฝะฝั‹ะผะธ ะธัั‚ะพั‡ะฝะธะบะพะผ P/Invokes. ะ•ัะปะธ ัƒะบะฐะทะฐะฝะฝะฐั ะบะพะฝั„ะธะณัƒั€ะฐั†ะธั ะพะฑัะทะฐั‚ะตะปัŒะฝะฐ, ะธัะฟะพะปัŒะทัƒะนั‚ะต ะพะฑั‹ั‡ะฝั‹ะน ะผะตั‚ะพะด "DllImport". - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - ะั€ะณัƒะผะตะฝั‚ "marshalMode" ะฐั‚ั€ะธะฑัƒั‚ะฐ "CustomMarshallerAttribute" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะดะพะฟัƒัั‚ะธะผั‹ะผ ะฟะตั€ะตั‡ะธัะปัะตะผั‹ะผ ะทะฝะฐั‡ะตะฝะธะตะผ "MarshalMode". - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - ะขะธะฟ ะผะฐั€ัˆะฐะปะตั€ะฐ ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะทะฐะบั€ั‹ั‚ั‹ะผ ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผ ะธะปะธ ะธะผะตั‚ัŒ ั‚ะพ ะถะต ะบะพะปะธั‡ะตัั‚ะฒะพ ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ั… ะฟะฐั€ะฐะผะตั‚ั€ะพะฒ, ั‡ั‚ะพ ะธ ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ, ั‡ั‚ะพะฑั‹ ัะพะทะดะฐะฒะฐะตะผั‹ะน ะบะพะด ะผะพะณ ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒ ะบะพะฝะบั€ะตั‚ะฝั‹ะน ัะบะทะตะผะฟะปัั€. - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - ะขะธะฟ ะผะฐั€ัˆะฐะปะตั€ะฐ "{0}", ะฝะฐ ะบะพั‚ะพั€ั‹ะน ััั‹ะปะฐะตั‚ัั ั‚ะธะฟ ะผะฐั€ัˆะฐะปะตั€ะฐ ั‚ะพั‡ะบะธ ะฒั…ะพะดะฐ "{1}", ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะทะฐะบั€ั‹ั‚ั‹ะผ ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผ ะธะปะธ ะธะผะตั‚ัŒ ั‚ะฐะบัƒัŽ ะถะต ะฐั€ะฝะพัั‚ัŒ, ั‡ั‚ะพ ะธ ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - ะฃ ะฟะฐั€ะฐะผะตั‚ั€ะฐ "marshallerType" ะฒ "System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute" ะฝะต ะผะพะถะตั‚ ะฑั‹ั‚ัŒ ะทะฝะฐั‡ะตะฝะธะต "NULL". - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - ะฃ ะฟะฐั€ะฐะผะตั‚ั€ะฐ "marshallerType" ะฒ "System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute" ะฝะต ะผะพะถะตั‚ ะฑั‹ั‚ัŒ ะทะฝะฐั‡ะตะฝะธะต "NULL" - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - ะขะธะฟ ะผะฐั€ัˆะฐะปะตั€ะฐ ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ัั‚ะฐั‚ะธั‡ะตัะบะธะผ ะบะปะฐััะพะผ ะฑะตะท ัะพั…ั€ะฐะฝะตะฝะธั ัะพัั‚ะพัะฝะธั ะธะปะธ ั‚ะธะฟะพะผ ะทะฝะฐั‡ะตะฝะธั ั ะพั‚ัะปะตะถะธะฒะฐะฝะธะตะผ ัะพัั‚ะพัะฝะธั. ะะตัั‚ะฐั‚ะธั‡ะตัะบะธะน ะบะปะฐัั ะฝะต ะดะพะฟัƒัะบะฐะตั‚ัั. - - - - The type '{0}' must be a static class or a value type - ะขะธะฟ "{0}" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ัั‚ะฐั‚ะธั‡ะตัะบะธะผ ะบะปะฐััะพะผ ะธะปะธ ั‚ะธะฟะพะผ ะทะฝะฐั‡ะตะฝะธั - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - ะขะธะฟ ั ะฐั‚ั€ะธะฑัƒั‚ะพะผ "System.Runtime.InteropServices.CustomMarshallerAttribute" ะดะพะปะถะตะฝ ัƒะบะฐะทั‹ะฒะฐั‚ัŒ ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ, ะพั‚ะปะธั‡ะฝั‹ะน ะพั‚ "NULL" - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - ะขะธะฟ "{0}" ะฝะต ัƒะบะฐะทั‹ะฒะฐะตั‚ ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ ะฒ ะฟั€ะธะผะตะฝะตะฝะฝะพะผ ะบ ะฝะตะผัƒ ะฐั‚ั€ะธะฑัƒั‚ะต "System.Runtime.InteropServices.CustomMarshallerAttribute" - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - ะขะธะฟ ะผะฐั€ัˆะฐะปะตั€ะฐ ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะทะฐะบั€ั‹ั‚ั‹ะผ ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผ ะธะปะธ ะธะผะตั‚ัŒ ั‚ะพ ะถะต ะบะพะปะธั‡ะตัั‚ะฒะพ ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ั… ะฟะฐั€ะฐะผะตั‚ั€ะพะฒ, ั‡ั‚ะพ ะธ ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ, ั‡ั‚ะพะฑั‹ ัะพะทะดะฐะฒะฐะตะผั‹ะน ะบะพะด ะผะพะณ ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒ ะบะพะฝะบั€ะตั‚ะฝั‹ะน ัะบะทะตะผะฟะปัั€. - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - ะฃะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ "{0}" ะดะปั ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ั‚ะธะฟะฐ "{1}" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะทะฐะบั€ั‹ั‚ั‹ะผ ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะผ ั‚ะธะฟะพะผ, ะตะณะพ ะฐั€ะฝะพัั‚ัŒ ะดะพะปะถะฝะฐ ะฑั‹ั‚ัŒ ั‚ะฐะบะพะน ะถะต, ะบะฐะบ ัƒ ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ั‚ะธะฟะฐ, ะตัะปะธ ัั‚ะพ ะผะฐั€ัˆะฐะปะตั€ ะทะฝะฐั‡ะตะฝะธะน, ะปะธะฑะพ ัƒ ะฝะตะณะพ ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะพะดะธะฝ ะดะพะฟะพะปะฝะธั‚ะตะปัŒะฝั‹ะน ัƒะฝะธะฒะตั€ัะฐะปัŒะฝั‹ะน ะฟะฐั€ะฐะผะตั‚ั€, ะตัะปะธ ัั‚ะพ ะผะฐั€ัˆะฐะปะตั€ ะบะพะปะปะตะบั†ะธะน. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - ะ”ะปั LibraryImportAttribute ั‚ั€ะตะฑัƒะตั‚ัั ะฝะตะฑะตะทะพะฟะฐัะฝั‹ะน ะบะพะด. ะŸั€ะพะตะบั‚ ะฝะตะพะฑั…ะพะดะธะผะพ ะพะฑะฝะพะฒะธั‚ัŒ ั ะธัะฟะพะปัŒะทะพะฒะฐะฝะธะตะผ ะทะฝะฐั‡ะตะฝะธั "<AllowUnsafeBlocks>true</AllowUnsafeBlocks>". - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - ะ”ะปั LibraryImportAttribute ั‚ั€ะตะฑัƒะตั‚ัั ะฝะตะฑะตะทะพะฟะฐัะฝั‹ะน ะบะพะด. ะŸั€ะพะตะบั‚ ะฝะตะพะฑั…ะพะดะธะผะพ ะพะฑะฝะพะฒะธั‚ัŒ ั ะธัะฟะพะปัŒะทะพะฒะฐะฝะธะตะผ ะทะฝะฐั‡ะตะฝะธั "<AllowUnsafeBlocks>true</AllowUnsafeBlocks>". - - - - LibraryImportAttribute requires unsafe code. - ะ”ะปั LibraryImportAttribute ั‚ั€ะตะฑัƒะตั‚ัั ะฝะตะฑะตะทะพะฟะฐัะฝั‹ะน ะบะพะด. - - - - The return type the two method must be the expected type. - ะขะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั ะผะตั‚ะพะดะฐ two ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะพะถะธะดะฐะตะผั‹ะผ. - - - - The return type of '{0}' must be '{1}' - ะขะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั "{0}" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ "{1}" - - - - The return types of the two methods must be the same type. - ะขะธะฟั‹ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะผะตั‚ะพะดะฐ ะดะพะปะถะฝั‹ ะฑั‹ั‚ัŒ ะพะดะธะฝะฐะบะพะฒั‹ะผะธ. - - - - The return type of '{0}' must be the same type as the return type of '{1}' - ะขะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั "{0}" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ั‚ะตะผ ะถะต, ั‡ั‚ะพ ะธ ั‚ะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั "{1}" - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - ะœะฐั€ัˆะฐะปะตั€ ั ะพั‚ัะปะตะถะธะฒะฐะฝะธะตะผ ัะพัั‚ะพัะฝะธั ะดะพะปะถะตะฝ ะธะผะตั‚ัŒ ะผะตั‚ะพะด ัะบะทะตะผะฟะปัั€ะฐ ั ะฝัƒะปะตะฒั‹ะผ ะฟะฐั€ะฐะผะตั‚ั€ะพะผ, ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน void, ั ะธะผะตะฝะตะผ "Free". - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - ะขะธะฟ "{0}" ัะฒะปัะตั‚ัั ะผะฐั€ัˆะฐะปะตั€ะพะผ ั ะพั‚ัะปะตะถะธะฒะฐะฝะธะตะผ ัะพัั‚ะพัะฝะธั ะธ ะฝะต ะธะผะตะตั‚ ะผะตั‚ะพะดะฐ ัะบะทะตะผะฟะปัั€ะฐ ั ะฝัƒะปะตะฒั‹ะผ ะฟะฐั€ะฐะผะตั‚ั€ะพะผ, ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะตะณะพ void, ั ะธะผะตะฝะตะผ "Free" - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - ะœะฐั€ัˆะฐะปะตั€ ั ะพั‚ัะปะตะถะธะฒะฐะฝะธะตะผ ัะพัั‚ะพัะฝะธั, ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‰ะธะน ะผะฐั€ัˆะฐะปะธะฝะณ ะพั‚ ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะบ ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะผัƒ, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ะผะตั‚ะพะด ัะบะทะตะผะฟะปัั€ะฐ FromManaged, ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ัƒะฟั€ะฐะฒะปัะตะผะพะต ะทะฝะฐั‡ะตะฝะธะต ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน ะทะฝะฐั‡ะตะฝะธะต "void". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ั€ะตะถะธะผ ะผะฐั€ัˆะฐะปะธะฝะณะฐ "{1}" ะดะปั "{2}", ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะผะตั‚ะพะด ัะบะทะตะผะฟะปัั€ะฐ ั ะพะดะฝะธะผ ะฟะฐั€ะฐะผะตั‚ั€ะพะผ ั ะธะผะตะฝะตะผ "FromManaged", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะผ ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ "{2}" ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะผ "void" - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - ะœะฐั€ัˆะฐะปะตั€ ั ะพั‚ัะปะตะถะธะฒะฐะฝะธะตะผ ัะพัั‚ะพัะฝะธั, ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‰ะธะน ะผะฐั€ัˆะฐะปะธะฝะณ ะพั‚ ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะบ ัƒะฟั€ะฐะฒะปัะตะผะพะผัƒ, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ะผะตั‚ะพะด ัะบะทะตะผะฟะปัั€ะฐ "FromUnmanaged", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะต ะทะฝะฐั‡ะตะฝะธะต ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "void". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธะฝะณ "{1}" ะดะปั "{2}", ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะผะตั‚ะพะด ัะบะทะตะผะฟะปัั€ะฐ ั ะพะดะฝะธะผ ะฟะฐั€ะฐะผะตั‚ั€ะพะผ ั ะธะผะตะฝะตะผ "FromUnmanaged", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะทะฝะฐั‡ะตะฝะธะต "unmanaged" ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "void" - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - ะœะฐั€ัˆะฐะปะตั€ ั ะพั‚ัะปะตะถะธะฒะฐะฝะธะตะผ ัะพัั‚ะพัะฝะธั, ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‰ะธะน ะผะฐั€ัˆะฐะปะธะฝะณ ะพั‚ ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะบ ัƒะฟั€ะฐะฒะปัะตะผะพะผัƒ, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ะผะตั‚ะพะด ัะบะทะตะผะฟะปัั€ะฐ "ToManaged", ะฝะต ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฟะฐั€ะฐะผะตั‚ั€ะพะฒ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ั€ะตะถะธะผ ะผะฐั€ัˆะฐะปะธะฝะณะฐ "{1}" ะดะปั "{2}", ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะผะตั‚ะพะด ัะบะทะตะผะฟะปัั€ะฐ ั ะฝัƒะปะตะฒั‹ะผ ะฟะฐั€ะฐะผะตั‚ั€ะพะผ ั ะธะผะตะฝะตะผ "ToManaged", ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะผ "{2}" - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - ะœะฐั€ัˆะฐะปะตั€ ั ะพั‚ัะปะตะถะธะฒะฐะฝะธะตะผ ัะพัั‚ะพัะฝะธั, ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‰ะธะน ะผะฐั€ัˆะฐะปะธะฝะณ ะพั‚ ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะบ ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะผัƒ, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ะผะตั‚ะพะด ัะบะทะตะผะฟะปัั€ะฐ "ToUnmanaged", ะฝะต ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฟะฐั€ะฐะผะตั‚ั€ะพะฒ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน ั‚ะธะฟ "unmanaged". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ "{1}" ั€ะตะถะธะผ ะผะฐั€ัˆะฐะปะธะฝะณะฐ ะดะปั "{2}", ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะผะตั‚ะพะด ัะบะทะตะผะฟะปัั€ะฐ ั ะฝัƒะปะตะฒั‹ะผ ะฟะฐั€ะฐะผะตั‚ั€ะพะผ ั ะธะผะตะฝะตะผ "ToUnmanaged", ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะผ ั‚ะธะฟ "unmanaged" ะดะปั ะผะฐั€ัˆะฐะปะตั€ะฐ - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - ะšะพะณะดะฐ ั„ะพั€ะผะฐ "ะฃะฟั€ะฐะฒะปัะตะผั‹ะน ะฒ ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั ะฑัƒั„ะตั€ะพะผ, ะฒั‹ะดะตะปะตะฝะฝั‹ะผ ะฒั‹ะทั‹ะฒะฐัŽั‰ะธะผ ะพะฑัŠะตะบั‚ะพะผ" ะธัะฟะพะปัŒะทัƒะตั‚ัั ะฟัƒั‚ะตะผ ะฟั€ะตะดะพัั‚ะฐะฒะปะตะฝะธั ะผะตั‚ะพะดะฐ "AllocateContainerForUnmanagedElements", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะผ "Span<T>" ะดะปั ั‚ะธะฟะฐ ะผะฐั€ัˆะฐะปะปะตั€ะฐ, ั‚ะธะฟ ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะปัั‚ัŒ ัั‚ะฐั‚ะธั‡ะตัะบะพะต ัะฒะพะนัั‚ะฒะพ "BufferSize", ั‡ั‚ะพะฑั‹ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ั‡ะธัะปะพ ัะปะตะผะตะฝั‚ะพะฒ ะฒ ะฒั‹ะดะตะปะตะฝะฝะพะผ ะฒั‹ะทั‹ะฒะฐัŽั‰ะตะน ัั‚ะพั€ะพะฝะต ะฑัƒั„ะตั€ะต. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - ะฃ ั‚ะธะฟะฐ ะผะฐั€ัˆะฐะปะตั€ะฐ "{0}" ะดะพะปะถะฝะพ ะฑั‹ั‚ัŒ ัั‚ะฐั‚ะธั‡ะตัะบะพะต ัะฒะพะนัั‚ะฒะพ "int" "BufferSize" ั‚ะพะปัŒะบะพ ะดะปั ั‡ั‚ะตะฝะธั, ั‡ั‚ะพะฑั‹ ัƒะบะฐะทะฐั‚ัŒ ั€ะฐะทะผะตั€ ะฑัƒั„ะตั€ะฐ, ะฒั‹ะดะตะปะตะฝะฝะพะณะพ ะฒั‹ะทั‹ะฒะฐัŽั‰ะตะน ัั‚ะพั€ะพะฝะพะน, ะฟะพัะบะพะปัŒะบัƒ ะพะฝ ะธะผะตะตั‚ ะผะตั‚ะพะด "AllocateContainerForUnmanagedElements", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฒั‹ะดะตะปะตะฝะฝัƒัŽ ะฒั‹ะทั‹ะฒะฐัŽั‰ะตะน ัั‚ะพั€ะพะฝะพะน ะพะฑะปะฐัั‚ัŒ "Span<{1}>" - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - ะะตะฟั€ะตั€ั‹ะฒะฝั‹ะน ะผะฐั€ัˆะฐะปะตั€ ะบะพะปะปะตะบั†ะธะน, ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‰ะธะน ะผะฐั€ัˆะฐะปะปะธะฝะณ ะพั‚ ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะบ ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะผัƒ, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ะผะตั‚ะพะด "GetManagedValuesSource", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ัƒะฟั€ะฐะฒะปัะตะผะพะต ะทะฝะฐั‡ะตะฝะธะต ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน ะผะตั‚ะพะด ReadOnlySpan<>, ะธ ะผะตั‚ะพะด "GetUnmanagedValuesDestination", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะต ะทะฝะฐั‡ะตะฝะธะต ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "Span<>" - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธะฝะณ "{1}", ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ "GetManagedValuesSource", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน "{2}" ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "ReadOnlySpan<>", ะฐ ั‚ะฐะบะถะต ะผะตั‚ะพะด "GetUnmanagedValuesDestination", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะต ะทะฝะฐั‡ะตะฝะธะต ะบะฐะบ ะฟะฐั€ะฐะผะตั‚ั€ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "Span<>" - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - ะะตะฟั€ะตั€ั‹ะฒะฝั‹ะน ะผะฐั€ัˆะฐะปะตั€ ะบะพะปะปะตะบั†ะธะธ, ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‰ะธะน ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธะต ะธะท ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะฒ ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ะผะตั‚ะพะด "GetManagedValuesDestination", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ัƒะฟั€ะฐะฒะปัะตะผะพะต ะทะฝะฐั‡ะตะฝะธะต ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "Span<>", ะธ ะผะตั‚ะพะด "GetUnmanagedValuesSource", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะต ะทะฝะฐั‡ะตะฝะธะต ะธ ั†ะตะปะพะต ั‡ะธัะปะพ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน ะทะฝะฐั‡ะตะฝะธะต "ReadOnlySpan<>". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธะฝะณ "{1}", ะฝะพ ะพะฝ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ "GetManagedValuesDestination", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน "{2}" ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "Span<>", ะฐ ั‚ะฐะบะถะต ะผะตั‚ะพะด "GetUnmanagedValuesSource", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะต ะทะฝะฐั‡ะตะฝะธะต ะธ "int" ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "ReadOnlySpan<>" - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - ะะตะฟั€ะตั€ั‹ะฒะฝั‹ะน ะผะฐั€ัˆะฐะปะปะตั€ ะบะพะปะปะตะบั†ะธะน ะฑะตะท ัะพั…ั€ะฐะฝะตะฝะธั ัะพัั‚ะพัะฝะธั, ะบะพั‚ะพั€ั‹ะน ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธะต ะพั‚ ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะบ ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะผัƒ, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ะผะตั‚ะพะด "AllocateContainerForManagedElements", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะตั€ะฒะพะณะพ ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะบะพะปะธั‡ะตัั‚ะฒะพ ัะปะตะผะตะฝั‚ะพะฒ ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ "int". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธะต "{1}" ะดะปั {2}"', ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะผะตั‚ะพะด ั ะดะฒัƒะผั ะฟะฐั€ะฐะผะตั‚ั€ะฐะผะธ "AllocateContainerForManagedElements", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะตั€ะฒะพะณะพ ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ "int" ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฒั‚ะพั€ะพะณะพ ะฟะฐั€ะฐะผะตั‚ั€ะฐ. - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - ะะตะฟั€ะตั€ั‹ะฒะฝั‹ะน ะผะฐั€ัˆะฐะปะปะตั€ ะบะพะปะปะตะบั†ะธะน ะฑะตะท ัะพั…ั€ะฐะฝะตะฝะธั ัะพัั‚ะพัะฝะธั, ะบะพั‚ะพั€ั‹ะน ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธะฝะณ ะพั‚ ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะบ ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะผัƒ, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ะผะตั‚ะพะด "AllocateContainerForUnmanagedElements", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะตั€ะฒะพะณะพ ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะฟั€ะตะดะพัั‚ะฐะฒะปััŽั‰ะธะน ะบะพะปะธั‡ะตัั‚ะฒะพ ัะปะตะผะตะฝั‚ะพะฒ ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ "out int". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธะต "{1}" ะดะปั "{2}"ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะผะตั‚ะพะด "AllocateContainerForUnmanagedElements" ั ะดะฒัƒะผั ะฟะฐั€ะฐะผะตั‚ั€ะฐะผะธ, ะบะพั‚ะพั€ั‹ะน ะฟั€ะธะฝะธะผะฐะตั‚ "{2}" ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะตั€ะฒะพะณะพ ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ "out int" ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฒั‚ะพั€ะพะณะพ ะฟะฐั€ะฐะผะตั‚ั€ะฐ. - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - ะœะฐั€ัˆะฐะปะตั€ ะทะฝะฐั‡ะตะฝะธะน ะฑะตะท ะพั‚ัะปะตะถะธะฒะฐะฝะธั ัะพัั‚ะพัะฝะธั, ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‰ะธะน ะผะฐั€ัˆะฐะปะปะธะฝะณ ะพั‚ ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะบ ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะผัƒ, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ะผะตั‚ะพะด ั ะพะดะฝะธะผ ะฟะฐั€ะฐะผะตั‚ั€ะพะผ "ConvertToManaged", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ. - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธะต "{1}", ะฝะพ ะพะฝ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะผะตั‚ะพะด "ConvertToManaged", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน "{2}" - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - ะœะฐั€ัˆะฐะปะตั€ ะทะฝะฐั‡ะตะฝะธะน ะฑะตะท ะพั‚ัะปะตะถะธะฒะฐะฝะธั ัะพัั‚ะพัะฝะธั, ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‰ะธะน ะผะฐั€ัˆะฐะปะปะธะฝะณ ะพั‚ ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะบ ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะผัƒ, ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะธั‚ัŒ ะผะตั‚ะพะด ั ะพะดะฝะธะผ ะฟะฐั€ะฐะผะตั‚ั€ะพะผ "ConvertToUnmanaged", ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ัƒะฟั€ะฐะฒะปัะตะผะพะต ะทะฝะฐั‡ะตะฝะธะต ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะฒะพะทะฒั€ะฐั‰ะฐัŽั‰ะธะน ะทะฝะฐั‡ะตะฝะธะต ั‚ะธะฟะฐ "unmanaged'". - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - ะขะธะฟ "{0}" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธะฝะณ "{1}" ะดะปั "{2}", ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะผะตั‚ะพะด "ConvertToUnmanaged" ั ะพะดะฝะธะผ ะฟะฐั€ะฐะผะตั‚ั€ะพะผ, ะบะพั‚ะพั€ั‹ะน ะฟั€ะธะฝะธะผะฐะตั‚ "{2}" ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะธ ะฒะพะทะฒั€ะฐั‰ะฐะตั‚ ะทะฝะฐั‡ะตะฝะธะต ั‚ะธะฟะฐ "unmanaged" - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - ะขะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั "ConvertToUnmanaged" ะธ ั‚ะธะฟ ะฟะฐั€ะฐะผะตั‚ั€ะฐ "ConvertToManaged" ะดะพะปะถะฝั‹ ัะพะฒะฟะฐะดะฐั‚ัŒ. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - ะขะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั "ConvertToUnmanaged" ะธ ั‚ะธะฟ ะฟะฐั€ะฐะผะตั‚ั€ะฐ "ConvertToManaged" ะดะพะปะถะฝั‹ ัะพะฒะฟะฐะดะฐั‚ัŒ - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - ะะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ ะดะปั ะฟะพะปัŒะทะพะฒะฐั‚ะตะปัŒัะบะพะณะพ ะผะฐั€ัˆะฐะปะปะตั€ะฐ ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะผ ั‚ะธะฟะพะผ C#. - - - - The return type of '{0}' must be unmanaged - ะขะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั "{0}" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะผ - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - "void*" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะฟั€ะธะฒะพะดะธะผั‹ะผ ะบ ั‚ะธะฟัƒ, ั‡ั‚ะพะฑั‹ ะทะฐะบั€ะตะฟะปะตะฝะฝั‹ะน ั€ะตะทัƒะปัŒั‚ะฐั‚ ัั‚ะฐั‚ะธั‡ะตัะบะพะณะพ ะผะตั‚ะพะดะฐ "GetPinnableReference" ะผะพะถะฝะพ ะฑั‹ะปะพ ะฟะตั€ะตะดะฐะฒะฐั‚ัŒ ะฒ ัะพะฑัั‚ะฒะตะฝะฝั‹ะน ะบะพะฝั‚ะตะบัั‚ ะฟะพัะปะต ะทะฐะบั€ะตะฟะปะตะฝะธั. - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - "void*" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะฟั€ะธะฒะพะดะธะผั‹ะผ ะบ ั‚ะธะฟัƒ "{0}", ะฟะพัะบะพะปัŒะบัƒ ัƒ ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ั‚ะธะฟะฐ "{1}" ะตัั‚ัŒ ัั‚ะฐั‚ะธั‡ะตัะบะธะน ะผะตั‚ะพะด "GetPinnableReference" - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - ะฃ ั‚ะธะฟะฐ ั‚ะพั‡ะบะธ ะฒั…ะพะดะฐ ะดะปั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั ัƒะบะฐะทะฐะฝะฝะพะณะพ ั‚ะธะฟะฐ ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะฐั‚ั€ะธะฑัƒั‚ "System.Runtime.InteropServices.CustomMarshallerAttribute", ัƒะบะฐะทั‹ะฒะฐัŽั‰ะธะน ัั‚ะพั‚ ั‚ะธะฟ ะฒ ะบะฐั‡ะตัั‚ะฒะต ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ. - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - ะขะธะฟ ะผะฐั€ัˆะฐะปะตั€ะฐ ั‚ะพั‡ะบะธ ะฒั…ะพะดะฐ "{0}" ะดะปั ั‚ะธะฟะฐ "{1}" ะดะพะปะถะตะฝ ัะพะดะตั€ะถะฐั‚ัŒ ั…ะพั‚ั ะฑั‹ ะพะดะธะฝ ะฐั‚ั€ะธะฑัƒั‚ "System.Runtime.InteropServices.CustomMarshallerAttribute", ัƒะบะฐะทั‹ะฒะฐัŽั‰ะธะน ัั‚ะพั‚ ั‚ะธะฟ ะฒ ะบะฐั‡ะตัั‚ะฒะต ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ั‚ะธะฟะฐ - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - ะกะพะฑัั‚ะฒะตะฝะฝั‹ะน ั‚ะธะฟ ะฒะธะดะฐ \"Value\" ะธะปะธ \"LinearCollection\", ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‰ะธะน ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ ะฒ ะฝะฐะฟั€ะฐะฒะปะตะฝะธะธ \"ะฝะฐั€ัƒะถัƒ\", ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะปัั‚ัŒ ะผะตั‚ะพะด \"ToManaged\", ะบะพั‚ะพั€ั‹ะน ะฒะพะทะฒั€ะฐั‰ะฐะตั‚ ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ. - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - ะขะธะฟ \"{0}\" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ ะฒ ะฝะฐะฟั€ะฐะฒะปะตะฝะธะธ \"ะฝะฐั€ัƒะถัƒ\", ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะผะตั‚ะพะด \"ToManaged\", ะบะพั‚ะพั€ั‹ะน ะฒะพะทะฒั€ะฐั‰ะฐะตั‚ ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - ะขะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั "ToUnmanaged" ะธ ั‚ะธะฟ ะฟะฐั€ะฐะผะตั‚ั€ะฐ "FromUnmanaged" ะดะพะปะถะฝั‹ ัะพะฒะฟะฐะดะฐั‚ัŒ. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - ะขะธะฟ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั "ToUnmanaged" ะธ ั‚ะธะฟ ะฟะฐั€ะฐะผะตั‚ั€ะฐ "FromUnmanaged" ะดะพะปะถะฝั‹ ัะพะฒะฟะฐะดะฐั‚ัŒ - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - ะ”ะปั ั‚ะธะฟะพะฒ, ะบะพั‚ะพั€ั‹ะต ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‚ัั ะฒ P/Invoke ั ัะพะทะดะฐะฝะธะตะผ ะธัั‚ะพั‡ะฝะธะบะฐ, ะฒ ะฟะพะปัƒั‡ะตะฝะฝะพะผ P/Invoke ะดะปั ะผะฐั€ัˆะฐะปะธะทะฐั†ะธะธ ัƒะบะฐะทะฐะฝะฝะพะณะพ ั‚ะธะฟะฐ ะฑัƒะดะตั‚ ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒัั ัั€ะตะดะฐ ะฒั‹ะฟะพะปะฝะตะฝะธั. - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - ะขะธะฟ \"{0}\" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะฒ P/Invoke ั ัะพะทะดะฐะฝะธะตะผ ะธัั‚ะพั‡ะฝะธะบะฐ. ะกะพะทะดะฐะฝะฝั‹ะน ะธัั‚ะพั‡ะฝะธะบ ะฝะต ะฑัƒะดะตั‚ ะพะฑั€ะฐะฑะฐั‚ั‹ะฒะฐั‚ัŒ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ ะฟะฐั€ะฐะผะตั‚ั€ะฐ \"{1}\". - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} ะกะพะทะดะฐะฝะฝั‹ะน ะธัั‚ะพั‡ะฝะธะบ ะฝะต ะฑัƒะดะตั‚ ะพะฑั€ะฐะฑะฐั‚ั‹ะฒะฐั‚ัŒ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ ะฟะฐั€ะฐะผะตั‚ั€ะฐ \"{1}\". - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - ะขะธะฟ \"{0}\" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะฒ P/Invoke ั ัะพะทะดะฐะฝะธะตะผ ะธัั‚ะพั‡ะฝะธะบะฐ. ะกะพะทะดะฐะฝะฝั‹ะน ะธัั‚ะพั‡ะฝะธะบ ะฝะต ะฑัƒะดะตั‚ ะพะฑั€ะฐะฑะฐั‚ั‹ะฒะฐั‚ัŒ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั ะผะตั‚ะพะดะฐ \"{1}\". - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} ะกะพะทะดะฐะฝะฝั‹ะน ะธัั‚ะพั‡ะฝะธะบ ะฝะต ะฑัƒะดะตั‚ ะพะฑั€ะฐะฑะฐั‚ั‹ะฒะฐั‚ัŒ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั ะผะตั‚ะพะดะฐ \"{1}\". - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - ะฃะบะฐะทะฐะฝะฝั‹ะน ั‚ะธะฟ ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ะฒ P/Invoke ั ัะพะทะดะฐะฝะธะตะผ ะธัั‚ะพั‡ะฝะธะบะฐ. - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - ะฃะบะฐะทะฐะฝั‹ ะฝะตะฝัƒะถะฝั‹ะต ัะฒะตะดะตะฝะธั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั. ะญั‚ะธ ัะฒะตะดะตะฝะธั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั ะผะพะถะฝะพ ัƒะดะฐะปะธั‚ัŒ ะฑะตะท ะบะฐะบะธั…-ะปะธะฑะพ ะธะทะผะตะฝะตะฝะธะน ะฒ ั€ะฐะฑะพั‚ะต ะฟั€ะธะปะพะถะตะฝะธั. - - - - Unnecessary marshalling info was provided and can be removed. - ะฃะบะฐะทะฐะฝั‹ ะฝะตะฝัƒะถะฝั‹ะต ัะฒะตะดะตะฝะธั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั, ะบะพั‚ะพั€ั‹ะต ะผะพะถะฝะพ ัƒะดะฐะปะธั‚ัŒ. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - ะฃะบะฐะทะฐะฝั‹ ะฝะตะฝัƒะถะฝั‹ะต ัะฒะตะดะตะฝะธั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั "{0}" ะดะปั ะฟะฐั€ะฐะผะตั‚ั€ะฐ "{1}" - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - ะฃะบะฐะทะฐะฝั‹ ะฝะตะฝัƒะถะฝั‹ะต ัะฒะตะดะตะฝะธั ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐะฝะธั "{0}" ะดะปั ั‚ะธะฟะฐ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั ะผะตั‚ะพะดะฐ "{1}" - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - ะกะพะฑัั‚ะฒะตะฝะฝั‹ะน ั‚ะธะฟ ะฒะธะดะฐ \"Value\", ะบะพั‚ะพั€ั‹ะน ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ั„ัƒะฝะบั†ะธัŽ \"CallerAllocatedBuffer\", ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะปัั‚ัŒ ะบะพะฝัั‚ั€ัƒะบั‚ะพั€ ั ะดะฒัƒะผั ะฟะฐั€ะฐะผะตั‚ั€ะฐะผะธ: ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ ะธ \"Span ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ั‚ะธะฟะฐ\" - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - ะขะธะฟ ''{0}'' ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะพะฝ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ัะพั€ั‚ะธั€ะพะฒะบัƒ ''In'' ั ั„ัƒะฝะบั†ะธะตะน ''CallerAllocatedBuffer'' ะดะปั ''{1}'', ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะบะพะฝัั‚ั€ัƒะบั‚ะพั€ ั ะดะฒัƒะผั ะฟะฐั€ะฐะผะตั‚ั€ะฐะผะธ, ะบะพั‚ะพั€ั‹ะน ะฟั€ะธะฝะธะผะฐะตั‚ ''{1}'' ะธ 'Span' ั‚ะธะฟะฐ ''unmanaged'' ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฟะฐั€ะฐะผะตั‚ั€ะพะฒ - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - ะกะพะฑัั‚ะฒะตะฝะฝั‹ะน ั‚ะธะฟ ะฒะธะดะฐ \"Value\" ะดะพะปะถะตะฝ ะฟั€ะตะดะพัั‚ะฐะฒะปัั‚ัŒ ะบะพะฝัั‚ั€ัƒะบั‚ะพั€ ั ะพะดะฝะธะผ ะฟะฐั€ะฐะผะตั‚ั€ะพะผ: ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - ะขะธะฟ \"{0}\" ัƒะบะฐะทั‹ะฒะฐะตั‚, ั‡ั‚ะพ ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ \"{1}\" ะฒ ะฝะฐะฟั€ะฐะฒะปะตะฝะธะธ \"ะฒะฝัƒั‚ั€ัŒ, ะฝะพ ะฝะต ะฟั€ะตะดะพัั‚ะฐะฒะปัะตั‚ ะบะพะฝัั‚ั€ัƒะบั‚ะพั€, ะฟั€ะธะฝะธะผะฐัŽั‰ะธะน ะพะดะธะฝ ะฟะฐั€ะฐะผะตั‚ั€ \"{1}\" - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.tr.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.tr.xlf deleted file mode 100644 index d624f99d4f50a..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.tr.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - Eksik olan รถzel tรผr sฤฑralayฤฑcฤฑ รผyelerini ekleyin - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Hazฤฑrlayฤฑcฤฑ tรผrรผnde 'Span<T>' alan bir 'FromManaged' yรถntemi saฤŸlanarak 'ร‡aฤŸฤฑran Tarafฤฑndan Ayrฤฑlan Arabellek ile Yรถnetilenden Yรถnetilmeyene' ลŸekli kullanฤฑldฤฑฤŸฤฑnda tรผr, รงaฤŸฤฑran tarafฤฑndan ayrฤฑlan arabellekteki รถฤŸe sayฤฑsฤฑnฤฑ saฤŸlamak iรงin statik bir 'BufferSize' รถzelliฤŸi belirtmelidir. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - Hazฤฑrlayฤฑcฤฑ tรผrรผ '{0}', รงaฤŸฤฑran tarafฤฑndan ayrฤฑlan arabelleฤŸin boyutunu belirtmek iรงin statik bir salt okunur 'int' 'BufferSize' รถzelliฤŸine sahip olmalฤฑdฤฑr รงรผnkรผ รงaฤŸฤฑran tarafฤฑndan ayrฤฑlan 'Span<{1}>' alan bir 'FromManaged' yรถntemine sahiptir. - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - OluลŸturulan 'DllImportAttribute' รผzerinde '{0}' iรงin karลŸฤฑlฤฑk gelen bir deฤŸer bulunmaz. - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - '{0}' iรงin 'DllImportAttribute' iรงinde herhangi bir eลŸdeฤŸer yok ve iletilemiyor - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - Belirtilen 'LibraryImportAttribute' baฤŸฤฑmsฤฑz deฤŸiลŸkenleri 'DllImportAttribute' รถฤŸesine iletilemez - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - Kaynak tarafฤฑndan oluลŸturulan P/Invokes desteklenmeyen yapฤฑlandฤฑrmalarฤฑ yok sayar. - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - '{0}' yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmiyor. Belirtilen yapฤฑlandฤฑrma gerekli ise, bunun yerine normal bir 'DllImport' kullanฤฑn. - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - Belirtilen sฤฑralama yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmiyor. {0}. - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - '{1}' parametresi iรงin belirtilen '{0}' yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmiyor. Belirtilen yapฤฑlandฤฑrma gerekli ise, bunun yerine normal bir 'DllImport' kullanฤฑn. - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - '{0}' metodunun dรถnรผลŸ deฤŸeri iรงin belirtilen '{1}' yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmiyor. Belirtilen yapฤฑlandฤฑrma gerekli ise, bunun yerine normal bir 'DllImport' kullanฤฑn. - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - '{1}' iรงin belirtilen '{0}' deฤŸeri, kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmiyor. Belirtilen deฤŸer gerekli ise, bunun yerine normal bir 'DllImport' kullanฤฑn. - - - - Specified configuration is not supported by source-generated P/Invokes. - Belirtilen yapฤฑlandฤฑrma, kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmiyor. - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - 'PreserveSig' deฤŸeri 'false' olarak ayarlanmฤฑลŸ bir P/Invoke รถฤŸesini kaynak tarafฤฑndan oluลŸturulan bir P/Invoke'a otomatik olarak dรถnรผลŸtรผrรผlmesi sonucunda geรงersiz kod รผretilebilir - - - - Convert to 'LibraryImport' - 'LibraryImport' olarak dรถnรผลŸtรผr - - - - Convert to 'LibraryImport' and enable unsafe code - 'LibraryImport' tรผrรผne dรถnรผลŸtรผr ve gรผvenli olmayan kodu etkinleลŸtir - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - P/Invoke sฤฑralama kodunu derleme zamanฤฑnda oluลŸturmak iรงin 'DllImportAttribute' yerine 'LibraryImportAttribute' kullanฤฑn - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - Bu API'yi 'LibraryImport' olarak dรถnรผลŸtรผrmek, bazฤฑ parametreler iรงin รถzel hazฤฑrlayฤฑcฤฑlar saฤŸlamak amacฤฑyla ek kod gerektirir. - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - P/Invoke sฤฑralama kodunu derleme zamanฤฑnda oluลŸturmak iรงin '{0}' metodunu, 'DllImportAttribute' yerine 'LibraryImportAttribute' ile iลŸaretleyin - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - P/Invoke sฤฑralama kodunu derleme zamanฤฑnda oluลŸturmak iรงin 'DllImportAttribute' yerine 'LibraryImportAttribute' kullanฤฑn - - - - Convert to 'LibraryImport' with '{0}' suffix - '{0}' soneki ile 'LibraryImport' olarak dรถnรผลŸtรผr - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - '{0}' soneki ile 'LibraryImport' tรผrรผne dรถnรผลŸtรผr ve gรผvenli olmayan kodu etkinleลŸtir - - - - Marshaller type does not have the required shape - Sฤฑralayฤฑcฤฑ tรผrรผ gerekli ลŸekle sahip deฤŸil - - - - A marshaller for an element scenario cannot be stateful. - ร–ฤŸe senaryosu iรงin bir hazฤฑrlayฤฑcฤฑnฤฑn durum bilgisi yoktur. - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - Belirtilen hazฤฑrlayฤฑcฤฑ '{0}' tรผrรผ durum bilgisi olan bir hazฤฑrlayฤฑcฤฑdฤฑr, ancak durum bilgisi olan hazฤฑrlayฤฑcฤฑlara, saฤŸlanan '{1}' hazฤฑrlama modunda izin verilmez - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - ฤฐlk yรถntem tarafฤฑndan dรถndรผrรผlen yayฤฑlฤฑm รถฤŸe tรผrรผ, ikinci metot tarafฤฑndan dรถndรผrรผlen yayฤฑlฤฑm รถฤŸe tรผrรผyle aynฤฑ olmalฤฑdฤฑr. - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - '{0}' tarafฤฑndan dรถndรผrรผlen yayฤฑlฤฑm รถฤŸe tรผrรผ, '{1}'tarafฤฑndan dรถndรผrรผlen yayฤฑlฤฑm รถฤŸe tรผrรผyle aynฤฑ olmalฤฑdฤฑr. - - - - An entry-point type for marshalling a given type must not be 'null'. - Belirli bir tรผr iรงin bir giriลŸ noktasฤฑ tรผrรผ, 'null' olmamalฤฑdฤฑr. - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - Tรผr '{0}' iรงin giriลŸ noktasฤฑ hazฤฑrlayฤฑcฤฑ tรผrรผ 'null' olmamalฤฑdฤฑr - - - - The first parameter of the first method must be the same type as the return types of the second method. - ฤฐlk metodun ilk parametresi, ikinci metodun dรถnรผลŸ tรผrleriyle aynฤฑ olmalฤฑdฤฑr. - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - '{0}' รถฤŸesinin ilk parametresi, '{1}' dรถnรผลŸ tรผrรผyle aynฤฑ olmalฤฑdฤฑr - - - - The first parameters of the two methods must be the same type. - ฤฐki yรถntemin ilk parametreleri aynฤฑ tรผrde olmalฤฑdฤฑr. - - - - The first parameter of '{0}' and '{1}' must be the same type - '{0}' ve '{1}' รถฤŸelerinin ilk parametresi aynฤฑ tรผrde olmalฤฑdฤฑr - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - Bazฤฑ ลŸekiller aลŸฤฑrฤฑ yรผklemeler arasฤฑnda ayrฤฑm yapamadฤฑฤŸฤฑndan, 'FromUnmanaged' yรถnteminin aลŸฤฑrฤฑ yรผklemesi desteklenmez. - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - '{0}' tรผrรผ, รถzel hazฤฑrlayฤฑcฤฑlarda desteklenmeyen 'FromUnmanaged' metoduna aลŸฤฑrฤฑ yรผkleme yapฤฑyor - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - 'GetPinnableReference' dรถnรผลŸ tรผrรผ ('ref' olarak belirtildikten sonra) blok halinde kopyalanabilir olmalฤฑdฤฑr. - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - 'GetPinnableReference' metodunun dรถnรผลŸ tรผrรผnรผn baลŸvurulan tรผrรผ blok halinde kopyalanabilir olmalฤฑdฤฑr - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - '{0}'metodu, 'partial' olarak iลŸaretlenmemiลŸ olan bir '{1}' tรผrรผnรผn iรงinde yer alฤฑyor. P/Invoke kaynak oluลŸturma iลŸlemi, '{0}' metodunu yok sayacak. - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - 'LibraryImportAttribute' ile iลŸaretlenmiลŸ metotlar 'static', 'partial' ve genel olmayan รถzellikte olmalฤฑdฤฑr. P/Invoke kaynak oluลŸturma 'static', 'partial' ve genel olmayan รถzellikteki metotlar dฤฑลŸฤฑnda kalan metotlarฤฑ yok sayar. - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - 'LibraryImportAttribute' ile iลŸaretlendiฤŸinde '{0}' metodu 'static', 'partial' ve genel olmayan รถzellikte olmalฤฑdฤฑr. P/Invoke kaynak oluลŸturma '{0}' metodunu yok sayar. - - - - Invalid 'CustomMarshallerAttribute' usage - Geรงersiz 'CustomMarshallerAttribute' kullanฤฑmฤฑ - - - - Invalid 'LibraryImportAttribute' usage - Geรงersiz 'LibraryImportAttribute' kullanฤฑmฤฑ - - - - Specified managed type is invalid - Belirtilen yรถnetilen tรผr geรงersiz - - - - Invalid 'MarshalMode' value. - Geรงersiz 'MarshalMode' deฤŸeri. - - - - Specified marshaller type is invalid - Belirtilen hazฤฑrlayฤฑcฤฑ tรผrรผ geรงersiz - - - - Invalid 'NativeMarshallingAttribute' usage - Geรงersiz 'NativeMarshallingAttribute' kullanฤฑmฤฑ - - - - Marshaller type has incompatible method signatures - Sฤฑralayฤฑcฤฑ tรผrรผ uyumsuz metot imzalarฤฑ iรงeriyor - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - 'StringMarshalling' ve 'StringMarshallingCustomType' yapฤฑlandฤฑrmasฤฑ geรงersiz. - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - '{0}' metodundaki 'StringMarshalling' ve 'StringMarshallingCustomType' yapฤฑlandฤฑrmasฤฑ geรงersiz. {1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - 'StringMarshalling' 'StringMarshalling.Custom' olarak ayarlandฤฑฤŸฤฑnda 'StringMarshallingCustomType' belirtilmelidir. - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - 'StringMarshallingCustomType' belirtilirken 'StringMarshalling', 'StringMarshalling.Custom' olarak ayarlanmalฤฑdฤฑr. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - 'GetManagedValuesSource' tarafฤฑndan dรถndรผrรผlen 'ReadOnlySpan' รถฤŸe tรผrรผ, 'GetManagedValuesDestination' tarafฤฑndan dรถndรผrรผlen รถฤŸe tรผrรผyle aynฤฑ olmalฤฑdฤฑr. - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - 'GetManagedValuesSource' tarafฤฑndan dรถndรผrรผlen 'ReadOnlySpan' รถฤŸe tรผrรผ, 'GetManagedValuesDestination' tarafฤฑndan dรถndรผrรผlen รถฤŸe tรผrรผyle aynฤฑ olmalฤฑdฤฑr - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - 'CallerAllocatedBuffer' รถzelliฤŸini destekleyen 'LinearCollection' tipi bir yerel tรผrde, yรถnetilen tรผrรผ birinci parametre, 'Span<byte>' deฤŸerini ikinci parametre ve รถฤŸenin yerel boyutunu ise รผรงรผncรผ parametre olarak alan รผรง parametreli bir oluลŸturucu belirtilmelidir - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - '{0}' tรผrรผnde '{1}' iรงin 'CallerAllocatedBuffer' รถzelliฤŸiyle 'In' sฤฑralamasฤฑnฤฑn desteklendiฤŸi belirtiliyor, ancak '{1}', 'Span<byte>' ve 'int' parametrelerini dahil eden รผรง parametreli bir oluลŸturucu saฤŸlanmฤฑyor - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - Yรถnetilenden yรถnetilmeyene sฤฑralamayฤฑ destekleyen bitiลŸik bir koleksiyon sฤฑralayฤฑcฤฑ, 'ReadOnlySpan<>' dรถndรผren bir 'GetManagedValuesSource' ve 'Span<>' dรถndรผren bir 'GetUnmanagedValuesDestination' metodu saฤŸlamalฤฑdฤฑr. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - '{0}' tรผrรผ, '{1}' sฤฑralama modunu desteklediฤŸini belirtiyor, ancak 'ReadOnlySpan<>' dรถndรผren bir 'GetManagedValuesSource' ve 'Span<>' dรถndรผren bir ''GetUnmanagedValuesDestination' metodu saฤŸlamฤฑyor. - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - Yรถnetilmeyenden yรถnetilene sฤฑralamayฤฑ destekleyen bitiลŸik bir koleksiyon sฤฑralayฤฑcฤฑ, 'int' alan ve 'Span<>' dรถndรผren bir 'GetManagedValuesDestination' ile 'int' alan ve 'ReadOnlySpan<>' dรถndรผren bir 'GetUnmanagedValuesSource' metodu saฤŸlamalฤฑdฤฑr. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - '{0}' tรผrรผ, '{1}' sฤฑralama modunu desteklediฤŸini belirtiyor, ancak 'int' alan ve 'Span<>' dรถndรผren bir 'GetManagedValuesDestination' ile 'int' alan ve 'ReadOnlySpan<>' dรถndรผren bir 'GetUnmanagedValuesSource' metodu saฤŸlamฤฑyor. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - OluลŸturucunun belirli hazฤฑrlayฤฑcฤฑ tรผrlerde hangi yรถntemlerin kullanฤฑlabilir olduฤŸunu belirleyebilmesi iรงin hazฤฑrlayฤฑcฤฑ kapalฤฑ bir genel tรผr olmalฤฑdฤฑr veya yรถnetilen tรผrle aynฤฑ sayฤฑda genel parametreye sahip olmalฤฑdฤฑr. - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - GiriลŸ noktasฤฑ hazฤฑrlayฤฑcฤฑ tรผrรผ '{1}' iรงin yรถnetilen tรผr '{0}', kapalฤฑ bir genel tรผr olmalฤฑ, bir deฤŸer hazฤฑrlayฤฑcฤฑ olmasฤฑ durumunda yรถnetilen tรผrle aynฤฑ parametreye sahip olmalฤฑ, koleksiyon hazฤฑrlayฤฑcฤฑ olmasฤฑ durumunda ise ek genel parametreye sahip olmalฤฑdฤฑr. - - - - The managed type for a custom marshaller must be non-null. - ร–zel hazฤฑrlayฤฑcฤฑ iรงin yรถnetilen tรผr, null olmayan bir deฤŸer olmalฤฑdฤฑr. - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - GiriลŸ noktasฤฑ hazฤฑrlayฤฑcฤฑ tรผrรผ '{0}' iรงin yรถnetilen tรผr 'null' olmamalฤฑdฤฑr - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - '{1}' parametresi iรงin belirtilen 'MarshalAsAttribute' yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmiyor. Belirtilen yapฤฑlandฤฑrma gerekiyorsa, bunun yerine normal bir 'DllImport' kullanฤฑn. - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - '{1}' yรถnteminin dรถnรผลŸ deฤŸeri iรงin belirtilen 'MarshalAsAttribute' yapฤฑlandฤฑrmasฤฑ, kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmiyor. Belirtilen yapฤฑlandฤฑrma gerekiyorsa, bunun yerine normal bir 'DllImport' kullanฤฑn. - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - 'CustomMarshallerAttribute' iรงin 'marshalMode' baฤŸฤฑmsฤฑz deฤŸiลŸkeni 'MarshalMode' iรงin geรงerli bir sabit listesi deฤŸeri olmalฤฑdฤฑr. - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Hazฤฑrlayฤฑcฤฑ tรผrรผ kapalฤฑ bir genel tรผr olmalฤฑdฤฑr veya gรถsterilen kodun belirli bir รถrnek oluลŸturma kullanabilmesi iรงin yรถnetilen tรผrle aynฤฑ sayฤฑda genel parametreye sahip olmalฤฑdฤฑr. - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - GiriลŸ noktasฤฑ hazฤฑrlayฤฑcฤฑ tรผrรผ '{1}' tarafฤฑndan iลŸaret edilen hazฤฑrlayฤฑcฤฑ tรผrรผ '{0}', kapalฤฑ bir genel tรผr olmalฤฑdฤฑr veya yรถnetilen tรผrle aynฤฑ parametreye sahip olmalฤฑdฤฑr - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' รถฤŸesindeki 'marshallerType' parametresi 'null' olamaz. - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' รถฤŸesindeki 'marshallerType' parametresi 'null' olamaz - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - Sฤฑralayฤฑcฤฑ tรผrรผ ya durum bilgisi olmayan bir statik sฤฑnฤฑf ya da durum bilgisi olan bir deฤŸer tรผrรผ olmalฤฑdฤฑr. Statik olmayan sฤฑnฤฑfa izin verilmez. - - - - The type '{0}' must be a static class or a value type - '{0}' tรผrรผ statik bir sฤฑnฤฑf veya deฤŸer tรผrรผ olmalฤฑdฤฑr - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - 'System.Runtime.InteropServices.CustomMarshallerAttribute' deฤŸerine sahip bir tรผr, 'null' olmayan bir yรถnetilen tรผr belirtmelidir - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - Tรผr '{0}', tรผre uygulanan 'System.Runtime.InteropServices.CustomMarshallerAttribute' iรงinde yรถnetilen bir tรผr belirtmiyor - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - Hazฤฑrlayฤฑcฤฑ tรผrรผ kapalฤฑ bir genel tรผr olmalฤฑdฤฑr veya gรถsterilen kodun belirli bir รถrnek oluลŸturma kullanabilmesi iรงin yรถnetilen tรผrle aynฤฑ sayฤฑda genel parametreye sahip olmalฤฑdฤฑr. - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - Yรถnetilen tรผrรผ '{1}' iรงin hazฤฑrlayฤฑcฤฑ tรผrรผ '{0}', kapalฤฑ bir genel tรผr olmalฤฑ, bir deฤŸer hazฤฑrlayฤฑcฤฑ olmasฤฑ durumunda yรถnetilen tรผrle aynฤฑ parametreye sahip olmalฤฑ, koleksiyon hazฤฑrlayฤฑcฤฑ olmasฤฑ durumunda ise ek genel parametreye sahip olmalฤฑdฤฑr. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute, gรผvenli olmayan kod gerektiriyor. Projenin '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ile gรผncelleลŸtirilmesi gerekir. - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute, gรผvenli olmayan kod gerektiriyor. Projenin '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ile gรผncelleลŸtirilmesi gerekir. - - - - LibraryImportAttribute requires unsafe code. - LibraryImportAttribute, gรผvenli olmayan kod gerektiriyor. - - - - The return type the two method must be the expected type. - ฤฐki metodun dรถnรผลŸ tรผrรผ beklenen tรผr olmalฤฑdฤฑr. - - - - The return type of '{0}' must be '{1}' - '{0}' dรถnรผลŸ tรผrรผ, '{1}' olmalฤฑdฤฑr - - - - The return types of the two methods must be the same type. - ฤฐki yรถntemin dรถnรผลŸ tรผrleri aynฤฑ olmalฤฑdฤฑr. - - - - The return type of '{0}' must be the same type as the return type of '{1}' - '{0}' รถฤŸesinin dรถnรผลŸ tรผrรผ, '{1}' รถฤŸesinin dรถnรผลŸ tรผrรผyle aynฤฑ olmalฤฑdฤฑr - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - Durum bilgisi olan bir hazฤฑrlayฤฑcฤฑnฤฑn 'Free' adlฤฑ sฤฑfฤฑr parametreli hรผkรผmsรผz dรถnen bir รถrnek yรถntemi olmalฤฑdฤฑr. - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - '{0}' tรผrรผ durum bilgisi olan bir hazฤฑrlayฤฑcฤฑdฤฑr ve 'Free' adlฤฑ sฤฑfฤฑr parametreli hรผkรผmsรผz dรถnen bir รถrnek yรถntemine sahip deฤŸil - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - Yรถnetilenden yรถnetilmeyene hazฤฑrlamayฤฑ destekleyen durum bilgisi olan bir hazฤฑrlayฤฑcฤฑ, yรถnetilen deฤŸeri parametre olarak alan ve 'void' dรถndรผren bir 'FromManaged' รถrnek yรถntemi saฤŸlamalฤฑdฤฑr. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - '{0}' tรผrรผ, '{1}' hazฤฑrlama modunu '{2}' iรงin desteklediฤŸini belirtir ancak '{2}' deฤŸerini parametre olarak alan ve 'void' dรถndรผren 'FromManaged' adlฤฑ tek parametreli bir รถrnek yรถntemi saฤŸlamaz - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - Yรถnetimeyenden yรถnetilene hazฤฑrlamayฤฑ destekleyen durum bilgisi olan bir hazฤฑrlayฤฑcฤฑ, yรถnetilmeyen deฤŸeri parametre olarak alan ve 'void' dรถndรผren bir 'FromUnmanaged' รถrnek yรถntemi saฤŸlamalฤฑdฤฑr. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - '{0}' tรผrรผ, '{1}' hazฤฑrlama modunu '{2}' iรงin desteklediฤŸini belirtir ancak 'unmanaged' deฤŸerini parametre olarak alan ve 'void' dรถndรผren 'FromUnmanaged' adlฤฑ tek parametreli bir รถrnek yรถntemi saฤŸlamaz - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - Yรถnetilmeyenden yรถnetilene hazฤฑrlamayฤฑ destekleyen durum bilgisi olan bir hazฤฑrlayฤฑcฤฑ, parametre almayan ve yรถnetilen tรผr dรถndรผren bir 'Tomanaged' รถrnek yรถntemi saฤŸlamalฤฑdฤฑr. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - '{0}' tรผrรผ, '{2}' iรงin '{1}' รถฤŸesini desteklediฤŸini belirtir ancak hazฤฑrlayฤฑcฤฑ iรงin '{2}' dรถndรผren 'ToManaged' adlฤฑ sฤฑfฤฑr parametreli bir รถrnek yรถntemi saฤŸlamaz - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - Yรถnetilenden yรถnetilmeyene hazฤฑrlamayฤฑ destekleyen durum bilgisi olan bir hazฤฑrlayฤฑcฤฑ, parametre almayan ve 'unmanaged' tรผr dรถndรผren bir 'ToUnmanaged' รถrnek yรถntemi saฤŸlamalฤฑdฤฑr. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - '{0}' tรผrรผ, '{2}' iรงin '{1}' รถฤŸesini desteklediฤŸini belirtir ancak hazฤฑrlayฤฑcฤฑ iรงin 'unmanaged' tรผrรผnรผ dรถndรผren 'ToUnmanaged' adlฤฑ sฤฑfฤฑr parametreli bir รถrnek yรถntemi saฤŸlamaz - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - Sฤฑralayฤฑcฤฑ tรผrรผnde 'Span<T>' alan bir 'AllocateContainerForUnmanagedElements' yรถntemi saฤŸlanarak 'ร‡aฤŸฤฑran Tarafฤฑndan Ayrฤฑlan Arabellek ile Yรถnetilenden Yรถnetilmeyene' ลŸekli kullanฤฑldฤฑฤŸฤฑnda tรผr, รงaฤŸฤฑran tarafฤฑndan ayrฤฑlan arabellekteki รถฤŸe sayฤฑsฤฑnฤฑ saฤŸlamak iรงin statik bir 'BufferSize' รถzelliฤŸi belirtmelidir. - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - '{0}' sฤฑralayฤฑcฤฑ tรผrรผ, รงaฤŸฤฑran tarafฤฑndan ayrฤฑlan arabelleฤŸin boyutunu belirtmek iรงin statik bir salt okunur 'int' 'BufferSize' รถzelliฤŸine sahip olmalฤฑdฤฑr รงรผnkรผ รงaฤŸฤฑran tarafฤฑndan ayrฤฑlan 'Span<{1}>' alan bir 'AllocateContainerForUnmanagedElements' yรถntemine sahiptir. - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - Yรถnetilenden yรถnetilmeyene sฤฑralamayฤฑ destekleyen bitiลŸik bir koleksiyon sฤฑralayฤฑcฤฑ, yรถnetilen deฤŸeri parametre olarak alan ve 'ReadOnlySpan<>' dรถndรผren bir 'GetManagedValuesSource'' ile yรถnetilmeyen deฤŸeri parametre olarak alan ve 'Span<>' dรถndรผren bir 'GetUnmanagedValuesDestination' metodu saฤŸlamalฤฑdฤฑr - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - '{0}' tรผrรผ, '{1}' sฤฑralama modunu desteklediฤŸini belirtiyor, ancak '{2}' รถฤŸesini parametre olarak alan ve 'ReadOnlySpan<>' dรถndรผren bir 'GetManagedValuesSource ile yรถnetilmeyen deฤŸeri parametre olarak' alan ve 'Span<>' dรถndรผren bir 'GetUnmanagedValuesDestination' metodu saฤŸlamฤฑyor. - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - Yรถnetilmeyenden yรถnetilene sฤฑralamayฤฑ destekleyen bitiลŸik bir koleksiyon sฤฑralayฤฑcฤฑ, yรถnetilen deฤŸeri alan ve 'Span<>' dรถndรผren bir 'GetManagedValuesDestination' ile yรถnetilmeyen deฤŸeri ve 'int' alan ve 'ReadOnlySpan<>' dรถndรผren bir 'GetUnmanagedValuesSource' metodu saฤŸlamalฤฑdฤฑr. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - '{0}' tรผrรผ, '{1}' sฤฑralama modunu desteklediฤŸini belirtiyor, ancak '{2}' alan ve 'Span<>' dรถndรผren bir 'GetManagedValuesDestination' ile yรถnetilmeyen deฤŸeri ve 'int' alan ve 'ReadOnlySpan<>' dรถndรผren bir 'GetUnmanagedValuesSource' metodu saฤŸlamฤฑyor. - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - Yรถnetilenden yรถnetilmeyene sฤฑralamayฤฑ destekleyen, durum bilgisi olmayan bitiลŸik bir koleksiyon sฤฑralayฤฑcฤฑ, yรถnetilmeyen tรผrรผ ilk parametre olarak ve รถฤŸe sayฤฑsฤฑnฤฑ 'int' parametresi olarak alan bir 'AllocateContainerForManagedElements' yรถntemi saฤŸlamalฤฑdฤฑr. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - '{0}' tรผrรผ, '{2}' iรงin '{1}' sฤฑralama modunu desteklediฤŸini belirtiyor, ancak yรถnetilmeyen tรผrรผ birinci parametre ve 'int' รถฤŸesini ikini parametre olarak alan iki parametreli bir 'AllocateContainerForManagedElements' metodu saฤŸlamฤฑyor - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - Yรถnetilenden yรถnetilmeyene sฤฑralamayฤฑ destekleyen, durum bilgisi olmayan bitiลŸik bir koleksiyon sฤฑralayฤฑcฤฑ, yรถnetilen tรผrรผ ilk parametre olarak ve รถฤŸe sayฤฑsฤฑnฤฑ 'out int' parametresi olarak alan bir 'AllocateContainerForUnmanagedElements' yรถntemi saฤŸlamalฤฑdฤฑr. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - '{0}' tรผrรผ, '{2}' iรงin '{1}' sฤฑralama modunu desteklediฤŸini belirtiyor, ancak '{2}' รถฤŸesini birinci parametre ve 'out int' รถฤŸesini ikini parametre olarak alan iki parametreli bir 'AllocateContainerForUnmanagedElements' metodu saฤŸlamฤฑyor. - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - Yรถnetilmeyenden yรถnetilene sฤฑralamayฤฑ destekleyen, durum bilgisi olmayan bir deฤŸer sฤฑralayฤฑcฤฑ, yรถnetilmeyen deฤŸeri parametre olarak alan ve yรถnetilen tรผrรผnde bir deฤŸer dรถndรผren 'ConvertToManaged' yรถntemi saฤŸlamalฤฑdฤฑr. - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - '{0}' tรผrรผ, '{1}' sฤฑralama modunu desteklediฤŸini belirtiyor, ancak yรถnetilmeyen tรผrรผ parametre olarak alan ve '{2}' dรถndรผren bir 'ConvertToManaged' metodu saฤŸlamฤฑyor. - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - Yรถnetilenden yรถnetilmeyene sฤฑralamayฤฑ destekleyen, durum bilgisi olmayan bir deฤŸer sฤฑralayฤฑcฤฑ, yรถnetilen deฤŸeri parametre olarak alan ve 'unmanaged' tรผrรผnde bir deฤŸer dรถndรผren tek parametreli bir 'ConvertToUnmanaged' yรถntemi saฤŸlamalฤฑdฤฑr. - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - '{0}' tรผrรผ, '{2}' iรงin '{1}' sฤฑralama modunu desteklediฤŸini belirtiyor, ancak '{2}' รถฤŸesini parametre olarak alan ve 'unmanaged' tรผrรผnde bir deฤŸer dรถndรผren tek parametreli bir 'ConvertToUnmanaged' metodu saฤŸlamฤฑyor. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - 'ConvertToUnmanaged' dรถnรผลŸ tรผrรผ ve ''ConvertToManaged' parametre tรผrรผ aynฤฑ olmalฤฑdฤฑr. - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - 'ConvertToUnmanaged' dรถnรผลŸ tรผrรผ ve ''ConvertToManaged' parametre tรผrรผ aynฤฑ olmalฤฑdฤฑr - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - ร–zel sฤฑralayฤฑcฤฑnฤฑn yรถnetilmeyen tรผrรผ, C# yรถnetilmeyen bir tรผr olmalฤฑdฤฑr. - - - - The return type of '{0}' must be unmanaged - '{0}' dรถnรผลŸ tรผrรผ, yรถnetilmeyen olmalฤฑdฤฑr - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - Statik 'GetPinnableReference' yรถnteminin sabitlenmiลŸ sonucunun sabitlendikten sonra yerel baฤŸlama geรงirilebilmesi iรงin 'void*', tรผre atanabilir olmalฤฑdฤฑr. - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - Yรถnetilen tรผr '{1}', statik 'GetPinnableReference' yรถntemine sahip olduฤŸundan 'void*', '{0}' tรผrรผne atanabilir olmalฤฑdฤฑr. - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - Belirli bir tรผr iรงin bir giriลŸ noktasฤฑ tรผrรผnรผn, bu tรผrรผ yรถnetilen tรผr olarak belirten 'System.Runtime.InteropServices.CustomMarshallerAttribute' deฤŸerini taลŸฤฑmalฤฑdฤฑr. - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - Tรผr '{1}' iรงin giriลŸ noktasฤฑ hazฤฑrlayฤฑcฤฑ tรผrรผ '{0}', bu tรผrรผ yรถnetilen tรผr olarak belirten en az bir 'System.Runtime.InteropServices.CustomMarshallerAttribute' tรผrรผ olmalฤฑdฤฑr - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - 'Out' yรถnรผnde sฤฑralamayฤฑ destekleyen 'Value' veya 'LinearCollection' tipi yerel tรผrde, yรถnetilen tรผrรผ dรถndรผren bir 'ToManaged' metodu saฤŸlanmalฤฑdฤฑr. - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - '{0}' tรผrรผ, 'Out' yรถnรผnde sฤฑralamayฤฑ desteklediฤŸini belirtiyor, ancak yรถnetilen tรผrรผ dรถndรผren bir 'ToManaged' metodu saฤŸlamฤฑyor - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - 'ToUnmanaged' dรถnรผลŸ tรผrรผ ve 'FromUnmanaged' parametre tรผrรผ aynฤฑ olmalฤฑdฤฑr. - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - 'ToUnmanaged' dรถnรผลŸ tรผrรผ ve 'FromUnmanaged' parametre tรผrรผ aynฤฑ olmalฤฑdฤฑr - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - Kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmeyen tรผrler iรงin, elde edilen P/Invoke, belirtilen tรผrรผ sฤฑralamak iรงin temel alฤฑnan รงalฤฑลŸma zamanฤฑnฤฑ kullanฤฑr. - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - '{0}' tรผrรผ, kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmiyor. OluลŸturulan kaynak, '{1}' parametresinin sฤฑralamasฤฑnฤฑ iลŸlemez. - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} OluลŸturulan kaynak '{1}' parametresinin sฤฑralamasฤฑnฤฑ iลŸlemez. - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - '{0}' tรผrรผ, kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmiyor. OluลŸturulan kaynak, '{1}' metodunun dรถnรผลŸ deฤŸerinin sฤฑralamasฤฑnฤฑ iลŸlemez. - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} OluลŸturulan kaynak, '{1}' metodunun dรถnรผลŸ deฤŸerinin sฤฑralamasฤฑnฤฑ iลŸlemez. - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - Belirtilen tรผr, kaynak tarafฤฑndan oluลŸturulan P/Invokes tarafฤฑndan desteklenmiyor - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - Gereksiz sฤฑralama bilgileri saฤŸlandฤฑ. Bu sฤฑralama bilgileri, uygulama davranฤฑลŸฤฑnda herhangi bir deฤŸiลŸiklik olmadan kaldฤฑrฤฑlabilir. - - - - Unnecessary marshalling info was provided and can be removed. - Gereksiz sฤฑralama bilgileri saฤŸlandฤฑ ve kaldฤฑrฤฑlabilir. - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - '{1}' parametresi iรงin gereksiz '{0}' sฤฑralama bilgisi saฤŸlandฤฑ - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - '{1}' yรถnteminin dรถnรผลŸ tรผrรผ iรงin gereksiz '{0}' sฤฑralama bilgisi saฤŸlandฤฑ - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - 'CallerAllocatedBuffer' รถzelliฤŸini destekleyen bir 'Value' tipi yerel tรผrรผn, yรถnetilen tรผrรผ ve 'unmanaged' tรผrรผnรผn 'Span' deฤŸerini parametre olarak alan iki parametreli bir oluลŸturucu saฤŸlamasฤฑ gerekir - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - '{0}' tรผrรผnde '{1}' iรงin 'CallerAllocatedBuffer' รถzelliฤŸiyle 'In' sฤฑralamasฤฑnฤฑn desteklendiฤŸi belirtiliyor, ancak parametre olarak '{1}' ve 'unmanaged' tรผrรผnรผn 'Span' deฤŸerlerini alan iki parametreli bir oluลŸturucu saฤŸlanmฤฑyor - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - 'Value' tipi yerel tรผrรผn, yรถnetilen tรผrรผ parametre olarak alan tek parametreli bir oluลŸturucu saฤŸlamasฤฑ gerekir - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - '{0}' tรผrรผ '{1}' iรงin 'In' sฤฑralamasฤฑnฤฑ desteklediฤŸini belirtiyor, ancak parametre olarak '{1}' deฤŸerini alan tek parametreli bir oluลŸturucu saฤŸlamฤฑyor - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.zh-Hans.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.zh-Hans.xlf deleted file mode 100644 index 3933aae2acd14..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.zh-Hans.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - ๆทปๅŠ ็ผบๅฐ‘็š„่‡ชๅฎšไน‰็ฑปๅž‹ๅฐ้€็จ‹ๅบๆˆๅ‘˜ - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - ๅฆ‚ๆžœ้€š่ฟ‡ๆไพ›ไปŽๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹ๆๅ–โ€œSpan<T>โ€็š„โ€œFromManagedโ€ๆ–นๆณ•ๆฅไฝฟ็”จโ€œManaged to Unmanaged with Caller-Allocated Bufferโ€ๅฝข็Šถ๏ผŒๅˆ™่ฏฅ็ฑปๅž‹ๅฟ…้กปๆไพ›ไธ€ไธช้™ๆ€็š„โ€œBufferSizeโ€ๅฑžๆ€งๆ‰่ƒฝๆไพ›ๅทฒๅˆ†้…่ฐƒ็”จๆ–น็ผ“ๅ†ฒใ€‚ - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - ๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹โ€œ{0}โ€ๅฟ…้กปๆ‹ฅๆœ‰้™ๆ€็š„ๅช่ฏปโ€œintโ€โ€œBufferSizeโ€ๅฑžๆ€ง๏ผŒๆ‰่ƒฝๆŒ‡ๅฎšๅทฒๅˆ†้…่ฐƒ็”จๆ–น็ผ“ๅ†ฒ็š„ๅคงๅฐ๏ผŒๅ› ไธบๅฎƒๅ…ทๆœ‰ๆๅ–ๅทฒๅˆ†้…่ฐƒ็”จๆ–นโ€œSpan<{1}>โ€็š„ FromManaged ๆ–นๆณ• - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - ็”Ÿๆˆ็š„ โ€œDllImportAttributeโ€ ๅฐ†ไธๅ…ทๆœ‰ไธŽโ€œ{0}โ€ๅฏนๅบ”็š„ๅ€ผใ€‚ - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - "{0}" ๅœจ "DllImportAtttribute" ไธญๆฒกๆœ‰็ญ‰ๆ•ˆ้กน๏ผŒๅนถไธ”ๅฐ†ไธไผš่ขซ่ฝฌๅ‘ - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - ๆŒ‡ๅฎš็š„ โ€œLibraryImportAttributeโ€ ๅ‚ๆ•ฐๆ— ๆณ•่ฝฌๅ‘ๅˆฐ โ€œDllImportAttributeโ€ - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - ๆบ็”Ÿๆˆ็š„ P/Invoke ๅฐ†ๅฟฝ็•ฅไปปไฝ•ไธๅ—ๆ”ฏๆŒ็š„้…็ฝฎใ€‚ - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒโ€œ{0}โ€้…็ฝฎใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš้…็ฝฎ๏ผŒ่ฏทๆ”น็”จๅธธ่ง„็š„โ€œDllImportโ€ใ€‚ - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - ๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒๆŒ‡ๅฎš็š„ๅฐ้€้…็ฝฎใ€‚{0}ใ€‚ - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒๅ‚ๆ•ฐโ€œ{1}โ€็š„ๆŒ‡ๅฎšโ€œ{0}โ€้…็ฝฎใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš้…็ฝฎ๏ผŒ่ฏทๆ”น็”จๅธธ่ง„็š„โ€œDllImportโ€ใ€‚ - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒๆ–นๆณ•โ€œ{1}โ€่ฟ”ๅ›žๅ€ผ็š„ๆŒ‡ๅฎšโ€œ{0}โ€้…็ฝฎใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš้…็ฝฎ๏ผŒ่ฏทๆ”น็”จๅธธ่ง„็š„โ€œDllImportโ€ใ€‚ - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - ๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒโ€œ{1}โ€็š„ๆŒ‡ๅฎšๅ€ผโ€œ{0}โ€ใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎšๅ€ผ๏ผŒ่ฏทๆ”น็”จๅธธ่ง„็š„โ€œDllImportโ€ใ€‚ - - - - Specified configuration is not supported by source-generated P/Invokes. - ๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒๆŒ‡ๅฎš็š„้…็ฝฎใ€‚ - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - ๅฐ† โ€œPreserveSigโ€ ่ฎพ็ฝฎไธบ โ€œfalseโ€ ็š„ P/Invoke ่‡ชๅŠจ่ฝฌๆขไธบๆบ็”Ÿๆˆ็š„ P/Invoke ๅฏ่ƒฝไผšไบง็”Ÿๆ— ๆ•ˆไปฃ็  - - - - Convert to 'LibraryImport' - ่ฝฌๆขไธบ โ€œLibraryImportโ€ - - - - Convert to 'LibraryImport' and enable unsafe code - ่ฝฌๆขไธบ โ€œLibraryImportโ€ ๅนถๅฏ็”จไธๅฎ‰ๅ…จไปฃ็  - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ไฝฟ็”จ โ€œLibraryImportAttributeโ€ ่€Œไธๆ˜ฏ โ€œDllImportAttributeโ€ ๅœจ็ผ–่ฏ‘ๆ—ถ็”Ÿๆˆ P/Invoke ๅฐ้€ไปฃ็  - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - ๅฐ†ๆญค API ่ฝฌๆขไธบ โ€œLibraryImportโ€ ๅฐ†้œ€่ฆ้ขๅค–็š„ไปฃ็ ๆฅไธบๆŸไบ›ๅ‚ๆ•ฐๆไพ›่‡ชๅฎšไน‰ๅฐ้€็จ‹ๅบใ€‚ - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ไฝฟ็”จ โ€œLibraryImportAttributeโ€ ่€Œไธๆ˜ฏ โ€œDllImportAttributeโ€ ๆ ‡่ฎฐๆ–นๆณ•โ€œ{0}โ€๏ผŒไปฅไพฟๅœจ็ผ–่ฏ‘ๆ—ถ็”Ÿๆˆ P/Invoke ๅฐ้€ไปฃ็  - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ไฝฟ็”จ โ€œLibraryImportAttributeโ€ ่€Œไธๆ˜ฏ โ€œDllImportAttributeโ€ ๅœจ็ผ–่ฏ‘ๆ—ถ็”Ÿๆˆ P/Invoke ๅฐ้€ไปฃ็  - - - - Convert to 'LibraryImport' with '{0}' suffix - ่ฝฌๆขไธบๅธฆโ€œ{0}โ€ๅŽ็ผ€็š„ โ€œLibraryImportโ€ - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - ่ฝฌๆขไธบๅ…ทๆœ‰โ€œ{0}โ€ๅŽ็ผ€็š„ โ€œLibraryImportโ€ ๅนถๅฏ็”จไธๅฎ‰ๅ…จ็š„ไปฃ็  - - - - Marshaller type does not have the required shape - ๅฐ้€็จ‹ๅบ็ฑปๅž‹ๆฒกๆœ‰ๅฟ…้œ€็š„ๅฝข็Šถ - - - - A marshaller for an element scenario cannot be stateful. - ๅ…ƒ็ด ๆ–นๆกˆ็š„ๅฐ้€็จ‹ๅบไธ่ƒฝๆ˜ฏ็›‘ๆŽง็Šถๆ€็š„ใ€‚ - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - ๆŒ‡ๅฎš็š„ๅฐ้€็จ‹ๅบ็ฑปๅž‹โ€œ{0}โ€ๆ˜ฏ็›‘ๆŽง็Šถๆ€็š„ๅฐ้€็จ‹ๅบ๏ผŒไฝ†ๅœจๆไพ›็š„ๅฐ้€ๆจกๅผโ€œ{1}โ€ไธญไธๅ…่ฎธไฝฟ็”จ็›‘ๆŽง็Šถๆ€็š„ๅฐ้€็จ‹ๅบ - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - ็ฌฌไธ€ไธชๆ–นๆณ•่ฟ”ๅ›ž็š„่ทจๅบฆ็š„ๅ…ƒ็ด ็ฑปๅž‹ๅฟ…้กปไธŽ็ฌฌไบŒไธชๆ–นๆณ•่ฟ”ๅ›ž็š„่ทจๅบฆ็š„ๅ…ƒ็ด ็ฑปๅž‹ไธบ็›ธๅŒ็š„็ฑปๅž‹ใ€‚ - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - โ€œ{0}โ€่ฟ”ๅ›ž็š„่ทจๅบฆ็š„ๅ…ƒ็ด ็ฑปๅž‹ๅฟ…้กปไธŽโ€œ{1}โ€่ฟ”ๅ›ž็š„่ทจๅบฆ็š„ๅ…ƒ็ด ็ฑปๅž‹ไธบ็›ธๅŒ็š„็ฑปๅž‹ใ€‚ - - - - An entry-point type for marshalling a given type must not be 'null'. - ็”จไบŽๅฐ้€็ป™ๅฎš็ฑปๅž‹็š„ๅ…ฅๅฃ็‚น็ฑปๅž‹ไธ่ƒฝไธบโ€œnullโ€ใ€‚ - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - ็ฑปๅž‹โ€œ{0}โ€็š„ๅ…ฅๅฃ็‚นๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹ไธ่ƒฝไธบโ€œnullโ€ - - - - The first parameter of the first method must be the same type as the return types of the second method. - ็ฌฌไธ€ไธชๆ–นๆณ•็š„็ฌฌไธ€ไธชๅ‚ๆ•ฐๅฟ…้กปไธŽ็ฌฌไบŒไธชๆ–นๆณ•็š„่ฟ”ๅ›ž็ฑปๅž‹ไธบ็›ธๅŒ็š„็ฑปๅž‹ใ€‚ - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - โ€œ{0}โ€็š„็ฌฌไธ€ไธชๅ‚ๆ•ฐๅฟ…้กปไธŽโ€œ{1}โ€็š„่ฟ”ๅ›ž็ฑปๅž‹ไธบ็›ธๅŒ็š„็ฑปๅž‹ - - - - The first parameters of the two methods must be the same type. - ่ฟ™ไธค็งๆ–นๆณ•็š„็ฌฌไธ€ไธชๅ‚ๆ•ฐๅฟ…้กปไธบ็›ธๅŒ็š„็ฑปๅž‹ใ€‚ - - - - The first parameter of '{0}' and '{1}' must be the same type - โ€œ{0}โ€ๅ’Œโ€œ{1}โ€็š„็ฌฌไธ€ไธชๅ‚ๆ•ฐๅฟ…้กปไธบ็›ธๅŒ็š„็ฑปๅž‹ - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - ไธๆ”ฏๆŒ้‡่ฝฝโ€œFromUnmanagedโ€ๆ–นๆณ•๏ผŒๅ› ไธบๆŸไบ›ๅฝข็Šถๆ— ๆณ•ๅŒบๅˆ†้‡่ฝฝใ€‚ - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - ็ฑปๅž‹โ€œ{0}โ€้‡่ฝฝ โ€œFromUnmanagedโ€ ๆ–นๆณ•๏ผŒ่ฟ™ๅœจ่‡ชๅฎšไน‰ๅฐ้€็จ‹ๅบไธญไธๅ—ๆ”ฏๆŒ - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - โ€œGetPinnableReferenceโ€ ็š„่ฟ”ๅ›ž็ฑปๅž‹(่€ƒ่™‘ๅˆฐ โ€œrefโ€ ไน‹ๅŽ)ๅฟ…้กปๆ˜ฏ blittable ็š„ใ€‚ - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - โ€œGetPinnableReferenceโ€ ๆ–นๆณ•็š„่ฟ”ๅ›ž็ฑปๅž‹็š„ๅ–ๆถˆๅผ•็”จ็ฑปๅž‹ๅฟ…้กปๆ˜ฏ blittable - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - ๆ–นๆณ•โ€œ{0}โ€ๅŒ…ๅซๅœจๆœชๆ ‡่ฎฐไธบ โ€œpartialโ€ ็š„็ฑปๅž‹โ€œ{1}โ€ไธญใ€‚P/Invoke ๆบ็”Ÿๆˆๅฐ†ๅฟฝ็•ฅๆ–นๆณ•โ€œ{0}โ€ใ€‚ - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - ๆ ‡่ฎฐไธบ โ€œLibraryImportAttributeโ€ ็š„ๆ–นๆณ•ๅบ”ไธบ โ€œstaticโ€ใ€โ€œpartialโ€ ๅ’Œ้žๆณ›ๅž‹ใ€‚P/Invoke ๆบ็”Ÿๆˆๅฐ†ๅฟฝ็•ฅ้žโ€œstaticโ€ใ€โ€œnon--partialโ€ ๆˆ–ๆณ›ๅž‹็š„ๆ–นๆณ•ใ€‚ - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - ๅœจๆ ‡่ฎฐไธบ โ€œLibraryImportAttributeโ€ ๆ—ถ๏ผŒๆ–นๆณ•โ€œ{0}โ€ๅบ”ไธบ โ€œstaticโ€ใ€โ€œpartialโ€ ๅ’Œ้žๆณ›ๅž‹ใ€‚P/Invoke ๆบ็”Ÿๆˆๅฐ†ๅฟฝ็•ฅๆ–นๆณ•โ€œ{0}โ€ใ€‚ - - - - Invalid 'CustomMarshallerAttribute' usage - โ€œCustomMarshallerAttributeโ€็”จๆณ•ๆ— ๆ•ˆ - - - - Invalid 'LibraryImportAttribute' usage - โ€œLibraryImportAttributeโ€ ็”จๆณ•ๆ— ๆ•ˆ - - - - Specified managed type is invalid - ๆŒ‡ๅฎš็š„ๆ‰˜็ฎก็ฑปๅž‹ๆ— ๆ•ˆ - - - - Invalid 'MarshalMode' value. - โ€œMarshalModeโ€ๅ€ผๆ— ๆ•ˆใ€‚ - - - - Specified marshaller type is invalid - ๆŒ‡ๅฎš็š„ๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹ๆ— ๆ•ˆ - - - - Invalid 'NativeMarshallingAttribute' usage - โ€œNativeMarshallingAttributeโ€็”จๆณ•ๆ— ๆ•ˆ - - - - Marshaller type has incompatible method signatures - ๅฐ้€็จ‹ๅบ็ฑปๅž‹ๅ…ทๆœ‰ไธๅ…ผๅฎน็š„ๆ–นๆณ•็ญพๅ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - โ€œStringMarshallingโ€ ๅ’Œ โ€œStringMarshallingCustomTypeโ€ ็š„้…็ฝฎๆ— ๆ•ˆใ€‚ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - ๆ–นๆณ•โ€œ{0}โ€ไธŠ็š„ โ€œStringMarshallingโ€ ๅ’Œ โ€œStringMarshallingCustomTypeโ€ ็š„้…็ฝฎๆ— ๆ•ˆใ€‚{1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - ๅœจ โ€œStringMarshallingโ€ ่ฎพ็ฝฎไธบ โ€œStringMarshalling.Customโ€ ๆ—ถ๏ผŒๅฟ…้กปๆŒ‡ๅฎš โ€œStringMarshallingCustomTypeโ€ใ€‚ - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - ๅœจๆŒ‡ๅฎš โ€œStringMarshallingCustomTypeโ€ ๆ—ถ๏ผŒๅบ”ๅฐ† โ€œStringMarshallingโ€ ่ฎพ็ฝฎไธบ โ€œStringMarshalling.Customโ€ใ€‚ - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - โ€œGetManagedValuesSourceโ€ ่ฟ”ๅ›ž็š„ โ€œReadOnlySpanโ€ ็š„ๅ…ƒ็ด ็ฑปๅž‹ๅฟ…้กปไธŽ โ€œGetManagedValuesDestinationโ€ ่ฟ”ๅ›ž็š„ๅ…ƒ็ด ็ฑปๅž‹็›ธๅŒใ€‚ - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - โ€œGetManagedValuesSourceโ€ ่ฟ”ๅ›ž็š„ โ€œReadOnlySpanโ€ ็š„ๅ…ƒ็ด ็ฑปๅž‹ๅฟ…้กปไธŽ โ€œGetManagedValuesDestinationโ€ ่ฟ”ๅ›ž็š„ๅ…ƒ็ด ็ฑปๅž‹็›ธๅŒ - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - ๆ”ฏๆŒ โ€œCallerAllocatedBufferโ€ ๅŠŸ่ƒฝ็š„ โ€œLinearCollectionโ€ ็ง็ฑปๆœฌๆœบ็ฑปๅž‹ๅฟ…้กปๆไพ›ไธ€ไธชไธ‰ๅ‚ๆ•ฐๆž„้€ ๅ‡ฝๆ•ฐ๏ผŒ่ฏฅๆž„้€ ๅ‡ฝๆ•ฐๅฐ†ๆ‰˜็ฎก็ฑปๅž‹ไฝœไธบ็ฌฌไธ€ไธชๅ‚ๆ•ฐใ€โ€œSpan<byte>โ€ ไฝœไธบ็ฌฌไบŒไธชๅ‚ๆ•ฐ๏ผŒๅนถๅฐ†ๅ…ƒ็ด ๆœฌๆœบๅคงๅฐไฝœไธบ็ฌฌไธ‰ไธชๅ‚ๆ•ฐ - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒไฝฟ็”จ โ€œCallerAllocatedBufferโ€ ๅŠŸ่ƒฝๅฏนโ€œ{1}โ€่ฟ›่กŒ โ€œInโ€ ๅฐ้€๏ผŒไฝ†ไธๆไพ›้‡‡็”จโ€œ{1}โ€ใ€โ€œSpan<byte>โ€ ๅ’Œ โ€œintโ€ ็š„ไธ‰ๅ‚ๆ•ฐๆž„้€ ๅ‡ฝๆ•ฐ - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - ๆ”ฏๆŒไปŽๆ‰˜็ฎกๅˆฐ้žๆ‰˜็ฎก็š„ๅฐ้€็š„่ฟž็ปญ้›†ๅˆๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ›่ฟ”ๅ›žโ€œReadOnlySpan<>โ€็š„โ€œGetManagedValuesSourceโ€ๅ’Œ่ฟ”ๅ›žโ€œSpan<>โ€็š„โ€œGetUnmanagedValuesDestinationโ€ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ไธๆไพ›่ฟ”ๅ›žโ€œReadOnlySpan<>โ€็š„โ€œGetManagedValuesSourceโ€ๅ’Œ่ฟ”ๅ›žโ€œSpan<>โ€็š„โ€œGetUnmanagedValuesDestinationโ€ๆ–นๆณ• - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - ๆ”ฏๆŒไปŽ้žๆ‰˜็ฎกๅฐ้€ๅฐ้€ๅˆฐๆ‰˜็ฎก็š„่ฟž็ปญ้›†ๅˆๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ›้‡‡็”จโ€œintโ€ๅนถ่ฟ”ๅ›žโ€œSpan<>โ€็š„โ€œGetManagedValuesDestinationโ€ๅ’Œ้‡‡็”จโ€œintโ€ๅนถ่ฟ”ๅ›žโ€œReadOnlySpan<>โ€็š„โ€œGetUnmanagedValuesSourceโ€ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ไธๆไพ›้‡‡็”จโ€œintโ€ๅนถ่ฟ”ๅ›žโ€œSpan<>โ€็š„โ€œGetManagedValuesDestinationโ€ๅ’Œ้‡‡็”จโ€œintโ€ๅนถ่ฟ”ๅ›žโ€œReadOnlySpan<>โ€็š„โ€œGetUnmanagedValuesSourceโ€ๆ–นๆณ• - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - ๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹ๅฟ…้กปๆ˜ฏๅฐ้—ญๆณ›ๅž‹ๆˆ–ๅ…ทๆœ‰ไธŽๆ‰˜็ฎก็ฑปๅž‹็›ธๅŒ็š„ๆณ›ๅž‹ๅ‚ๆ•ฐ๏ผŒไปฅไพฟ็”Ÿๆˆๅ™จๅฏไปฅ็กฎๅฎšๅ“ชไบ›ๆ–นๆณ•ๅฏ็”จไบŽ็‰นๅฎšๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹ใ€‚ - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - ้€‚็”จไบŽๅ…ฅๅฃ็‚นๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹โ€œ{1}โ€็š„ๆ‰˜็ฎก็ฑปๅž‹โ€œ{0}โ€ๅฟ…้กปๆ˜ฏๅฐ้—ญๅผๆณ›ๅž‹็ฑปๅž‹๏ผŒๅฆ‚ๆžœๆ‰˜็ฎก็ฑปๅž‹ๆ˜ฏๅ€ผๅฐ้€ๅค„็†็จ‹ๅบ๏ผŒๅˆ™่ฏฅ็ฑปๅž‹ๅฟ…้กปไธŽๆ‰˜็ฎก็ฑปๅž‹ๅ…ทๆœ‰็›ธๅŒ็š„ arity๏ผ›ๅฆ‚ๆžœๆ‰˜็ฎก็ฑปๅž‹ๆ˜ฏ้›†ๅˆๅฐ้€ๅค„็†็จ‹ๅบ๏ผŒๅˆ™ๅฎƒๅคšๅ…ทๆœ‰ไธ€ไธชๆณ›ๅž‹ๅ‚ๆ•ฐใ€‚ - - - - The managed type for a custom marshaller must be non-null. - ่‡ชๅฎšไน‰ๅฐ้€ๅค„็†็จ‹ๅบ็š„ๆ‰˜็ฎก็ฑปๅž‹ๅฟ…้กปไธบ้ž nullใ€‚ - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - ๅ…ฅๅฃ็‚นๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹โ€œ{0}โ€็š„ๆ‰˜็ฎก็ฑปๅž‹ไธ่ƒฝไธบโ€œnullโ€ - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒๅ‚ๆ•ฐโ€œ{1}โ€็š„ๆŒ‡ๅฎšโ€œMarshalAsAttributeโ€้…็ฝฎใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš้…็ฝฎ๏ผŒ่ฏทๆ”น็”จๅธธ่ง„็š„โ€œDllImportโ€ใ€‚ - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒๆ–นๆณ•โ€œ{1}โ€่ฟ”ๅ›žๅ€ผ็š„ๆŒ‡ๅฎšโ€œMarshalAsAttributeโ€้…็ฝฎใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš้…็ฝฎ๏ผŒ่ฏทๆ”น็”จๅธธ่ง„็š„โ€œDllImportโ€ใ€‚ - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - โ€œCustomMarshallerAttributeโ€็š„โ€œmarshalModeโ€ๅ‚ๆ•ฐๅฟ…้กปๆ˜ฏโ€œMarshalModeโ€็š„ๆœ‰ๆ•ˆๆžšไธพๅ€ผใ€‚ - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - ๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹ๅฟ…้กปๆ˜ฏๅฐ้—ญๆณ›ๅž‹ๆˆ–ๅ…ทๆœ‰ไธŽๆ‰˜็ฎก็ฑปๅž‹็›ธๅŒๆ•ฐ็›ฎ็š„ๆณ›ๅž‹ๅ‚ๆ•ฐ๏ผŒไปฅไพฟๅ‘ๅ‡บ็š„ไปฃ็ ๅฏไปฅไฝฟ็”จ็‰นๅฎšๅฎžไพ‹ๅŒ–ใ€‚ - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - ๅ…ฅๅฃ็‚นๅฐ้€็จ‹ๅบ็ฑปๅž‹โ€œ{1}โ€ๆŒ‡ๅ‘็š„ๅฐ้€็จ‹ๅบ็ฑปๅž‹โ€œ{0}โ€ๅฟ…้กปๆ˜ฏ้—ญๅˆๆณ›ๅž‹็ฑปๅž‹ๆˆ–ไธŽๆ‰˜็ฎก็ฑปๅž‹ๅ…ทๆœ‰็›ธๅŒ็š„ arity - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - โ€œSystem.Runtime.InteropServices.Marshalling.CustomMarshallerAttributeโ€ไธญ็š„โ€œmarshallerTypeโ€ๅ‚ๆ•ฐไธ่ƒฝไธบโ€œnullโ€ใ€‚ - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - โ€œSystem.Runtime.InteropServices.Marshalling.CustomMarshallerAttributeโ€ไธญ็š„โ€œmarshallerTypeโ€ๅ‚ๆ•ฐไธ่ƒฝไธบโ€œnullโ€ - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - ๅฐ้€็จ‹ๅบ็ฑปๅž‹ๅฟ…้กปไธบๆ— ็Šถๆ€้™ๆ€็ฑปๆˆ–ๆœ‰็Šถๆ€ๅ€ผ็ฑปๅž‹ใ€‚ไธๅ…่ฎธไฝฟ็”จ้ž้™ๆ€็ฑปใ€‚ - - - - The type '{0}' must be a static class or a value type - ็ฑปๅž‹โ€œ{0}โ€ๅฟ…้กปไธบ้™ๆ€็ฑปๆˆ–ๅ€ผ็ฑปๅž‹ - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - ๅ…ทๆœ‰โ€œSystem.Runtime.InteropServices.CustomMarshallerAttributeโ€็š„็ฑปๅž‹ๅฟ…้กปๆŒ‡ๅฎš้ž็ฉบ็š„ๆ‰˜็ฎก็ฑปๅž‹ - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - ็ฑปๅž‹โ€œ{0}โ€ๆœชๅœจๅบ”็”จไบŽ่ฏฅ็ฑปๅž‹็š„ โ€œSystem.Runtime.InteropServices.CustomMarshallerAttributeโ€ไธญๆŒ‡ๅฎšๆ‰˜็ฎก็ฑปๅž‹ - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - ๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹ๅฟ…้กปๆ˜ฏๅฐ้—ญๆณ›ๅž‹ๆˆ–ๅ…ทๆœ‰ไธŽๆ‰˜็ฎก็ฑปๅž‹็›ธๅŒๆ•ฐ็›ฎ็š„ๆณ›ๅž‹ๅ‚ๆ•ฐ๏ผŒไปฅไพฟๅ‘ๅ‡บ็š„ไปฃ็ ๅฏไปฅไฝฟ็”จ็‰นๅฎšๅฎžไพ‹ๅŒ–ใ€‚ - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - ้€‚็”จไบŽๆ‰˜็ฎก็ฑปๅž‹โ€œ{1}โ€็š„ๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹โ€œ{0}โ€ๅฟ…้กปๆ˜ฏๅฐ้—ญๅผๆณ›ๅž‹็ฑปๅž‹๏ผŒๅฆ‚ๆžœๆ‰˜็ฎก็ฑปๅž‹ๆ˜ฏๅ€ผๅฐ้€ๅค„็†็จ‹ๅบ๏ผŒๅˆ™่ฏฅ็ฑปๅž‹ๅฟ…้กปไธŽๆ‰˜็ฎก็ฑปๅž‹ๅ…ทๆœ‰็›ธๅŒ็š„ arity๏ผ›ๅฆ‚ๆžœๆ‰˜็ฎก็ฑปๅž‹ๆ˜ฏ้›†ๅˆๅฐ้€ๅค„็†็จ‹ๅบ๏ผŒๅˆ™ๅฎƒๅคšๅ…ทๆœ‰ไธ€ไธชๆณ›ๅž‹ๅ‚ๆ•ฐใ€‚ - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute ้œ€่ฆไธๅฎ‰ๅ…จ็š„ไปฃ็ ใ€‚ๅฟ…้กปไฝฟ็”จ โ€œ<AllowUnsafeBlocks>true</AllowUnsafeBlocks>โ€ๆ›ดๆ–ฐ้กน็›ฎใ€‚ - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute ้œ€่ฆไธๅฎ‰ๅ…จ็š„ไปฃ็ ใ€‚ๅฟ…้กปไฝฟ็”จ โ€œ<AllowUnsafeBlocks>true</AllowUnsafeBlocks>โ€ๆ›ดๆ–ฐ้กน็›ฎใ€‚ - - - - LibraryImportAttribute requires unsafe code. - LibraryImportAttribute ้œ€่ฆไธๅฎ‰ๅ…จ็š„ไปฃ็ ใ€‚ - - - - The return type the two method must be the expected type. - ่ฟ™ไธค็งๆ–นๆณ•็š„่ฟ”ๅ›ž็ฑปๅž‹ๅฟ…้กปไธบ้ข„ๆœŸ็ฑปๅž‹ใ€‚ - - - - The return type of '{0}' must be '{1}' - โ€œ{0}โ€็š„่ฟ”ๅ›ž็ฑปๅž‹ๅฟ…้กปไธบโ€œ{1}โ€ - - - - The return types of the two methods must be the same type. - ่ฟ™ไธค็งๆ–นๆณ•็š„่ฟ”ๅ›ž็ฑปๅž‹ๅฟ…้กปไธบ็›ธๅŒ็š„็ฑปๅž‹ใ€‚ - - - - The return type of '{0}' must be the same type as the return type of '{1}' - โ€œ{0}โ€็š„่ฟ”ๅ›ž็ฑปๅž‹ๅฟ…้กปไธŽโ€œ{1}โ€็š„่ฟ”ๅ›ž็ฑปๅž‹ไธบ็›ธๅŒ็š„็ฑปๅž‹ - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - ็›‘ๆŽง็Šถๆ€็š„ๅฐ้€็จ‹ๅบๅฟ…้กปๅ…ทๆœ‰ๅไธบ โ€œFreeโ€ ็š„้›ถๅ‚ๆ•ฐ void ่ฟ”ๅ›žๅฎžไพ‹ๆ–นๆณ•ใ€‚ - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - ็ฑปๅž‹โ€œ{0}โ€ๆ˜ฏ็›‘ๆŽง็Šถๆ€็š„ๅฐ้€็จ‹ๅบ๏ผŒๅนถไธ”ไธๅ…ทๆœ‰ๅไธบ โ€œFreeโ€ ็š„้›ถๅ‚ๆ•ฐ void ่ฟ”ๅ›žๅฎžไพ‹ๆ–นๆณ• - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - ๆ”ฏๆŒไปŽๆ‰˜็ฎกๅˆฐ้ž็ฎก็†็š„ๅฐ้€็š„็›‘ๆŽง็Šถๆ€ๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ› โ€œFromManagedโ€ ๅฎžไพ‹ๆ–นๆณ•๏ผŒ่ฏฅๆ–นๆณ•ๅฐ†ๆ‰˜็ฎกๅ€ผไฝœไธบๅ‚ๆ•ฐๅนถ่ฟ”ๅ›ž โ€œvoidโ€ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{2}โ€็š„โ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ๅฎƒไธๆไพ›ๅไธบ โ€œFromUnmanagedโ€๏ผŒไธ”ๅฐ†โ€œ{2}โ€ไฝœไธบๅ‚ๆ•ฐๅนถ่ฟ”ๅ›ž โ€œvoidโ€ ็š„ๅ•ๅ‚ๆ•ฐๅฎžไพ‹ๆ–นๆณ• - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - ๆ”ฏๆŒไปŽ้ž็ฎก็†ๅˆฐๆ‰˜็ฎก็š„ๅฐ้€็š„็›‘ๆŽง็Šถๆ€ๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ› โ€œFromUnmanagedโ€ ๅฎžไพ‹ๆ–นๆณ•๏ผŒ่ฏฅๆ–นๆณ•ๅฐ†้ž็ฎก็†็š„ๅ€ผไฝœไธบๅ‚ๆ•ฐๅนถ่ฟ”ๅ›ž โ€œvoidโ€ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{2}โ€็š„โ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ๅฎƒไธๆไพ›ๅไธบ โ€œFromUnmanagedโ€๏ผŒไธ”ๅฐ†โ€œ้ž็ฎก็†โ€็š„ๅ€ผไฝœไธบๅ‚ๆ•ฐๅนถ่ฟ”ๅ›ž โ€œvoidโ€ ็š„ๅ•ๅ‚ๆ•ฐๅฎžไพ‹ๆ–นๆณ• - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - ๆ”ฏๆŒไปŽ้ž็ฎก็†ๅˆฐๆ‰˜็ฎก็š„ๅฐ้€็š„็›‘ๆŽง็Šถๆ€ๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ›ไธ้‡‡็”จไปปไฝ•ๅ‚ๆ•ฐๅนถ่ฟ”ๅ›žๆ‰˜็ฎก็ฑปๅž‹็š„โ€œToManagedโ€ๅฎžไพ‹ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{2}โ€็š„โ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ๅฎƒไธๆไพ›ๅไธบ โ€œTomanagedโ€๏ผŒไธ”่ฟ”ๅ›žโ€œ{2}โ€็š„้›ถๅ‚ๆ•ฐๅฎžไพ‹ๆ–นๆณ•ใ€‚ - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - ๆ”ฏๆŒไปŽๆ‰˜็ฎกๅˆฐ้ž็ฎก็†็š„ๅฐ้€็š„็›‘ๆŽง็Šถๆ€ๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ› โ€œToUnmanagedโ€ ๅฎžไพ‹ๆ–นๆณ•๏ผŒ่ฏฅๆ–นๆณ•ไธไฝฟ็”จๅ‚ๆ•ฐๅนถ่ฟ”ๅ›žโ€œ้ž็ฎก็†โ€็ฑปๅž‹ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{2}โ€็š„โ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ๅฎƒไธๆไพ›ๅไธบ โ€œToUnmanagedโ€๏ผŒไธ”ไธบๅฐ้€็จ‹ๅบ่ฟ”ๅ›žโ€œ้ž็ฎก็†โ€็ฑปๅž‹็š„้›ถๅ‚ๆ•ฐๅฎžไพ‹ๆ–นๆณ•ใ€‚ - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - ๅฆ‚ๆžœๅœจๅฐ้€็จ‹ๅบ็ฑปๅž‹ไธŠๆไพ›้‡‡็”จโ€œSpan<T>โ€็š„โ€œAllocateContainerForUnmanagedElementsโ€ๆ–นๆณ•ไปฅไฝฟ็”จโ€œ้€š่ฟ‡่ฐƒ็”จๆ–นๅˆ†้…็š„็ผ“ๅ†ฒๅŒบไปŽๆ‰˜็ฎกๅˆฐ้žๆ‰˜็ฎกโ€ๅฝข็Šถ๏ผŒๅˆ™่ฏฅ็ฑปๅž‹ๅฟ…้กปๆไพ›้™ๆ€โ€œBufferSizeโ€ๅฑžๆ€งไปฅๆไพ›่ฐƒ็”จๆ–นๅˆ†้…็š„็ผ“ๅ†ฒๅŒบไธญ็š„ๅ…ƒ็ด ๆ•ฐใ€‚ - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - ๅฐ้€็จ‹ๅบ็ฑปๅž‹โ€œ{0}โ€ๅฟ…้กปๅ…ทๆœ‰้™ๆ€ๅช่ฏปโ€œintโ€โ€œBufferSizeโ€ๅฑžๆ€งไปฅๆŒ‡ๅฎš่ฐƒ็”จๆ–นๅˆ†้…็š„็ผ“ๅ†ฒๅŒบ็š„ๅคงๅฐ๏ผŒๅ› ไธบๅฎƒๅ…ทๆœ‰้‡‡็”จ่ฐƒ็”จๆ–นๅˆ†้…็š„โ€œSpan<{1}>โ€็š„โ€œAllocateContainerForUnmanagedElementsโ€ๆ–นๆณ• - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - ๆ”ฏๆŒไปŽๆ‰˜็ฎกๅˆฐ้žๆ‰˜็ฎก็š„ๅฐ้€็š„่ฟž็ปญ้›†ๅˆๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ›ๅฐ†ๆ‰˜็ฎกๅ€ผ็”จไฝœๅ‚ๆ•ฐๅนถ่ฟ”ๅ›žโ€œReadOnlySpan<>โ€็š„โ€œGetManagedValuesSourceโ€ๅ’Œๅฐ†้žๆ‰˜็ฎกๅ€ผ็”จไฝœๅ‚ๆ•ฐๅนถ่ฟ”ๅ›žโ€œSpan<>โ€็š„โ€œGetUnmanagedValuesDestinationโ€ๆ–นๆณ• - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ไธๆไพ›ๅฐ†โ€œ{2}โ€็”จไฝœๅ‚ๆ•ฐๅนถ่ฟ”ๅ›žโ€œReadOnlySpan<>โ€็š„โ€œGetManagedValuesSource ๅ’Œๅฐ†้žๆ‰˜็ฎกๅ€ผ็”จไฝœๅ‚ๆ•ฐๅนถ่ฟ”ๅ›žโ€œSpan<>โ€็š„โ€œGetUnmanagedValuesDestinationโ€ๆ–นๆณ• - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - ๆ”ฏๆŒไปŽ้žๆ‰˜็ฎกๅˆฐๆ‰˜็ฎก็š„ๅฐ้€็š„่ฟž็ปญ้›†ๅˆๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ›้‡‡็”จๆ‰˜็ฎกๅ€ผๅนถ่ฟ”ๅ›žโ€œSpan<>โ€็š„โ€œGetManagedValuesDestinationโ€ไปฅๅŠ้‡‡็”จ้žๆ‰˜็ฎกๅ€ผๅ’Œโ€œintโ€ๅนถ่ฟ”ๅ›žโ€œReadOnlySpan<>โ€็š„โ€œGetUnmanagedValuesSourceโ€ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ไธๆไพ›้‡‡็”จโ€œ{2}โ€ๅนถ่ฟ”ๅ›žโ€œSpan<>โ€็š„โ€œGetManagedValuesDestinationโ€ไปฅๅŠ้‡‡็”จ้žๆ‰˜็ฎกๅ€ผๅ’Œโ€œintโ€ๅนถ่ฟ”ๅ›žโ€œReadOnlySpan<>โ€็š„โ€œGetManagedValuesSourceโ€ๆ–นๆณ• - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - ๆ”ฏๆŒไปŽๆ‰˜็ฎกๅˆฐ้žๆ‰˜็ฎก็š„ๅฐ้€็š„ๆ— ็Šถๆ€่ฟž็ปญ้›†ๅˆๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ›ๅฐ†้žๆ‰˜็ฎก็ฑปๅž‹็”จไฝœ็ฌฌไธ€ไธชๅ‚ๆ•ฐๅนถๅฐ†ๅ…ƒ็ด ๆ•ฐ็”จไฝœ โ€œintโ€ ๅ‚ๆ•ฐ็š„โ€œAllocateContainerForManagedElementsโ€ ๆ–นๆณ• - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{2}โ€็š„โ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ไธๆไพ›ๅฐ†้žๆ‰˜็ฎก็ฑปๅž‹็”จไฝœ็ฌฌไธ€ไธชๅ‚ๆ•ฐๅนถๅฐ†โ€œintโ€็”จไฝœ็ฌฌไบŒไธชๅ‚ๆ•ฐ็š„ๅŒๅ‚ๆ•ฐโ€œAllocateContainerForManagedElementsโ€ๆ–นๆณ• - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - ๆ”ฏๆŒไปŽๆ‰˜็ฎกๅˆฐ้žๆ‰˜็ฎก็š„ๅฐ้€็š„ๆ— ็Šถๆ€่ฟž็ปญ้›†ๅˆๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ›ๅฐ†ๆ‰˜็ฎก็ฑปๅž‹็”จไฝœ็ฌฌไธ€ไธชๅ‚ๆ•ฐๅนถๅฐ†ๅ…ƒ็ด ๆ•ฐไฝœไธบ โ€œout intโ€ ๅ‚ๆ•ฐๆไพ›็š„โ€œAllocateContainerForUnmanagedElementsโ€ ๆ–นๆณ• - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{2}โ€็š„โ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ไธๆไพ›ๅฐ†โ€œ{2}โ€็”จไฝœ็ฌฌไธ€ไธชๅ‚ๆ•ฐๅนถๅฐ†โ€œout intโ€็”จไฝœ็ฌฌไบŒไธชๅ‚ๆ•ฐ็š„ๅŒๅ‚ๆ•ฐโ€œAllocateContainerForUnmanagedElementsโ€ๆ–นๆณ• - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - ๆ”ฏๆŒไปŽ้žๆ‰˜็ฎกๅˆฐๆ‰˜็ฎก็š„ๅฐ้€็š„ๆ— ็Šถๆ€ๅ€ผๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ›ๅฐ†้žๆ‰˜็ฎก็ฑปๅž‹็”จไฝœๅ‚ๆ•ฐๅนถ่ฟ”ๅ›žๆ‰˜็ฎก็ฑปๅž‹็š„โ€œConvertToManagedโ€ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ไธๆไพ›ๅฐ†้žๆ‰˜็ฎก็ฑปๅž‹็”จไฝœๅ‚ๆ•ฐๅนถ่ฟ”ๅ›žโ€œ{2}โ€็š„โ€œConvertToManagedโ€ๆ–นๆณ• - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - ๆ”ฏๆŒไปŽๆ‰˜็ฎกๅˆฐ้žๆ‰˜็ฎก็š„ๅฐ้€็š„ๆ— ็Šถๆ€ๅ€ผๅฐ้€็จ‹ๅบๅฟ…้กปๆไพ›ๅฐ†ๆ‰˜็ฎกๅ€ผ็”จไฝœๅ‚ๆ•ฐๅนถ่ฟ”ๅ›žโ€œ้žๆ‰˜็ฎกโ€็ฑปๅž‹็š„ๅ€ผ็š„ๅ•ๅ‚ๆ•ฐโ€œConvertToUnmanagedโ€ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{2}โ€็š„โ€œ{1}โ€ๅฐ้€ๆจกๅผ๏ผŒไฝ†ไธๆไพ›ๅฐ†โ€œ{2}โ€็”จไฝœๅ‚ๆ•ฐๅนถ่ฟ”ๅ›žโ€œ้žๆ‰˜็ฎกโ€็ฑปๅž‹็š„ๅ€ผ็š„ๅ•ๅ‚ๆ•ฐโ€œConvertToUnmanagedโ€ๆ–นๆณ• - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - โ€œConvertToUnmanagedโ€็š„่ฟ”ๅ›ž็ฑปๅž‹ๅ’Œโ€œConvertToManagedโ€็š„ๅ‚ๆ•ฐ็ฑปๅž‹ๅฟ…้กป็›ธๅŒใ€‚ - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - โ€œConvertToUnmanagedโ€็š„่ฟ”ๅ›ž็ฑปๅž‹ๅ’Œโ€œConvertToManagedโ€็š„ๅ‚ๆ•ฐ็ฑปๅž‹ๅฟ…้กป็›ธๅŒ - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - ่‡ชๅฎšไน‰ๅฐ้€็จ‹ๅบ็š„้žๆ‰˜็ฎก็ฑปๅž‹ๅฟ…้กปไธบ C# ้žๆ‰˜็ฎก็ฑปๅž‹ใ€‚ - - - - The return type of '{0}' must be unmanaged - โ€œ{0}โ€็š„่ฟ”ๅ›ž็ฑปๅž‹ๅฟ…้กปไธบ้žๆ‰˜็ฎก - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - ๅฟ…้กปๅฐ†โ€œvoid*โ€ๅผบๅˆถ่ฝฌๆขไธบ็ฑปๅž‹๏ผŒ่ฟ™ๆ ท้™ๆ€โ€œGetPinnableReferenceโ€ๆ–นๆณ•็š„ๅ›บๅฎš็ป“ๆžœๆ‰่ƒฝๅœจๅ›บๅฎšๅŽไผ ้€’ๅˆฐๆœฌๆœบไธŠไธ‹ๆ–‡ใ€‚ - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - โ€œvoid*โ€ๅฟ…้กปๅฏ่ฝฌๆขไธบ็ฑปๅž‹โ€œ{0}โ€๏ผŒๅ› ไธบๆ‰˜็ฎก็ฑปๅž‹โ€œ{1}โ€ๅ…ทๆœ‰้™ๆ€โ€œGetPinnableReferenceโ€ๆ–นๆณ• - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - ๅฏน็ป™ๅฎš็ฑปๅž‹่ฟ›่กŒๅฐ้€ๅค„็†็š„ๅ…ฅๅฃ็‚น็ฑปๅž‹ๅฟ…้กปๅ…ทๆœ‰ๅฐ†ๆญค็ฑปๅž‹ๆŒ‡ๅฎšไธบๆ‰˜็ฎก็ฑปๅž‹็š„ โ€œSystem.Runtime.InteropServices.CustomMarshallerAttributeโ€ใ€‚ - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - ้€‚็”จไบŽ็ฑปๅž‹โ€œ{1}โ€็š„ๅ…ฅๅฃ็‚นๅฐ้€ๅค„็†็จ‹ๅบ็ฑปๅž‹โ€œ{0}โ€ๅฟ…้กปๆ˜ฏ่‡ณๅฐ‘ๅ…ทๆœ‰ไธ€ไธชๆŒ‡ๅฎšๆญค็ฑปๅž‹ไธบๆ‰˜็ฎก็ฑปๅž‹็š„ โ€œSystem.Runtime.InteropServices.CustomMarshallerAttributeโ€็š„็ฑปๅž‹ - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - ๆ”ฏๆŒๅœจ โ€œOutโ€ ๆ–นๅ‘่ฟ›่กŒๅฐ้€ๅค„็†็š„ โ€œValueโ€ ๆˆ– โ€œLinearCollectionโ€ ็ง็ฑป็š„ๆœฌๆœบ็ฑปๅž‹ๅฟ…้กปๆไพ›่ฟ”ๅ›žๆ‰˜็ฎก็ฑปๅž‹็š„ โ€œToManagedโ€ ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒๆŒ‰ โ€œOutโ€ ๆ–นๅ‘่ฟ›่กŒๅฐ้€๏ผŒไฝ†ไธๆไพ›่ฟ”ๅ›žๆ‰˜็ฎก็ฑปๅž‹็š„ โ€œToManagedโ€ ๆ–นๆณ• - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - โ€œToUnmanagedโ€็š„่ฟ”ๅ›ž็ฑปๅž‹ๅ’Œโ€œFromUnmanagedโ€็š„ๅ‚ๆ•ฐ็ฑปๅž‹ๅฟ…้กป็›ธๅŒใ€‚ - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - โ€œToUnmanagedโ€็š„่ฟ”ๅ›ž็ฑปๅž‹ๅ’Œโ€œFromUnmanagedโ€็š„ๅ‚ๆ•ฐ็ฑปๅž‹ๅฟ…้กป็›ธๅŒ - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - ๅฏนไบŽๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒ็š„็ฑปๅž‹๏ผŒ็”Ÿๆˆ็š„ P/Invoke ๅฐ†ไพ่ต–ๅŸบ็ก€่ฟ่กŒๆ—ถๆฅๅฐ้€ๆŒ‡ๅฎš็š„็ฑปๅž‹ใ€‚ - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - ๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒโ€œ{0}โ€็ฑปๅž‹ใ€‚็”Ÿๆˆ็š„ๆบๅฐ†ไธๅค„็†ๅ‚ๆ•ฐโ€œ{1}โ€็š„ๅฐ้€ใ€‚ - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} ็”Ÿๆˆ็š„ๆบๅฐ†ไธๅค„็†ๅ‚ๆ•ฐโ€œ{1}โ€็š„ๅฐ้€ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - ๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒโ€œ{0}โ€็ฑปๅž‹ใ€‚็”Ÿๆˆ็š„ๆบๅฐ†ไธๅค„็†ๆ–นๆณ•โ€œ{1}โ€็š„่ฟ”ๅ›žๅ€ผ็š„ๅฐ้€ใ€‚ - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} ็”Ÿๆˆ็š„ๆบๅฐ†ไธๅค„็†ๆ–นๆณ•โ€œ{1}โ€็š„่ฟ”ๅ›žๅ€ผ็š„ๅฐ้€ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - ๆบ็”Ÿๆˆ็š„ P/Invoke ไธๆ”ฏๆŒๆŒ‡ๅฎš็š„็ฑปๅž‹ - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€ไฟกๆฏใ€‚ๅฏ็งป้™คๆญคๅฐ่ฃ…ไฟกๆฏ๏ผŒ่€Œไธๅฏนๅบ”็”จ็จ‹ๅบ็š„่กŒไธบ่ฟ›่กŒไปปไฝ•ๆ›ดๆ”นใ€‚ - - - - Unnecessary marshalling info was provided and can be removed. - ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€ไฟกๆฏ๏ผŒๅฏๅฐ†ๆญคไฟกๆฏ็งป้™คใ€‚ - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - ไธบๅ‚ๆ•ฐโ€œ{1}โ€ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€ไฟกๆฏโ€œ{0}โ€ - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - ไธบๆ–นๆณ•โ€œ{1}โ€็š„่ฟ”ๅ›ž็ฑปๅž‹ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€ไฟกๆฏโ€œ{0}โ€ - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - ๆ”ฏๆŒ \"CallerAllocatedBuffer\" ๅŠŸ่ƒฝ็š„ \"Value\" ็ง็ฑปๆœฌๆœบ็ฑปๅž‹ๅฟ…้กปๆไพ›ไปฅๆ‰˜็ฎก็ฑปๅž‹ๅ’Œโ€œ้ž็ฎก็†โ€็ฑปๅž‹็š„ \"Span\" ไฝœไธบๅ‚ๆ•ฐ็š„ๅŒๅ‚ๆ•ฐๆž„้€ ๅ‡ฝๆ•ฐ - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒไฝฟ็”จโ€œ{1}โ€็š„ โ€œCallerAllocatedBufferโ€ ๅŠŸ่ƒฝ่ฟ›่กŒ โ€œInโ€ ๅฐ้€๏ผŒไฝ†ไธๆไพ›ไปฅโ€œ{1}โ€ๅ’Œโ€œ้ž็ฎก็†โ€็ฑปๅž‹็š„ โ€œSpanโ€ ไฝœไธบๅ‚ๆ•ฐ็š„ๅŒๅ‚ๆ•ฐๆž„้€ ๅ‡ฝๆ•ฐ - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - โ€œValueโ€ ็ง็ฑปๆœฌๆœบ็ฑปๅž‹ๅฟ…้กปๆไพ›ไธ€ไธชไปฅๆ‰˜็ฎก็ฑปๅž‹ไฝœไธบๅ‚ๆ•ฐ็š„ๅ•ๅ‚ๆ•ฐๆž„้€ ๅ‡ฝๆ•ฐ - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - ็ฑปๅž‹โ€œ{0}โ€ๆŒ‡ๅฎšๅฎƒๆ”ฏๆŒโ€œ{1}โ€็š„ โ€œInโ€ ๅฐ้€๏ผŒไฝ†ไธๆไพ›ๅฐ†โ€œ{1}โ€ไฝœไธบๅ‚ๆ•ฐ็š„ๅ•ๅ‚ๆ•ฐๆž„้€ ๅ‡ฝๆ•ฐ - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.zh-Hant.xlf b/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.zh-Hant.xlf deleted file mode 100644 index 7bc2dffec1f23..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources/xlf/Strings.zh-Hant.xlf +++ /dev/null @@ -1,674 +0,0 @@ -๏ปฟ - - - - - Add missing custom type marshaller members - ๆ–ฐๅขž้บๆผ็š„่‡ช่จ‚้กžๅž‹ๆŽ’ๅˆ—ๅ™จๆˆๅ“ก - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing a 'FromManaged' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - ็•ถ้€้Žๆไพ›ๅœจๅฐ้€่™•็†ๅ™จ้กžๅž‹ไธŠๆŽก็”จ 'Span<T>' ็š„ 'FromManaged' ๆ–นๆณ•ไพ†ไฝฟ็”จ 'Managed to Unmanaged with Caller-Allocated Buffer' ๅœ–ๅฝขๆ™‚๏ผŒ่ฉฒ้กžๅž‹ๅฟ…้ ˆๆไพ›้œๆ…‹ 'BufferSize' ๅฑฌๆ€งไปฅๆไพ› caller-allocated ็ทฉ่กๅ€ไธญ็š„ๅ…ƒ็ด ๆ•ธๅญ—ใ€‚ - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has a FromManaged method that takes a caller-allocated 'Span<{1}>' - ๅฐ้€่™•็†ๅ™จ้กžๅž‹ '{0}' ๅฟ…้ ˆๆœ‰้œๆ…‹ๅ”ฏ่ฎ€ 'int' 'BufferSize' ๅฑฌๆ€ง๏ผŒไปฅๆŒ‡ๅฎš caller-allocated ็ทฉ่กๅ€็š„ๅคงๅฐ๏ผŒๅ› ็‚บๅฎƒๅ…ทๆœ‰ๆŽก็”จ caller-allocated 'Span<{1}>' ็š„ FromManaged ๆ–นๆณ• - - - - The generated 'DllImportAttribute' will not have a value corresponding to '{0}'. - ็”ข็”Ÿ็š„ 'DllImportAttribute' ๅฐ‡ไธๆœƒๆœ‰ๅฐๆ‡‰่‡ณ '{0}' ็š„ๅ€ผใ€‚ - - - - '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded - '{0}'ๅœจ 'DllImportAttribute' ไธญๆฒกๆœ‰็›ธ็ญ‰้ …็›ฎ๏ผŒๅฐ‡ไธๆœƒ่ฝ‰ๅฏ„ - - - - Specified 'LibraryImportAttribute' arguments cannot be forwarded to 'DllImportAttribute' - ๆŒ‡ๅฎš็š„ 'LibraryImportAttribute' ่‡ช่ฎŠ้‡็„กๆณ•่ฝ‰้€ๅˆฐ 'DllImportAttribute' - - - - Source-generated P/Invokes will ignore any configuration that is not supported. - ๆฅๆบ็”ข็”Ÿ็š„ P/Invokes ๅฐ‡ๆœƒๅฟฝ็•ฅไปปไฝ•ไธๆ”ฏๆด็š„่จญๅฎšใ€‚ - - - - The '{0}' configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ไพ†ๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆด '{0}' ่จญๅฎšใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จไธ€่ˆฌ 'DllImport'ใ€‚ - - - - The specified marshalling configuration is not supported by source-generated P/Invokes. {0}. - ๆฅๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆดๆŒ‡ๅฎš็š„ๆŽ’ๅˆ—่จญๅฎšใ€‚{0}ใ€‚ - - - - The specified '{0}' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ไพ†ๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆด็‚บๅƒๆ•ธ '{1}' ๆŒ‡ๅฎš็š„ '{0}' ่จญๅฎšใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จไธ€่ˆฌ 'DllImport'ใ€‚ - - - - The specified '{0}' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ไพ†ๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆด็‚บๆ–นๆณ• '{1}' ็š„ๅ‚ณๅ›žๅ€ผๆŒ‡ๅฎš '{0}' ่จญๅฎšใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จไธ€่ˆฌ 'DllImport'ใ€‚ - - - - The specified value '{0}' for '{1}' is not supported by source-generated P/Invokes. If the specified value is required, use a regular 'DllImport' instead. - ไพ†ๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆด็‚บ '{1}' ๆŒ‡ๅฎš็š„ๅ€ผ '{0}'ใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จไธ€่ˆฌ 'DllImport'ใ€‚ - - - - Specified configuration is not supported by source-generated P/Invokes. - ๆฅๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆดๆŒ‡ๅฎš็š„่จญๅฎšใ€‚ - - - - Automatically converting a P/Invoke with 'PreserveSig' set to 'false' to a source-generated P/Invoke may produce invalid code - ๅฐ‡ 'PreserveSig' ่จญ็‚บ 'false' ็š„ P/Invoke ่‡ชๅ‹•่ฝ‰ๆ›ไพ†ๆบ็”ข็”Ÿ็š„ P/Invoke ๅฏ่ƒฝๆœƒ็”ข็”Ÿ็„กๆ•ˆ็š„็จ‹ๅผ็ขผ - - - - Convert to 'LibraryImport' - ่ฝ‰ๆ›็‚บ 'LibraryImport' - - - - Convert to 'LibraryImport' and enable unsafe code - ่ฝ‰ๆ›็‚บ 'LibraryImport'๏ผŒไธฆๅ•Ÿ็”จไธๅฎ‰ๅ…จ็š„็จ‹ๅผ็ขผ - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ไฝฟ็”จ 'LibraryImportAttribute' ่€Œ้ž 'DllImportAttribute' ๅœจ็ทจ่ญฏๆ™‚้–“็”ข็”Ÿ P/Invoke ๅฐ้€่™•็†็จ‹ๅผ็ขผ - - - - Converting this API to 'LibraryImport' will require additional code to provide custom marshallers for some parameters. - ๅฐ‡ๆญค API ่ฝ‰ๆ›็‚บ 'LibraryImport' ้œ€่ฆ้กๅค–็š„็จ‹ๅผ็ขผ๏ผŒๆ‰่ƒฝๆไพ›ๆŸไบ›ๅƒๆ•ธ็š„่‡ช่จ‚ๅฐ้€่™•็†ๅ™จใ€‚ - - - - Mark the method '{0}' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ไปฅ 'LibraryImportAttribute' ไปฃๆ›ฟ 'DllImportAttribute' ๆจ™็คบๆ–นๆณ•'{0}'๏ผŒไปฅๅœจ็ทจ่ญฏๆ™‚้–“็”ข็”Ÿ P/Invoke ๅฐ้€่™•็†็จ‹ๅผ็ขผ - - - - Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time - ไฝฟ็”จ 'LibraryImportAttribute' ่€Œ้ž 'DllImportAttribute' ๅœจ็ทจ่ญฏๆ™‚้–“็”ข็”Ÿ P/Invoke ๅฐ้€่™•็†็จ‹ๅผ็ขผ - - - - Convert to 'LibraryImport' with '{0}' suffix - ่ฝ‰ๆ›็‚บๅ…ทๆœ‰ '{0}'ๅพŒ็ถด็š„ 'LibraryImport' - - - - Convert to 'LibraryImport' with '{0}' suffix and enable unsafe code - ่ฝ‰ๆ›็‚บๅ…ทๆœ‰ '{0}' ๅฐพ็ขผ็š„ 'LibraryImport'๏ผŒไธฆๅ•Ÿ็”จไธๅฎ‰ๅ…จ็š„็จ‹ๅผ็ขผ - - - - Marshaller type does not have the required shape - ๅฐ้€่™•็†ๅ™จ้กžๅž‹ๆฒ’ๆœ‰ๅฟ…่ฆ็š„ๅœ–ๅฝข - - - - A marshaller for an element scenario cannot be stateful. - ๅ…ƒ็ด ๆกˆไพ‹็š„ๅฐ้€่™•็†ๅ™จไธๅฏ็‚บๅฏ่จญๅฎš็‹€ๆ…‹ใ€‚ - - - - The specified marshaller type '{0}' is a stateful marshaller, but stateful marshallers are not allowed in the provided marshal mode '{1}' - ๆŒ‡ๅฎš็š„ๅฐ้€่™•็†ๅ™จ้กžๅž‹ '{0}' ๆ˜ฏๅฏ่จญๅฎš็‹€ๆ…‹็š„ๅฐ้€่™•็†ๅ™จ๏ผŒไฝ†ๆ˜ฏๅœจๆไพ›็š„ๅฐ้€่™•็†ๆจกๅผ '{1}' ไธญไธๅ…่จฑๆœ‰็‹€ๆ…‹็š„ๅฐ้€่™•็†ๅ™จ - - - - The element type of the span returned by the first method must be the same type as the element type of the span returned by the second method. - ็ฌฌไธ€ๅ€‹ๆ–นๆณ•ๅ‚ณๅ›žไน‹่ทจ่ท็š„ๅ…ƒ็ด ้กžๅž‹ๅฟ…้ ˆ่ˆ‡็ฌฌไบŒๅ€‹ๆ–นๆณ•ๅ‚ณๅ›žไน‹่ทจ่ท็š„ๅ…ƒ็ด ้กžๅž‹็›ธๅŒ้กžๅž‹ใ€‚ - - - - The element type of the span returned by '{0}' must be the same type as the element type of the span returned by '{1}'. - '{0}' ๅ‚ณๅ›žไน‹่ทจ่ท็š„ๅ…ƒ็ด ้กžๅž‹ๅฟ…้ ˆ่ˆ‡ '{1}' ๅ‚ณๅ›žไน‹่ทจ่ท็š„ๅ…ƒ็ด ้กžๅž‹็›ธๅŒ้กžๅž‹ใ€‚ - - - - An entry-point type for marshalling a given type must not be 'null'. - ๅฐ้€่™•็†ๆŒ‡ๅฎš้กžๅž‹็š„้€ฒๅ…ฅ้ปž้กžๅž‹ไธๅพ—็‚บ 'null'ใ€‚ - - - - The entry-point marshaller type for the type '{0}' must be not 'null' - ้กžๅž‹ '{0}' ็š„้€ฒๅ…ฅ้ปžๅฐ้€่™•็†ๅ™จ้กžๅž‹ไธ่ƒฝๆ˜ฏ 'null' - - - - The first parameter of the first method must be the same type as the return types of the second method. - ็ฌฌไธ€ๅ€‹ๆ–นๆณ•็š„็ฌฌไธ€ๅ€‹ๅƒๆ•ธๅฟ…้ ˆ่ˆ‡็ฌฌไบŒๅ€‹ๆ–นๆณ•็š„ๅ‚ณๅ›ž้กžๅž‹็›ธๅŒ้กžๅž‹ใ€‚ - - - - The first parameter of '{0}' must be the same type as the return type of '{1}' - '{0}' ็š„็ฌฌไธ€ๅ€‹ๅƒๆ•ธๅฟ…้ ˆ่ˆ‡ '{1}' ็š„ๅ‚ณๅ›ž้กžๅž‹็›ธๅŒ - - - - The first parameters of the two methods must be the same type. - ๅ…ฉ็จฎๆ–นๆณ•็š„็ฌฌไธ€ๅ€‹ๅƒๆ•ธๅฟ…้ ˆๆ˜ฏ็›ธๅŒ็š„้กžๅž‹ใ€‚ - - - - The first parameter of '{0}' and '{1}' must be the same type - '{0}' ่ˆ‡ '{1}' ็š„็ฌฌไธ€ๅ€‹ๅƒๆ•ธๅฟ…้ ˆๆ˜ฏ็›ธๅŒ็š„้กžๅž‹ - - - - Overloading the 'FromUnmanaged' method is unuspported as some shapes are unable to distinguish between overloads. - ไธๆ”ฏๆดๅคš่ผ‰ 'FromUnmanaged' ๆ–นๆณ•๏ผŒๅ› ็‚บๆŸไบ›ๅœ–ๅฝข็„กๆณ•ๅ€ๅˆ†ๅคš่ผ‰ใ€‚ - - - - The type '{0}' overloads the 'FromUnmanaged' method, which is not supported in custom marshallers - ่‡ช่จ‚ๅฐ้€่™•็†ๅ™จไธญไธๆ”ฏๆด้กžๅž‹ '{0}' ๅคš่ผ‰ 'FromUnmanaged' ๆ–นๆณ• - - - - The return type of 'GetPinnableReference' (after accounting for 'ref') must be blittable. - ('ref' ๅธณๆˆถ่™•็†ๅพŒ็š„) 'GetPinnableReference' ๅ‚ณๅ›ž้กžๅž‹ๅฟ…้ ˆๆ˜ฏ blittableใ€‚ - - - - The dereferenced type of the return type of the 'GetPinnableReference' method must be blittable - 'GetPinnableReference' ๆ–นๆณ•ๅ‚ณๅ›ž้กžๅž‹็š„่งฃ้™คๅ‚็…ง้กžๅž‹ๅฟ…้ ˆๆ˜ฏ blittable - - - - Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'. - ๆ–นๆณ• '{0}' ๅŒ…ๅซๅœจๆœชๆจ™็คบ็‚บ 'partial' ็š„้กžๅž‹'{1}'ไธญใ€‚็”ข็”Ÿ P/Invoke ๆฅๆบๆœƒๅฟฝ็•ฅๆ–นๆณ•'{0}'ใ€‚ - - - - Methods marked with 'LibraryImportAttribute' should be 'static', 'partial', and non-generic. P/Invoke source generation will ignore methods that are non-'static', non-'partial', or generic. - ไปฅ 'LibraryImportAttribute' ๆจ™็คบ็š„ๆ–นๆณ•ๆ‡‰่ฉฒๆ˜ฏ 'static'ใ€'partial' ๅ’Œ้žๆณ›ๅž‹ใ€‚็”ข็”Ÿ P/Invoke ๆฅๆบๆœƒๅฟฝ็•ฅ้ž'static'ใ€non-'partial' ๆˆ–ไธ€่ˆฌ็š„ๆ–นๆณ•ใ€‚ - - - - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'. - ไปฅ 'LibraryImportAttribute' ๆจ™็คบๆ™‚๏ผŒๆ–นๆณ•'{0}'ๆ‡‰็‚บ 'static'ใ€'partial' ๅ’Œ้žๆณ›ๅž‹ใ€‚็”ข็”Ÿ P/Invoke ๆฅๆบๆœƒๅฟฝ็•ฅๆ–นๆณ•'{0}'ใ€‚ - - - - Invalid 'CustomMarshallerAttribute' usage - `CustomMarshallerAttribute` ไฝฟ็”จๆ–นๅผ็„กๆ•ˆ - - - - Invalid 'LibraryImportAttribute' usage - 'LibraryImportAttribute' ไฝฟ็”จๆ–นๅผ็„กๆ•ˆ - - - - Specified managed type is invalid - ๆŒ‡ๅฎš็š„ๅ—ๆŽง้กžๅž‹็„กๆ•ˆ - - - - Invalid 'MarshalMode' value. - 'MarshalMode' ๅ€ผ็„กๆ•ˆใ€‚ - - - - Specified marshaller type is invalid - ๆŒ‡ๅฎš็š„ๅฐ้€่™•็†ๅ™จ้กžๅž‹็„กๆ•ˆ - - - - Invalid 'NativeMarshallingAttribute' usage - 'NativeMarshallingAttribute' ไฝฟ็”จๆ–นๅผ็„กๆ•ˆ - - - - Marshaller type has incompatible method signatures - ๅฐ้€่™•็†ๅ™จ้กžๅž‹ๆœ‰ไธ็›ธๅฎน็š„ๆ–นๆณ•็ฐฝ็ซ  - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' is invalid. - 'StringMarshalling' ๅ’Œ 'StringMarshallingCustomType' ็š„่จญๅฎš็„กๆ•ˆใ€‚ - - - - The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. {1} - ๆ–นๆณ• '{0}' ไธŠ็š„ 'StringMarshalling' ๅ’Œ 'StringMarshallingCustomType' ่จญๅฎš็„กๆ•ˆใ€‚{1} - {1} is a message containing additional details about what is not valid - - - 'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'. - ็•ถ 'StringMarshalling' ่จญๅฎš็‚บ 'StringMarshalling.Custom' ๆ™‚๏ผŒๅฟ…้ ˆๆŒ‡ๅฎš 'StringMarshallingCustomType'ใ€‚ - - - - 'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified. - ๆŒ‡ๅฎš 'StringMarshallingCustomType' ๆ™‚๏ผŒ'StringMarshalling' ๆ‡‰่จญๅฎš็‚บ 'StringMarshalling.Custom'ใ€‚ - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination'. - 'GetManagedValuesSource' ๅ‚ณๅ›ž็š„ 'ReadOnlySpan' ๅ…ƒ็ด ้กžๅž‹ๅฟ…้ ˆ่ˆ‡ 'GetManagedValuesDestination' ๅ‚ณๅ›ž็š„ๅ…ƒ็ด ้กžๅž‹็›ธๅŒใ€‚ - - - - The element type of the 'ReadOnlySpan' returned by 'GetManagedValuesSource' must be the same as the element type returned by 'GetManagedValuesDestination' - 'GetManagedValuesSource' ๅ‚ณๅ›ž็š„ 'ReadOnlySpan' ๅ…ƒ็ด ้กžๅž‹ๅฟ…้ ˆ่ˆ‡ 'GetManagedValuesDestination' ๅ‚ณๅ›ž็š„ๅ…ƒ็ด ้กžๅž‹็›ธๅŒ - - - - A 'LinearCollection'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a three-parameter constructor taking the managed type as the first parameter, a 'Span<byte>' as the second parameter, and the native size of the element as the third parameter - ๆ”ฏๆด 'CallerAllocatedBuffer' ๅŠŸ่ƒฝ็š„ 'LinearCollection'-kind ๅŽŸ็”Ÿ้กžๅž‹ๅฟ…้ ˆๆไพ›ไปฅ Managed ้กžๅž‹ไฝœ็‚บ็ฌฌไธ€ๅ€‹ๅƒๆ•ธ็š„ไธ‰ๅ€‹ๅƒๆ•ธๅปบๆง‹ๅ‡ฝๅผใ€ๅฐ‡ 'Span<byte>' ไฝœ็‚บ็ฌฌไบŒๅ€‹ๅƒๆ•ธ๏ผŒไปฅๅŠๅ…ƒ็ด ็š„ๅŽŸ็”Ÿๅคงๅฐไฝœ็‚บ็ฌฌไธ‰ๅ€‹ๅƒๆ•ธ - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a three-parameter constructor that takes a '{1}' , a 'Span<byte>', and an 'int' - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅ…ถๆ”ฏๆด 'In' ๅฐ้€่™•็†๏ผŒไธ”'{1}'็š„ 'CallerAllocatedBuffer' ๅŠŸ่ƒฝ๏ผŒไฝ†ไธๆไพ›ๆŽฅๅ—'{1}'ใ€'Span<byte>' ๅ’Œ 'int' ็š„ไธ‰ๅ€‹ๅƒๆ•ธๅปบๆง‹ๅ‡ฝ็คบ - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>'. - ๆ”ฏๆดๅพž้žๅ—ๆŽงๅˆฐๅ—ๆŽงๅฐ้€่™•็†็š„้€ฃ็บŒ้›†ๅˆๅฐ้€่™•็†็จ‹ๅผๅฟ…้ ˆๆไพ›ๅ‚ณๅ›ž 'ReadOnlySpan<>' ็š„ 'GetManagedValuesSource' ๅ’Œๅ‚ณๅ›ž 'Span<>' ็š„ 'GetNativeValuesDestination' ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that returns a 'Span<>' - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{1}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ๆœชๆไพ›ๅ‚ณๅ›ž 'ReadOnlySpan<>' ็š„ 'GetManagedValuesSource' ๅ’Œๅ‚ณๅ›ž 'Span<>' ็š„ 'GetNativeValuesDestination' ๆ–นๆณ• - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>'. - ๆ”ฏๆดๅพž้žๅ—ๆŽงๅˆฐๅ—ๆŽงๅฐ้€่™•็†็š„้€ฃ็บŒ้›†ๅˆๅฐ้€่™•็†็จ‹ๅผๅฟ…้ ˆๆไพ›ๆŽฅๅ— 'int' ๅ’Œๅ‚ณๅ›ž 'Span<>' ็š„ 'GetManagedValuesDestination'๏ผŒๅ’ŒๆŽฅๅ— 'int' ๅ’Œๅ‚ณๅ›ž 'ReadOnlySpan<>' ็š„ 'GetNativeValuesSource' ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes an 'int' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes an 'int' and returns a 'ReadOnlySpan<>' - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{1}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ๆœชๆไพ›ๆŽฅๅ— 'int' ๅ’Œๅ‚ณๅ›ž 'Span<>' ็š„ 'GetManagedValuesDestination'๏ผŒๅ’ŒๆŽฅๅ— 'int' ๅ’Œๅ‚ณๅ›ž 'ReadOnlySpan<>' ็š„ 'GetNativeValuesSource' ๆ–นๆณ• - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the generator can determine which methods are available on the specific marshaller types. - ๅฐ้€่™•็†ๅ™จ้กžๅž‹ๅฟ…้ ˆๆ˜ฏๅฐ้–‰็š„ๆณ›ๅž‹ๆˆ–ๅ…ทๆœ‰่ˆ‡ๅ—ๆŽง้กžๅž‹็›ธๅŒ็š„ๆณ›ๅž‹ๅƒๆ•ธๆ•ธ็›ฎ๏ผŒไปฅไพฟ็”ข็”Ÿๅ™จๅฏไปฅๅˆคๆ–ทๅ“ชไบ›ๆ–นๆณ•ๅฏ็”จๆ–ผ็‰นๅฎš็š„ๅฐ้€่™•็†ๅ™จ้กžๅž‹ใ€‚ - - - - The managed type '{0}' for entry-point marshaller type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - ้€ฒๅ…ฅ้ปžๅฐ้€่™•็†ๅ™จ้กžๅž‹ '{1}' ็š„ๅ—ๆŽง้กžๅž‹ '{0}' ๅฟ…้ ˆๆ˜ฏๅฐ้–‰็š„ๆณ›ๅž‹้กžๅž‹ใ€ๅฆ‚ๆžœๆ˜ฏๅ€ผๅฐ้€่™•็†ๅ™จ๏ผŒๅ‰‡ๅ…ถ arity ๅฟ…้ ˆ่ˆ‡ๅ—ๆŽง้กžๅž‹็›ธๅŒ๏ผŒๅฆ‚ๆžœๆ˜ฏ้›†ๅˆๅฐ้€่™•็†ๅ™จ๏ผŒๅ‰‡ๅฟ…้ ˆๆœ‰ๅฆไธ€ๅ€‹ๆณ›ๅž‹ๅƒๆ•ธใ€‚ - - - - The managed type for a custom marshaller must be non-null. - ่‡ช่จ‚ๅฐ้€่™•็†ๅ™จ็š„ๅ—ๆŽง้กžๅž‹ๅฟ…้ ˆๆ˜ฏ้ž Nullใ€‚ - - - - The managed type for the entry-point marshaller type '{0}' must not be 'null' - ้€ฒๅ…ฅ้ปžๅฐ้€่™•็†ๅ™จ้กžๅž‹ '{0}' ็š„ๅ—ๆŽง้กžๅž‹ไธๅพ—็‚บ 'null' - - - - The specified 'MarshalAsAttribute' configuration for parameter '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ไพ†ๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆด็‚บๅƒๆ•ธ '{1}' ๆŒ‡ๅฎš 'MarshalAsAttribute' ่จญๅฎšใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จไธ€่ˆฌ 'DllImport'ใ€‚ - - - - The specified 'MarshalAsAttribute' configuration for the return value of method '{1}' is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular 'DllImport' instead. - ไพ†ๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆด็‚บๆ–นๆณ• '{1}' ็š„ๅ‚ณๅ›žๅ€ผๆŒ‡ๅฎš 'MarshalAsAttribute' ่จญๅฎšใ€‚ๅฆ‚ๆžœ้œ€่ฆๆŒ‡ๅฎš็š„่จญๅฎš๏ผŒ่ซ‹ๆ”น็”จไธ€่ˆฌ 'DllImport'ใ€‚ - - - - The 'marshalMode' argument of 'CustomMarshallerAttribute' must be a valid enum value of 'MarshalMode'. - 'CustomMarshallerAttribute' ็š„ 'marshalMode' ๅผ•ๆ•ธๅฟ…้ ˆๆ˜ฏๆœ‰ๆ•ˆ็š„ๅˆ—่ˆ‰ๅ€ผ 'MarshalMode'ใ€‚ - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - ๅฐ้€่™•็†ๅ™จ้กžๅž‹ๅฟ…้ ˆๆ˜ฏๅฐ้–‰ๅผๆณ›ๅž‹ๆˆ–ๅ…ทๆœ‰่ˆ‡ๅ—ๆŽง้กžๅž‹็›ธๅŒ็š„ๆณ›ๅž‹ๅƒๆ•ธๆ•ธ็›ฎ๏ผŒๅ› ๆญค็™ผๅ‡บ็š„็จ‹ๅผ็ขผๅฏไปฅไฝฟ็”จ็‰นๅฎš็š„ๅ…ท็พๅŒ–ใ€‚ - - - - The marshaller type '{0}' pointed to by the entry-point marshaller type '{1}' must be a closed generic type or have the same arity as the managed type - ้€ฒๅ…ฅ้ปžๅฐ้€่™•็†ๅ™จ้กžๅž‹ '{1}' ๆŒ‡ๅ‘็š„ๅฐ้€่™•็†ๅ™จ้กžๅž‹ '{0}' ๅฟ…้ ˆๆ˜ฏๅฐ้–‰็š„ๆณ›ๅž‹้กžๅž‹ๆˆ–่ˆ‡ๅ—ๆŽง้กžๅž‹ๅ…ทๆœ‰็›ธๅŒ็š„ Arity - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null'. - 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' ไธญ็š„ 'marshallerType' ๅƒๆ•ธไธๅฏไปฅๆ˜ฏ 'null'ใ€‚ - - - - The 'marshallerType' parameter in the 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' cannot be 'null' - 'System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute' ไธญ็š„ 'marshallerType' ๅƒๆ•ธไธๅฏไปฅๆ˜ฏ 'null' - - - - A marshaller type must either be a stateless static class or a stateful value type. A non-static class is not allowed. - ๅฐ้€่™•็†็จ‹ๅผ้กžๅž‹ๅฟ…้ ˆๆ˜ฏ็„ก็‹€ๆ…‹้œๆ…‹้กžๅž‹ๆˆ–ๅ…ท็‹€ๆ…‹็š„ๆ•ธๅ€ผ้กžๅž‹ใ€‚ไธๅ…่จฑ้ž้œๆ…‹้กžๅž‹ใ€‚ - - - - The type '{0}' must be a static class or a value type - ้กžๅž‹ '{0}' ๅฟ…้ ˆๆ˜ฏ้œๆ…‹้กžๅˆฅๆˆ–ๆ•ธๅ€ผ้กžๅž‹ - - - - A type with a 'System.Runtime.InteropServices.CustomMarshallerAttribute' must specify a non-'null' managed type - ๅ…ทๆœ‰ 'System.Runtime.InteropServices.CustomMarshallerAttribute' ็š„้กžๅž‹ๅฟ…้ ˆๆŒ‡ๅฎš้ž Null ๅ—ๆŽง้กžๅž‹ - - - - The type '{0}' does not specify a managed type in the 'System.Runtime.InteropServices.CustomMarshallerAttribute' applied to the type - ้กžๅž‹ '{0}' ๆœชๅœจๅฅ—็”จ่‡ณ้กžๅž‹็š„ 'System.Runtime.InteropServices.CustomMarshallerAttribute' ไธญๆŒ‡ๅฎšๅ—ๆŽง้กžๅž‹ - - - - The marshaller type must be a closed generic or have the same number of generic parameters as the managed type so the emitted code can use a specific instantiation. - ๅฐ้€่™•็†ๅ™จ้กžๅž‹ๅฟ…้ ˆๆ˜ฏๅฐ้–‰ๅผๆณ›ๅž‹ๆˆ–ๅ…ทๆœ‰่ˆ‡ๅ—ๆŽง้กžๅž‹็›ธๅŒ็š„ๆณ›ๅž‹ๅƒๆ•ธๆ•ธ็›ฎ๏ผŒๅ› ๆญค็™ผๅ‡บ็š„็จ‹ๅผ็ขผๅฏไปฅไฝฟ็”จ็‰นๅฎš็š„ๅ…ท็พๅŒ–ใ€‚ - - - - The marshaller type '{0}' for managed type '{1}' must be a closed generic type, have the same arity as the managed type if it is a value marshaller, or have one additional generic parameter if it is a collection marshaller. - ๅ—ๆŽง้กžๅž‹ '{1}' ็š„ๅฐ้€่™•็†ๅ™จ้กžๅž‹ '{0}' ๅฟ…้ ˆๆ˜ฏๅฐ้–‰็š„ๆณ›ๅž‹้กžๅž‹ใ€ๅฆ‚ๆžœๆ˜ฏๅ€ผๅฐ้€่™•็†ๅ™จ๏ผŒๅ‰‡ๅ…ถ arity ๅฟ…้ ˆ่ˆ‡ๅ—ๆŽง้กžๅž‹็›ธๅŒ๏ผŒๅฆ‚ๆžœๆ˜ฏ้›†ๅˆๅฐ้€่™•็†ๅ™จ๏ผŒๅ‰‡ๅฟ…้ ˆๆœ‰ๅฆไธ€ๅ€‹ๆณ›ๅž‹ๅƒๆ•ธใ€‚ - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute ้œ€่ฆไธๅฎ‰ๅ…จ็š„็จ‹ๅผ็ขผใ€‚ๅฐˆๆกˆๅฟ…้ ˆไปฅ '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ๆ›ดๆ–ฐใ€‚ - - - - LibraryImportAttribute requires unsafe code. Project must be updated with '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>'. - LibraryImportAttribute ้œ€่ฆไธๅฎ‰ๅ…จ็š„็จ‹ๅผ็ขผใ€‚ๅฐˆๆกˆๅฟ…้ ˆไปฅ '<AllowUnsafeBlocks>true</AllowUnsafeBlocks>' ๆ›ดๆ–ฐใ€‚ - - - - LibraryImportAttribute requires unsafe code. - LibraryImportAttribute ้œ€่ฆไธๅฎ‰ๅ…จ็š„็จ‹ๅผ็ขผใ€‚ - - - - The return type the two method must be the expected type. - ๅ…ฉ็จฎๆ–นๆณ•็š„ๅ‚ณๅ›ž้กžๅž‹ๅฟ…้ ˆๆ˜ฏ้ ๆœŸ็š„้กžๅž‹ใ€‚ - - - - The return type of '{0}' must be '{1}' - '{0}' ็š„ๅ‚ณๅ›ž้กžๅž‹ๅฟ…้ ˆ็‚บ '{1}' - - - - The return types of the two methods must be the same type. - ๅ…ฉ็จฎๆ–นๆณ•็š„ๅ‚ณๅ›ž้กžๅž‹ๅฟ…้ ˆๆ˜ฏ็›ธๅŒ็š„้กžๅž‹ใ€‚ - - - - The return type of '{0}' must be the same type as the return type of '{1}' - '{0}' ็š„ๅ‚ณๅ›ž้กžๅž‹ๅฟ…้ ˆ่ˆ‡ '{1}' ็š„ๅ‚ณๅ›ž้กžๅž‹็›ธๅŒ - - - - A stateful marshaller must have a zero-parameter void-returning instance method named 'Free'. - ๅ…ท็‹€ๆ…‹็š„ๅฐ้€่™•็†ๅธธๅผๅฟ…้ ˆๆœ‰ๅ็จฑ็‚บ 'Free' ็š„้›ถๅƒๆ•ธ็„กๆ•ˆๅ‚ณๅ›žๅŸท่กŒๅ€‹้ซ”ๆ–นๆณ•ใ€‚ - - - - The type '{0}' is a stateful marshaller and does not have a zero-parameter void-returning instance method named 'Free' - ้กžๅž‹ '{0}' ๆ˜ฏๅ…ท็‹€ๆ…‹็š„ๅฐ้€่™•็†ๅ™จ๏ผŒไธ”ๆฒ’ๆœ‰ๅ็‚บ 'Free' ็š„้›ถๅƒๆ•ธ็„กๆ•ˆๅ‚ณๅ›žๅŸท่กŒๅ€‹้ซ”ๆ–นๆณ• - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'FromManaged' instance method that takes the managed value as a parameter and returns 'void'. - ๆ”ฏๆดๅพžๅ—ๆŽงๅˆฐๆœชๅ—ๆŽงๅฐ้€่™•็†็š„ๅ…ท็‹€ๆ…‹ๅฐ้€่™•็†ๅ™จๅฟ…้ ˆๆไพ› 'FromManaged' ๅŸท่กŒๅ€‹้ซ”ๆ–นๆณ•๏ผŒ่ฉฒๆ–นๆณ•ๅฐ‡ๅ—ๆŽงๅ€ผไฝœ็‚บๅƒๆ•ธไธฆๅ‚ณๅ›ž 'void'ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromManaged' that takes a '{2}' as a parameter and returns 'void' - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{1}' ็š„ '{2}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ๅฎƒไธๆไพ›ๅ็‚บ 'FromManaged' ็š„ๅ–ฎไธ€ๅƒๆ•ธๅŸท่กŒๅ€‹้ซ”ๆ–นๆณ•๏ผŒ่ฉฒๆ–นๆณ•ๅฐ‡ '{2}' ๅ€ผไฝœ็‚บๅƒๆ•ธไธฆๅ‚ณๅ›ž 'void' - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'FromUnmanaged' instance method that takes the unmanaged value as a parameter and returns 'void'. - ๆ”ฏๆดๅพžๆœชๅ—ๆŽงๅˆฐๅ—ๆŽงๅฐ้€่™•็†็š„ๅ…ท็‹€ๆ…‹ๅฐ้€่™•็†ๅ™จๅฟ…้ ˆๆไพ› 'FromUnmanaged' ๅŸท่กŒๅ€‹้ซ”ๆ–นๆณ•๏ผŒ่ฉฒๆ–นๆณ•ๅฐ‡ๆœชๅ—ๆŽงๅ€ผไฝœ็‚บๅƒๆ•ธไธฆๅ‚ณๅ›ž 'void'ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a one-parameter instance method named 'FromUnmanaged' that takes the 'unmanaged' value as a parameter and returns 'void' - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{1}' ็š„ '{2}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ๅฎƒไธๆไพ›ๅ็‚บ 'FromUnmanaged' ็š„ๅ–ฎไธ€ๅƒๆ•ธๅŸท่กŒๅ€‹้ซ”ๆ–นๆณ•๏ผŒ่ฉฒๆ–นๆณ•ๅฐ‡ 'unmanaged' ๅ€ผไฝœ็‚บๅƒๆ•ธไธฆๅ‚ณๅ›ž 'void' - - - - A stateful marshaller that supports marshalling from unmanaged to managed must provide a 'ToManaged' instance method that takes no parameters and returns the managed type. - ๆ”ฏๆดๅพžๆœชๅ—ๆŽงๅˆฐๅ—ๆŽงๅฐ้€่™•็†็š„ๅ…ท็‹€ๆ…‹ๅฐ้€่™•็†ๅ™จๅฟ…้ ˆๆไพ› 'ToManaged' ๅŸท่กŒๅ€‹้ซ”ๆ–นๆณ•๏ผŒ่ฉฒๆ–นๆณ•ๆฒ’ๆœ‰ๅƒๆ•ธไธฆๅ‚ณๅ›žๅ—ๆŽง้กžๅž‹ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToManaged' that returns '{2}' - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{1}' ็š„ '{2}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ไธๆไพ›ๅ็‚บ 'ToManaged' ็š„้›ถๅƒๆ•ธๅŸท่กŒๅ€‹้ซ”ๆ–นๆณ•๏ผŒ่ฉฒๆ–นๆณ•ๆœƒๅ‚ณๅ›ž '{2}' - - - - A stateful marshaller that supports marshalling from managed to unmanaged must provide a 'ToUnmanaged' instance method that takes no parameters and returns the 'unmanaged' type. - ๆ”ฏๆดๅพžๅ—ๆŽงๅˆฐๆœชๅ—ๆŽงๅฐ้€่™•็†็š„ๅ…ท็‹€ๆ…‹ๅฐ้€่™•็†ๅ™จๅฟ…้ ˆๆไพ› 'ToUnmanaged' ๅŸท่กŒๅ€‹้ซ”ๆ–นๆณ•๏ผŒ่ฉฒๆ–นๆณ•ๆฒ’ๆœ‰ๅƒๆ•ธไธฆๅ‚ณๅ›ž 'unmanaged' ้กžๅž‹ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but it does not provide a zero-parameter instance method named 'ToUnmanaged' that returns the 'unmanaged' type for the marshaller - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{1}' ็š„ '{2}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ไธๆไพ›ๅ็‚บ 'ToUnmanaged' ็š„้›ถๅƒๆ•ธๅŸท่กŒๅ€‹้ซ”ๆ–นๆณ•๏ผŒ่ฉฒๆ–นๆณ•ๆœƒๅ‚ณๅ›žๅฐ้€่™•็†ๅ™จ็š„ 'unmanaged' ้กžๅž‹ - - - - When the 'Managed to Unmanaged with Caller-Allocated Buffer' shape is used by providing an 'AllocateContainerForUnmanagedElements' method that takes a 'Span<T>' on the marshaller type, the type must provide a static 'BufferSize' property to provide the number of elements in the caller-allocated buffer. - ็•ถ้€้Žๆไพ›ๅœจๅฐ้€่™•็†็จ‹ๅผ้กžๅž‹ไธŠๆŽก็”จ 'Span<T>' ็š„ 'AllocateContainerForUnmanagedElements' ๆ–นๆณ•ไพ†ไฝฟ็”จ 'Managed to Unmanaged with Caller-Allocated Buffer' ๅœ–ๅฝขๆ™‚๏ผŒ่ฉฒ้กžๅž‹ๅฟ…้ ˆๆไพ›้œๆ…‹ 'BufferSize' ๅฑฌๆ€งไปฅๆไพ› caller-allocated ็ทฉ่กๅ€ไธญ็š„ๅ…ƒ็ด ๆ•ธ็›ฎใ€‚ - - - - The marshaller type '{0}' must have a static read-only 'int' 'BufferSize' property to specify the size of the caller-allocated buffer because it has an 'AllocateContainerForUnmanagedElements' method that takes a caller-allocated 'Span<{1}>' - ๅฐ้€่™•็†็จ‹ๅผ้กžๅž‹ '{0}' ๅฟ…้ ˆๆœ‰้œๆ…‹ๅ”ฏ่ฎ€ 'int' 'BufferSize' ๅฑฌๆ€ง๏ผŒไปฅๆŒ‡ๅฎš caller-allocated ็ทฉ่กๅ€็š„ๅคงๅฐ๏ผŒๅ› ็‚บๅฎƒๅ…ทๆœ‰ๆŽก็”จ caller-allocated 'Span<{1}>' ็š„ 'AllocateContainerForUnmanagedElements' ๆ–นๆณ• - - - - A contiguous collection marshaller that supports marshalling from managed to unmanaged must provide a 'GetManagedValuesSource' that takes the managed value as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - ๆ”ฏๆดๅพž้žๅ—ๆŽงๅˆฐๅ—ๆŽงๅฐ้€่™•็†็š„้€ฃ็บŒ้›†ๅˆๅฐ้€่™•็†็จ‹ๅผๅฟ…้ ˆๆไพ›ๆŽฅๅ—ๅ—ๆŽงๅ€ผ็‚บๅƒๆ•ธไธฆๅ‚ณๅ›ž 'ReadOnlySpan<>' ็š„ 'GetManagedValuesDestination'๏ผŒๅ’ŒๆŽฅๅ—้žๅ—ๆŽงๅ€ผ็‚บๅƒๆ•ธไธฆๅ‚ณๅ›ž 'Span<>' ็š„ 'GetUnmanagedValuesSource' ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesSource' that takes '{2}' as a parameter and returns a 'ReadOnlySpan<>' and a 'GetUnmanagedValuesDestination' method that takes the unmanaged value as a parameter and returns a 'Span<>' - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{1}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ๆœชๆไพ›ๆŽฅๅ— '{2}' ็‚บๅƒๆ•ธไธฆๅ‚ณๅ›ž 'ReadOnlySpan<>' ็š„ 'GetManagedValuesSource' ๏ผŒๅ’ŒๆŽฅๅ—ๆœชๅ—ๆŽงๅ€ผ็‚บๅƒๆ•ธไธฆๅ‚ณๅ›ž 'Span<>' ็š„ 'GetUnmanagedValuesDestination' ๆ–นๆณ• - - - - A contiguous collection marshaller that supports marshalling from unmanaged to managed must provide a 'GetManagedValuesDestination' that takes the managed value and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>'. - ๆ”ฏๆดๅพž้žๅ—ๆŽงๅˆฐๅ—ๆŽงๅฐ้€่™•็†็š„้€ฃ็บŒ้›†ๅˆๅฐ้€่™•็†็จ‹ๅผๅฟ…้ ˆๆไพ›ๆŽฅๅ—ๅ—ๆŽงๅ€ผไธฆๅ‚ณๅ›ž 'Span<>' ็š„ 'GetManagedValuesDestination'๏ผŒๅ’ŒๆŽฅๅ—้žๅ—ๆŽงๅ€ผๅŠ 'int' ไธฆๅ‚ณๅ›ž 'ReadOnlySpan<>' ็š„ 'GetUnmanagedValuesSource' ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode, but it does not provide a 'GetManagedValuesDestination' that takes '{2}' and returns a 'Span<>' and a 'GetUnmanagedValuesSource' method that takes the unmanaged value and an 'int' and returns a 'ReadOnlySpan<>' - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{1}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ๆœชๆไพ›ๆŽฅๅ— '{2}' ๅ’Œๅ‚ณๅ›ž 'Span<>' ็š„ 'GetManagedValuesDestination'๏ผŒๅ’ŒๆŽฅๅ—ๆœชๅ—ๆŽงๅ€ผๅ’Œๅ‚ณๅ›ž 'ReadOnlySpan<>' ็š„ 'GetUnmanagedValuesSource' ๆ–นๆณ• - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForManagedElements' method taking the unmanaged type as the first parameter and the number of elements as an 'int' parameter - ๆ”ฏๆดๅพžๅ—ๆŽงๅˆฐๆœชๅ—ๆŽงๅฐ้€่™•็†็š„็„ก็‹€ๆ…‹้€ฃ็บŒ้›†ๅˆๅฐ้€่™•็†็จ‹ๅผๅฟ…้ ˆๆไพ› 'AllocateContainerForManagedElements' ๆ–นๆณ•๏ผŒๅฐ‡ๆœชๅ—ๆŽง็š„้กžๅž‹ไฝœ็‚บ็ฌฌไธ€ๅ€‹ๅƒๆ•ธ๏ผŒไปฅๅŠๅ…ƒ็ด ๆ•ธ็›ฎไฝœ็‚บ 'int' ๅƒๆ•ธ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForManagedElements' method that takes the unmanaged type as the first parameter and an 'int' as the second parameter - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{2}' ็š„ '{1}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ไธๆไพ›ๆŽฅๅ—ๆœชๅ—ๆŽง้กžๅž‹ไฝœ็ˆฒ็ฌฌไธ€ๅ€‹ๅƒๆ•ธๅ’Œ 'int' ไฝœ็‚บ็ฌฌไบŒๅ€‹ๅƒๆ•ธ็š„้›™ๅƒๆ•ธ 'AllocateContainerForManagedElements' ๆ–นๆณ• - - - - A stateless contiguous collection marshaller that supports marshalling from managed to unmanaged must provide an 'AllocateContainerForUnmanagedElements' method taking the managed type as the first parameter and providing the number of elements as an 'out int' parameter - ๆ”ฏๆดๅพžๅ—ๆŽงๅˆฐๆœชๅ—ๆŽงๅฐ้€่™•็†็š„็„ก็‹€ๆ…‹้€ฃ็บŒ้›†ๅˆๅฐ้€่™•็†็จ‹ๅผๅฟ…้ ˆๆไพ› 'AllocateContainerForManagedElements' ๆ–นๆณ•๏ผŒๅฐ‡ๅ—ๆŽง้กžๅž‹ไฝœ็‚บ็ฌฌไธ€ๅ€‹ๅƒๆ•ธ๏ผŒไปฅๅŠๆไพ›ๅ…ƒ็ด ๆ•ธ็›ฎไฝœ็‚บ 'out int' ๅƒๆ•ธ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a two-parameter 'AllocateContainerForUnmanagedElements' method that takes a '{2}' as the first parameter and an 'out int' as the second parameter - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{2}' ็š„ '{1}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ไธๆไพ›ๆŽฅๅ— '{2}' ไฝœ็ˆฒ็ฌฌไธ€ๅ€‹ๅƒๆ•ธๅ’Œ 'out int' ไฝœ็‚บ็ฌฌไบŒๅ€‹ๅƒๆ•ธ็š„้›™ๅƒๆ•ธ 'AllocateContainerForUnmanagedElements' ๆ–นๆณ• - - - - A stateless value marshaller that supports marshalling from unmanaged to managed must provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns the the managed type. - ๆ”ฏๆดๅพžๅ—ๆŽงๅˆฐๆœชๅ—ๆŽงๅฐ้€่™•็†็š„็„ก็‹€ๆ…‹ๅ€ผๅฐ้€่™•็†็จ‹ๅผๅฟ…้ ˆๆไพ›ๆŽฅๅ—ๆœชๅ—ๆŽง้กžๅž‹ไฝœ็‚บๅƒๆ•ธ๏ผŒไธฆๅ‚ณๅ›žๅ—ๆŽง้กžๅž‹็š„ 'ConvertToManaged' ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies it supports the '{1}' marshal mode, but it does not provide a 'ConvertToManaged' method that takes the unmanaged type as a parameter and returns '{2}' - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{1}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ๆœชๆไพ›ๅฐ‡ๆœชๅ—ๆŽง็š„้กžๅž‹็•ถๅšๅƒๆ•ธไธฆๅ‚ณๅ›ž '{2}' ็š„ 'ConvertToManaged' ๆ–นๆณ• - - - - A stateless value marshaller that supports marshalling from managed to unmanaged must provide a one-parameter 'ConvertToUnmanaged' method that takes the managed value as the parameter and returns a value of the 'unmanaged' type. - ๆ”ฏๆดๅพžๅ—ๆŽงๅˆฐๆœชๅ—ๆŽงๅฐ้€่™•็†็š„็„ก็‹€ๆ…‹ๅ€ผๅฐ้€่™•็†็จ‹ๅผๅฟ…้ ˆๆไพ›ๅ–ฎไธ€ๅƒๆ•ธ 'ConvertToUnmanaged' ๆ–นๆณ•๏ผŒๅฐ‡ๅ—ๆŽงๅ€ผไฝœ็‚บๅƒๆ•ธ๏ผŒไธฆๅ‚ณๅ›ž 'unmanaged' ้กžๅž‹็š„ๅ€ผใ€‚ - - - - The type '{0}' specifies that it supports the '{1}' marshal mode for '{2}' but does not provide a one-parameter 'ConvertToUnmanaged' method that takes a '{2}' as a parameter and returns a value of an 'unmanaged' type - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด '{2}' ็š„ '{1}' ๅฐ้€่™•็†ๆจกๅผ๏ผŒไฝ†ไธๆไพ›ไปฅ '{2}' ็‚บๅƒๆ•ธ็š„ๅ–ฎไธ€ๅƒๆ•ธ 'ConvertToUnmanaged' ๆ–นๆณ•๏ผŒไธฆๅ‚ณๅ›ž 'unmanaged' ้กžๅž‹็š„ๅ€ผ - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same. - 'ConvertToUnmanaged' ็š„ๅ‚ณๅ›ž้กžๅž‹่ˆ‡ 'ConvertToManaged' ็š„ๅƒๆ•ธ้กžๅž‹ๅฟ…้ ˆ็›ธๅŒใ€‚ - - - - The return type of 'ConvertToUnmanaged' and the parameter type of 'ConvertToManaged' must be the same - 'ConvertToUnmanaged' ็š„ๅ‚ณๅ›ž้กžๅž‹่ˆ‡ 'ConvertToManaged' ็š„ๅƒๆ•ธ้กžๅž‹ๅฟ…้ ˆ็›ธๅŒ - - - - The unmanaged type for a custom marshaller must be a C# unmanaged type. - ่‡ช่จ‚ๅฐ้€่™•็†็จ‹ๅผ็š„ๆœชๅ—ๆŽง้กžๅž‹ๅฟ…้ ˆๆ˜ฏ C# ๆœชๅ—ๆŽง้กžๅž‹ใ€‚ - - - - The return type of '{0}' must be unmanaged - '{0}' ็š„ๅ‚ณๅ›ž้กžๅž‹ๅฟ…้ ˆ็‚บไธๅ—ๆŽง - - - - 'void*' must be castable to the type so the pinned result of the static 'GetPinnableReference' method can be passed to the native context after being pinned. - 'void*' ๅฟ…้ ˆๅฏ่ฝ‰ๆ›็‚บ้กžๅž‹๏ผŒไปฅ่‡ด้œๆ…‹ 'GetPinnableReference' ๆ–นๆณ•็š„้‡˜้ธ็ตๆžœๅฏๅœจ้‡˜้ธไน‹ๅพŒๅ‚ณ้ž่‡ณๅŽŸ็”Ÿๅ…งๅฎนใ€‚ - - - - 'void*' must be castable to the type '{0}' because the managed type '{1}' has a static 'GetPinnableReference' method - 'void*' ๅฟ…้ ˆ่ฝ‰ๆ›็‚บ้กžๅž‹ '{0}'๏ผŒๅ› ็‚บๅ—ๆŽง้กžๅž‹ '{1}' ๅ…ทๆœ‰้œๆ…‹ 'GetPinnableReference' ๆ–นๆณ• - - - - An entry-point type for marshalling a given type must have a 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type. - ๆŒ‡ๅฎš้กžๅž‹็š„ๅฐ้€่™•็†้€ฒๅ…ฅ้ปž้กžๅž‹ๅฟ…้ ˆๆœ‰ 'System.Runtime.InteropServices.CustomMarshallerAttribute'๏ผŒๆŒ‡ๅฎšๆญค้กžๅž‹็‚บๅ—ๆŽง้กžๅž‹ใ€‚ - - - - The entry-point marshaller type '{0}' for the type '{1}' must be a type with at least one 'System.Runtime.InteropServices.CustomMarshallerAttribute' that specifies this type as the managed type - ้กžๅž‹ '{1}' ็š„้€ฒๅ…ฅ้ปžๅฐ้€่™•็†ๅ™จ้กžๅž‹ '{0}' ๅฟ…้ ˆๆ˜ฏๅ…ทๆœ‰่‡ณๅฐ‘ไธ€ๅ€‹ 'System.Runtime.InteropServices.CustomMarshallerAttribute' ็š„้กžๅž‹๏ผŒๆŒ‡ๅฎšๆญค้กžๅž‹็‚บๅ—ๆŽง้กžๅž‹ - - - - A 'Value' or 'LinearCollection'-kind native type that supports marshalling in the 'Out' direction must provide a 'ToManaged' method that returns the managed type. - ๆ”ฏๆดๅœจ 'Out' ๆ–นๅ‘ๆŽ’ๅˆ—็š„ 'Value' ๆˆ– 'LinearCollection'-kind ๅŽŸ็”Ÿ้กžๅž‹ๅฟ…้ ˆๆไพ›ๅ‚ณๅ›ž Managed ้กžๅž‹็š„ 'ToManaged' ๆ–นๆณ•ใ€‚ - - - - The type '{0}' specifies it supports marshalling in the 'Out' direction, but it does not provide a 'ToManaged' method that returns the managed type - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅฎƒๆ”ฏๆดไปฅ 'Out' ๆ–นๅ‘ๆŽ’ๅˆ—๏ผŒไฝ†ๆœชๆไพ›ๅ‚ณๅ›žๅ—็ฎก็†้กžๅž‹็š„ 'ToManaged' ๆ–นๆณ• - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same. - 'ToUnmanaged' ็š„ๅ‚ณๅ›ž้กžๅž‹่ˆ‡ 'FromUnmanaged' ็š„ๅƒๆ•ธ้กžๅž‹ๅฟ…้ ˆ็›ธๅŒใ€‚ - - - - The return type of 'ToUnmanaged' and the parameter type of 'FromUnmanaged' must be the same - 'ToUnmanaged' ็š„ๅ‚ณๅ›ž้กžๅž‹่ˆ‡ 'FromUnmanaged' ็š„ๅƒๆ•ธ้กžๅž‹ๅฟ…้ ˆ็›ธๅŒ - - - - For types that are not supported by source-generated P/Invokes, the resulting P/Invoke will rely on the underlying runtime to marshal the specified type. - ๅฐๆ–ผไพ†ๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆด็š„้กžๅž‹๏ผŒ็”ข็”Ÿ็š„ P/Invoke ๅฐ‡ไพ่ณดๅŸบ็คŽ้‹่กŒๆ™‚้–“ไพ†ๅฐ้€ๆŒ‡ๅฎš็š„้กžๅž‹ใ€‚ - - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter '{1}'. - ๆฅๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆด้กžๅž‹ '{0}'ใ€‚็”ข็”Ÿ็š„ๆฅๆบๅฐ‡ไธๆœƒ่™•็†ๅƒๆ•ธ '{1}' ็š„ๆŽ’ๅˆ—ใ€‚ - - - - {0} The generated source will not handle marshalling of parameter '{1}'. - {0} ็”ข็”Ÿ็š„ๆฅๆบๅฐ†ไธๆœƒ่™•็†ๅƒๆ•ธ '{1}' ็š„ๆŽ’ๅˆ—ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the parameter - - - The type '{0}' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of the return value of method '{1}'. - ๆฅๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆด้กžๅž‹ '{0}'ใ€‚็”ข็”Ÿ็š„ไพ†ๆบๅฐ‡ไธๆœƒ่™•็†ๆ–นๆณ• '{1}' ็š„ๅ‚ณๅ›žๅ€ผๆŽ’ๅˆ—ใ€‚ - - - - {0} The generated source will not handle marshalling of the return value of method '{1}'. - {0} ็”ข็”Ÿ็š„ไพ†ๆบๅฐ‡ไธๆœƒ่™•็†ๆ–นๆณ• '{1}' ไน‹ๅ‚ณๅ›žๅ€ผ็š„ๆŽ’ๅˆ—ใ€‚ - {0} is a message containing additional details about what is not supported -{1} is the name of the method - - - Specified type is not supported by source-generated P/Invokes - ๆฅๆบ็”ข็”Ÿ็š„ P/Invokes ไธๆ”ฏๆดๆŒ‡ๅฎš็š„้กžๅž‹ใ€‚ - - - - Unnecesssary marshalling info was provided. This marshalling information can be removed without any change in behavior to the application. - ๅทฒๆไพ›ไธๅฟ…่ฆ็š„ๅฐ้€่ณ‡่จŠใ€‚ๆ‚จๅฏไปฅ็งป้™คๆญคๅฐ้€่ณ‡่จŠ๏ผŒ่€Œไธๆœƒๅฐๆ‡‰็”จ็จ‹ๅผ้€ฒ่กŒไปปไฝ•่กŒ็‚บ่ฎŠๆ›ดใ€‚ - - - - Unnecessary marshalling info was provided and can be removed. - ๅทฒๆไพ›ไธๅฟ…่ฆ็š„ๅฐ้€่ณ‡่จŠ๏ผŒ่€Œไธ”ๅฏไปฅ็งป้™คใ€‚ - - - - Unnecessary marshalling info '{0}' was provided for parameter '{1}' - ๅทฒ็‚บๅƒๆ•ธ '{1}' ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€่ณ‡่จŠ '{0}' - - - - Unnecessary marshalling info '{0}' was provided for the return type of method '{1}' - ๅทฒ็‚บๆ–นๆณ• '{1}' ็š„ๅ‚ณๅ›ž้กžๅž‹ๆไพ›ไบ†ไธๅฟ…่ฆ็š„ๅฐ้€่ณ‡่จŠ '{0}' - - - - A 'Value'-kind native type that supports the 'CallerAllocatedBuffer' feature must provide a two-parameter constructor taking the managed type and a 'Span' of an 'unmanaged' type as parameters - ๆ”ฏๆด 'CallerAllocatedBuffer' ๅŠŸ่ƒฝ็š„ 'Value'-kind ๅŽŸ็”Ÿ้กžๅž‹ๅฟ…้ ˆๆไพ›ๆŽฅๅ—ๅ—็ฎก็†้กžๅž‹็š„้›™ๅƒๆ•ธๅปบๆง‹ๅ‡ฝ็คบ๏ผŒไปฅๅŠไปฅ 'unmanaged' ้กžๅž‹็š„ 'Span' ไฝœ็‚บๅƒๆ•ธ - - - - The type '{0}' specifies that it supports 'In' marshalling with the 'CallerAllocatedBuffer' feature for '{1}' but does not provide a two-parameter constructor that takes a '{1}' and 'Span' of an 'unmanaged' type as parameters - ้กžๅž‹ '{0}' ๆŒ‡ๅฎšๅ…ถๆ”ฏๆดไฝฟ็”จ 'CallerAllocatedBuffer' ๅŠŸ่ƒฝ็‚บ '{1}' ็š„ 'In' ๅฐ้€่™•็†๏ผŒไฝ†ไธๆไพ›ๆŽฅๅ— '{1}' ็š„ไบŒๅƒๆ•ธๆง‹ๅปบๅ‡ฝๅผ๏ผŒไปฅๅŠไปฅ 'unmanaged' ้กžๅž‹็š„ 'Span' ไฝœ็‚บๅƒๆ•ธ - - - - A 'Value'-kind native type must provide a one-parameter constructor taking the managed type as a parameter - 'Value'-kind ๅŽŸ็”Ÿ้กžๅž‹ๅฟ…้ ˆๆไพ›ไปฅ Managed ้กžๅž‹ไฝœ็‚บๅƒๆ•ธ็š„ๅ–ฎไธ€ๅƒๆ•ธๆง‹ๅปบๅ‡ฝๅผ - - - - The type '{0}' specifies that it supports 'In' marshalling of '{1}' but does not provide a one-parameter constructor that takes a '{1}' as a parameter - ้กžๅž‹ '{0}'ๆŒ‡ๅฎšๅฎƒๆ”ฏๆด 'In' ๅฐ้€'{1}'๏ผŒไฝ†ไธๆไพ›ไปฅ'{1}'ไฝœ็‚บๅƒๆ•ธ็š„ๅ–ฎไธ€ๅƒๆ•ธๅปบๆง‹ๅ‡ฝๅผ - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/AttributedMarshallingModelGeneratorFactory.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/AttributedMarshallingModelGeneratorFactory.cs index 13844429768d9..73b8cd8eb901a 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/AttributedMarshallingModelGeneratorFactory.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/AttributedMarshallingModelGeneratorFactory.cs @@ -294,7 +294,7 @@ private ResolvedGenerator CreateCustomNativeTypeMarshaller(TypePositionInfo info } } - IMarshallingGenerator marshallingGenerator = new CustomTypeMarshallingGenerator(marshallingStrategy, ByValueMarshalKindSupport.NotSupported); + IMarshallingGenerator marshallingGenerator = new CustomTypeMarshallingGenerator(marshallingStrategy, ByValueMarshalKindSupportDescriptor.Default, marshallerData.Shape.HasFlag(MarshallerShape.StatelessPinnableReference)); if (marshallerData.Shape.HasFlag(MarshallerShape.StatelessPinnableReference)) { @@ -426,35 +426,31 @@ private ResolvedGenerator CreateNativeCollectionMarshaller( } } - ByValueMarshalKindSupport byValueMarshalKindSupport; + ByValueMarshalKindSupportDescriptor byValueMarshalKindSupport; if (info.ManagedType is not SzArrayType) { - // We only support the [In] and [Out] attributes on array types. - byValueMarshalKindSupport = ByValueMarshalKindSupport.NotSupported; + byValueMarshalKindSupport = ByValueMarshalKindSupportDescriptor.Default; } else if (!elementIsBlittable || ElementTypeIsSometimesNonBlittable(elementInfo)) { // If the type is not blittable or is sometimes not blittable, we will generate different code when the attributes are provided. - byValueMarshalKindSupport = ByValueMarshalKindSupport.Supported; + byValueMarshalKindSupport = ByValueMarshalKindSupportDescriptor.ArrayParameter; } else { // If the type is always blittable, we'll generate the same code regardless of the attributes, // but we'll allow them to make it easier to transition to source-generated code and allow users to be clear about expectations // for values in pre-allocated buffers. - byValueMarshalKindSupport = ByValueMarshalKindSupport.Unnecessary; + byValueMarshalKindSupport = ByValueMarshalKindSupportDescriptor.PinnedParameter; } - IMarshallingGenerator marshallingGenerator = new CustomTypeMarshallingGenerator( - marshallingStrategy, - byValueMarshalKindSupport); - // Elements in the collection must be blittable to use the pinnable marshaller. - if (marshallerData.Shape.HasFlag(MarshallerShape.StatelessPinnableReference) && elementIsBlittable) + bool isPinned = marshallerData.Shape.HasFlag(MarshallerShape.StatelessPinnableReference) && elementIsBlittable; + IMarshallingGenerator marshallingGenerator = new CustomTypeMarshallingGenerator(marshallingStrategy, byValueMarshalKindSupport, isPinned); + if (isPinned) { marshallingGenerator = new StaticPinnableManagedValueMarshaller(marshallingGenerator, marshallerTypeSyntax); } - return ResolvedGenerator.Resolved(marshallingGenerator); } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/BlittableMarshaller.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/BlittableMarshaller.cs index 5173be0796ce3..ef2542dd87bc8 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/BlittableMarshaller.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/BlittableMarshaller.cs @@ -3,8 +3,6 @@ using System; using System.Collections.Generic; - -using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; @@ -103,7 +101,7 @@ public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) return info.IsByRef && !context.IsInStubReturnPosition(info) && !context.SingleFrameSpansNativeContext; } - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => ByValueMarshalKindSupport.NotSupported; + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, context, out diagnostic); } - } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/BoolMarshaller.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/BoolMarshaller.cs index aee1d16404fc9..a86df409e84a7 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/BoolMarshaller.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/BoolMarshaller.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Diagnostics; - using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; @@ -100,7 +99,8 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) => true; - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => ByValueMarshalKindSupport.NotSupported; + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, context, out diagnostic); } /// diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/ByValueContentsMarshalKindValidator.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/ByValueContentsMarshalKindValidator.cs index 66559ad90de19..5cc2a8f9a9b26 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/ByValueContentsMarshalKindValidator.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/ByValueContentsMarshalKindValidator.cs @@ -1,9 +1,7 @@ ๏ปฟ// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System; -using System.Collections.Immutable; -using Microsoft.CodeAnalysis; +using System.Diagnostics; namespace Microsoft.Interop { @@ -29,58 +27,22 @@ public ResolvedGenerator Create(TypePositionInfo info, StubCodeContext context) private static ResolvedGenerator ValidateByValueMarshalKind(TypePositionInfo info, StubCodeContext context, ResolvedGenerator generator) { - if (generator.Generator is Forwarder) + if (generator.Generator is Forwarder || info.ByValueContentsMarshalKind == ByValueContentsMarshalKind.Default) { // Forwarder allows everything since it just forwards to a P/Invoke. + // The Default marshal kind is always valid. return generator; } - if (info.IsByRef && info.ByValueContentsMarshalKind != ByValueContentsMarshalKind.Default) + var support = generator.Generator.SupportsByValueMarshalKind(info.ByValueContentsMarshalKind, info, context, out GeneratorDiagnostic? diagnostic); + Debug.Assert(support == ByValueMarshalKindSupport.Supported || diagnostic is not null); + return support switch { - return ResolvedGenerator.ResolvedWithDiagnostics(s_forwarder, generator.Diagnostics.Add(new GeneratorDiagnostic.NotSupported(info, context) - { - NotSupportedDetails = SR.InOutAttributeByRefNotSupported - })); - } - else if (info.ByValueContentsMarshalKind == ByValueContentsMarshalKind.In) - { - return ResolvedGenerator.ResolvedWithDiagnostics(s_forwarder, generator.Diagnostics.Add(new GeneratorDiagnostic.NotSupported(info, context) - { - NotSupportedDetails = SR.InAttributeNotSupportedWithoutOut - })); - } - else if (info.ByValueContentsMarshalKind != ByValueContentsMarshalKind.Default) - { - ByValueMarshalKindSupport support = generator.Generator.SupportsByValueMarshalKind(info.ByValueContentsMarshalKind, context); - if (support == ByValueMarshalKindSupport.NotSupported) - { - return ResolvedGenerator.ResolvedWithDiagnostics(s_forwarder, generator.Diagnostics.Add(new GeneratorDiagnostic.NotSupported(info, context) - { - NotSupportedDetails = SR.InOutAttributeMarshalerNotSupported - })); - } - else if (support == ByValueMarshalKindSupport.Unnecessary) - { - var locations = ImmutableArray.Empty; - if (info.ByValueMarshalAttributeLocations.InLocation is not null) - { - locations = locations.Add(info.ByValueMarshalAttributeLocations.InLocation); - } - if (info.ByValueMarshalAttributeLocations.OutLocation is not null) - { - locations = locations.Add(info.ByValueMarshalAttributeLocations.OutLocation); - } - - return generator with - { - Diagnostics = generator.Diagnostics.Add(new GeneratorDiagnostic.UnnecessaryData(info, context, locations) - { - UnnecessaryDataDetails = SR.InOutAttributes - }) - }; - } - } - return generator; + ByValueMarshalKindSupport.Supported => generator, + ByValueMarshalKindSupport.NotSupported => ResolvedGenerator.ResolvedWithDiagnostics(s_forwarder, generator.Diagnostics.Add(diagnostic!)), + ByValueMarshalKindSupport.Unnecessary => generator with { Diagnostics = generator.Diagnostics.Add(diagnostic!) }, + _ => throw new UnreachableException() + }; } } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/ByValueMarshalKindSupportDescriptor.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/ByValueMarshalKindSupportDescriptor.cs new file mode 100644 index 0000000000000..b7c80511e4ef3 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/ByValueMarshalKindSupportDescriptor.cs @@ -0,0 +1,129 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; +using System.Collections.Immutable; + +namespace Microsoft.Interop +{ + /// + /// Provides an implementation of through + /// + public record ByValueMarshalKindSupportDescriptor( + ByValueMarshalKindSupport InSupport, string? InSupportDetails, + ByValueMarshalKindSupport OutSupport, string? OutSupportDetails, + ByValueMarshalKindSupport InOutSupport, string? InOutSupportDetails) + { + /// + /// A default for by value parameters. [In] is allowed, but unnecessary. Out is not allowed. + /// + public static readonly ByValueMarshalKindSupportDescriptor Default = new ByValueMarshalKindSupportDescriptor( + InSupport: ByValueMarshalKindSupport.Unnecessary, InSupportDetails: SR.InAttributeOnlyIsDefault, + OutSupport: ByValueMarshalKindSupport.NotSupported, OutSupportDetails: SR.OutAttributeNotSupportedOnByValueParameters, + InOutSupport: ByValueMarshalKindSupport.NotSupported, InOutSupportDetails: SR.OutAttributeNotSupportedOnByValueParameters); + + /// + /// A default for by value array parameters. [In] is allowed, but unnecessary. Out is allowed. + /// + public static readonly ByValueMarshalKindSupportDescriptor ArrayParameter = new ByValueMarshalKindSupportDescriptor( + InSupport: ByValueMarshalKindSupport.Unnecessary, InSupportDetails: SR.InAttributeOnlyIsDefault, + OutSupport: ByValueMarshalKindSupport.Supported, OutSupportDetails: null, + InOutSupport: ByValueMarshalKindSupport.Supported, InOutSupportDetails: null); + + /// + /// A default for pinned by value parameters. [In] is not allowed. [In, Out] is the default and unnecessary. [Out] is allowed. + /// + public static readonly ByValueMarshalKindSupportDescriptor PinnedParameter = new ByValueMarshalKindSupportDescriptor( + InSupport: ByValueMarshalKindSupport.NotSupported, InSupportDetails: SR.InAttributeOnlyNotSupportedOnPinnedParameters, + OutSupport: ByValueMarshalKindSupport.Supported, OutSupportDetails: null, + InOutSupport: ByValueMarshalKindSupport.Unnecessary, InOutSupportDetails: SR.PinnedMarshallingIsInOutByDefault); + + /// + /// Returns the support for the ByValueContentsMarshalKind, and if it is not , diagnostic is not null + /// + public ByValueMarshalKindSupport GetSupport(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + { + if (info.IsByRef && marshalKind != ByValueContentsMarshalKind.Default) + { + diagnostic = new GeneratorDiagnostic.NotSupported(info, context) + { + NotSupportedDetails = SR.InOutAttributeByRefNotSupported + }; + return ByValueMarshalKindSupport.NotSupported; + } + switch (marshalKind) + { + case ByValueContentsMarshalKind.Default: + diagnostic = null; + return ByValueMarshalKindSupport.Supported; + case ByValueContentsMarshalKind.Out: + diagnostic = OutSupport switch + { + ByValueMarshalKindSupport.Supported => null, + ByValueMarshalKindSupport.Unnecessary + => new GeneratorDiagnostic.UnnecessaryData( + info, + context, + ImmutableArray.Create(info.ByValueMarshalAttributeLocations.OutLocation)) + { + UnnecessaryDataName = SR.InOutAttributes, + UnnecessaryDataDetails = OutSupportDetails + }, + ByValueMarshalKindSupport.NotSupported + => new GeneratorDiagnostic.NotSupported( + info, + context) + { NotSupportedDetails = OutSupportDetails }, + _ => throw new UnreachableException($"Unexpected {nameof(ByValueMarshalKindSupport)} Variant: {InOutSupport}") + }; + return OutSupport; + case ByValueContentsMarshalKind.In: + diagnostic = InSupport switch + { + ByValueMarshalKindSupport.Supported => null, + ByValueMarshalKindSupport.Unnecessary + => new GeneratorDiagnostic.UnnecessaryData( + info, + context, + ImmutableArray.Create(info.ByValueMarshalAttributeLocations.InLocation)) + { + UnnecessaryDataName = SR.InOutAttributes, + UnnecessaryDataDetails = InSupportDetails + }, + ByValueMarshalKindSupport.NotSupported + => new GeneratorDiagnostic.NotSupported( + info, + context) + { NotSupportedDetails = InSupportDetails }, + _ => throw new UnreachableException($"Unexpected {nameof(ByValueMarshalKindSupport)} Variant: {InOutSupport}") + }; + return InSupport; + case ByValueContentsMarshalKind.InOut: + diagnostic = InOutSupport switch + { + ByValueMarshalKindSupport.Supported => null, + ByValueMarshalKindSupport.Unnecessary + => new GeneratorDiagnostic.UnnecessaryData( + info, + context, + ImmutableArray.Create( + info.ByValueMarshalAttributeLocations.InLocation, + info.ByValueMarshalAttributeLocations.OutLocation)) + { + UnnecessaryDataName = SR.InOutAttributes, + UnnecessaryDataDetails = InOutSupportDetails + }, + ByValueMarshalKindSupport.NotSupported + => new GeneratorDiagnostic.NotSupported( + info, + context) + { NotSupportedDetails = InOutSupportDetails }, + _ => throw new UnreachableException($"Unexpected {nameof(ByValueMarshalKindSupport)} Variant: {InOutSupport}") + }; + return InOutSupport; + default: + throw new UnreachableException($"Unexpected {nameof(ByValueContentsMarshalKind)} variant: {marshalKind}"); + } + } + } +} diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CharMarshaller.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CharMarshaller.cs index b432ea88d7c94..8eb7825c53604 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CharMarshaller.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CharMarshaller.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Diagnostics; - using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; @@ -128,8 +127,6 @@ public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) return context.IsInStubReturnPosition(info) || (info.IsByRef && !context.SingleFrameSpansNativeContext); } - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => ByValueMarshalKindSupport.NotSupported; - private static bool IsPinningPathSupported(TypePositionInfo info, StubCodeContext context) { return context.SingleFrameSpansNativeContext @@ -138,5 +135,19 @@ private static bool IsPinningPathSupported(TypePositionInfo info, StubCodeContex } private static string PinnedIdentifier(string identifier) => $"{identifier}__pinned"; + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + { + // Maybe should be done in the CharMarshallerFactory, but complexity and interdependence bleeds in if you do that + if (IsPinningPathSupported(info, context) && info.RefKind == RefKind.In) + { + diagnostic = new GeneratorDiagnostic.NotSupported(info, context) + { + NotSupportedDetails = SR.InRefKindIsNotSupportedOnPinnedParameters + }; + return ByValueMarshalKindSupport.NotSupported; + } + return ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, context, out diagnostic); + } + } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CharMarshallingGeneratorFactory.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CharMarshallingGeneratorFactory.cs index d60e3b8a49471..1b40fc13da59a 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CharMarshallingGeneratorFactory.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CharMarshallingGeneratorFactory.cs @@ -2,9 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System; -using System.Collections.Generic; using System.Runtime.InteropServices; -using System.Text; using Microsoft.CodeAnalysis; namespace Microsoft.Interop diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CustomTypeMarshallingGenerator.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CustomTypeMarshallingGenerator.cs index 3c492cb16ac0b..7873781e475df 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CustomTypeMarshallingGenerator.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/CustomTypeMarshallingGenerator.cs @@ -3,9 +3,7 @@ using System; using System.Collections.Generic; -using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; -using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; namespace Microsoft.Interop { @@ -15,12 +13,14 @@ namespace Microsoft.Interop internal sealed class CustomTypeMarshallingGenerator : IMarshallingGenerator { private readonly ICustomTypeMarshallingStrategy _nativeTypeMarshaller; - private readonly ByValueMarshalKindSupport _byValueContentsMarshallingSupport; + private readonly ByValueMarshalKindSupportDescriptor _byValueContentsMarshallingSupport; + private readonly bool _isPinned; - public CustomTypeMarshallingGenerator(ICustomTypeMarshallingStrategy nativeTypeMarshaller, ByValueMarshalKindSupport byValueContentsMarshallingSupport) + public CustomTypeMarshallingGenerator(ICustomTypeMarshallingStrategy nativeTypeMarshaller, ByValueMarshalKindSupportDescriptor byValueContentsMarshallingSupport, bool isPinned) { _nativeTypeMarshaller = nativeTypeMarshaller; _byValueContentsMarshallingSupport = byValueContentsMarshallingSupport; + _isPinned = isPinned; } public bool IsSupported(TargetFramework target, Version version) @@ -54,7 +54,7 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont return _nativeTypeMarshaller.GenerateSetupStatements(info, context); case StubCodeContext.Stage.Marshal: if (elementMarshalDirection is MarshalDirection.ManagedToUnmanaged or MarshalDirection.Bidirectional - || (context.Direction == MarshalDirection.UnmanagedToManaged && ShouldGenerateByValueOutMarshalling(info))) + || (context.Direction == MarshalDirection.UnmanagedToManaged && ShouldGenerateByValueOutMarshalling(info, context))) { return _nativeTypeMarshaller.GenerateMarshalStatements(info, context); } @@ -85,14 +85,14 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont break; case StubCodeContext.Stage.Unmarshal: if (elementMarshalDirection is MarshalDirection.UnmanagedToManaged or MarshalDirection.Bidirectional - || (context.Direction == MarshalDirection.ManagedToUnmanaged && ShouldGenerateByValueOutMarshalling(info))) + || (context.Direction == MarshalDirection.ManagedToUnmanaged && ShouldGenerateByValueOutMarshalling(info, context))) { return _nativeTypeMarshaller.GenerateUnmarshalStatements(info, context); } break; case StubCodeContext.Stage.GuaranteedUnmarshal: if (elementMarshalDirection is MarshalDirection.UnmanagedToManaged or MarshalDirection.Bidirectional - || (context.Direction == MarshalDirection.ManagedToUnmanaged && ShouldGenerateByValueOutMarshalling(info))) + || (context.Direction == MarshalDirection.ManagedToUnmanaged && ShouldGenerateByValueOutMarshalling(info, context))) { return _nativeTypeMarshaller.GenerateGuaranteedUnmarshalStatements(info, context); } @@ -106,19 +106,23 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont return Array.Empty(); } - private bool ShouldGenerateByValueOutMarshalling(TypePositionInfo info) + private bool ShouldGenerateByValueOutMarshalling(TypePositionInfo info, StubCodeContext context) { - return _byValueContentsMarshallingSupport == ByValueMarshalKindSupport.Supported && !info.IsByRef && info.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.Out); + return + info.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.Out) + && _byValueContentsMarshallingSupport.GetSupport(info.ByValueContentsMarshalKind, info, context, out _) == ByValueMarshalKindSupport.Supported + && !info.IsByRef + && !_isPinned; } - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) + public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) { - return _byValueContentsMarshallingSupport; + return _nativeTypeMarshaller.UsesNativeIdentifier(info, context); } - public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) { - return _nativeTypeMarshaller.UsesNativeIdentifier(info, context); + return _byValueContentsMarshallingSupport.GetSupport(marshalKind, info, context, out diagnostic); } } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/DelegateMarshaller.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/DelegateMarshaller.cs index 2d2461e9b160f..3f8631a3d4ab2 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/DelegateMarshaller.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/DelegateMarshaller.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; -using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; @@ -102,6 +101,7 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) => true; - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => ByValueMarshalKindSupport.NotSupported; + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, context, out diagnostic); } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/Forwarder.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/Forwarder.cs index 0b75eb030f88e..79c2fd999f00a 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/Forwarder.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/Forwarder.cs @@ -33,6 +33,7 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) => false; - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => ByValueMarshalKindSupport.Supported; + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, context, out diagnostic); } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/GeneratorDiagnostic.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/GeneratorDiagnostic.cs index 8abcaf363fd5d..22444e79824c9 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/GeneratorDiagnostic.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/GeneratorDiagnostic.cs @@ -1,6 +1,7 @@ ๏ปฟ// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using System; using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; @@ -26,7 +27,7 @@ private GeneratorDiagnostic(TypePositionInfo typePositionInfo, StubCodeContext s public abstract DiagnosticInfo ToDiagnosticInfo(DiagnosticDescriptor descriptor, Location location, string elementName); - public sealed record NotSupported(TypePositionInfo TypePositionInfo, StubCodeContext StubCodeContext) : GeneratorDiagnostic(TypePositionInfo, StubCodeContext, isFatal: true) + public sealed record NotSupported(TypePositionInfo TypePositionInfo, StubCodeContext Context) : GeneratorDiagnostic(TypePositionInfo, Context, isFatal: true) { /// /// [Optional] Specific reason marshalling of the supplied type isn't supported. @@ -45,7 +46,8 @@ public override DiagnosticInfo ToDiagnosticInfo(DiagnosticDescriptor descriptor, public sealed record UnnecessaryData(TypePositionInfo TypePositionInfo, StubCodeContext StubCodeContext, ImmutableArray UnnecessaryDataLocations) : GeneratorDiagnostic(TypePositionInfo, StubCodeContext, isFatal: false) { - public required string UnnecessaryDataDetails { get; init; } + public required string UnnecessaryDataName { get; init; } + public string? UnnecessaryDataDetails { get; init; } public override DiagnosticInfo ToDiagnosticInfo(DiagnosticDescriptor descriptor, Location location, string elementName) { @@ -55,8 +57,9 @@ public override DiagnosticInfo ToDiagnosticInfo(DiagnosticDescriptor descriptor, UnnecessaryDataLocations, // Add "unnecessary locations" property so the IDE fades the right locations. DiagnosticProperties.Add(WellKnownDiagnosticTags.Unnecessary, $"[{string.Join(",", Enumerable.Range(0, UnnecessaryDataLocations.Length))}]"), - UnnecessaryDataDetails, - elementName); + UnnecessaryDataName, + elementName, + UnnecessaryDataDetails ?? ""); } } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/MarshallingGenerator.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/MarshallingGenerator.cs index d1c26134145eb..f5e8aacdaa3c1 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/MarshallingGenerator.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/MarshallingGenerator.cs @@ -3,9 +3,7 @@ using System; using System.Collections.Generic; -using System.Collections.Immutable; using Microsoft.CodeAnalysis.CSharp.Syntax; -using Microsoft.CodeAnalysis.Diagnostics; namespace Microsoft.Interop { @@ -153,8 +151,13 @@ public interface IMarshallingGenerator /// A supported marshal kind has a different behavior than the default behavior. /// /// The marshal kind. + /// The TypePositionInfo of the parameter. /// The marshalling context. + /// + /// The diagnostic to report if the return value is not . + /// It should be non-null if the value is not + /// /// If the provided is supported and if it is required to specify the requested behavior. - ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context); + ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic); } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/SafeHandleMarshaller.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/SafeHandleMarshaller.cs index 42129ce4a16a6..4e0b3bcf40f92 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/SafeHandleMarshaller.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/SafeHandleMarshaller.cs @@ -234,6 +234,7 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) => true; - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => ByValueMarshalKindSupport.NotSupported; + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, context, out diagnostic); } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/StaticPinnableManagedValueMarshaller.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/StaticPinnableManagedValueMarshaller.cs index a4256b204d567..e5be70fcdbadf 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/StaticPinnableManagedValueMarshaller.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/StaticPinnableManagedValueMarshaller.cs @@ -62,11 +62,6 @@ public IEnumerable Generate(TypePositionInfo info, StubCodeCont return _innerMarshallingGenerator.Generate(info, context); } - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) - { - return _innerMarshallingGenerator.SupportsByValueMarshalKind(marshalKind, context); - } - public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) { if (IsPinningPathSupported(info, context)) @@ -107,5 +102,18 @@ private IEnumerable GeneratePinningPath(TypePositionInfo info, EmptyStatement()); } } + + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + { + if (marshalKind is ByValueContentsMarshalKind.In) + { + diagnostic = new GeneratorDiagnostic.NotSupported(info, context) + { + NotSupportedDetails = SR.InAttributeOnlyNotSupportedOnPinnedParameters + }; + return ByValueMarshalKindSupport.NotSupported; + } + return ByValueMarshalKindSupportDescriptor.PinnedParameter.GetSupport(marshalKind, info, context, out diagnostic); + } } } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/UnmanagedToManagedOwnershipTrackingStrategy.cs b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/UnmanagedToManagedOwnershipTrackingStrategy.cs index 00f54099c90aa..5b9d0866f743c 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/UnmanagedToManagedOwnershipTrackingStrategy.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/UnmanagedToManagedOwnershipTrackingStrategy.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Generic; -using System.Text; +using System.Diagnostics.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; @@ -164,7 +164,8 @@ IEnumerable GenerateStatementsFromInner(StubCodeContext context public SignatureBehavior GetNativeSignatureBehavior(TypePositionInfo info) => _inner.GetNativeSignatureBehavior(info); public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => _inner.GetValueBoundaryBehavior(info, context); public bool IsSupported(TargetFramework target, Version version) => _inner.IsSupported(target, version); - public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, StubCodeContext context) => _inner.SupportsByValueMarshalKind(marshalKind, context); + public ByValueMarshalKindSupport SupportsByValueMarshalKind(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, StubCodeContext context, out GeneratorDiagnostic? diagnostic) + => _inner.SupportsByValueMarshalKind(marshalKind, info, context, out diagnostic); public bool UsesNativeIdentifier(TypePositionInfo info, StubCodeContext context) => _inner.UsesNativeIdentifier(info, context); } diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj index a1efa403dffbf..63f1d984c332f 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj @@ -6,6 +6,7 @@ $(DefineConstants);MICROSOFT_INTEROP_SOURCEGENERATION true cs + ../Common/Resources/Strings.resx diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/Strings.resx b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/Strings.resx deleted file mode 100644 index 71140a99ff445..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/Strings.resx +++ /dev/null @@ -1,198 +0,0 @@ -๏ปฟ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - - - The provided graph has cycles and cannot be topologically sorted. - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - - - Count information for a given element at a given indirection level can only be specified once - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - - - Containing type '{0}' has accessibility '{1}'. - - - '{0}' has accessibility '{1}'. - - - [In] and [Out] attributes - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.cs.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.cs.xlf deleted file mode 100644 index 48c12f033fbe8..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.cs.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - Zaล™azovรกnรญ pole z nespravovanรฉho na spravovanรฉ vyลพaduje aby pole SizeParamIndex nebo SizeConst byla nastavena buฤ na MarshalAsAttribute, nebo aby byly vlastnosti ConstantElementCount nebo CountElementName nastaveny na MarshalUsingAttribute. - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - Zadanรฝ parametr musรญ bรฝt zaล™azenรฝ ze spravovanรฉho do nespravovanรฉho a z nespravovanรฉho do spravovanรฉho, ale zaล™azovacรญ typ {0} to nepodporuje. - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - Zadanรฝ parametr velikosti kolekce musรญ bรฝt u kolekce celoฤรญselnรฝ. Pokud se informace o velikosti pouลพijรญ na vnoล™enou kolekci, parametr velikosti musรญ bรฝt kolekce o jednu niลพลกรญ รบrovnฤ› vnoล™enรญ s integrรกlnรญm elementem. - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - U atributu MarshalUsingAttribute pro danรฝ ElementIndirectionDepth se mลฏลพe se pouลพรญt jen jeden z prvkลฏ ConstantElementCount nebo ElementCountInfo - - - - Containing type '{0}' has accessibility '{1}'. - Obsahujรญcรญ typ โ€ž{0}โ€œmรก pล™รญstupnost โ€ž{1}โ€œ. - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - Tento prvek nesmรญ zรกviset na {0} pro informace o velikost kolekce bez toho, aby doลกlo k vytvoล™enรญ cyklu zรกvislosti. - - - - Count information for a given element at a given indirection level can only be specified once - Informace o poฤtu pro danรฝ prvek na danรฉ รบrovni indirekce se dajรญ urฤit jenom jednou - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - Vรญce atributลฏ zaล™azovรกnรญ pro kaลพdรฝ prvek za รบroveลˆ indirekce se nepodporuje, ale byly poskytnuty duplicitnรญ informace pro รบroveลˆ indirekce {0} - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - Informace o zaล™azovรกnรญ se urฤily pro ElementIndirectionDepth {0}, ale informace o zaล™azovรกnรญ byly potล™ebnรฉ pouze pro {1} รบrovnฤ› indirekce. - - - - The provided graph has cycles and cannot be topologically sorted. - Poskytnutรฝ graf obsahuje cykly a nelze ho ล™adit topologicky. - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - Atribut โ€ž[In]โ€œ se nepodporuje, pokud nenรญ zรกroveลˆ pouลพit i atribut โ€ž[Out]โ€œ. Chovรกnรญ atributu โ€ž[In]โ€œ bez atributu โ€ž[Out]โ€œ je stejnรฉ, jako vรฝchozรญ chovรกnรญ. - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - Atributy โ€ž[In]โ€œ a โ€ž[Out]โ€œ se nepodporujรญ u parametrลฏ pล™edanรฝch odkazem. Pouลพijte mรญsto nich klรญฤovรก slova โ€žinโ€œ, โ€žrefโ€œ nebo โ€žoutโ€œ. - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - Poskytnutรฉ atributy โ€ž[In]โ€œ a โ€ž[Out]โ€œ u tohoto parametru se na tomto parametru nepodporujรญ. - - - - [In] and [Out] attributes - atributy [In] a [Out] - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - Urฤenรฝ parametr musรญ bรฝt zaล™azenรฝ ze spravovanรฉho do nespravovanรฉho, ale zaล™azovacรญ typ {0} to nepodporuje. - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - Typ vstupnรญho bodu ล™adiฤe โ€ž{0}โ€œ pro spravovanรฝ typ โ€ž{1}โ€œ musรญ mรญt aritu o jednu vฤ›tลกรญ neลพ spravovanรฝ typ. - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - Vลกechny zaล™azovacรญ moduly pro hodnoty, kterรฉ jsou pล™edรกny jako nespravovanรก nรกvratovรก hodnota, musรญ mรญt stejnรฝ nespravovanรฝ typ. - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - Typ zaล™azovaฤe {0} pro spravovanรฝ typ {1} musรญ bรฝt statickรฝ. - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Logickรก hodnota zaล™azovรกnรญ bez vรฝslovnรฝch informacรญ zaล™azovรกnรญ se nepodporuje. Urฤete buฤ MarshalUsingAttribute nebo MarshalAsAttribute. - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - Zaล™azovรกnรญ datovรฉho typu char se StringMarshalling.{0} se nepodporuje. Mรญsto toho ruฤnฤ› pล™eveฤte datovรฝ typ char na poลพadovanou bajtovou reprezentaci a pล™edejte do zdrojem generovanรฉho volรกnรญ P/Invoke. - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - Zaล™azovรกnรญ datovรฉho typu char se StringMarshalling.Custom se nepodporuje. Pokud chcete pouลพรญt zaล™azovรกnรญ vlastnรญho typu, zadejte MarshalUsingAttribute. - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Zaล™azovรกnรญ ล™etฤ›zce nebo znaku bez explicitnรญch informacรญ o zaล™azovรกnรญ se nepodporuje. Zadejte โ€ž{0}. StringMarshallingโ€œ, โ€ž{0}. StringMarshallingCustomTypeโ€œ, โ€žMarshalUsingAttributeโ€œ nebo โ€žMarshalAsAttribute.โ€œ - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - Aby se povolilo zaล™azovรกnรญ tohoto typu, musรญ se v tomto projektu zakรกzat zaล™azovรกnรญ modulu runtime pouลพitรญm atributu System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute u sestavenรญ. - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - Abstraktnรญ typ odvozenรฝ ze SafeHandle nelze zaล™adit pomocรญ odkazu. Poskytnutรฝ typ musรญ bรฝt konkrรฉtnรญ. - - - - '{0}' has accessibility '{1}'. - โ€ž{0}โ€œ mรก pล™รญstupnost โ€ž{1}โ€œ. - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - Urฤenรฝ parametr musรญ bรฝt zaล™azenรฝ z nespravovanรฉho do spravovanรฉho, ale zaล™azovacรญ typ {0} to nepodporuje. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.de.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.de.xlf deleted file mode 100644 index 4de25d75bddd6..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.de.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - Fรผr das Marshalling eines Arrays von \"nicht verwaltet\" in \"verwaltet\" mรผssen entweder die Felder \"SizeParamIndex\" oder \"SizeConst\" fรผr ein MarshalAsAttribute festgelegt werden, oder die Eigenschaften \"ConstantElementCount\" oder \"CountElementName\" mรผssen fรผr ein MarshalUsingAttribute festgelegt werden. - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - Der angegebene Parameter muss von verwaltet zu nicht verwaltet und von nicht verwaltet zu verwaltet gemarshallt werden, aber der Marshaller-Typ โ€š{0}โ€˜ unterstรผtzt dies nicht. - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - Der angegebene Parameter fรผr die SammlungsgrรถรŸe fรผr eine Auflistung muss ein ganzzahliger Typ sein. Wenn die GrรถรŸeninformationen auf eine geschachtelte Auflistung angewendet werden, muss der GrรถรŸenparameter eine Auflistung mit einer geringeren Schachtelungsebene mit einem ganzzahligen Element sein. - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - Nur eines von \"ConstantElementCount\" oder \"ElementCountInfo\" kann in einem \"MarshalUsingAttribute\" fรผr ein angegebenes \"ElementIndirectionDepth\" verwendet werden. - - - - Containing type '{0}' has accessibility '{1}'. - Der Enthaltende Typ '{0}' verfรผgt รผber Barrierefreiheit '{1}'. - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - Dieses Element kann fรผr Informationen zur SammlungsgrรถรŸe nicht von \"{0}\" abhรคngen, ohne einen Abhรคngigkeitszyklus zu erstellen. - - - - Count information for a given element at a given indirection level can only be specified once - Die Anzahl der Informationen fรผr ein bestimmtes Element auf einer bestimmten Dereferenzierungsebene kann nur einmal angegeben werden. - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - Mehrere Marshallingattribute pro Element pro Dereferenzierungsebene werden nicht unterstรผtzt, es wurden jedoch doppelte Informationen fรผr die Dereferenzierungsebene {0} - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - Marshallinginformationen wurden fรผr \"ElementIndirectionDepth\" {0}angegeben. Marshallinginformationen wurden jedoch nur fรผr {1} Dereferenzierungsebene(n) benรถtigt. - - - - The provided graph has cycles and cannot be topologically sorted. - Das bereitgestellte Diagramm weist Zyklen auf und kann nicht topologisch sortiert werden. - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - Das [In]-Attribut wird nur unterstรผtzt, wenn auch das [Out]-Attribut verwendet wird. Das Verhalten des [In]-Attributs ohne das [Out]-Attribut entspricht dem Standardverhalten. - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - Die Attribute \"[In]\" und \"[Out]\" werden fรผr Parameter, die als Verweis รผbergeben werden, nicht unterstรผtzt. Verwenden Sie stattdessen die Schlรผsselwรถrter \"in\", \"ref\" oder \"out\". - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - Die angegebenen Attribute \"[In]\" und \"[Out]\" fรผr diesen Parameter werden fรผr diesen Parameter nicht unterstรผtzt. - - - - [In] and [Out] attributes - [In]- und [Out]-Attribute - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - Der angegebene Parameter muss von verwaltet zu nicht verwaltet gemarshallt werden, aber der Marshaller-Typ โ€š{0}โ€˜ unterstรผtzt dies nicht. - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - Der Marshaller-Einstiegspunkttyp "{0}" fรผr den verwalteten Typ "{1}" muss eine Stelligkeit aufweisen, die grรถรŸer als der verwaltete Typ ist. - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - Alle Marshaller fรผr Werte, die als nicht verwalteter Rรผckgabewert รผbergeben werden, mรผssen denselben nicht verwalteten Typ aufweisen. - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - Der Marshallertyp '{0}' fรผr den verwalteten Typ '{1}' muss eine statische Klasse oder eine Struktur sein. - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Marshalling eines booleschen Werts ohne explizite Marshallinginformationen wird nicht unterstรผtzt. Geben Sie entweder \"MarshalUsingAttribute\" oder \"MarshalAsAttribute\" an. - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - Das Marshalling von Zeichen mit โ€žStringMarshalling.{0}โ€œ wird nicht unterstรผtzt. Konvertieren Sie stattdessen den Zeichentyp manuell in die gewรผnschte Bytedarstellung, und รผbergeben Sie diesen an P/Invoke, das von der Quelle generiert wurde. - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - Das Marshalling von Zeichen mit โ€žStringMarshalling.Customโ€œ wird nicht unterstรผtzt. Geben Sie โ€žMarshalUsingAttributeโ€œ an, um einen benutzerdefinierten Typ-Marshaller zu verwenden. - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Das Marshalling von Zeichenfolgen oder Zeichen ohne explizite Marshalling-Informationen wird nicht unterstรผtzt. Geben Sie "{0}.StringMarshalling", "{0}.StringMarshallingCustomType", "MarshalUsingAttribute" oder "MarshalAsAttribute" an. - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - Das Runtime-Marshalling muss in diesem Projekt deaktiviert werden, indem โ€žSystem.Runtime.CompilerServices.DisableRuntimeMarshallingAttributeโ€œ auf die Assembly angewendet wird, um das Marshalling dieses Typs zu ermรถglichen. - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - Ein abstrakter Typ, der von \"SafeHandle\" abgeleitet wird, kann nicht als Verweis gemarshallt werden. Der angegebene Typ muss ein konkretes Element sein. - - - - '{0}' has accessibility '{1}'. - '{0}' verfรผgt รผber Barrierefreiheit '{1}'. - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - Der angegebene Parameter muss von nicht verwaltet zu verwaltet gemarshallt werden, aber der Marshaller-Typ โ€š{0}โ€˜ unterstรผtzt dies nicht. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.es.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.es.xlf deleted file mode 100644 index ce934742a5401..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.es.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - La serializaciรณn de una matriz de no administrada a administrada requiere, o bien que los campos โ€œSizeParamIndexโ€ o โ€œSizeConstโ€ se establezcan en un โ€œMarshalAsAttributeโ€, o bien que las propiedades โ€œConstantElementCountโ€ o โ€œCountElementNameโ€ se establezcan en un โ€œMarshalUsingAttributeโ€. - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - El parรกmetro especificado debe serializarse de administrado a no administrado y de no administrado a administrado, pero el tipo de serializador "{0}" no lo admite. - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - El parรกmetro de tamaรฑo de colecciรณn especificado para una colecciรณn debe ser de tipo entero. Si la informaciรณn de tamaรฑo se aplica a una colecciรณn anidada, el parรกmetro de tamaรฑo debe ser una colecciรณn de un nivel menos de anidamiento con un elemento integral. - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - De entre โ€œConstantElementCountโ€ y โ€œElementCountInfoโ€, solo se puede usar uno de los dos en un โ€œMarshalUsingAttributeโ€ para un โ€œElementIndirectionDepthโ€ determinado - - - - Containing type '{0}' has accessibility '{1}'. - El tipo contenedor '{0}' tiene accesibilidad '{1}'. - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - Este elemento no puede depender de โ€œ{0}โ€ para la informaciรณn de tamaรฑo de colecciรณn sin crear un ciclo de dependencia - - - - Count information for a given element at a given indirection level can only be specified once - La informaciรณn de recuento de un elemento determinado en un nivel de direccionamiento indirecto determinado solo se puede especificar una vez - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - No se admiten varios atributos de serializaciรณn por elemento por nivel de direccionamiento indirecto, pero se proporcionรณ informaciรณn duplicada para el nivel de direccionamiento indirecto {0} - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - Se especificรณ informaciรณn de serializaciรณn para โ€œElementIndirectionDepthโ€ {0}, pero la informaciรณn de serializaciรณn solo era necesaria para {1} niveles de direccionamiento indirecto - - - - The provided graph has cycles and cannot be topologically sorted. - El grรกfico porporcionado tiene ciclos y no se puede ordenar topolรณgicamente. - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - No se admite el atributo โ€œ[In]โ€ a menos que tambiรฉn se use el atributo โ€œ[Out]โ€. El comportamiento del atributo โ€œ[In]โ€ sin el atributo โ€œ[Out]โ€ es el mismo que el predeterminado. - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - Los atributos โ€œ[In]โ€ y โ€œ[Out]โ€ no se admiten en los parรกmetros pasados por referencia. Use las palabras clave โ€œinโ€, โ€œrefโ€ o โ€œoutโ€ en su lugar. - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - En este parรกmetro, los atributos โ€œ[In]โ€ y โ€œ[Out]โ€ proporcionados no se admiten. - - - - [In] and [Out] attributes - Atributos [In] y [Out] - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - El parรกmetro especificado debe serializarse de administrado a no administrado, pero el tipo no administrado โ€œ{0}โ€ no lo admite. - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - El tipo de punto de entrada del serializador "{0}" para el tipo administrado "{1}" debe tener una aridad mayor que el tipo administrado. - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - Todos los serializadores para los valores que se pasan como valor devuelto no administrado deberรกn tener el mismo tipo no administrado. - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - El tipo de serializador "{0}" para el tipo administrado "{1}" debe ser una clase estรกtica o un struct. - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - No se admite la serializaciรณn booleana sin informaciรณn de serializaciรณn explรญcita. Especifique โ€œMarshalUsingAttributeโ€ o โ€œMarshalAsAttributeโ€. - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - No se admite la serializaciรณn de caracteres con \"StringMarshalling.{0}\". En su lugar, convierta manualmente el tipo de carรกcter en la representaciรณn de bytes deseada y pase al P/Invoke de generador de cรณdigo fuente. - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - No se admite la serializaciรณn de caracteres con \"StringMarshalling.Custom\". Para usar un serializador de tipo personalizado, especifique \"MarshalUsingAttribute\". - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - No se admite la serializaciรณn de cadenas o caracteres sin informaciรณn de serializaciรณn explรญcita. Especifique '{0}. StringMarshalling', '{0}. StringMars slaingCustomType", "MarshalUsingAttribute" o "MarshalAsAttribute". - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - La serializaciรณn en tiempo de ejecuciรณn debe deshabilitarse en este proyecto aplicando \"System.Runtime.CompilerServices.DisableRuntimeMars contosoingAttribute\" al ensamblado para habilitar la serializaciรณn de este tipo. - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - Un tipo abstracto derivado de โ€œSafeHandleโ€ no se puede serializar por referencia. El tipo proporcionado debe ser concreto. - - - - '{0}' has accessibility '{1}'. - '{0}' tiene accesibilidad '{1}'. - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - El parรกmetro especificado debe serializarse de no administrado a administrado, pero el tipo serializador โ€œ{0}โ€ no lo admite. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.fr.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.fr.xlf deleted file mode 100644 index f335b5f5780d0..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.fr.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - Le marshaling dโ€™un tableau de non managรฉ ร  managรฉ nรฉcessite que les champs ยซย SizeParamIndexย ยป ou ยซย SizeConstย ยป soient dรฉfinis sur un ยซย MarshalAsAttributeย ยป ou les propriรฉtรฉs ยซย ConstantElementCountย ยป ou 'CountElementName' ร  dรฉfinir sur un ยซย MarshalUsingAttributeย ยป. - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - Le paramรจtre spรฉcifiรฉ doit รชtre marshalรฉ de managรฉ ร  non managรฉ et non managรฉ ร  managรฉ, mais le type marshaleur ยซย {0}ย ยป ne le prend pas en charge. - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - Le paramรจtre de taille de collection spรฉcifiรฉ pour une collection doit รชtre un type entier. Si les informations de taille sont appliquรฉes ร  une collection imbriquรฉ, le paramรจtre de taille doit รชtre une collection dโ€™un niveau dโ€™imbrication infรฉrieur avec un รฉlรฉment intรฉgral. - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - Un seul de ยซย ConstantElementCountย ยป ou ยซย ElementCountInfoย ยป peut รชtre utilisรฉ dans un ยซย MarshalUsingAttributeย ยป pour un ยซย ElementIndirectionDepthย ยป donnรฉ - - - - Containing type '{0}' has accessibility '{1}'. - Le type conteneur '{0}' a une accessibilitรฉ '{1}'. - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - Cet รฉlรฉment ne peut pas dรฉpendre de ยซย {0}ย ยป pour les informations de taille de collection sans crรฉer un cycle de dรฉpendance - - - - Count information for a given element at a given indirection level can only be specified once - Les informations de nombre pour un รฉlรฉment donnรฉ ร  un niveau dโ€™indirection donnรฉ ne peuvent รชtre spรฉcifiรฉes quโ€™une seule fois - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - Plusieurs attributs de marshaling par รฉlรฉment par niveau dโ€™indirection ne sont pas pris en charge, mais des informations en double ont รฉtรฉ fournies pour le niveau dโ€™indirection {0} - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - Des informations de marshaling ont รฉtรฉ spรฉcifiรฉes pour ยซย ElementIndirectionDepthย ยป {0}, mais les informations de marshaling รฉtaient uniquement nรฉcessaires pour {1} niveau(s) dโ€™indirection - - - - The provided graph has cycles and cannot be topologically sorted. - Le graphique fourni a des cycles et ne peut pas รชtre triรฉ topologiement. - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - Lโ€™attribut ยซย [In]ย ยป nโ€™est pas pris en charge, sauf si lโ€™attribut ยซย [Out]ย ยป est รฉgalement utilisรฉ. Le comportement de lโ€™attribut ยซย [In]ย ยปsans lโ€™attribut ยซย [Out]ย ยป est identique au comportement par dรฉfaut. - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - Les attributs ยซย [In]ย ยป et ยซย [Out]ย ยป ne sont pas pris en charge sur les paramรจtres passรฉs par rรฉfรฉrence. Utilisez les mots clรฉs ยซย inย ยป, ยซย refย ยป ou 'out' ร  la place. - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - Les attributs ยซย [In]ย ยป et ยซย [Out]ย ยป fournis sur ce paramรจtre ne sont pas pris en charge sur ce paramรจtre. - - - - [In] and [Out] attributes - Attributs [In] et [Out] - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - Le paramรจtre spรฉcifiรฉ doit รชtre marshalรฉ de managรฉ ร  non managรฉ, mais le type marshaleur ยซย {0}ย ยป ne le prend pas en charge. - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - Le type de point dโ€™entrรฉe marshaleur '{0}' pour le type managรฉ '{1}' doit avoir une aritรฉ supรฉrieure au type managรฉ. - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - Tous les marshaleurs pour les valeurs passรฉes en tant que valeur de retour non managรฉe doivent avoir le mรชme type non managรฉ. - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - Le type marshaleur ยซย {0}ย ยป pour le type managรฉ ยซย {1}ย ยป doit รชtre une classe statique ou un struct. - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Le marshaling bool sans informations de marshaling explicite nโ€™est pas pris en charge. Spรฉcifiez ยซย MarshalUsingAttributeย ยป ou ยซย MarshalAsAttributeย ยป. - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - Le marshaling de char avec ยซย StringMarshalling.{0}ย ยป nโ€™est pas pris en charge. Convertissez plutรดt manuellement le type de caractรจre en reprรฉsentation dโ€™octet souhaitรฉe et passez au P/Invoke gรฉnรฉrรฉ par la source. - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - Le marshaling de caractรจre avec ยซย StringMarshalling.Customย ยป nโ€™est pas pris en charge. Pour utiliser un marshaleur de type personnalisรฉ, spรฉcifiez ยซย MarshalUsingAttributeย ยป. - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Le marshalling dโ€™une chaรฎne ou dโ€™un caractรจre sans information explicite sur le marshalling nโ€™est pas pris en charge. Spรฉcifiez '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' ou 'MarshalAsAttribute'. - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - Le marshaling du runtime doit รชtre dรฉsactivรฉ dans ce projet en appliquant ยซย System.Runtime.CompilerServices.DisableRuntimeMarshallingAttributeย ยป ร  lโ€™assembly pour activer le marshaling de ce type. - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - Un type abstrait dรฉrivรฉ de ยซย SafeHandleย ยป ne peut pas รชtre marshalรฉ par rรฉfรฉrence. Le type fourni doit รชtre concret. - - - - '{0}' has accessibility '{1}'. - '{0}' a une accessibilitรฉ '{1}'. - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - Le paramรจtre spรฉcifiรฉ doit รชtre marshalรฉ de non managรฉ ร  managรฉ, mais le type marshaleur ยซย {0}ย ยป ne le prend pas en charge. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.it.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.it.xlf deleted file mode 100644 index 86e613d130119..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.it.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - Per il marshalling di una matrice da non gestita a gestita รจ richiesta l'impostazione dei campi 'SizeParamIndex' o 'SizeConst' in un elemento 'MarshalAsAttribute' oppure l'impostazione delle proprietร  'ConstantElementCount' o 'CountElementName' in un elemento 'MarshalUsingAttribute'. - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - รˆ necessario effettuare il marshalling del parametro specificato da gestito a non gestito e da non gestito a gestito, ma il tipo di gestore del marshalling '{0}' non lo supporta. - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - Il parametro size specificato per una raccolta deve essere un tipo Integer. Se le informazioni sulle dimensioni vengono applicate a una raccolta annidata, il parametro size deve essere una raccolta di un livello inferiore di annidamento con un elemento integrale. - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - In un elemento 'MarshalUsingAttribute' per un elemento 'ElementIndirectionDepth' specificato รจ possibile usare solo uno dei valori 'ConstantElementCount' o 'ElementCountInfo' - - - - Containing type '{0}' has accessibility '{1}'. - Il tipo contenitore '{0}' ha accessibilitร  '{1}'. - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - Questo elemento non puรฒ dipendere da '{0}' per le informazioni sulle dimensioni della raccolta senza creare un ciclo di dipendenze - - - - Count information for a given element at a given indirection level can only be specified once - Le informazioni sul conteggio per un elemento specifico a un livello di riferimento indiretto specificato possono essere specificate una sola volta - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - Non sono supportati piรน attributi di marshalling per elemento per livello di riferimento indiretto, ma sono state fornite informazioni duplicate per il livello di riferimento indiretto {0} - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - Sono state specificate informazioni di marshalling per l'elemento 'ElementIndirectionDepth' {0}, ma le informazioni di marshalling sono necessarie solo per {1} livello/i di riferimento indiretto - - - - The provided graph has cycles and cannot be topologically sorted. - Il grafico specificato contiene cicli e non puรฒ essere ordinato in modo topologico. - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - L'attributo '[In]' non รจ supportato a meno che non venga usato anche l'attributo '[Out]'. Il comportamento dell'attributo '[In]' senza l'attributo '[Out]' รจ uguale a quello predefinito. - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - Gli attributi '[In]' e '[Out]' non sono supportati nei parametri passati per riferimento. Usare le parole chiave 'in', 'ref' o 'out'. - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - Gli attributi '[In]' e '[Out]' specificati per questo parametro non sono supportati in questo parametro. - - - - [In] and [Out] attributes - Attributi [In] e [Out] - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - รˆ necessario effettuare il marshalling del parametro specificato da gestito a non gestito, ma il tipo di gestore del marshalling '{0}' non lo supporta. - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - Il tipo di punto di ingresso del marshalling '{0}' per il tipo gestito '{1}' deve avere un grado maggiore rispetto a quello del tipo gestito. - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - Tutti i marshalling per i valori passati come valore restituito non gestito devono avere lo stesso tipo non gestito. - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - Il tipo di marshaller '{0}' per il tipo gestito '{1}' deve essere una classe statica o uno struct. - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Il marshalling del tipo di dati bool senza informazioni di marshalling esplicito non รจ supportato. Specificare 'MarshalUsingAttribute' o 'MarshalAsAttribute'. - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - Il carattere di marshalling con 'StringMarshalling.{0}' non รจ supportato. Convertire invece manualmente il tipo carattere nella rappresentazione di byte desiderata e passare al P/Invoke generato dall'origine. - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - Il marshalling del carattere con 'StringMarshalling.Custom' non รจ supportato. Per usare un marshaller di tipo personalizzato, specificare 'MarshalUsingAttribute'. - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Il marshalling di stringa o carattere senza informazioni di marshalling esplicite non รจ supportato. Specificare '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' o 'MarshalAsAttribute'. - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - Il marshalling di runtime in questo progetto deve essere disabilitato applicando 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' all'assembly per abilitare il marshalling di questo tipo. - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - Non รจ possibile effettuare il marshalling per riferimento di un tipo astratto derivato da 'SafeHandle'. Il tipo specificato deve essere concreto. - - - - '{0}' has accessibility '{1}'. - '{0}' ha accessibilitร  '{1}'. - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - รˆ necessario effettuare il marshalling del parametro specificato da non gestito a gestito, ma il tipo di gestore del marshalling '{0}' non lo supporta. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ja.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ja.xlf deleted file mode 100644 index 2bc3ae319e5f5..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ja.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใƒžใƒใƒผใ‚ธใƒ‰ใซ้…ๅˆ—ใ‚’ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ™ใ‚‹ใซใฏใ€'MarshalAsAttribute' ใซ 'SizeParamIndex' ใพใŸใฏ 'SizeConst' ใƒ•ใ‚ฃใƒผใƒซใƒ‰ใ‚’่จญๅฎšใ™ใ‚‹ใ‹ใ€'MarshalUsingAttribute' ใซ 'ConstantElementCount' ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃใพใŸใฏ 'CountElementName' ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃใ‚’่จญๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใฏใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใซใ€ใŠใ‚ˆใณใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใƒžใƒใƒผใ‚ธใƒ‰ใซใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใŒใ€ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{0}' ใงใฏใใ‚Œใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - ใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณ็”จใฎใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณ ใ‚ตใ‚คใ‚บ ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใฏๆ•ดๆ•ฐๅž‹ใซใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ใ‚ตใ‚คใ‚บๆƒ…ๅ ฑใŒๅ…ฅใ‚ŒๅญใซใชใฃใŸใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณใซ้ฉ็”จใ•ใ‚Œใ‚‹ๅ ดๅˆใ€size ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใฏใ€ๆ•ดๆ•ฐ่ฆ็ด ใ‚’ๆŒใค 1 ใคไธ‹ใฎใƒฌใƒ™ใƒซใฎใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - ๆŒ‡ๅฎšใ•ใ‚ŒใŸ 'ElementIndirectionDepth' ๅ‘ใ‘ใซ 'MarshalUsingAttribute' ใงไฝฟ็”จใงใใ‚‹ใฎใฏใ€'ConstantElementCount' ใพใŸใฏ 'ElementCountInfo' ใฎใ„ใšใ‚Œใ‹ 1 ใคใ ใ‘ใงใ™ - - - - Containing type '{0}' has accessibility '{1}'. - ๅŒ…ๅซๅž‹ '{0}' ใซใฏใ‚ขใ‚ฏใ‚ปใ‚ทใƒ“ใƒชใƒ†ใ‚ฃ '{1}' ใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - ใ“ใฎ่ฆ็ด ใฏใ€ไพๅญ˜้–ขไฟ‚ใ‚ตใ‚คใ‚ฏใƒซใ‚’ไฝœๆˆใ›ใšใซใ€ใ‚ณใƒฌใ‚ฏใ‚ทใƒงใƒณ ใ‚ตใ‚คใ‚บๆƒ…ๅ ฑๅ‘ใ‘ใซ '{0}' ใซไพๅญ˜ใ™ใ‚‹ใ“ใจใฏใงใใพใ›ใ‚“ - - - - Count information for a given element at a given indirection level can only be specified once - ๆŒ‡ๅฎšใ•ใ‚ŒใŸ้–“ๆŽฅๅ‚็…งใƒฌใƒ™ใƒซใฎ็‰นๅฎšใฎ่ฆ็ด ใฎใ‚ซใ‚ฆใƒณใƒˆๆƒ…ๅ ฑใฏใ€1 ๅ›žใฎใฟๆŒ‡ๅฎšใงใใพใ™ - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - ้–“ๆŽฅๅ‚็…งใƒฌใƒ™ใƒซใ”ใจใซ่ฆ็ด ใ”ใจใซ่ค‡ๆ•ฐใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๅฑžๆ€งใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใŒใ€้–“ๆŽฅๅ‚็…งใƒฌใƒ™ใƒซ {0} ใซ้‡่ค‡ใ™ใ‚‹ๆƒ…ๅ ฑใŒๆŒ‡ๅฎšใ•ใ‚Œใพใ—ใŸ - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - 'ElementIndirectionDepth' {0} ใซใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑใŒๆŒ‡ๅฎšใ•ใ‚Œใพใ—ใŸใŒใ€ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑใฏ้–“ๆŽฅๅ‚็…งใฎ {1} ใƒฌใƒ™ใƒซใซใฎใฟๅฟ…่ฆใงใ™ - - - - The provided graph has cycles and cannot be topologically sorted. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸใ‚ฐใƒฉใƒ•ใซใฏใ‚ตใ‚คใ‚ฏใƒซใŒใ‚ใ‚‹ใŸใ‚ใ€ไฝ็›ธ็š„ใซไธฆในๆ›ฟใˆใ‚‹ใ“ใจใฏใงใใพใ›ใ‚“ใ€‚ - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - '[In]' ๅฑžๆ€งใฏใ€'[Out]' ๅฑžๆ€งใ‚‚ไฝฟ็”จใ—ใชใ„้™ใ‚Šใ‚ตใƒใƒผใƒˆใ•ใ‚Œใพใ›ใ‚“ใ€‚'[Out]' ๅฑžๆ€งใชใ—ใงใฎ '[In]' ๅฑžๆ€งใฎๅ‹•ไฝœใฏใ€ๆ—ขๅฎšใฎๅ‹•ไฝœใจๅŒใ˜ใงใ™ใ€‚ - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - '[In]' ๅฑžๆ€งใจ '[Out]' ๅฑžๆ€งใฏใ€ๅ‚็…งๆธกใ—ใ•ใ‚ŒใŸใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ไปฃใ‚ใ‚Šใซ 'in'ใ€'ref'ใ€ใพใŸใฏ 'out' ใ‚ญใƒผใƒฏใƒผใƒ‰ใ‚’ไฝฟ็”จใ—ใพใ™ใ€‚ - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - ใ“ใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใซๆŒ‡ๅฎšใ•ใ‚ŒใŸ '[In]' ๅฑžๆ€งใจ '[Out]' ๅฑžๆ€งใฏใ€ใ“ใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใงใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ - - - - [In] and [Out] attributes - ๅฑžๆ€งใฎ[In]ใจ[Out] - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใฏใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใซใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใŒใ€ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{0}' ใงใฏใใ‚Œใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ '{1}' ใฎใƒžใƒผใ‚ทใƒฃใƒฉใƒผ ใ‚จใƒณใƒˆใƒช ใƒใ‚คใƒณใƒˆๅž‹ '{0}' ใซใฏใ€ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ใ‚ˆใ‚Š 1 ๅคงใใ„ๅผ•ๆ•ฐใŒๅฟ…่ฆใงใ™ใ€‚ - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - ใ‚ขใƒณใƒžใƒใƒผใ‚ธๆˆปใ‚Šๅ€คใจใ—ใฆๆธกใ•ใ‚Œใ‚‹ๅ€คใฎใ™ในใฆใฎใƒžใƒผใ‚ทใƒฃใƒฉใƒผใฏใ€ๅŒใ˜ใ‚ขใƒณใƒžใƒใƒผใ‚ธๅž‹ใ‚’ๆŒใคๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - ใƒžใƒใƒผใ‚ธใƒ‰ๅž‹ '{1}' ใฎใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{0}' ใฏใ€้™็š„ใ‚ฏใƒฉใ‚นใพใŸใฏๆง‹้€ ไฝ“ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - ๆ˜Ž็คบ็š„ใชใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑใ‚’ๅซใพใชใ„ใƒ–ใƒผใƒซๅ€คใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚'MarshalUsingAttribute' ใพใŸใฏ 'MarshalAsAttribute' ใฎใ„ใšใ‚Œใ‹ใ‚’ๆŒ‡ๅฎšใ—ใฆใใ ใ•ใ„ใ€‚ - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - 'StringMarshalling.{0}' ใ‚’ไฝฟ็”จใ—ใŸๆ–‡ๅญ—ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ไปฃใ‚ใ‚Šใซใ€ๆ‰‹ๅ‹•ใง char ๅž‹ใ‚’ๅฟ…่ฆใชใƒใ‚คใƒˆ่กจ็พใซๅค‰ๆ›ใ—ใ€ใ‚ฝใƒผใ‚น็”Ÿๆˆๆธˆใฟใฎ P/Invoke ใซๆธกใ—ใพใ™ใ€‚ - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - 'StringMarshalling.Custom' ใ‚’ไฝฟ็”จใ—ใŸๆ–‡ๅญ—ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ใ‚ซใ‚นใ‚ฟใƒ ๅž‹ใฎใƒžใƒผใ‚ทใƒฃใƒฉใƒผใ‚’ไฝฟ็”จใ™ใ‚‹ใซใฏใ€'MarshalUsingAttribute' ใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใ€‚ - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - ๆ˜Ž็คบ็š„ใชใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐๆƒ…ๅ ฑใ‚’ๅซใพใชใ„ๆ–‡ๅญ—ๅˆ—ใพใŸใฏๆ–‡ๅญ—ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚'{0}.StringMarshalling'ใ€'{0}.StringMarshallingCustomType'ใ€'MarshalUsingAttribute'ใ€ใพใŸใฏ 'MarshalAsAttribute'ใ‚’ๆŒ‡ๅฎšใ—ใพใ™ใ€‚ - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - ใ“ใฎใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใงใฏใ€ใ‚ขใ‚ปใƒณใƒ–ใƒชใซ 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' ใ‚’้ฉ็”จใ—ใฆใƒฉใƒณใ‚ฟใ‚คใƒ  ใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’็„กๅŠนใซใ—ใ€ใ“ใฎๅž‹ใฎใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ‚’ๆœ‰ๅŠนใซใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - 'SafeHandle' ใ‹ใ‚‰ๆดพ็”Ÿใ—ใŸๆŠฝ่ฑกๅž‹ใฏใ€ๅ‚็…งใงใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใงใใพใ›ใ‚“ใ€‚ๆŒ‡ๅฎšใ•ใ‚Œใ‚‹ๅž‹ใฏๅ…ท่ฑกๅž‹ใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - '{0}' has accessibility '{1}'. - '{0}' ใซใฏใ‚ขใ‚ฏใ‚ปใ‚ทใƒ“ใƒชใƒ†ใ‚ฃ '{1}' ใŒใ‚ใ‚Šใพใ™ใ€‚ - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - ๆŒ‡ๅฎšใ•ใ‚ŒใŸใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใฏใ‚ขใƒณใƒžใƒใƒผใ‚ธใƒ‰ใ‹ใ‚‰ใƒžใƒใƒผใ‚ธใƒ‰ใซใƒžใƒผใ‚ทใƒฃใƒชใƒณใ‚ฐใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใŒใ€ใƒžใƒผใ‚ทใƒฃใƒฉใƒผๅž‹ '{0}' ใงใฏใใ‚Œใฏใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ko.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ko.xlf deleted file mode 100644 index 975293a8371eb..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ko.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - ๋น„๊ด€๋ฆฌํ˜•์—์„œ ๊ด€๋ฆฌํ˜•์œผ๋กœ ๋ฐฐ์—ด์„ ๋งˆ์ƒฌ๋งํ•˜๋ ค๋ฉด 'MarshalAsAttribute'์— 'SizeParamIndex' ๋˜๋Š” 'SizeConst' ํ•„๋“œ๋ฅผ ์„ค์ •ํ•˜๊ฑฐ๋‚˜ 'MarshalUsingAttribute'์— 'ConstantElementCount' ๋˜๋Š” 'CountElementName' ์†์„ฑ์„ ์„ค์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - ์ง€์ •๋œ ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ๊ด€๋ฆฌํ˜•์—์„œ ๋น„๊ด€๋ฆฌํ˜•์œผ๋กœ, ๋น„๊ด€๋ฆฌํ˜•์—์„œ ๊ด€๋ฆฌํ˜•์œผ๋กœ ๋งˆ์ƒฌ๋งํ•ด์•ผ ํ•˜์ง€๋งŒ ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜• '{0}'์€(๋Š”) ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - ์ปฌ๋ ‰์…˜์— ๋Œ€ํ•ด ์ง€์ •๋œ ์ปฌ๋ ‰์…˜ ํฌ๊ธฐ ๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์ •์ˆ˜ ํ˜•์‹์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ํฌ๊ธฐ ์ •๋ณด๊ฐ€ ์ค‘์ฒฉ๋œ ์ปฌ๋ ‰์…˜์— ์ ์šฉ๋˜๋Š” ๊ฒฝ์šฐ ํฌ๊ธฐ ๋งค๊ฐœ ๋ณ€์ˆ˜๋Š” ์ •์ˆ˜ ์š”์†Œ๊ฐ€ ์žˆ๋Š” ์ค‘์ฒฉ ์ˆ˜์ค€์ด ํ•œ ๋‹จ๊ณ„ ๋‚ฎ์€ ์ปฌ๋ ‰์…˜์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - 'ConstantElementCount' ๋˜๋Š” 'ElementCountInfo' ์ค‘ ํ•˜๋‚˜๋งŒ ์ง€์ •๋œ 'ElementIndirectionDepth'์— ๋Œ€ํ•œ 'MarshalUsingAttribute'์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - Containing type '{0}' has accessibility '{1}'. - '{0}' ํ˜•์‹์„ ํฌํ•จํ•˜๋Š” ๊ฒฝ์šฐ ์ ‘๊ทผ์„ฑ '{1}'์ด(๊ฐ€) ์žˆ์Šต๋‹ˆ๋‹ค. - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - ์ด ์š”์†Œ๋Š” ์ข…์†์„ฑ ์ฃผ๊ธฐ๋ฅผ ์ƒ์„ฑํ•˜์ง€ ์•Š๊ณ  ์ปฌ๋ ‰์…˜ ํฌ๊ธฐ ์ •๋ณด์— ๋Œ€ํ•ด '{0}'์— ์˜์กดํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. - - - - Count information for a given element at a given indirection level can only be specified once - ์ฃผ์–ด์ง„ ๊ฐ„์ ‘ ์ˆ˜์ค€์—์„œ ์ฃผ์–ด์ง„ ์š”์†Œ์— ๋Œ€ํ•œ ๊ฐœ์ˆ˜ ์ •๋ณด๋Š” ํ•œ ๋ฒˆ๋งŒ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - ๊ฐ„์ ‘ ์ˆ˜์ค€๋‹น ์š”์†Œ๋‹น ์—ฌ๋Ÿฌ ๋งˆ์ƒฌ๋ง ํŠน์„ฑ์ด ์ง€์›๋˜์ง€ ์•Š์ง€๋งŒ ๊ฐ„์ ‘ ์ˆ˜์ค€ {0}์— ๋Œ€ํ•ด ์ค‘๋ณต ์ •๋ณด๊ฐ€ ์ œ๊ณต๋˜์—ˆ์Šต๋‹ˆ๋‹ค. - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - ๋งˆ์ƒฌ๋ง ์ •๋ณด๊ฐ€ 'ElementIndirectionDepth' {0}์— ๋Œ€ํ•ด ์ง€์ •๋˜์—ˆ์ง€๋งŒ ๋งˆ์ƒฌ๋ง ์ •๋ณด๋Š” ๊ฐ„์ ‘ ์ฐธ์กฐ ์ˆ˜์ค€ {1}์—๋งŒ ํ•„์š”ํ–ˆ์Šต๋‹ˆ๋‹ค. - - - - The provided graph has cycles and cannot be topologically sorted. - ์ œ๊ณต๋œ ๊ทธ๋ž˜ํ”„์—๋Š” ์ฃผ๊ธฐ๊ฐ€ ์žˆ์œผ๋ฉฐ ํ† ํด๋กœ์ง€๋กœ ์ •๋ ฌํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - '[In]' ํŠน์„ฑ์€ '[Out]' ํŠน์„ฑ๋„ ํ•จ๊ป˜ ์‚ฌ์šฉ๋˜์ง€ ์•Š๋Š” ํ•œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. '[Out]' ํŠน์„ฑ์ด ์—†๋Š” '[In]' ํŠน์„ฑ์˜ ๋™์ž‘์€ ๊ธฐ๋ณธ ๋™์ž‘๊ณผ ๋™์ผํ•ฉ๋‹ˆ๋‹ค. - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - '[In]' ๋ฐ '[Out]' ํŠน์„ฑ์€ ์ฐธ์กฐ๋กœ ์ „๋‹ฌ๋œ ๋งค๊ฐœ ๋ณ€์ˆ˜์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋Œ€์‹  'in', 'ref' ๋˜๋Š” 'out' ํ‚ค์›Œ๋“œ๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”. - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜์— ์ œ๊ณต๋œ '[In]' ๋ฐ '[Out]' ํŠน์„ฑ์€ ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜์—์„œ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - [In] and [Out] attributes - [In] ๋ฐ [Out] ์†์„ฑ - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - ์ง€์ •๋œ ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ๊ด€๋ฆฌํ˜•์—์„œ ๋น„๊ด€๋ฆฌํ˜•์œผ๋กœ ๋งˆ์ƒฌ๋งํ•ด์•ผ ํ•˜์ง€๋งŒ ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜• '{0}'์€(๋Š”) ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - ๊ด€๋ฆฌ ์œ ํ˜• '{1}'์— ๋Œ€ํ•œ ๋งˆ์ƒฌ๋Ÿฌ ์ง„์ž…์  ์œ ํ˜• '{0}'์—๋Š” ๊ด€๋ฆฌ ์œ ํ˜•๋ณด๋‹ค 1์ด ๋” ์ปค์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - ๊ด€๋ฆฌ๋˜์ง€ ์•Š๋Š” ๋ฐ˜ํ™˜ ๊ฐ’์œผ๋กœ ์ „๋‹ฌ๋˜๋Š” ๊ฐ’์— ๋Œ€ํ•œ ๋ชจ๋“  ๋งˆ์ƒฌ๋Ÿฌ๋Š” ๊ด€๋ฆฌ๋˜์ง€ ์•Š๋Š” ํ˜•์‹์ด ๋™์ผํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - ๊ด€๋ฆฌ๋˜๋Š” ํ˜•์‹ '{0}'์˜ ๋งˆ์ƒฌ๋Ÿฌ ํ˜•์‹ '{1}'์€(๋Š”) ์ •์  ํด๋ž˜์Šค ๋˜๋Š” ๊ตฌ์กฐ์ฒด์—ฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - ๋ช…์‹œ์  ๋งˆ์ƒฌ๋ง ์ •๋ณด๊ฐ€ ์—†๋Š” ๋งˆ์ƒฌ๋ง bool์€ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. 'MarshalUsingAttribute' ๋˜๋Š” 'MarshalAsAttribute'๋ฅผ ์ง€์ •ํ•˜์„ธ์š”. - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - 'StringMarshalling.{0}์„(๋ฅผ) ์‚ฌ์šฉํ•œ ๋งˆ์ƒฌ๋ง ๋ฌธ์ž๋Š” ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋Œ€์‹  char ํ˜•์‹์„ ์›ํ•˜๋Š” ๋ฐ”์ดํŠธ ํ‘œํ˜„์œผ๋กœ ์ˆ˜๋™์œผ๋กœ ๋ณ€ํ™˜ํ•˜๊ณ  ์†Œ์Šค ์ƒ์„ฑ P/Invoke์— ์ „๋‹ฌํ•˜์„ธ์š”. - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - 'StringMarshalling.Custom'์œผ๋กœ ๋ฌธ์ž๋ฅผ ๋งˆ์ƒฌ๋งํ•˜๋Š” ๊ฒƒ์€ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž ์ง€์ • ํ˜•์‹ ๋งˆ์ƒฌ๋Ÿฌ๋ฅผ ์‚ฌ์šฉํ•˜๋ ค๋ฉด 'MarshalUsingAttribute'๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - ๋ช…์‹œ์  ๋งˆ์ƒฌ๋ง ์ •๋ณด ์—†์ด ๋ฌธ์ž์—ด ๋˜๋Š” char์„ ๋งˆ์ƒฌ๋งํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' ๋˜๋Š” 'MarshalAsAttribute'๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - ์ด ํ˜•์‹์˜ ๋งˆ์ƒฌ๋ง์„ ํ™œ์„ฑํ™”ํ•˜๋ ค๋ฉด ์–ด์…ˆ๋ธ”๋ฆฌ์— 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute'๋ฅผ ์ ์šฉํ•˜์—ฌ ์ด ํ”„๋กœ์ ํŠธ์—์„œ ๋Ÿฐํƒ€์ž„ ๋งˆ์ƒฌ๋ง์„ ๋น„ํ™œ์„ฑํ™”ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - 'SafeHandle'์—์„œ ํŒŒ์ƒ๋œ ์ถ”์ƒ ํ˜•์‹์€ ์ฐธ์กฐ๋กœ ๋งˆ์ƒฌ๋งํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ์ œ๊ณต๋œ ํ˜•์‹์€ ๊ตฌ์ฒด์ ์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. - - - - '{0}' has accessibility '{1}'. - '{0}'์—๋Š” ์ ‘๊ทผ์„ฑ '{1}'์ด(๊ฐ€) ์žˆ์Šต๋‹ˆ๋‹ค. - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - ์ง€์ •๋œ ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ๋น„๊ด€๋ฆฌ์—์„œ ๊ด€๋ฆฌ๋กœ ๋งˆ์ƒฌ๋งํ•ด์•ผ ํ•˜์ง€๋งŒ ๋งˆ์ƒฌ๋Ÿฌ ์œ ํ˜• '{0}'์ด(๊ฐ€) ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.pl.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.pl.xlf deleted file mode 100644 index d814f39adf4c8..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.pl.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - Skierowanie tablicy z niezarzฤ…dzanej do zarzฤ…dzanej wymaga ustawienia pรณl โ€žSizeParamIndexโ€ lub โ€žSizeConstโ€ we wล‚aล›ciwoล›ciach dla atrybutuโ€žMarshalAsAttributeโ€ lub wartoล›ci โ€žConstantElementCountโ€ lub elementu โ€žCountElementNameโ€ we wล‚aล›ciwoล›ciach dla atrybutu โ€žMarshalUsingAttributeโ€. - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - Okreล›lony parametr musi byฤ‡ kierowany z zarzฤ…dzanego do niezarzฤ…dzanego i niezarzฤ…dzanego do zarzฤ…dzanego, ale typ marszaล‚ka โ€ž{0}โ€ go nie obsล‚uguje. - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - Okreล›lony parametr rozmiaru kolekcji dla kolekcji musi byฤ‡ liczbฤ… caล‚kowitฤ…. Jeล›li informacje o rozmiarze sฤ… stosowane do kolekcji zagnieลผdลผonej, parametr rozmiaru musi byฤ‡ kolekcjฤ… o jednym poziomie zagnieลผdลผenia mniej, o liczbie caล‚kowitej. - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - Tylko jedna z wartoล›ci โ€žConstantElementCountโ€ lub element โ€žElementCountInfoโ€ moลผe byฤ‡ uลผyty w atrybucie โ€žMarshalUsingAttributeโ€ dla danego elementu โ€žElementIndirectionDepthโ€ - - - - Containing type '{0}' has accessibility '{1}'. - Zawierajฤ…cy typ โ€ž{0}โ€ ma uล‚atwienia dostฤ™pu โ€ž{1}โ€. - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - Ten element nie moลผe zaleลผeฤ‡ od elementu โ€ž{0}โ€ dla informacji o rozmiarze kolekcji bez tworzenia cyklu zaleลผnoล›ci - - - - Count information for a given element at a given indirection level can only be specified once - Informacje o liczbie dla danego elementu na danym poziomie poล›rednim moลผna podaฤ‡ tylko raz - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - Wiele atrybutรณw skierowania na element na poziomie poล›rednim nie jest obsล‚ugiwanych, ale podano zduplikowane informacje dla poziomu poล›redniego {0} - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - Informacje dotyczฤ…ce skierowania zostaล‚y okreล›lone dla elementu โ€žElementIndirectionDepthโ€ {0}, ale informacje dotyczฤ…ce skierowania byล‚y potrzebne tylko dla poziomรณw poล›rednich w liczbie {1} - - - - The provided graph has cycles and cannot be topologically sorted. - Podany wykres zawiera cykle i nie moลผna go posortowaฤ‡ topologicznie. - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - Atrybut โ€ž[In]โ€ nie jest obsล‚ugiwany, chyba ลผe uลผywany jest rรณwnieลผ atrybut โ€ž[Out]โ€. Zachowanie atrybutu โ€ž[In]โ€ bez atrybutu โ€ž[Out]โ€ jest takie samo jak zachowanie domyล›lne. - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - Atrybuty โ€ž[In]โ€ i โ€ž[Out]โ€ nie sฤ… obsล‚ugiwane w parametrach przekazywanych przez odwoล‚anie. Zamiast tego uลผyj sล‚รณw kluczowych โ€žinโ€, โ€žrefโ€ lub โ€žoutโ€. - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - Podane atrybuty โ€ž[In]โ€ i โ€ž[Out]โ€ w tym parametrze nie sฤ… obsล‚ugiwane w tym parametrze. - - - - [In] and [Out] attributes - Atrybuty [In] i [Out] - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - Okreล›lony parametr musi byฤ‡ kierowany z zarzฤ…dzanego do niezarzฤ…dzanego, ale typ marszaล‚ka โ€ž{0}โ€ go nie obsล‚uguje. - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - Typ punktu wejล›cia marshallera โ€ž{0}โ€ dla typu zarzฤ…dzanego โ€ž{1}โ€ musi mieฤ‡ liczbฤ™ argumentรณw o jeden wiฤ™kszฤ… niลผ typ zarzฤ…dzany. - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - Wszystkie elementy organizujฤ…ce dla wartoล›ci przekazywanych jako niezarzฤ…dzana wartoล›ฤ‡ zwracana muszฤ… mieฤ‡ ten sam typ niezarzฤ…dzany. - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - Typ marshallera โ€ž{0}โ€ dla typu zarzฤ…dzanego โ€ž{1}โ€ musi byฤ‡ statyczny. - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Skierowanie wartoล›ci logicznej bez wyraลบnych informacji o skierowaniu nie jest obsล‚ugiwane. Okreล›l atrybut โ€žMarshalUsingAttributeโ€ lub atrybut โ€žMarshalAsAttributeโ€. - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - Znak marshallingu o wartoล›ci โ€žStringMarshalling.{0}โ€ nie jest obsล‚ugiwany. Zamiast tego rฤ™cznie przekonwertuj typ znakรณw na ลผฤ…danฤ… reprezentacjฤ™ bajtรณw i przekaลผ do wygenerowanego ลบrรณdล‚a funkcji P/Invoke. - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - Znak marshallingu o wartoล›ci โ€žStringMarshalling.Customโ€ nie jest obsล‚ugiwany. Aby uลผyฤ‡ marshallera typu niestandardowego, okreล›l atrybut โ€žMarshalUsingAttributeโ€. - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Kierowanie ciฤ…gu lub znaku bez jawnych informacji o kierowaniu nie jest obsล‚ugiwane. Okreล›l โ€ž{0}.StringMarshallingโ€, โ€ž{0}.StringMarshallingCustomTypeโ€, โ€žMarshalUsingAttributeโ€ lub โ€žMarshalAsAttributeโ€. - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - Marshalling ล›rodowiska uruchomieniowego musi byฤ‡ wyล‚ฤ…czony w tym projekcie przez zastosowanie do zestawu atrybutu โ€žSystem.Runtime.InteropServices.DisableRuntimeMarshallingAttributeโ€, aby umoลผliwiฤ‡ marshalling tego typu. - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - Typ abstrakcyjny pochodzฤ…cy od elementu โ€žSafeHandleโ€ nie moลผe byฤ‡ skierowany przez odwoล‚anie. Podany typ musi byฤ‡ konkretny. - - - - '{0}' has accessibility '{1}'. - โ€ž{0}โ€ ma uล‚atwienia dostฤ™pu โ€ž{1}โ€. - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - Okreล›lony parametr musi byฤ‡ kierowany z niezarzฤ…dzanego do zarzฤ…dzanego, ale typ marszaล‚ka โ€ž{0}โ€ go nie obsล‚uguje. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.pt-BR.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.pt-BR.xlf deleted file mode 100644 index ed67f2faee824..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.pt-BR.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - Realizar marshaling de uma matriz de nรฃo gerenciada para gerenciada requer que os campos 'SizeParamIndex' ou 'SizeConst' sejam definidos em um 'MarshalAsAttribute' ou nas propriedades 'ConstantElementCount' ou 'CountElementName' a serem definidos em um 'MarshalUsingAttribute'. - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - O parรขmetro especificado precisa ser marshalled de gerenciado para nรฃo gerenciado e nรฃo gerenciado para gerenciado, mas o tipo de marshaller '{0}' nรฃo dรก suporte a ele. - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - O parรขmetro de tamanho de coleรงรฃo especificado para uma coleรงรฃo deve ser um tipo inteiro. Se as informaรงรตes de tamanho sรฃo aplicadas a uma coleรงรฃo aninhada, o parรขmetro de tamanho deve ser uma coleรงรฃo de um nรญvel a menos de aninhamento com um elemento integral. - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - Somente um de 'ConstantElementCount' ou 'ElementCountInfo' pode ser usado em um 'MarshalUsingAttribute' para um determinado 'ElementIndirectionDepth' - - - - Containing type '{0}' has accessibility '{1}'. - Contendo o tipo '{0}' tem acessibilidade '{1}'. - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - Este elemento nรฃo pode depender de '{0}' para informaรงรตes de tamanho de coleรงรฃo sem criar um ciclo de dependรชncia - - - - Count information for a given element at a given indirection level can only be specified once - As informaรงรตes de contagem de um determinado elemento em um determinado nรญvel de indireรงรฃo sรณ podem ser especificadas uma vez - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - Nรฃo hรก suporte para vรกrios atributos de marshalling por elemento por nรญvel de indireรงรฃo, mas foram fornecidas informaรงรตes duplicadas para o nรญvel de indireรงรฃo {0} - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - As informaรงรตes de marshalling foram especificadas para o {0} 'ElementIndirectionDepth', mas as informaรงรตes de marshalling sรณ eram necessรกrias para {1} nรญvel(s) de indireรงรฃo - - - - The provided graph has cycles and cannot be topologically sorted. - O grafo fornecido tem ciclos e nรฃo pode ser classificado topologicamente. - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - O atributo '[In]' nรฃo tem suporte, a menos que o '[Out]' tambรฉm seja usado. O comportamento do atributo '[In]' sem o atributo '[Out]' รฉ o mesmo que o comportamento padrรฃo. - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - Os atributos '[In]' e '[Out]' nรฃo tรชm suporte em parรขmetros passados por referรชncia. Use as palavras-chave 'in', 'ref' ou 'out'. - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - Os atributos '[In]' e '[Out]' neste parรขmetro nรฃo tรชm suporte neste parรขmetro. - - - - [In] and [Out] attributes - Atributos [In] e [Out] - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - O parรขmetro especificado precisa ser marshalled de gerenciado para nรฃo gerenciado, mas o tipo de marshaller '{0}' nรฃo dรก suporte a ele. - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - O tipo de ponto de entrada para realizar marshaling '{0}' para o tipo gerenciado '{1}' deve ter uma aridade maior do que o tipo gerenciado. - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - Todos os marshallers de valores passados como o valor retornado nรฃo gerenciado devem ter o mesmo tipo nรฃo gerenciado. - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - O tipo de empacotador '{0}' para o tipo gerenciado '{1}' deve ser uma classe estรกtica ou uma estrutura. - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Nรฃo hรก suporte para marshalling bool sem informaรงรตes de marshalling explรญcitas. Especifique 'MarshalUsingAttribute' ou 'MarshalAsAttribute'. - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - Nรฃo hรก suporte para marshaling de caracteres com 'StringMarshalling.{0}'. Em vez disso, converta manualmente o tipo de caractere para a representaรงรฃo de byte desejada e passe para o P/Invoke gerado pela origem. - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - Nรฃo hรก suporte para marshaling de caracteres com 'StringMarshalling.Custom'. Para usar um marshaller de tipo personalizado, especifique 'MarshalUsingAttribute'. - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Nรฃo hรก suporte para marshalling de cadeia de caracteres ou char sem informaรงรตes de marshalling explรญcitas. Especifique ''{0}. StringMarshalling'', ''{0}. StringMarshallingCustomType'', ''MarshalUsingAttribute'' ou ''MarshalAsAttribute''. - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - O marshalling de tempo de execuรงรฃo deve ser desabilitado neste projeto aplicando o 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' ao assembly para habilitar o marshalling desse tipo. - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - Um tipo abstrato derivado de 'SafeHandle' nรฃo pode ser marshalled por referรชncia. O tipo fornecido deve ser concreto. - - - - '{0}' has accessibility '{1}'. - '{0}' tem acessibilidade '{1}'. - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - O parรขmetro especificado precisa ser marshalled de nรฃo gerenciado para gerenciado, mas o tipo de marshaller '{0}' nรฃo dรก suporte a ele. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ru.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ru.xlf deleted file mode 100644 index b496d2f6367da..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.ru.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - ะœะฐั€ัˆะฐะปะธะทะฐั†ะธั ะผะฐััะธะฒะฐ ะธะท ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะบะพะดะฐ ะฒ ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ั€ะตะฑัƒะตั‚, ั‡ั‚ะพะฑั‹ ะฒ \"MarshalAsAttribute\" ะฑั‹ะปะพ ะทะฐะดะฐะฝะพ ะฟะพะปะต \"SizeParamIndex\" ะธะปะธ \"SizeConst\", ะธะปะธ ะฒ \"MarshalUsingAttribute\" ะฑั‹ะปะพ ะทะฐะดะฐะฝะพ ัะฒะพะนัั‚ะฒะพ \"ConstantElementCount\" ะธะปะธ \"CountElementName\". - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - ะฃะบะฐะทะฐะฝะฝั‹ะน ะฟะฐั€ะฐะผะตั‚ั€ ะฝะตะพะฑั…ะพะดะธะผะพ ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐั‚ัŒ ะธะท ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะฒ ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน ะธ ะธะท ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะฒ ัƒะฟั€ะฐะฒะปัะตะผั‹ะน, ะฝะพ ั‚ะธะฟ ะผะฐั€ัˆะฐะปะปะตั€ะฐ "{0}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ัั‚ะพ. - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - ะฃะบะฐะทะฐะฝะฝั‹ะน ะฟะฐั€ะฐะผะตั‚ั€ ั€ะฐะทะผะตั€ะฐ ะบะพะปะปะตะบั†ะธะธ ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ั†ะตะปะพั‡ะธัะปะตะฝะฝั‹ะผ ั‚ะธะฟะพะผ. ะ•ัะปะธ ัะฒะตะดะตะฝะธั ะพ ั€ะฐะทะผะตั€ะต ะฟั€ะธะผะตะฝััŽั‚ัั ะบ ะฒะปะพะถะตะฝะฝะพะน ะบะพะปะปะตะบั†ะธะธ, ะฟะฐั€ะฐะผะตั‚ั€ ั€ะฐะทะผะตั€ะฐ ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะบะพะปะปะตะบั†ะธะตะน ะฝะฐ ะพะดะธะฝ ัƒั€ะพะฒะตะฝัŒ ะฒะปะพะถะตะฝะธั ะผะตะฝัŒัˆะต ั ั†ะตะปะพั‡ะธัะปะตะฝะฝั‹ะผ ัะปะตะผะตะฝั‚ะพะผ. - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - ะ’ \"MarshalUsingAttribute\" ะดะปั ะทะฐะดะฐะฝะฝะพะณะพ \"ElementIndirectionDepth\" ะผะพะถะฝะพ ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒ ะปะธะฑะพ \"ConstantElementCount\", ะปะธะฑะพ \"ElementCountInfo\". - - - - Containing type '{0}' has accessibility '{1}'. - ะกะพะดะตั€ะถะฐั‰ะธะน ั‚ะธะฟ "{0}" ะพะฑะตัะฟะตั‡ะธะฒะฐะตั‚ ัƒั€ะพะฒะตะฝัŒ ะดะพัั‚ัƒะฟะฝะพัั‚ะธ "{1}". - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - ะญั‚ะพั‚ ัะปะตะผะตะฝั‚ ะฝะต ะผะพะถะตั‚ ะฟะพะปัƒั‡ะฐั‚ัŒ ะพั‚ \"{0}\" ัะฒะตะดะตะฝะธั ะพ ั€ะฐะทะผะตั€ะต ะบะพะปะปะตะบั†ะธะธ ะฑะตะท ัะพะทะดะฐะฝะธั ั†ะธะบะปะฐ ะทะฐะฒะธัะธะผะพัั‚ะตะน - - - - Count information for a given element at a given indirection level can only be specified once - ะ”ะฐะฝะฝั‹ะต ัั‡ะตั‚ั‡ะธะบะฐ ะดะปั ะทะฐะดะฐะฝะฝะพะณะพ ัะปะตะผะตะฝั‚ะฐ ะฝะฐ ะทะฐะดะฐะฝะฝะพะผ ัƒั€ะพะฒะฝะต ะบะพัะฒะตะฝะฝะพะณะพ ะพะฑั€ะฐั‰ะตะฝะธั ะผะพะถะฝะพ ัƒะบะฐะทะฐั‚ัŒ ั‚ะพะปัŒะบะพ ะพะดะธะฝ ั€ะฐะท - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - ะะตัะบะพะปัŒะบะพ ะฐั‚ั€ะธะฑัƒั‚ะพะฒ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธะธ ะฝะฐ ะพะดะธะฝ ัะปะตะผะตะฝั‚ ะฝะฐ ะบะฐะถะดะพะผ ัƒั€ะพะฒะฝะต ะบะพัะฒะตะฝะฝะพะณะพ ะพะฑั€ะฐั‰ะตะฝะธั ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‚ัั, ะฝะพ ะดะปั ัƒั€ะพะฒะฝั ะบะพัะฒะตะฝะฝะพะณะพ ะพะฑั€ะฐั‰ะตะฝะธั {0} ัƒะบะฐะทะฐะฝั‹ ะฟะพะฒั‚ะพั€ััŽั‰ะธะตัั ัะฒะตะดะตะฝะธั - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - ะ”ะปั \"ElementIndirectionDepth\" {0} ัƒะบะฐะทะฐะฝั‹ ัะฒะตะดะตะฝะธั ะผะฐั€ัˆะฐะปะธะทะฐั†ะธะธ, ะฝะพ ะพะฝะธ ะฝะตะพะฑั…ะพะดะธะผั‹ ั‚ะพะปัŒะบะพ ะดะปั {1} ัƒั€ะพะฒะฝะตะน ะบะพัะฒะตะฝะฝะพะณะพ ะพะฑั€ะฐั‰ะตะฝะธั - - - - The provided graph has cycles and cannot be topologically sorted. - ะฃะบะฐะทะฐะฝะฝั‹ะน ะณั€ะฐั„ ัะพะดะตั€ะถะธั‚ ั†ะธะบะปั‹, ะธ ะตะณะพ ะฝะตะฒะพะทะผะพะถะฝะพ ั‚ะพะฟะพะปะพะณะธั‡ะตัะบะธ ะพั‚ัะพั€ั‚ะธั€ะพะฒะฐั‚ัŒ. - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - ะั‚ั€ะธะฑัƒั‚ \"[In]\" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั, ะตัะปะธ ะฐั‚ั€ะธะฑัƒั‚ \"[Out]' ะฝะต ะธัะฟะพะปัŒะทัƒะตั‚ัั. ะŸะพะฒะตะดะตะฝะธะต ะฐั‚ั€ะธะฑัƒั‚ะฐ \"[In]\" ะฑะตะท \"[Out]\" ัะพะฒะฟะฐะดะฐะตั‚ ั ะฟะพะฒะตะดะตะฝะธะตะผ ะฟะพ ัƒะผะพะปั‡ะฐะฝะธัŽ. - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - ะั‚ั€ะธะฑัƒั‚ั‹ \"[In]\" ะธ \"[Out]\" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‚ัั ะดะปั ะฟะฐั€ะฐะผะตั‚ั€ะพะฒ, ะฟะตั€ะตะดะฐะฒะฐะตะผั‹ั… ะฟะพ ััั‹ะปะบะต. ะ˜ัะฟะพะปัŒะทัƒะนั‚ะต ะฒะผะตัั‚ะพ ะฝะธั… ะบะปัŽั‡ะตะฒั‹ะต ัะปะพะฒะฐ \"in\", \"ref\" ะธะปะธ \"out\". - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - ะฃะบะฐะทะฐะฝะฝั‹ะต ะฐั‚ั€ะธะฑัƒั‚ั‹ \"[In]\" ะธ \"[Out]\" ะดะปั ัั‚ะพะณะพ ะฟะฐั€ะฐะผะตั‚ั€ะฐ ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‚ัั. - - - - [In] and [Out] attributes - ะั‚ั€ะธะฑัƒั‚ั‹ [In] ะธ [Out] - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - ะฃะบะฐะทะฐะฝะฝั‹ะน ะฟะฐั€ะฐะผะตั‚ั€ ะฝะตะพะฑั…ะพะดะธะผะพ ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐั‚ัŒ ะธะท ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะฒ ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน, ะฝะพ ั‚ะธะฟ ะผะฐั€ัˆะฐะปะปะตั€ะฐ "{0}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ัั‚ะพ. - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - ะขะธะฟ ั‚ะพั‡ะบะธ ะฒั…ะพะดะฐ ะผะฐั€ัˆะฐะปะปะตั€ะฐ "{0}" ะดะปั ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ั‚ะธะฟะฐ "{1}" ะดะพะปะถะตะฝ ะธะผะตั‚ัŒ ะฑะพะปะตะต ะฒั‹ัะพะบัƒัŽ ะฐั€ะฝะพัั‚ัŒ, ั‡ะตะผ ัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ. - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - ะ’ัะต ะผะฐั€ัˆะฐะปะตั€ั‹ ะดะปั ะทะฝะฐั‡ะตะฝะธะน, ะฟะตั€ะตะดะฐะฒะฐะตะผั‹ั… ะฒ ะบะฐั‡ะตัั‚ะฒะต ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะฒะพะทะฒั€ะฐั‰ะฐะตะผะพะณะพ ะทะฝะฐั‡ะตะฝะธั, ะดะพะปะถะฝั‹ ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒ ะพะดะธะฝะฐะบะพะฒั‹ะน ะฝะตัƒะฟั€ะฐะฒะปัะตะผั‹ะน ั‚ะธะฟ. - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - ะขะธะฟ ะผะฐั€ัˆะฐะปะปะตั€ะฐ "{0}" ะดะปั ัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ั‚ะธะฟะฐ "{1}" ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ัั‚ะฐั‚ะธั‡ะตัะบะธะผ ะบะปะฐััะพะผ ะธะปะธ ัั‚ั€ัƒะบั‚ัƒั€ะพะน. - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - ะœะฐั€ัˆะฐะปะธะทะฐั†ะธั ั‚ะธะฟะฐ bool ะพะฑัŠะตะบั‚ะฐ ะฑะตะท ัะฒะฝะพะณะพ ัƒะบะฐะทะฐะฝะธั ัะฒะตะดะตะฝะธะน ะผะฐั€ัˆะฐะปะธะทะฐั†ะธะธ ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั. ะฃะบะฐะถะธั‚ะต \"MarshalUsingAttribute\" ะธะปะธ \"MarshalAsAttribute\". - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - ะœะฐั€ัˆะฐะปะธะทะฐั†ะธั ั‚ะธะฟะฐ char ั \"StringMarshalling.{0}\" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั. ะ’ะผะตัั‚ะพ ัั‚ะพะณะพ ัะปะตะดัƒะตั‚ ะฒั€ัƒั‡ะฝัƒัŽ ะฟั€ะตะพะฑั€ะฐะทะพะฒะฐั‚ัŒ ั‚ะธะฟ char ะฒ ั‚ั€ะตะฑัƒะตะผะพะต ะฟั€ะตะดัั‚ะฐะฒะปะตะฝะธะต ะฑะฐะนั‚ะพะฒ ะธ ะฟะตั€ะตะดะฐั‚ัŒ ะฒ P/Invoke ั ัะพะทะดะฐะฝะธะตะผ ะธัั‚ะพั‡ะฝะธะบะฐ. - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - ะœะฐั€ัˆะฐะปะธะฝะณ char ั \"StringMarshalling.Custom\" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั. ะงั‚ะพะฑั‹ ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒ ะผะฐั€ัˆะฐะปะตั€ ะฟะพะปัŒะทะพะฒะฐั‚ะตะปัŒัะบะพะณะพ ั‚ะธะฟะฐ, ัƒะบะฐะถะธั‚ะต \"MarshalUsingAttribute\". - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - ะกั‚ั€ะพะบะฐ ะธะปะธ ัะธะผะฒะพะป ัะพ ัั‚ั€ะพะบะพะน ะธะปะธ ัะธะผะฒะพะปะพะผ ะฑะตะท ัะฒะฝั‹ั… ัะฒะตะดะตะฝะธะน ะพ ะผะฐั€ัˆะฐะปะธะฝะณะต ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐัŽั‚ัั. ะฃะบะฐะถะธั‚ะต "{0}.StringMarshalling", "{0}.StringMarshallingCustomType", "MarshalUsingAttribute" ะธะปะธ "MarshalAsAttribute". - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - ะ’ ัั‚ะพะผ ะฟั€ะพะตะบั‚ะต ัะปะตะดัƒะตั‚ ะพั‚ะบะปัŽั‡ะธั‚ัŒ ะผะฐั€ัˆะฐะปะธะทะฐั†ะธัŽ ัั€ะตะดั‹ ะฒั‹ะฟะพะปะฝะตะฝะธั ะฟัƒั‚ะตะผ ะฟั€ะธะผะตะฝะตะฝะธั ะบ ัะฑะพั€ะบะต ะฐั‚ั€ะธะฑัƒั‚ะฐ \"System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute\" ะดะปั ะฒะบะปัŽั‡ะตะฝะธั ะผะฐั€ัˆะฐะปะธะทะฐั†ะธะธ ัั‚ะพะณะพ ั‚ะธะฟะฐ. - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - ะะฑัั‚ั€ะฐะบั‚ะฝั‹ะน ั‚ะธะฟ, ะฟั€ะพะธะทะฒะพะดะฝั‹ะน ะพั‚ \"SafeHandle\", ะฝะตะปัŒะทั ะผะฐั€ัˆะฐะปะธะทะธั€ะพะฒะฐั‚ัŒ ะฟะพ ััั‹ะปะบะต. ะฃะบะฐะทะฐะฝะฝั‹ะน ั‚ะธะฟ ะดะพะปะถะตะฝ ะฑั‹ั‚ัŒ ะบะพะฝะบั€ะตั‚ะฝั‹ะผ. - - - - '{0}' has accessibility '{1}'. - "{0}" ะพะฑะตัะฟะตั‡ะธะฒะฐะตั‚ ัƒั€ะพะฒะตะฝัŒ ะดะพัั‚ัƒะฟะฝะพัั‚ะธ "{1}". - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - ะฃะบะฐะทะฐะฝะฝั‹ะน ะฟะฐั€ะฐะผะตั‚ั€ ะฝะตะพะฑั…ะพะดะธะผะพ ะผะฐั€ัˆะฐะปะธั€ะพะฒะฐั‚ัŒ ะธะท ะฝะตัƒะฟั€ะฐะฒะปัะตะผะพะณะพ ะฒ ัƒะฟั€ะฐะฒะปัะตะผั‹ะน, ะฝะพ ั‚ะธะฟ ะผะฐั€ัˆะฐะปะปะตั€ะฐ "{0}" ะฝะต ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ ัั‚ะพ. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.tr.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.tr.xlf deleted file mode 100644 index f6736e408d10c..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.tr.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - Bir diziyi yรถnetilmeyenden yรถnetilene sฤฑralamak iรงin 'SizeParamIndex' veya 'SizeConst' alanlarฤฑnฤฑn 'MarshalAsAttribute' olarak ya da 'ConstantElementCount' veya 'CountElementName' รถzelliklerinin bir 'MarshalUsingAttribute' olarak ayarlanmฤฑลŸ olmasฤฑ gerekir. - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - Belirtilen parametrenin yรถnetilenden yรถnetilmeyene ve yรถnetilmeyenden yรถnetilene doฤŸru hazฤฑrlanmasฤฑ gerekiyor, ancak '{0}' hazฤฑrlayฤฑcฤฑ tรผrรผ bunu desteklemiyor. - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - Bir koleksiyon iรงin belirtilen koleksiyon boyutu parametresi tamsayฤฑ tรผrรผnde olmalฤฑdฤฑr. Boyut bilgisi iรง iรงe yerleลŸtirilmiลŸ bir koleksiyona uygulanฤฑrsa boyut parametresinin, bir tam sayฤฑ รถฤŸesiyle daha az iรง iรงe yerleลŸtirme dรผzeyine sahip bir koleksiyon olmasฤฑ gerekir. - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - Belirli bir 'ElementIndirectionDepth' iรงin 'MarshalUsingAttribute' iรงinde 'ConstantElementCount' veya 'ElementCountInfo' deฤŸerlerinden yalnฤฑzca biri kullanฤฑlabilir - - - - Containing type '{0}' has accessibility '{1}'. - '{0}' kapsayan tรผrรผ '{1}' eriลŸilebilirlik รถzelliฤŸine sahip. - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - Bu รถฤŸe, bir baฤŸฤฑmlฤฑlฤฑk dรถngรผsรผ oluลŸturmadan koleksiyon boyutu bilgileri iรงin '{0}' deฤŸerine baฤŸฤฑmlฤฑ olamaz - - - - Count information for a given element at a given indirection level can only be specified once - Belirli bir yรถneltme dรผzeyindeki belirli bir รถฤŸeye ait sayฤฑm bilgileri yalnฤฑzca bir kez belirtilebilir - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - Her bir yรถneltme dรผzeyi iรงin tek bir รถฤŸe iรงin birden รงok sฤฑralama รถzniteliฤŸi desteklenmiyor, ancak yรถneltme dรผzeyi {0} iรงin yinelenen bilgiler mevcut - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - 'ElementIndirectionDepth' {0} iรงin sฤฑralama bilgileri belirtildi, ancak sฤฑralama bilgileri yalnฤฑzca {1} yรถneltme dรผzeyi iรงin gerekli - - - - The provided graph has cycles and cannot be topologically sorted. - SaฤŸlanan grafikte dรถngรผler var ve bu grafik topolojik olarak sฤฑralanamฤฑyor. - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - '[Out]' รถzniteliฤŸi de kullanฤฑlmadฤฑฤŸฤฑ sรผrece '[In]' รถzniteliฤŸi desteklenmiyor. '[Out]' รถzniteliฤŸi kullanฤฑlmadฤฑฤŸฤฑnda '[In]' รถzniteliฤŸinin davranฤฑลŸฤฑ varsayฤฑlan davranฤฑลŸla aynฤฑ olacaktฤฑr. - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - '[In]' ve '[Out]' รถznitelikleri baลŸvuruya gรถre aktarฤฑlan parametrelerde desteklenmiyor. Bunun yerine 'in', 'ref' veya 'out' anahtar sรถzcรผklerini kullanฤฑn. - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - Bu parametrede saฤŸlanan '[In]' ve '[Out]' รถznitelikleri bu parametrede desteklenmiyor. - - - - [In] and [Out] attributes - [In] ve [Out] รถznitelikleri - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - Belirtilen parametrenin yรถnetilenden yรถnetilmeyene doฤŸru hazฤฑrlanmasฤฑ gerekiyor, ancak '{0}' hazฤฑrlayฤฑcฤฑ tรผrรผ bunu desteklemiyor. - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - Yรถnetilen tรผr '{1}' iรงin sฤฑralayฤฑcฤฑ giriลŸ noktasฤฑ '{0}', yรถnetilen tรผrden bรผyรผk bir parametre sayฤฑsฤฑna sahip olmalฤฑdฤฑr. - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - Yรถnetilmeyen dรถnรผลŸ deฤŸeri olarak geรงirilen deฤŸerler iรงin tรผm hazฤฑrlayฤฑcฤฑlar aynฤฑ yรถnetilmeyen tรผre sahip olmalฤฑdฤฑr. - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - Yรถnetilen '{1}' tรผrรผ iรงin hazฤฑrlayฤฑcฤฑ tรผrรผ '{0}' statik bir sฤฑnฤฑf veya yapฤฑ olmalฤฑdฤฑr. - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Aรงฤฑk sฤฑralama bilgileri olmadan bool sฤฑralama desteklenmiyor. 'MarshalUsingAttribute' veya 'MarshalAsAttribute' bilgilerini belirtin. - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - 'StringMarshalling.{0}' ile karakter sฤฑralama desteklenmiyor. Bunun yerine, karakter tรผrรผnรผ el ile istenen bayt gรถsterimine dรถnรผลŸtรผrerek kaynak tarafฤฑndan oluลŸturulan P/Invoke'a geรงirin. - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - 'StringMarshalling.Custom' ile karakter sฤฑralama desteklenmiyor. ร–zel bir tรผr sฤฑralayฤฑcฤฑsฤฑ kullanmak iรงin 'MarshalUsingAttribute' belirtin. - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - Aรงฤฑk hazฤฑrlama bilgileri olmadan dize veya karakter hazฤฑrlama desteklenmiyor. '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' veya 'MarshalAsAttribute' belirtin. - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - Bu tรผrรผ sฤฑralamayฤฑ etkinleลŸtirmek iรงin derlemeye 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' uygulanarak bu projede รงalฤฑลŸma zamanฤฑ sฤฑralamasฤฑ devre dฤฑลŸฤฑ bฤฑrakฤฑlmalฤฑdฤฑr. - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - 'SafeHandle' รถzelliฤŸinden tรผretilen soyut tรผrler, baลŸvuruya gรถre sฤฑralanamaz. SaฤŸlanan tรผr somut olmalฤฑdฤฑr. - - - - '{0}' has accessibility '{1}'. - '{0}', '{1}' eriลŸilebilirlik รถzelliฤŸine sahip. - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - Belirtilen parametrenin yรถnetilmeyenden yรถnetilene doฤŸru hazฤฑrlanmasฤฑ gerekiyor, ancak '{0}' hazฤฑrlayฤฑcฤฑ tรผrรผ bunu desteklemiyor. - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.zh-Hans.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.zh-Hans.xlf deleted file mode 100644 index ae123afe5aa4a..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.zh-Hans.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - ๅฏนไปŽ้žๆ‰˜็ฎกๅˆฐๆ‰˜็ฎก็š„ๆ•ฐ็ป„่ฟ›่กŒๅฐ้€้œ€่ฆๅœจ โ€œMarshalAsAttributeโ€ ๆˆ– โ€œConstantElementCountโ€ ๆˆ– โ€œCountElementNameโ€ ๅฑžๆ€งไธŠ่ฎพ็ฝฎ โ€œSizeParamIndexโ€ ๆˆ– โ€œSizeConstโ€ ๅญ—ๆฎตใ€‚ - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - ้œ€่ฆๅฐ†ๆŒ‡ๅฎš็š„ๅ‚ๆ•ฐไปŽๆ‰˜็ฎกๅฐ้€ๅˆฐ้žๆ‰˜็ฎกๅ’ŒไปŽ้žๆ‰˜็ฎกๅฐ้€ๅˆฐๆ‰˜็ฎก๏ผŒไฝ†ๅฐ้€็จ‹ๅบ็ฑปๅž‹โ€œ{0}โ€ไธๆ”ฏๆŒๅฎƒใ€‚ - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - ไธบ้›†ๅˆๆŒ‡ๅฎš็š„้›†ๅˆๅคงๅฐๅ‚ๆ•ฐๅฟ…้กปๆ˜ฏๆ•ดๆ•ฐ็ฑปๅž‹ใ€‚ๅฆ‚ๆžœๅคงๅฐไฟกๆฏๅบ”็”จไบŽๅตŒๅฅ—้›†ๅˆ๏ผŒๅˆ™ๅคงๅฐๅ‚ๆ•ฐๅฟ…้กปๆ˜ฏๅ…ทๆœ‰ๆ•ดๆ•ฐๅ…ƒ็ด ็š„ๅตŒๅฅ—็บงๅˆซๅฐ‘ไธ€ไธชๅฑ‚ๆฌก็š„้›†ๅˆใ€‚ - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - ๅฏนไบŽ็ป™ๅฎš็š„ โ€œElementIndirectionDepthโ€๏ผŒๅœจ โ€œMarshalUsingAttributeโ€ ไธญๅช่ƒฝไฝฟ็”จ โ€œConstantElementCountโ€ ๆˆ– โ€œElementCountInfoโ€ ไธญ็š„ไธ€ไธช - - - - Containing type '{0}' has accessibility '{1}'. - ๅŒ…ๅซ็ฑปๅž‹โ€œ{0}โ€ๅ…ทๆœ‰ๅฏ่ฎฟ้—ฎๆ€งโ€œ{1}โ€ใ€‚ - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - ๅœจไธๅˆ›ๅปบไพ่ต–ๅ…ณ็ณปๅพช็Žฏ็š„ๆƒ…ๅ†ตไธ‹๏ผŒๆญคๅ…ƒ็ด ๆ— ๆณ•ไพ่ต–ไบŽ้›†ๅˆๅคงๅฐไฟกๆฏ็š„โ€œ{0}โ€ - - - - Count information for a given element at a given indirection level can only be specified once - ็ป™ๅฎš้—ดๆŽฅ็บงๅˆซ็š„็ป™ๅฎšๅ…ƒ็ด ็š„่ฎกๆ•ฐไฟกๆฏๅช่ƒฝๆŒ‡ๅฎšไธ€ๆฌก - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - ไธๆ”ฏๆŒๆฏไธช้—ดๆŽฅ็บงๅˆซๆฏไธชๅ…ƒ็ด ๆœ‰ๅคšไธชๅฐ้€ๅฑžๆ€ง๏ผŒไฝ†ไธบ้—ดๆŽฅ็บงๅˆซ {0} ๆไพ›ไบ†้‡ๅค็š„ไฟกๆฏ - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - ไธบ โ€œElementIndirectionDepthโ€ {0} ๆŒ‡ๅฎšไบ†ๅฐ้€ไฟกๆฏ๏ผŒไฝ†ๅชๆœ‰้—ดๆŽฅ็š„ {1} ็บงๅˆซ้œ€่ฆๅฐ้€ไฟกๆฏ - - - - The provided graph has cycles and cannot be topologically sorted. - ๆไพ›็š„ๅ›พๅฝขๅ…ทๆœ‰ๅพช็Žฏ๏ผŒๅนถไธ”ๆ— ๆณ•ๆŒ‰ๆ‹“ๆ‰‘้กบๅบๆŽ’ๅบใ€‚ - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - ไธๆ”ฏๆŒ โ€œ[In]โ€ ๅฑžๆ€ง๏ผŒ้™ค้žๅŒๆ—ถไฝฟ็”จ โ€œ[Out]โ€ ๅฑžๆ€งใ€‚ๆฒกๆœ‰ โ€œ[Out]โ€ ๅฑžๆ€ง็š„ๆƒ…ๅ†ตไธ‹๏ผŒโ€œ[In]โ€ ๅฑžๆ€ง็š„่กŒไธบไธŽ้ป˜่ฎค่กŒไธบ็›ธๅŒใ€‚ - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - ๅผ•็”จไผ ้€’็š„ๅ‚ๆ•ฐไธๆ”ฏๆŒ โ€œ[In]โ€ ๅ’Œ โ€œ[Out]โ€ ๅฑžๆ€งใ€‚่ฏทๆ”น็”จ โ€œinโ€ใ€โ€œrefโ€ ๆˆ– โ€œoutโ€ ๅ…ณ้”ฎๅญ—ใ€‚ - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - ๆญคๅ‚ๆ•ฐไธŠๆไพ›็š„ โ€œ[In]โ€ ๅ’Œ โ€œ[Out]โ€ ๅฑžๆ€งๅœจๆญคๅ‚ๆ•ฐไธŠไธๅ—ๆ”ฏๆŒใ€‚ - - - - [In] and [Out] attributes - [In] ๅ’Œ [Out] ๅฑžๆ€ง - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - ้œ€่ฆๅฐ†ๆŒ‡ๅฎš็š„ๅ‚ๆ•ฐไปŽๆ‰˜็ฎกๅฐ้€ๅˆฐ้žๆ‰˜็ฎก๏ผŒไฝ†ๅฐ้€็จ‹ๅบ็ฑปๅž‹โ€œ{0}โ€ไธๆ”ฏๆŒๅฎƒใ€‚ - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - ๆ‰˜็ฎก็ฑปๅž‹โ€œ{1}โ€็š„ๅฐ้€็จ‹ๅบๅ…ฅๅฃ็‚น็ฑปๅž‹โ€œ{0}โ€ๅฟ…้กปๅ…ทๆœ‰ๅคงไบŽๆ‰˜็ฎก็ฑปๅž‹็š„ arityใ€‚ - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - ไฝœไธบ้žๆ‰˜็ฎก่ฟ”ๅ›žๅ€ผไผ ้€’็š„ๅ€ผ็š„ๆ‰€ๆœ‰ๅฐ้€็จ‹ๅบๅฟ…้กปๅ…ทๆœ‰็›ธๅŒ็š„้žๆ‰˜็ฎก็ฑปๅž‹ใ€‚ - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - ๆ‰˜็ฎก็ฑปๅž‹ "{1}" ็š„ๅฐ้€็จ‹ๅบ็ฑปๅž‹ "{0}" ๅฟ…้กปไธบ้™ๆ€็ฑปๆˆ–็ป“ๆž„ใ€‚ - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - ไธๆ”ฏๆŒๅœจๆฒกๆœ‰ๆ˜พๅผๅฐ้€ไฟกๆฏ็š„ๆƒ…ๅ†ตไธ‹ๅฐ้€ๅธƒๅฐ”ๅ€ผใ€‚่ฏทๆŒ‡ๅฎš โ€œMarshalUsingAttributeโ€ ๆˆ– โ€œMarshalAsAttributeโ€ใ€‚ - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - ไธๆ”ฏๆŒไฝฟ็”จ \"StringMarshalling.{0}\" ๅฐ้€ๅญ—็ฌฆใ€‚่ฏทๆ”น็”จๆ‰‹ๅŠจๆ–นๅผๅฐ†ๅญ—็ฌฆ็ฑปๅž‹่ฝฌๆขไธบๆ‰€้œ€็š„ๅญ—่Š‚่กจ็คบๅฝขๅผ๏ผŒๅนถไผ ้€’ๅˆฐๆบ็”Ÿๆˆ็š„ P/Invokeใ€‚ - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - ไธๆ”ฏๆŒไฝฟ็”จ \"StringMarscharing.Custom\" ๅฐ้€ charใ€‚่‹ฅ่ฆไฝฟ็”จ่‡ชๅฎšไน‰็ฑปๅž‹ๅฐ้€็จ‹ๅบ๏ผŒ่ฏทๆŒ‡ๅฎš \"MarshalUsingAttribute\"ใ€‚ - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - ไธๆ”ฏๆŒๆฒกๆœ‰ๆ˜Ž็กฎๅฐ้€ไฟกๆฏ็š„ๅฐ้€ๅญ—็ฌฆไธฒๆˆ–ๅญ—็ฌฆใ€‚่ฏทๆŒ‡ๅฎšโ€œ{0}.StringMarshallingโ€ใ€โ€œ{0}.StringMarshallingCustomTypeโ€ใ€โ€œMarshalUsingAttributeโ€ๆˆ–โ€œMarshalAsAttributeโ€ใ€‚ - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - ๅฟ…้กป้€š่ฟ‡ๅฐ† \"System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute\" ๅบ”็”จๅˆฐ็จ‹ๅบ้›†ๆฅๅœจๆญค้กน็›ฎไธญ็ฆ็”จ่ฟ่กŒๆ—ถๅฐ้€๏ผŒไปฅๅฏ็”จๆญค็ฑปๅž‹็š„ๅฐ้€ๅค„็†ใ€‚ - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - ๆ— ๆณ•้€š่ฟ‡ๅผ•็”จๅฐ้€ๆดพ็”Ÿ่‡ช โ€œSafeHandleโ€ ็š„ๆŠฝ่ฑก็ฑปๅž‹ใ€‚ๆไพ›็š„็ฑปๅž‹ๅฟ…้กปๆ˜ฏๅ…ทไฝ“็š„ใ€‚ - - - - '{0}' has accessibility '{1}'. - โ€œ{0}โ€ๅ…ทๆœ‰ๅฏ่ฎฟ้—ฎๆ€งโ€œ{1}โ€ใ€‚ - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - ้œ€่ฆๅฐ†ๆŒ‡ๅฎš็š„ๅ‚ๆ•ฐไปŽ้žๆ‰˜็ฎกๅฐ้€ๅˆฐๆ‰˜็ฎก๏ผŒไฝ†ๅฐ้€็จ‹ๅบ็ฑปๅž‹โ€œ{0}โ€ไธๆ”ฏๆŒๅฎƒใ€‚ - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.zh-Hant.xlf b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.zh-Hant.xlf deleted file mode 100644 index 9b1f729b9e49c..0000000000000 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Resources/xlf/Strings.zh-Hant.xlf +++ /dev/null @@ -1,137 +0,0 @@ -๏ปฟ - - - - - Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'. - ๅฐ‡ๆ•ธ็ต„ๅพžๆœชๅ—็ฎก็†ๆŽ’ๅˆ—ๅˆฐๅ—็ฎก็†๏ผŒ้œ€่ฆๅœจ 'MarshalUsingAttribute' ไธŠ่จญๅฎš 'SizeParamIndex' ๆˆ– 'SizeConst' ๅญ—ๆฎต๏ผŒๆˆ–ๅœจ 'MarshalUsingAttribute' ไธŠ่จญๅฎš 'ConstantElementCount' ๆˆ– 'CountElementName' ๅฑฌๆ€งใ€‚ - - - - The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type '{0}' does not support it. - ๆŒ‡ๅฎš็š„ๅƒๆ•ธๅฟ…้ ˆๅพžๅ—ๆŽงๅฐ้€่™•็†ๅˆฐ้žๅ—ๆŽง๏ผŒไปฅๅŠๅพž้žๅ—ๆŽงๅฐ้€่™•็†ๅˆฐๅ—ๆŽง๏ผŒไฝ†ๅฐ้€่™•็†็จ‹ๅผ้กžๅž‹ '{0}' ไธๆ”ฏๆดใ€‚ - - - - The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element. - ็‚บ้›†ๅˆๆŒ‡ๅฎš็š„้›†ๅˆๅคงๅฐๅƒๆ•ธๅฟ…้ ˆๆ˜ฏๆ•ดๆ•ธ้กžๅž‹ใ€‚ๅฆ‚ๆžœๅคงๅฐ่ณ‡่จŠๅฅ—็”จ่‡ณๅทข็‹€้›†ๅˆ๏ผŒๅคงๅฐๅƒๆ•ธๅฟ…้ ˆๆ˜ฏๅฐ‘ๆ–ผไธ€ๅฑคๅทข็‹€ๅ…ƒ็ด ็š„้›†ๅˆใ€‚ - - - - Only one of 'ConstantElementCount' or 'ElementCountInfo' may be used in a 'MarshalUsingAttribute' for a given 'ElementIndirectionDepth' - ๅœจๆŒ‡ๅฎš็š„ 'ElementIndirectionDepth' ็š„ 'MarshalUsingAttribute' ไธญๅช่ƒฝไฝฟ็”จ 'ConstantElementCount' ๆˆ– 'ElementCountInfo' ๅ…ถไธญไน‹ไธ€ - - - - Containing type '{0}' has accessibility '{1}'. - ๅŒ…ๅซ็š„้กžๅž‹ '{0}' ๅ…ทๆœ‰ๅญ˜ๅ–็ฏ„ๅœ '{1}'ใ€‚ - - - - This element cannot depend on '{0}' for collection size information without creating a dependency cycle - ๆญคๅ…ƒ็ด ไธ้œ€่ฆๅปบ็ซ‹็›ธไพๆ€งๅพช็’ฐ๏ผŒๅฐฑ็„กๆณ•ไพๅญ˜ '{0}' ้›†ๅˆๅคงๅฐ่ณ‡่จŠ - - - - Count information for a given element at a given indirection level can only be specified once - ๅœจๆŒ‡ๅฎš็š„้–“ๆŽฅๅฑค็ดš๏ผŒๆŒ‡ๅฎšๅ…ƒ็ด ็š„่จˆๆ•ธ่ณ‡่จŠๅช่ƒฝๆŒ‡ๅฎšไธ€ๆฌกใ€‚ - - - - Multiple marshalling attributes per element per indirection level is unsupported, but duplicate information was provided for indirection level {0} - ไธๆ”ฏๆดๆฏๅ€‹ๅ…ƒ็ด ็š„ๆฏๅ€‹้–“ๆŽฅๅฑค็ดšๆœ‰ๅคšๅ€‹ๆŽ’ๅˆ—ๅฑฌๆ€ง๏ผŒไฝ†็‚บ้–“ๆŽฅๅฑค็ดšๆไพ›ไบ†้‡่ค‡็š„่ณ‡่จŠ{0} - - - - Marshalling info was specified for 'ElementIndirectionDepth' {0}, but marshalling info was only needed for {1} level(s) of indirection - ๅทฒ็‚บ 'ElementIndirectionDepth' {0}ๆŒ‡ๅฎšๅฐ้€่™•็†่ณ‡่จŠ๏ผŒไฝ†ๅชๆœ‰ {1}ๅฑค็ดš (้–“ๆŽฅ) ้œ€่ฆๅฐ้€่™•็†่ณ‡่จŠ - - - - The provided graph has cycles and cannot be topologically sorted. - ๆไพ›็š„ๅœ–่กจๆœ‰้€ฑๆœŸ๏ผŒ็„กๆณ•ไปฅๆ‹“ๆ’ฒๆŽ’ๅบใ€‚ - - - - The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior. - ้™ค้žไธ€ไฝตไฝฟ็”จ'[Out]'ๅฑฌๆ€ง๏ผŒๅฆๅ‰‡ไธๆ”ฏๆด'[In]'ๅฑฌๆ€งใ€‚ๆฒ’ๆœ‰'[Out]'ๅฑฌๆ€ง็š„'[In]'ๅฑฌๆ€ง่กŒ็‚บ่ˆ‡้ป˜่ช่กŒ็‚บ็›ธๅŒใ€‚ - - - - The '[In]' and '[Out]' attributes are unsupported on parameters passed by reference. Use the 'in', 'ref', or 'out' keywords instead. - ๅƒ่€ƒๆ‰€ๅ‚ณ้ž็š„ๅƒๆ•ธไธๆ”ฏๆด'[In]'ๅ’Œ'[Out]'ๅฑฌๆ€งใ€‚่ซ‹ๆ”น็”จ 'in'ใ€'ref' ๆˆ– 'out' ้—œ้ต่ฉžใ€‚ - - - - The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter. - ๆญคๅƒๆ•ธไธๆ”ฏๆดๅœจๆญคๅƒๆ•ธไธŠๆไพ›็š„ '[In]' ๅ’Œ '[Out]' ๅฑฌๆ€งใ€‚ - - - - [In] and [Out] attributes - [In] ่ˆ‡ [Out] ๅฑฌๆ€ง - - - - The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type '{0}' does not support it. - ๆŒ‡ๅฎš็š„ๅƒๆ•ธๅฟ…้ ˆๅพžๅ—ๆŽงๅฐ้€่™•็†ๅˆฐ้žๅ—ๆŽง๏ผŒไฝ†ๅฐ้€่™•็†็จ‹ๅผ้กžๅž‹ '{0}' ไธๆ”ฏๆดใ€‚ - - - - The marshaller entry point type '{0}' for managed type '{1}' must have an arity of one greater than the managed type. - ๅ—ๆŽง้กžๅž‹ '{1}' ็š„ๅฐ้€่™•็†ๅ™จ้€ฒๅ…ฅ้ปž้กžๅž‹ '{0}' ๅฟ…้ ˆๅ…ทๆœ‰ๅคงๆ–ผๅ—ๆŽง้กžๅž‹็š„ arityใ€‚ - - - - All marshallers for values that are passed as the unmanaged return value must have the same unmanaged type. - ไปฅ้žๅ—ๆŽงๅ‚ณๅ›žๅ€ผๅ‚ณ้žไน‹ๅ€ผ็š„ๆ‰€ๆœ‰ๅฐ้€่™•็†ๅธธๅผ๏ผŒ้ƒฝๅฟ…้ ˆๅ…ทๆœ‰็›ธๅŒ็š„้žๅ—ๆŽง้กžๅž‹ใ€‚ - - - - The marshaller type '{0}' for managed type '{1}' must be a static class or a struct. - ๅ—ๆŽงๅž‹ๅˆฅ '{1}' ็š„ๅฐ้€่™•็†ๅ™จ้กžๅž‹ '{0}' ๅฟ…้ ˆๆ˜ฏ้œๆ…‹้กžๅˆฅๆˆ–็ตๆง‹ใ€‚ - - - - Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - ไธๆ”ฏๆดๆฒ’ๆœ‰ๆ˜Ž็ขบๆŽ’ๅˆ—่ณ‡่จŠ็š„ๅฐ้€่™•็†ๅธƒๆž—ๅ€ผใ€‚ๆŒ‡ๅฎš 'MarshalUsingAttribute' ๆˆ– 'MarshalAsAttribute'ใ€‚ - - - - Marshalling char with 'StringMarshalling.{0}' is not supported. Instead, manually convert the char type to the desired byte representation and pass to the source-generated P/Invoke. - ไธๆ”ฏๆดๅ…ทๆœ‰ 'StringMarshalling.{0}' ็š„ๅฐ้€ๅญ—ๅ…ƒใ€‚่ซ‹ๆ”น็‚บๆ‰‹ๅ‹•ๅฐ‡ๅญ—ๅ…ƒ้กžๅž‹่ฝ‰ๆ›็‚บๆƒณ่ฆ็š„ไฝๅ…ƒ็ต„่กจ็คบๆณ•๏ผŒไธฆๅ‚ณ้ž่‡ณไพ†ๆบ็”ข็”Ÿ็š„ P/Invokeใ€‚ - - - - Marshalling char with 'StringMarshalling.Custom' is not supported. To use a custom type marshaller, specify 'MarshalUsingAttribute'. - ไธๆ”ฏๆดๅ…ทๆœ‰ 'StringMarshalling.Custom' ็š„ๅฐ้€่™•็†ๅญ—ๅ…ƒใ€‚่‹ฅ่ฆไฝฟ็”จ่‡ช่จ‚้กžๅž‹ๅฐ้€่™•็†ๅ™จ๏ผŒ่ซ‹ๆŒ‡ๅฎš 'MarshalUsingAttribute'ใ€‚ - - - - Marshalling string or char without explicit marshalling information is not supported. Specify '{0}.StringMarshalling', '{0}.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. - ไธๆ”ฏๆดๆฒ’ๆœ‰ๆ˜Ž็ขบๅฐ้€่™•็†่ณ‡่จŠ็š„ๅฐ้€่™•็†ๅญ—ไธฒๆˆ–ๅญ—ๅ…ƒใ€‚่ซ‹ๆŒ‡ๅฎš '{0}.StringMarshallingใ€'{0}.StringMarshallingCustomType'ใ€'MarshalUsingAttribute' ๆˆ– 'MarshalAsAttribute'ใ€‚ - - - - Runtime marshalling must be disabled in this project by applying the 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' to the assembly to enable marshalling this type. - ๅฟ…้ ˆๅฐ‡ 'System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute' ๅฅ—็”จๅˆฐ็ต„ไปถ๏ผŒไปฅๅœ็”จๆญคๅฐˆๆกˆไธญ็š„ๅŸท่กŒ้šŽๆฎตๅฐ้€่™•็†๏ผŒไปฅๅ•Ÿ็”จๆญค้กžๅž‹็š„ๅฐ้€่™•็†ใ€‚ - - - - An abstract type derived from 'SafeHandle' cannot be marshalled by reference. The provided type must be concrete. - ่ก็”Ÿ่‡ช 'SafeHandle' ็š„ๆŠฝ่ฑก้กžๅž‹็„กๆณ•ไพๅƒ่€ƒๆŽ’ๅˆ—ใ€‚ๆไพ›็š„้กžๅž‹ๅฟ…้ ˆๆ˜ฏๅฏฆ้ซ”ใ€‚ - - - - '{0}' has accessibility '{1}'. - '{0}' ๅ…ทๆœ‰ๅญ˜ๅ–็ฏ„ๅœ '{1}'ใ€‚ - - - - The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type '{0}' does not support it. - ๆŒ‡ๅฎš็š„ๅƒๆ•ธๅฟ…้ ˆๅพž้žๅ—ๆŽงๅฐ้€่™•็†ๅˆฐๅ—ๆŽง๏ผŒไฝ†ๅฐ้€่™•็†็จ‹ๅผ้กžๅž‹ '{0}' ไธๆ”ฏๆดใ€‚ - - - - - \ No newline at end of file diff --git a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/CodeSnippets.cs b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/CodeSnippets.cs index 62325c1626921..04ba3b30e83d0 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/CodeSnippets.cs +++ b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/CodeSnippets.cs @@ -51,6 +51,60 @@ private string UnmanagedCallConv(Type[]? CallConvs = null) public static readonly string DisableRuntimeMarshalling = "[assembly:System.Runtime.CompilerServices.DisableRuntimeMarshalling]"; public static readonly string UsingSystemRuntimeInteropServicesMarshalling = "using System.Runtime.InteropServices.Marshalling;"; + public const string IntMarshaller = """ + [CustomMarshaller(typeof(int), MarshalMode.Default, typeof(IntMarshaller))] + internal static class IntMarshaller + { + public struct IntNative + { + public int i; + } + public static IntNative ConvertToUnmanaged(int managed) => new IntNative() { i = managed }; + public static int ConvertToManaged(IntNative unmanaged) => unmanaged.i; + } + """; + public const string IntClassAndMarshaller = """ + [NativeMarshalling(typeof(IntClassMarshaller))] + internal class IntClass + { + public int Field; + } + [CustomMarshaller(typeof(IntClass), MarshalMode.Default, typeof(IntClassMarshaller))] + internal static class IntClassMarshaller + { + public static IntClass ConvertToManaged(nint unmanaged) => default; + + public static nint ConvertToUnmanaged(IntClass managed) => (nint)0; + } + """; + + public const string IntStructAndMarshaller = IntStructDefinition + IntStructMarshallerDefinition; + public const string IntStructDefinition = """ + internal struct IntStruct + { + public int Field; + } + """; + public const string IntStructMarshallerDefinition = """ + [CustomMarshaller(typeof(IntStruct), MarshalMode.Default, typeof(IntStructMarshaller))] + internal static class IntStructMarshaller + { + public static nint ConvertToUnmanaged(int managed) => (nint)0; + public static IntStruct ConvertToManaged(nint unmanaged) => default; + } + """; + + public string ByValueMarshallingOfType(string preTypeModifierOrAttribute, string parameterType, string parameterName, (StringMarshalling? StringMarshalling, Type? StringMarshallingCustomType)? stringMarshalling = null) => $$""" + using System.Runtime.InteropServices; + using System.Runtime.InteropServices.Marshalling; + + {{GeneratedComInterface(stringMarshalling?.StringMarshalling, stringMarshalling?.StringMarshallingCustomType)}} + partial interface INativeAPI + { + {{VirtualMethodIndex(0)}} + void Method({{preTypeModifierOrAttribute}} {{parameterType}} {{parameterName}}); + } + """; public string SpecifiedMethodIndexNoExplicitParameters => $$""" using System.Runtime.InteropServices; @@ -205,8 +259,8 @@ partial interface INativeAPI int pSize, [MarshalUsing(CountElementName = "pInSize")] in {{collectionType}} pIn, in int pInSize, - int pRefSize, [MarshalUsing(CountElementName = "pRefSize")] ref {{collectionType}} pRef, + int pRefSize, [MarshalUsing(CountElementName = "pOutSize")] out {{collectionType}} pOut, out int pOutSize); } diff --git a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGenerator.Unit.Tests.csproj b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGenerator.Unit.Tests.csproj index 6766f8e39fb05..08ca1a56fa43c 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGenerator.Unit.Tests.csproj +++ b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGenerator.Unit.Tests.csproj @@ -6,31 +6,21 @@ Preview enable true + ../../gen/Common/Resources/Strings.resx - - - - - - - - - - - + + + + + + + + + + + diff --git a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/CompileFails.cs b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/CompileFails.cs index 93d95440ddddf..b2a3c6ad12218 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/CompileFails.cs +++ b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/CompileFails.cs @@ -68,32 +68,36 @@ public static IEnumerable InvalidUnmanagedToManagedCodeSnippetsToCompi { CodeSnippets codeSnippets = new(GetAttributeProvider(generator)); + string safeHandleMarshallerDoesNotSupportManagedToUnmanaged = string.Format(SR.ManagedToUnmanagedMissingRequiredMarshaller, "global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller"); + string safeHandleMarshallerDoesNotSupportUnmanagedToManaged = string.Format(SR.UnmanagedToManagedMissingRequiredMarshaller, "global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller"); + string safeHandleMarshallerDoesNotSupportBidirectional = string.Format(SR.BidirectionalMissingRequiredMarshaller, "global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller"); // SafeHandles yield return new object[] { ID(), codeSnippets.BasicParametersAndModifiers("Microsoft.Win32.SafeHandles.SafeFileHandle"), new[] { - VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails).WithLocation(0).WithArguments("The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type 'global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller' does not support it.", "Method"), - VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails).WithLocation(1).WithArguments("The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type 'global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller' does not support it.", "value"), + VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails).WithLocation(0).WithArguments(safeHandleMarshallerDoesNotSupportManagedToUnmanaged, "Method"), + VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails).WithLocation(1).WithArguments(safeHandleMarshallerDoesNotSupportUnmanagedToManaged, "value"), // /0/Test0.cs(13,151): error SYSLIB1051: The type 'Microsoft.Win32.SafeHandles.SafeFileHandle' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter 'inValue'. - VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails).WithLocation(2).WithArguments("The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type 'global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller' does not support it.", "inValue"), + VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails).WithLocation(2).WithArguments(safeHandleMarshallerDoesNotSupportUnmanagedToManaged, "inValue"), // /0/Test0.cs(13,207): error SYSLIB1051: The type 'Microsoft.Win32.SafeHandles.SafeFileHandle' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter 'refValue'. - VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails).WithLocation(3).WithArguments("The specified parameter needs to be marshalled from managed to unmanaged and unmanaged to managed, but the marshaller type 'global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller' does not support it.", "refValue"), + VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails).WithLocation(3).WithArguments(safeHandleMarshallerDoesNotSupportBidirectional, "refValue"), // /0/Test0.cs(13,264): error SYSLIB1051: The type 'Microsoft.Win32.SafeHandles.SafeFileHandle' is not supported by source-generated P/Invokes. The generated source will not handle marshalling of parameter 'outValue'. - VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails).WithLocation(4).WithArguments("The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type 'global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller' does not support it.", "outValue"), + VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails).WithLocation(4).WithArguments(safeHandleMarshallerDoesNotSupportManagedToUnmanaged, "outValue"), } }; // Marshallers with only support for their expected places in the signatures in // ManagedToUnmanaged marshal modes. - + string marshallerDoesNotSupportManagedToUnmanaged = string.Format(SR.ManagedToUnmanagedMissingRequiredMarshaller, "global::Marshaller"); + string marshallerDoesNotSupportUnmanagedToManaged = string.Format(SR.UnmanagedToManagedMissingRequiredMarshaller, "global::Marshaller"); DiagnosticResult invalidManagedToUnmanagedParameterDiagnostic = VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(0) - .WithArguments("The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type 'global::Marshaller' does not support it.", "value"); + .WithArguments(marshallerDoesNotSupportManagedToUnmanaged, "value"); DiagnosticResult invalidUnmanagedToManagedParameterDiagnostic = VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(0) - .WithArguments("The specified parameter needs to be marshalled from unmanaged to managed, but the marshaller type 'global::Marshaller' does not support it.", "value"); + .WithArguments(marshallerDoesNotSupportUnmanagedToManaged, "value"); DiagnosticResult invalidReturnTypeDiagnostic = VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails) .WithLocation(0) - .WithArguments("The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type 'global::Marshaller' does not support it.", "Method"); + .WithArguments(marshallerDoesNotSupportManagedToUnmanaged, "Method"); CustomStructMarshallingCodeSnippets customStructMarshallingCodeSnippets = new(new CodeSnippets.Bidirectional(GetAttributeProvider(generator))); yield return new object[] { ID(), customStructMarshallingCodeSnippets.Stateless.NativeToManagedOnlyOutParameter, new[] { invalidManagedToUnmanagedParameterDiagnostic } }; yield return new object[] { ID(), customStructMarshallingCodeSnippets.Stateless.NativeToManagedOnlyReturnValue, new[] { invalidReturnTypeDiagnostic } }; @@ -105,9 +109,9 @@ public static IEnumerable InvalidUnmanagedToManagedCodeSnippetsToCompi public static IEnumerable StringMarshallingCodeSnippets(GeneratorKind generator) { - const string CustomStringMarshallingWithNoCustomTypeMessage = @"'StringMarshallingCustomType' must be specified when 'StringMarshalling' is set to 'StringMarshalling.Custom'."; - const string CustomTypeSpecifiedWithNoStringMarshallingCustom = @"'StringMarshalling' should be set to 'StringMarshalling.Custom' when 'StringMarshallingCustomType' is specified."; - const string StringMarshallingMustMatchBase = "The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' must match the base COM interface."; + string CustomStringMarshallingWithNoCustomTypeMessage = SR.InvalidStringMarshallingConfigurationMissingCustomType; + string CustomTypeSpecifiedWithNoStringMarshallingCustom = SR.InvalidStringMarshallingConfigurationNotCustom; + string StringMarshallingMustMatchBase = SR.GeneratedComInterfaceStringMarshallingMustMatchBase; CodeSnippets codeSnippets = new(GetAttributeProvider(generator)); (StringMarshalling, Type?) utf8Marshalling = (StringMarshalling.Utf8, null); @@ -368,7 +372,7 @@ public async Task ValidateInvalidManagedToUnmanagedCodeSnippets(string id, strin DiagnosticResult expectedDiagnostic = VerifyComInterfaceGenerator.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(0) - .WithArguments("The specified parameter needs to be marshalled from managed to unmanaged, but the marshaller type 'global::Marshaller' does not support it.", "value"); + .WithArguments(string.Format(SR.ManagedToUnmanagedMissingRequiredMarshaller, "global::Marshaller"), "value"); await VerifyComInterfaceGenerator.VerifySourceGeneratorAsync(source, expectedDiagnostic); } @@ -539,6 +543,317 @@ public async Task VerifyInterfaceWithLessVisibilityThanInterfaceWarns(string id, await VerifyComInterfaceGenerator.VerifySourceGeneratorAsync(source, diagnostics); } + public static IEnumerable ByValueMarshalAttributeOnValueTypes() + { + var codeSnippets = new CodeSnippets(GetAttributeProvider(GeneratorKind.ComInterfaceGenerator)); + const string inAttribute = "[{|#1:InAttribute|}]"; + const string outAttribute = "[{|#2:OutAttribute|}]"; + const string paramName = "p"; + string paramNameWithLocation = $$"""{|#0:{{paramName}}|}"""; + var inAttributeIsDefaultDiagnostic = new DiagnosticResult(GeneratorDiagnostics.UnnecessaryParameterMarshallingInfo) + .WithLocation(0) + .WithLocation(1) + .WithArguments(SR.InOutAttributes, paramName, SR.InAttributeOnlyIsDefault); + + + // [In] is default for all non-pinned marshalled types + yield return new object[] { ID(), codeSnippets.ByValueMarshallingOfType(inAttribute, "int", paramNameWithLocation), new DiagnosticResult[] { + inAttributeIsDefaultDiagnostic, + //https://github.com/dotnet/runtime/issues/88540 + inAttributeIsDefaultDiagnostic } }; + yield return new object[] { ID(), codeSnippets.ByValueMarshallingOfType(inAttribute, "byte", paramNameWithLocation), new DiagnosticResult[] { + inAttributeIsDefaultDiagnostic, + //https://github.com/dotnet/runtime/issues/88540 + inAttributeIsDefaultDiagnostic } }; + yield return new object[] { ID(), codeSnippets.ByValueMarshallingOfType(inAttribute + "[MarshalAs(UnmanagedType.U4)]", "bool", paramNameWithLocation), new DiagnosticResult[] { + inAttributeIsDefaultDiagnostic, + //https://github.com/dotnet/runtime/issues/88540 + inAttributeIsDefaultDiagnostic } }; + yield return new object[] { ID(), codeSnippets.ByValueMarshallingOfType(inAttribute + "[MarshalAs(UnmanagedType.U2)]", "char", paramNameWithLocation), new DiagnosticResult[] { + inAttributeIsDefaultDiagnostic, + //https://github.com/dotnet/runtime/issues/88540 + inAttributeIsDefaultDiagnostic } }; + + // [Out] is not allowed on value types passed by value - there is no indirection for the callee to make visible modifications. + var outAttributeNotSupportedOnValueParameters = new DiagnosticResult(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) + .WithLocation(0) + .WithArguments(SR.OutAttributeNotSupportedOnByValueParameters, paramName); + yield return new object[] { ID(), codeSnippets.ByValueMarshallingOfType(outAttribute, "int", paramNameWithLocation), new DiagnosticResult[] { + outAttributeNotSupportedOnValueParameters, + //https://github.com/dotnet/runtime/issues/88540 + outAttributeNotSupportedOnValueParameters } }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType(outAttribute, "IntStruct", paramNameWithLocation) + CodeSnippets.IntStructAndMarshaller, + new DiagnosticResult[] { + outAttributeNotSupportedOnValueParameters, + //https://github.com/dotnet/runtime/issues/88540 + outAttributeNotSupportedOnValueParameters, + } }; + yield return new object[] { ID(), codeSnippets.ByValueMarshallingOfType(outAttribute + "[MarshalAs(UnmanagedType.U4)]", "bool", paramNameWithLocation), new DiagnosticResult[] { + outAttributeNotSupportedOnValueParameters, + //https://github.com/dotnet/runtime/issues/88540 + outAttributeNotSupportedOnValueParameters + } }; + yield return new object[] { ID(), codeSnippets.ByValueMarshallingOfType(outAttribute, "[MarshalAs(UnmanagedType.U2)] char", paramNameWithLocation), new DiagnosticResult[] { + outAttributeNotSupportedOnValueParameters, + //https://github.com/dotnet/runtime/issues/88540 + outAttributeNotSupportedOnValueParameters + } }; + // [In,Out] should only warn for Out attribute + yield return new object[] { ID(), codeSnippets.ByValueMarshallingOfType(inAttribute+outAttribute, "int", paramNameWithLocation), new DiagnosticResult[] { + outAttributeNotSupportedOnValueParameters, + //https://github.com/dotnet/runtime/issues/88540 + outAttributeNotSupportedOnValueParameters } }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType(inAttribute+outAttribute, "IntStruct", paramNameWithLocation) + CodeSnippets.IntStructAndMarshaller, + new DiagnosticResult[] { + outAttributeNotSupportedOnValueParameters, + //https://github.com/dotnet/runtime/issues/88540 + outAttributeNotSupportedOnValueParameters, + } }; + yield return new object[] { ID(), codeSnippets.ByValueMarshallingOfType(inAttribute + outAttribute + "[MarshalAs(UnmanagedType.U4)]", "bool", paramNameWithLocation), new DiagnosticResult[] { + outAttributeNotSupportedOnValueParameters, + //https://github.com/dotnet/runtime/issues/88540 + outAttributeNotSupportedOnValueParameters + } }; + yield return new object[] { ID(), codeSnippets.ByValueMarshallingOfType(inAttribute + outAttribute, "[MarshalAs(UnmanagedType.U2)] char", paramNameWithLocation), new DiagnosticResult[] { + outAttributeNotSupportedOnValueParameters, + //https://github.com/dotnet/runtime/issues/88540 + outAttributeNotSupportedOnValueParameters + } }; + + // Any ref keyword is okay for value types + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("out", "IntStruct", paramNameWithLocation) + CodeSnippets.IntStructAndMarshaller, + new DiagnosticResult[] {} + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("out", "byte", paramNameWithLocation), + new DiagnosticResult[] {} + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("", "[MarshalAs(UnmanagedType.U2)] out char", paramNameWithLocation), + new DiagnosticResult[] {} + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("in", "IntStruct", paramNameWithLocation) + CodeSnippets.IntStructAndMarshaller, + new DiagnosticResult[] {} + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("in", "byte", paramNameWithLocation), + new DiagnosticResult[] {} + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("", "[MarshalAs(UnmanagedType.U2)] in char", paramNameWithLocation), + new DiagnosticResult[] {} + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("ref", "IntStruct", paramNameWithLocation) + CodeSnippets.IntStructAndMarshaller, + new DiagnosticResult[] {} + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("ref", "byte", paramNameWithLocation), + new DiagnosticResult[] {} + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("", "[MarshalAs(UnmanagedType.U2)] ref char", paramNameWithLocation), + new DiagnosticResult[] {} + }; + } + + public static IEnumerable ByValueMarshalAttributeOnReferenceTypes() + { + var codeSnippets = new CodeSnippets(GetAttributeProvider(GeneratorKind.ComInterfaceGenerator)); + const string inAttribute = "[{|#1:InAttribute|}]"; + const string outAttribute = "[{|#2:OutAttribute|}]"; + const string paramName = "p"; + string paramNameWithLocation = $$"""{|#0:{{paramName}}|}"""; + var inAttributeIsDefaultDiagnostic = new DiagnosticResult(GeneratorDiagnostics.UnnecessaryParameterMarshallingInfo) + .WithLocation(0) + .WithLocation(1) + .WithArguments(SR.InOutAttributes, paramName, SR.InAttributeOnlyIsDefault); + + // [In] is default + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType(inAttribute, "string", paramNameWithLocation, (StringMarshalling.Utf8, null)), + new DiagnosticResult[] { inAttributeIsDefaultDiagnostic, inAttributeIsDefaultDiagnostic } + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType(inAttribute, "IntClass", paramNameWithLocation) + CodeSnippets.IntClassAndMarshaller, + new DiagnosticResult[] { inAttributeIsDefaultDiagnostic, inAttributeIsDefaultDiagnostic } + }; + + var outNotAllowedOnRefTypes = new DiagnosticResult(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) + .WithLocation(0) + .WithArguments(SR.OutAttributeNotSupportedOnByValueParameters, paramName); + + // [Out] is not allowed on strings + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType(outAttribute, "string", paramNameWithLocation, (StringMarshalling.Utf8, null)), + new DiagnosticResult[] { outNotAllowedOnRefTypes, outNotAllowedOnRefTypes } + }; + + // [Out] warns on by value reference types + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType(outAttribute, "IntClass", paramNameWithLocation) + CodeSnippets.IntClassAndMarshaller, + new DiagnosticResult[] { outNotAllowedOnRefTypes, outNotAllowedOnRefTypes } + }; + + // [In,Out] is fine on classes + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType(inAttribute + outAttribute, "IntClass", paramNameWithLocation) + CodeSnippets.IntClassAndMarshaller, + new DiagnosticResult[] { outNotAllowedOnRefTypes, outNotAllowedOnRefTypes } + }; + + // All refkinds are okay on classes and strings + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("in", "string", paramNameWithLocation, (StringMarshalling.Utf8, null)), + new DiagnosticResult[] { } + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("in", "IntClass", paramNameWithLocation) + CodeSnippets.IntClassAndMarshaller, + new DiagnosticResult[] { } + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("out", "string", paramNameWithLocation, (StringMarshalling.Utf8, null)), + new DiagnosticResult[] { } + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("out", "IntClass", paramNameWithLocation) + CodeSnippets.IntClassAndMarshaller, + new DiagnosticResult[] { } + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("ref", "string", paramNameWithLocation, (StringMarshalling.Utf8, null)), + new DiagnosticResult[] { } + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType("ref", "IntClass", paramNameWithLocation) + CodeSnippets.IntClassAndMarshaller, + new DiagnosticResult[] { } + }; + } + + public static IEnumerable ByValueMarshalAttributeOnPinnedMarshalledTypes() + { + var codeSnippets = new CodeSnippets(GetAttributeProvider(GeneratorKind.ComInterfaceGenerator)); + const string inAttribute = "[{|#1:InAttribute|}]"; + const string outAttribute = "[{|#2:OutAttribute|}]"; + const string paramName = "p"; + string paramNameWithLocation = $$"""{|#0:{{paramName}}|}"""; + const string constElementCount = @"[MarshalUsing(ConstantElementCount = 10)]"; + var inAttributeIsDefaultDiagnostic = new DiagnosticResult(GeneratorDiagnostics.UnnecessaryParameterMarshallingInfo) + .WithLocation(0) + .WithLocation(1) + .WithArguments(SR.InOutAttributes, paramName, SR.InAttributeOnlyIsDefault); + // Pinned arrays cannot be [In] + var inAttributeNotSupportedOnBlittableArray = new DiagnosticResult(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) + .WithLocation(0) + .WithArguments(SR.InAttributeNotSupportedWithoutOutBlittableArray, paramName); + var inAttributeNotSupportedOnPinnedParameter = new DiagnosticResult(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) + .WithLocation(0) + .WithArguments(SR.InAttributeOnlyNotSupportedOnPinnedParameters, paramName); + yield return new object[] { ID(), codeSnippets.ByValueMarshallingOfType(inAttribute + constElementCount, "int[]", paramNameWithLocation), new DiagnosticResult[] { + inAttributeNotSupportedOnPinnedParameter, + //https://github.com/dotnet/runtime/issues/88540 + inAttributeNotSupportedOnPinnedParameter + }}; + // new issue before merge: char generated code doesn't seem to work well with [In, Out] + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType(inAttribute + constElementCount, "char[]", paramNameWithLocation, (StringMarshalling.Utf16, null)), + new DiagnosticResult[] { inAttributeNotSupportedOnPinnedParameter, inAttributeIsDefaultDiagnostic } + }; + + // bools that are marshalled into a new array are in by default + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType( + inAttribute + "[MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U1, SizeConst = 10)]", + "bool[]", + paramNameWithLocation, + (StringMarshalling.Utf16, null)), + new DiagnosticResult[] { inAttributeIsDefaultDiagnostic, inAttributeIsDefaultDiagnostic} + }; + // Overriding marshalling with a custom marshaller makes it not pinned + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType(inAttribute, "[MarshalUsing(typeof(IntMarshaller), ElementIndirectionDepth = 1), MarshalUsing(ConstantElementCount = 10)]int[]", paramNameWithLocation) + CodeSnippets.IntMarshaller, + new DiagnosticResult[] { inAttributeIsDefaultDiagnostic, inAttributeIsDefaultDiagnostic} + }; + + // [In, Out] is default + var inOutAttributeIsDefaultDiagnostic = new DiagnosticResult(GeneratorDiagnostics.UnnecessaryParameterMarshallingInfo) + .WithLocation(0) + .WithLocation(1) + .WithLocation(2) + .WithArguments(SR.InOutAttributes, paramName, SR.PinnedMarshallingIsInOutByDefault); + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType(inAttribute + outAttribute + constElementCount, "int[]", paramNameWithLocation), + new DiagnosticResult[] { inOutAttributeIsDefaultDiagnostic, inOutAttributeIsDefaultDiagnostic} + }; + yield return new object[] { + ID(), + codeSnippets.ByValueMarshallingOfType(inAttribute + outAttribute + constElementCount, "char[]", paramNameWithLocation, (StringMarshalling.Utf16, null)), + //https://github.com/dotnet/runtime/issues/88540 + new DiagnosticResult[] { inOutAttributeIsDefaultDiagnostic } + }; + + // [Out] Should not warn + // https://github.com/dotnet/runtime/issues/88708 + //yield return new object[] { + // ID(), + // codeSnippets.ByValueMarshallingOfType(outAttribute + constElementCount, "int[]", paramNameWithLocation), + // new DiagnosticResult[] { } + //}; + + // https://github.com/dotnet/runtime/issues/88708 + //yield return new object[] { + // ID(), + // codeSnippets.ByValueMarshallingOfType(outAttribute + constElementCount, "char[]", paramNameWithLocation, (StringMarshalling.Utf16, null)), + // new DiagnosticResult[] { } + //}; + } + + [Theory] + [MemberData(nameof(ByValueMarshalAttributeOnValueTypes))] + [MemberData(nameof(ByValueMarshalAttributeOnReferenceTypes))] + [MemberData(nameof(ByValueMarshalAttributeOnPinnedMarshalledTypes))] + public async Task VerifyByValueMarshallingAttributeUsage(string id, string source, DiagnosticResult[] diagnostics) + { + _ = id; + VerifyComInterfaceGenerator.Test test = new(referenceAncillaryInterop: false) + { + TestCode = source, + TestBehaviors = TestBehaviors.SkipGeneratedSourcesCheck, + // Our fallback mechanism for invalid code for unmanaged->managed stubs sometimes generates invalid code. + CompilerDiagnostics = diagnostics.Length != 0 ? CompilerDiagnostics.None : CompilerDiagnostics.Errors, + }; + test.ExpectedDiagnostics.AddRange(diagnostics); + await test.RunAsync(); + } + [Fact] public async Task VerifyNonPartialInterfaceWarns() { diff --git a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CompileFails.cs b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CompileFails.cs index 5ceb8316e1f7e..1d3e9ac7a195f 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CompileFails.cs +++ b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CompileFails.cs @@ -3,9 +3,6 @@ using System; using System.Collections.Generic; -using System.Collections.Immutable; -using System.IO; -using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading.Tasks; @@ -382,24 +379,25 @@ public static IEnumerable CodeSnippetsToCompile() } }; // By value non-array with [In, Out] attributes - yield return new object[] { ID(), CodeSnippets.ByValueParameterWithModifier("In"), new[] - { - VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) + yield return new object[] { ID(), CodeSnippets.ByValueParameterWithModifier("{|#1:In|}"), new [] { + VerifyCS.Diagnostic(GeneratorDiagnostics.UnnecessaryParameterMarshallingInfo) .WithLocation(0) - .WithArguments("The '[In]' attribute is not supported unless the '[Out]' attribute is also used. The behavior of the '[In]' attribute without the '[Out]' attribute is the same as the default behavior.", "p") + .WithLocation(1) + .WithArguments(SR.InOutAttributes, "p", SR.InAttributeOnlyIsDefault) + .WithSeverity(DiagnosticSeverity.Info) } }; yield return new object[] { ID(), CodeSnippets.ByValueParameterWithModifier("Out"), new[] { VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(0) - .WithArguments("The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter.", "p") + .WithArguments(SR.OutAttributeNotSupportedOnByValueParameters, "p") } }; yield return new object[] { ID(), CodeSnippets.ByValueParameterWithModifier("In, Out"), new[] { VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(0) - .WithArguments("The provided '[In]' and '[Out]' attributes on this parameter are unsupported on this parameter.", "p") + .WithArguments(SR.OutAttributeNotSupportedOnByValueParameters, "p") } }; // LCIDConversion @@ -415,13 +413,13 @@ public static IEnumerable CodeSnippetsToCompile() { VerifyCS.Diagnostic(GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails) .WithLocation(0) - .WithArguments("Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'.", "Method"), + .WithArguments(SR.ArraySizeMustBeSpecified, "Method"), VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(3) - .WithArguments("Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'.", "pRef"), + .WithArguments(SR.ArraySizeMustBeSpecified, "pRef"), VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(4) - .WithArguments("Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'.", "pOut"), + .WithArguments(SR.ArraySizeMustBeSpecified, "pOut"), } }; yield return new object[] { ID(), CodeSnippets.BasicParametersAndModifiers(CodeSnippets.DisableRuntimeMarshalling), new[] { @@ -653,7 +651,7 @@ public static IEnumerable CodeSnippetsToCompile() yield return new object[] { ID(), customStructMarshallingCodeSnippets.NonStaticMarshallerEntryPoint, new[] { VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupported).WithLocation(0).WithArguments("S", "p"), - VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported).WithLocation(10).WithArguments(""), + VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported).WithLocation(10).WithArguments(string.Format(SR.MarshallerTypeMustBeStaticClassOrStruct, "Marshaller", "S")), } }; yield return new object[] { ID(), customStructMarshallingCodeSnippets.Stateless.ManagedToNativeOnlyOutParameter, new[] { @@ -727,7 +725,7 @@ public static IEnumerable CodeSnippetsToCompile() { VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported) .WithLocation(0) - .WithArguments(""), + .WithArguments(SR.ConstantAndElementCountInfoDisallowed), VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(1) .WithArguments("Marshalling an array from unmanaged to managed requires either the 'SizeParamIndex' or 'SizeConst' fields to be set on a 'MarshalAsAttribute' or the 'ConstantElementCount' or 'CountElementName' properties to be set on a 'MarshalUsingAttribute'.", "pRef"), @@ -752,71 +750,71 @@ public static IEnumerable CodeSnippetsToCompile() .WithArguments("TestCollection", "p"), VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported) .WithLocation(10) - .WithArguments(""), + .WithArguments(string.Format(SR.MarshallerEntryPointTypeMustMatchArity, "Marshaller", "TestCollection")), } }; yield return new object[] { ID(), CodeSnippets.MarshalAsAndMarshalUsingOnReturnValue, new[] { VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported) .WithLocation(0) - .WithArguments(""), + .WithArguments(string.Format(SR.DuplicateMarshallingInfo, "0")), } }; yield return new object[] { ID(), CodeSnippets.CustomElementMarshallingDuplicateElementIndirectionDepth, new[] { VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported) .WithLocation(0) - .WithArguments(""), + .WithArguments(string.Format(SR.DuplicateMarshallingInfo, "1")), } }; yield return new object[] { ID(), CodeSnippets.CustomElementMarshallingUnusedElementIndirectionDepth, new[] { VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported) .WithLocation(0) - .WithArguments(""), + .WithArguments(string.Format(SR.ExtraneousMarshallingInfo, "2", "1")), } }; yield return new object[] { ID(), CodeSnippets.RecursiveCountElementNameOnReturnValue, new[] { VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported) .WithLocation(0) - .WithArguments(""), + .WithArguments(string.Format(SR.CyclicalCountInfo, "return-value")), VerifyCS.Diagnostic(GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails) .WithLocation(1) - .WithArguments("The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element.", "Method"), + .WithArguments(SR.CollectionSizeParamTypeMustBeIntegral, "Method"), } }; yield return new object[] { ID(), CodeSnippets.RecursiveCountElementNameOnParameter, new[] { VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported) .WithLocation(0) - .WithArguments(""), + .WithArguments(string.Format(SR.CyclicalCountInfo, "arr")), VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(1) - .WithArguments("The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element.", "arr"), + .WithArguments(SR.CollectionSizeParamTypeMustBeIntegral, "arr"), } }; yield return new object[] { ID(), CodeSnippets.MutuallyRecursiveCountElementNameOnParameter, new[] { VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported) .WithLocation(0) - .WithArguments(""), + .WithArguments(string.Format(SR.CyclicalCountInfo, "arr2")), VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(1) .WithArguments("The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element.", "arr"), VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported) .WithLocation(2) - .WithArguments(""), + .WithArguments(string.Format(SR.CyclicalCountInfo, "arr")), VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(3) - .WithArguments("The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element.", "arr2"), + .WithArguments("The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element.", "arr2") } }; yield return new object[] { ID(), CodeSnippets.MutuallyRecursiveSizeParamIndexOnParameter, new[] { VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported) .WithLocation(0) - .WithArguments(""), + .WithArguments(string.Format(SR.CyclicalCountInfo, "arr2")), VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(1) .WithArguments("The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element.", "arr"), VerifyCS.Diagnostic(GeneratorDiagnostics.MarshallingAttributeConfigurationNotSupported) .WithLocation(2) - .WithArguments(""), + .WithArguments(string.Format(SR.CyclicalCountInfo, "arr")), VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) .WithLocation(3) .WithArguments("The specified collection size parameter for an collection must be an integer type. If the size information is applied to a nested collection, the size parameter must be a collection of one less level of nesting with an integral element.", "arr2"), @@ -834,6 +832,12 @@ public static IEnumerable CodeSnippetsToCompile() .WithLocation(1) .WithArguments("ref return", "Basic.RefReadonlyReturn()"), } }; + yield return new object[] { ID(), CodeSnippets.ByValueParameterWithModifier("In"), new[] + { + VerifyCS.Diagnostic(GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails) + .WithLocation(0) + .WithArguments(SR.InAttributeOnlyNotSupportedOnPinnedParameters, "p") + } }; } [Theory] @@ -945,7 +949,7 @@ public async Task ValidateRequireAllowUnsafeBlocksDiagnostic() class AllowUnsafeBlocksTest : VerifyCS.Test { public AllowUnsafeBlocksTest() - :base(referenceAncillaryInterop: false) + : base(referenceAncillaryInterop: false) { } diff --git a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/Compiles.cs b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/Compiles.cs index 988a62f33a7a5..a124086af1d5e 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/Compiles.cs +++ b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/Compiles.cs @@ -1,26 +1,24 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.Interop.UnitTests; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp; -using Microsoft.CodeAnalysis.CSharp.Syntax; using System; using System.Collections.Generic; +using System.Collections.Immutable; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Text; +using System.Threading; using System.Threading.Tasks; -using Xunit; -using SourceGenerators.Tests; - -using VerifyCS = Microsoft.Interop.UnitTests.Verifiers.CSharpSourceGeneratorVerifier; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; +using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Testing; -using System.Collections.Immutable; -using System.Threading; using Microsoft.CodeAnalysis.Text; -using System.Text; +using Microsoft.Interop.UnitTests; +using Xunit; using GeneratorDiagnostics = Microsoft.Interop.GeneratorDiagnostics; +using VerifyCS = Microsoft.Interop.UnitTests.Verifiers.CSharpSourceGeneratorVerifier; namespace LibraryImportGenerator.UnitTests { @@ -480,7 +478,7 @@ private class PreprocessorTest : VerifyCS.Test private readonly IEnumerable _preprocessorSymbols; public PreprocessorTest(IEnumerable preprocessorSymbols) - :base(referenceAncillaryInterop: false) + : base(referenceAncillaryInterop: false) { _preprocessorSymbols = preprocessorSymbols; } @@ -550,7 +548,7 @@ class FallbackForwarderTest : VerifyCS.Test private readonly bool _expectFallbackForwarder; public FallbackForwarderTest(TestTargetFramework targetFramework, bool expectFallbackForwarder) - :base(targetFramework) + : base(targetFramework) { _expectFallbackForwarder = expectFallbackForwarder; } @@ -593,7 +591,7 @@ public async Task ValidateSnippetsWithBlittableAutoForwarding(string id, string class BlittableAutoForwarderTest : VerifyCS.Test { public BlittableAutoForwarderTest() - :base(referenceAncillaryInterop: false) + : base(referenceAncillaryInterop: false) { } @@ -657,8 +655,8 @@ public static IEnumerable CodeSnippetsToCompileWithMarshalType() } #pragma warning disable xUnit1004 // Test methods should not be skipped. - // If we have any new experimental APIs that we are implementing that have not been approved, - // we will add new scenarios for this test. + // If we have any new experimental APIs that we are implementing that have not been approved, + // we will add new scenarios for this test. [Theory(Skip = "No current scenarios to test.")] #pragma warning restore xUnit1004 [MemberData(nameof(CodeSnippetsToCompileWithMarshalType))] @@ -734,11 +732,11 @@ public async Task ValidateNoGeneratedOuptutForNoImport(string id, string source, class NoChangeTest : VerifyCS.Test { public NoChangeTest(TestTargetFramework framework) - :base(framework) + : base(framework) { } - protected async override Task<(Compilation compilation, ImmutableArray generatorDiagnostics)> GetProjectCompilationAsync(Project project, IVerifier verifier, CancellationToken cancellationToken) + protected override async Task<(Compilation compilation, ImmutableArray generatorDiagnostics)> GetProjectCompilationAsync(Project project, IVerifier verifier, CancellationToken cancellationToken) { var originalCompilation = await project.GetCompilationAsync(cancellationToken); var (newCompilation, diagnostics) = await base.GetProjectCompilationAsync(project, verifier, cancellationToken); @@ -750,13 +748,7 @@ public NoChangeTest(TestTargetFramework framework) public static IEnumerable ByValueMarshalKindSnippets() { // Blittable array - yield return new object[] { ID(), CodeSnippets.ByValueParameterWithModifier("{|#10:Out|}"), new[] - { - VerifyCS.Diagnostic(GeneratorDiagnostics.UnnecessaryParameterMarshallingInfo) - .WithLocation(0) - .WithLocation(10) - .WithArguments("[In] and [Out] attributes", "p") - } }; + yield return new object[] { ID(), CodeSnippets.ByValueParameterWithModifier("{|#10:Out|}"), new DiagnosticResult[] { } }; yield return new object[] { ID(), CodeSnippets.ByValueParameterWithModifier("{|#10:In|}, {|#11:Out|}"), new[] { @@ -764,7 +756,7 @@ public static IEnumerable ByValueMarshalKindSnippets() .WithLocation(0) .WithLocation(10) .WithLocation(11) - .WithArguments("[In] and [Out] attributes", "p") + .WithArguments("[In] and [Out] attributes", "p", SR.PinnedMarshallingIsInOutByDefault) } }; } diff --git a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/LibraryImportGenerator.Unit.Tests.csproj b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/LibraryImportGenerator.Unit.Tests.csproj index 9695eba3d8bda..085cea14f2254 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/LibraryImportGenerator.Unit.Tests.csproj +++ b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/LibraryImportGenerator.Unit.Tests.csproj @@ -10,6 +10,7 @@ We don't want to enable the rest of the "good behaving analyzer" API rules on our tests as it is test code and not shipping code. --> $(NoWarn);RS1036 + ../../gen/Common/Resources/Strings.resx