5 implementations of Generate
Microsoft.Interop.JavaScript.JSImportGenerator (1)
Marshaling\BaseJSGenerator.cs (1)
37
public virtual IEnumerable<StatementSyntax>
Generate
(StubIdentifierContext context)
Microsoft.Interop.SourceGeneration (4)
Marshalling\CustomTypeMarshallingGenerator.cs (1)
26
public IEnumerable<StatementSyntax>
Generate
(StubIdentifierContext context)
Marshalling\MarshallingGenerator.cs (1)
170
public IEnumerable<StatementSyntax>
Generate
(StubIdentifierContext context) => unbound.Generate(TypeInfo, CodeContext, context);
Marshalling\StaticPinnableManagedValueMarshaller.cs (1)
44
public IEnumerable<StatementSyntax>
Generate
(StubIdentifierContext context)
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (1)
149
public IEnumerable<StatementSyntax>
Generate
(StubIdentifierContext context)
7 references to Generate
Microsoft.Interop.SourceGeneration (7)
GeneratedStatements.cs (3)
77
statementsToUpdate.AddRange(marshaller.
Generate
(context));
165
managedExceptionMarshaller.
Generate
(context with { CurrentStage = StubIdentifierContext.Stage.Marshal }));
167
managedExceptionMarshaller.
Generate
(context with { CurrentStage = StubIdentifierContext.Stage.PinnedMarshal }));
Marshalling\ElementsMarshalling.cs (2)
504
elementStatements.AddRange(elementMarshaller.
Generate
(elementIdentifierContext));
513
elementStatements.InsertRange(0, elementMarshaller.
Generate
(identifierContext with { CurrentStage = StubIdentifierContext.Stage.Setup }));
Marshalling\StaticPinnableManagedValueMarshaller.cs (1)
51
return innerMarshallingGenerator.
Generate
(context);
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (1)
173
return inner.
Generate
(contextForStage);