8 references to VirtualMethodPointerStubGenerator
Microsoft.Interop.ComInterfaceGenerator (8)
ComInterfaceGenerator.cs (2)
371
ImmutableArray<FunctionPointerUnmanagedCallingConventionSyntax> callConv =
VirtualMethodPointerStubGenerator
.GenerateCallConvSyntaxFromAttributes(
611
var vtableSlotAssignments =
VirtualMethodPointerStubGenerator
.GenerateVirtualMethodTableSlotAssignments(
ComMethodContext.cs (2)
84
var (methodStub, diagnostics) =
VirtualMethodPointerStubGenerator
.GenerateManagedToNativeStub(GenerationContext, ComInterfaceGeneratorHelpers.GetGeneratorResolver);
98
var (methodStub, diagnostics) =
VirtualMethodPointerStubGenerator
.GenerateNativeToManagedStub(GenerationContext, ComInterfaceGeneratorHelpers.GetGeneratorResolver);
VtableIndexStubGenerator.cs (4)
288
ImmutableArray<FunctionPointerUnmanagedCallingConventionSyntax> callConv =
VirtualMethodPointerStubGenerator
.GenerateCallConvSyntaxFromAttributes(suppressGCTransitionAttribute, unmanagedCallConvAttribute, defaultCallingConventions: ImmutableArray<FunctionPointerUnmanagedCallingConventionSyntax>.Empty);
368
var (stub, diagnostics) =
VirtualMethodPointerStubGenerator
.GenerateManagedToNativeStub(methodStub, VtableIndexStubGeneratorHelpers.GetGeneratorResolver);
381
var (stub, diagnostics) =
VirtualMethodPointerStubGenerator
.GenerateNativeToManagedStub(methodStub, VtableIndexStubGeneratorHelpers.GetGeneratorResolver);
449
populateVtableMethod.WithBody(
VirtualMethodPointerStubGenerator
.GenerateVirtualMethodTableSlotAssignments(vtableMethods, vtableParameter, VtableIndexStubGeneratorHelpers.GetGeneratorResolver)));