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