9 references to VirtualMethodPointerStubGenerator
Microsoft.Interop.ComInterfaceGenerator (9)
ComInterfaceGenerator.cs (3)
394
ImmutableArray<FunctionPointerUnmanagedCallingConventionSyntax> callConv =
VirtualMethodPointerStubGenerator
.GenerateCallConvSyntaxFromAttributes(
623
FunctionPointerTypeSyntax functionPointerType =
VirtualMethodPointerStubGenerator
.GenerateUnmanagedFunctionPointerTypeForMethod(
640
FunctionPointerTypeSyntax functionPointerType =
VirtualMethodPointerStubGenerator
.GenerateUnmanagedFunctionPointerTypeForMethod(
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)));