Implemented interface member:
property
TypeInfo
Microsoft.Interop.ICustomTypeMarshallingStrategy.TypeInfo
16 references to TypeInfo
Microsoft.Interop.SourceGeneration (16)
Marshalling\StatelessMarshallingStrategy.cs (16)
319
if (MarshallerHelpers.GetCleanupStage(
TypeInfo
, CodeContext) is not StubIdentifierContext.Stage.CleanupCallerAllocated)
322
if (MarshallerHelpers.GetMarshalDirection(
TypeInfo
, CodeContext) != MarshalDirection.ManagedToUnmanaged)
325
string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(
TypeInfo
, context);
337
if (MarshallerHelpers.GetCleanupStage(
TypeInfo
, CodeContext) is not StubIdentifierContext.Stage.CleanupCalleeAllocated)
340
if (MarshallerHelpers.GetMarshalDirection(
TypeInfo
, CodeContext) == MarshalDirection.ManagedToUnmanaged)
346
string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(
TypeInfo
, context);
360
(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(
TypeInfo
);
361
string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(
TypeInfo
, context);
392
&& MarshallerHelpers.CanUseCallerAllocatedBuffer(
TypeInfo
, CodeContext)))
394
(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(
TypeInfo
);
395
string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(
TypeInfo
, context);
421
string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(
TypeInfo
, context);
440
if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !
TypeInfo
.IsByRef &&
TypeInfo
.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.Out))
448
(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(
TypeInfo
);
449
string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(
TypeInfo
, context);