2 instantiations of GeneratedStubCodeContext
Microsoft.Interop.ComInterfaceGenerator (2)
ComMethodContext.cs (2)
89
return new
GeneratedStubCodeContext
(sourceAvailableContext.TypeKeyOwner, sourceAvailableContext.ContainingSyntaxContext, new(methodStub), new(diagnostics));
109
return new
GeneratedStubCodeContext
(sourceAvailableContext.OriginalDefiningType, sourceAvailableContext.ContainingSyntaxContext, new(methodStub), new(diagnostics));
3 references to GeneratedStubCodeContext
Microsoft.Interop.ComInterfaceGenerator (3)
ComInterfaceGenerator.cs (3)
566
if (declaredMethod.ManagedToUnmanagedStub is
GeneratedStubCodeContext
managedToUnmanagedContext)
572
if (declaredMethod.UnmanagedToManagedStub is
GeneratedStubCodeContext
unmanagedToManagedContext &&
582
if (inheritedStub is not { IsExternallyDefined: false, ManagedToUnmanagedStub:
GeneratedStubCodeContext
shadowImplementationContextContext })