Implemented interface member:
property
TypeInfo
Microsoft.Interop.ICustomTypeMarshallingStrategy.TypeInfo
16 references to TypeInfo
Microsoft.Interop.SourceGeneration (16)
Marshalling\StatelessMarshallingStrategy.cs (16)
181if (MarshallerHelpers.GetCleanupStage(TypeInfo, CodeContext) is StubIdentifierContext.Stage.CleanupCallerAllocated 182&& MarshallerHelpers.GetMarshalDirection(TypeInfo, CodeContext) != MarshalDirection.ManagedToUnmanaged) 184string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(TypeInfo, context); 191if (MarshallerHelpers.GetCleanupStage(TypeInfo, CodeContext) is StubIdentifierContext.Stage.CleanupCalleeAllocated 192&& MarshallerHelpers.GetMarshalDirection(TypeInfo, CodeContext) != MarshalDirection.ManagedToUnmanaged) 194string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(TypeInfo, context); 206(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(TypeInfo); 207string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(TypeInfo, context); 216&& MarshallerHelpers.CanUseCallerAllocatedBuffer(TypeInfo, CodeContext))) 218(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(TypeInfo); 219string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(TypeInfo, context); 238string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(TypeInfo, context); 253if (CodeContext.Direction == MarshalDirection.ManagedToUnmanaged && !TypeInfo.IsByRef && TypeInfo.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.Out)) 262(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(TypeInfo); 263string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(TypeInfo, context);