7 references to From
Microsoft.Interop.ComInterfaceGenerator (5)
ComClassInfo.cs (1)
63return DiagnosticOr<ComClassInfo>.From(
ComInterfaceContext.cs (2)
55var baselessCtx = DiagnosticOr<ComInterfaceContext>.From(new ComInterfaceContext(iface, null, iface.Options) { IsExternallyDefined = iface.IsExternallyDefined }); 79var ctx = DiagnosticOr<ComInterfaceContext>.From(new ComInterfaceContext(iface, baseContext.Value, iface.Options) { IsExternallyDefined = iface.IsExternallyDefined });
ComMethodInfo.cs (2)
96return DiagnosticOr<(ComMethodInfo, IMethodSymbol)>.From(( 153return DiagnosticOr<(ComMethodInfo, IMethodSymbol)>.From((comMethodInfo, method));
Microsoft.Interop.LibraryImportGenerator (1)
LibraryImportGenerator.cs (1)
59: DiagnosticOr<(MethodDeclarationSyntax Syntax, IMethodSymbol Symbol)>.From((data.Syntax, data.Symbol));
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
58: DiagnosticOr<(MethodDeclarationSyntax Syntax, IMethodSymbol Symbol)>.From((data.Syntax, data.Symbol));