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