1 write to CleanupCallerAllocated
Microsoft.Interop.SourceGeneration (1)
GeneratedStatements.cs (1)
42CleanupCallerAllocated = GenerateStatementsForStubContext(marshallers, context with { CurrentStage = StubIdentifierContext.Stage.CleanupCallerAllocated }),
4 references to CleanupCallerAllocated
Microsoft.Interop.SourceGeneration (4)
ManagedToNativeStubGenerator.cs (2)
112bool shouldInitializeVariables = !statements.GuaranteedUnmarshal.IsEmpty || !statements.CleanupCallerAllocated.IsEmpty || !statements.CleanupCalleeAllocated.IsEmpty; 171finallyStatements.AddRange(statements.CleanupCallerAllocated);
UnmanagedToManagedStubGenerator.cs (2)
60|| !statements.CleanupCallerAllocated.IsEmpty 85ImmutableArray<StatementSyntax> finallyStatements = statements.CleanupCallerAllocated;