1 write to StubReturnType
Microsoft.Interop.SourceGeneration (1)
SignatureContext.cs (1)
87StubReturnType = method.ReturnType.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat),
11 references to StubReturnType
Microsoft.Interop.ComInterfaceGenerator (4)
ComInterfaceGenerator.cs (3)
797: sigContext.StubReturnType; 866writer.Write($"new {(isUnsafe ? "unsafe " : "")}{sigContext.StubReturnType} {methodName}"); 875bool returnsVoid = sigContext.StubReturnType == "void";
VirtualMethodPointerStubGenerator.cs (1)
65string returnType = methodStub.SignatureContext.StubReturnType;
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSImportGenerator.cs (1)
182writer.WriteLine($"{string.Join(" ", context.StubMethodSyntaxTemplate.Modifiers)} {signature.StubReturnType} {context.StubMethodSyntaxTemplate.Identifier}({string.Join(", ", signature.StubParameters.Select(static parameter => parameter.Declaration))})");
Microsoft.Interop.LibraryImportGenerator (2)
LibraryImportGenerator.cs (2)
148writer.WriteLine($"{string.Join(" ", userDeclaredMethod.Modifiers)} {stub.SignatureContext.StubReturnType} {userDeclaredMethod.Identifier}({string.Join(", ", stub.SignatureContext.StubParameters)})"); 333writer.WriteLine($"{string.Join(" ", modifiers)} {stub.SignatureContext.StubReturnType} {userDeclaredMethod.Identifier}({string.Join(", ", stub.SignatureContext.StubParameters)});");
Microsoft.Interop.LibraryImportGenerator.Downlevel (2)
DownlevelLibraryImportGenerator.cs (2)
135writer.WriteLine($"{string.Join(" ", userDeclaredMethod.Modifiers)} {stub.SignatureContext.StubReturnType} {userDeclaredMethod.Identifier}({string.Join(", ", stub.SignatureContext.StubParameters)})"); 279writer.WriteLine($"{string.Join(" ", modifiers)} {stub.SignatureContext.StubReturnType} {userDeclaredMethod.Identifier}({string.Join(", ", stub.SignatureContext.StubParameters)});");
Microsoft.Interop.SourceGeneration (2)
SignatureContext.cs (2)
307&& StubReturnType == other.StubReturnType