1 write to GuaranteedUnmarshal
Microsoft.Interop.SourceGeneration (1)
GeneratedStatements.cs (1)
41GuaranteedUnmarshal = GenerateStatementsForStubContext(marshallers, context with { CurrentStage = StubIdentifierContext.Stage.GuaranteedUnmarshal }),
7 references to GuaranteedUnmarshal
Microsoft.Interop.SourceGeneration (7)
ManagedToNativeStubGenerator.cs (5)
112bool shouldInitializeVariables = !statements.GuaranteedUnmarshal.IsEmpty || !statements.CleanupCallerAllocated.IsEmpty || !statements.CleanupCalleeAllocated.IsEmpty; 126if (!(statements.GuaranteedUnmarshal.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty)) 155if (!(statements.GuaranteedUnmarshal.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty)) 166if (!(statements.GuaranteedUnmarshal.IsEmpty && statements.CleanupCalleeAllocated.IsEmpty)) 168finallyStatements.Add(IfStatement(IdentifierName(InvokeSucceededIdentifier), Block(statements.GuaranteedUnmarshal.Concat(statements.CleanupCalleeAllocated))));
UnmanagedToManagedStubGenerator.cs (2)
59!statements.GuaranteedUnmarshal.IsEmpty 73.. statements.GuaranteedUnmarshal,