11 implementations of GenerateMarshalStatements
Microsoft.Interop.SourceGeneration (11)
Marshalling\StatefulMarshallingStrategy.cs (4)
68public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) 198public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) 355public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) 510public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) => innerMarshaller.GenerateMarshalStatements(context);
Marshalling\StatelessMarshallingStrategy.cs (5)
51public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) 156public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) 296public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) => innerMarshaller.GenerateMarshalStatements(context); 385public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) 651public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context)
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (2)
31public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) 119public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) => innerMarshaller.GenerateMarshalStatements(context);
10 references to GenerateMarshalStatements
Microsoft.Interop.SourceGeneration (10)
Marshalling\CustomTypeMarshallingGenerator.cs (1)
39return nativeTypeMarshaller.GenerateMarshalStatements(context);
Marshalling\StatefulMarshallingStrategy.cs (3)
205return innerMarshaller.GenerateMarshalStatements(context); 357foreach (StatementSyntax statement in innerMarshaller.GenerateMarshalStatements(context)) 510public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) => innerMarshaller.GenerateMarshalStatements(context);
Marshalling\StatelessMarshallingStrategy.cs (4)
163return innerMarshaller.GenerateMarshalStatements(context); 212foreach (StatementSyntax statement in innerMarshaller.GenerateMarshalStatements(context)) 296public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) => innerMarshaller.GenerateMarshalStatements(context); 670foreach (var statement in spaceMarshallingStrategy.GenerateMarshalStatements(context))
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (2)
33foreach (StatementSyntax statement in innerMarshaller.GenerateMarshalStatements(context)) 119public IEnumerable<StatementSyntax> GenerateMarshalStatements(StubIdentifierContext context) => innerMarshaller.GenerateMarshalStatements(context);