7 references to CleanupCallerAllocated
Microsoft.Interop.SourceGeneration (7)
GeneratedStatements.cs (2)
42CleanupCallerAllocated = GenerateStatementsForStubContext(marshallers, context with { CurrentStage = StubIdentifierContext.Stage.CleanupCallerAllocated }), 186StubIdentifierContext.Stage.CleanupCallerAllocated => "Perform cleanup of caller allocated resources.",
Marshalling\CustomTypeMarshallingGenerator.cs (1)
80case StubIdentifierContext.Stage.CleanupCallerAllocated:
Marshalling\MarshallerHelpers.cs (3)
359return StubIdentifierContext.Stage.CleanupCallerAllocated; 364MarshalDirection.ManagedToUnmanaged => StubIdentifierContext.Stage.CleanupCallerAllocated, 365MarshalDirection.Bidirectional => StubIdentifierContext.Stage.CleanupCallerAllocated,
Marshalling\StatefulMarshallingStrategy.cs (1)
27if (MarshallerHelpers.GetCleanupStage(info, stubContext) is not StubIdentifierContext.Stage.CleanupCallerAllocated)