2 instantiations of ComInterfaceInfo
Microsoft.Interop.ComInterfaceGenerator (2)
ComInterfaceInfo.cs (2)
98
new
ComInterfaceInfo
(
157
new
ComInterfaceInfo
(
16 references to ComInterfaceInfo
Microsoft.Interop.ComInterfaceGenerator (16)
ComInterfaceContext.cs (8)
15
internal
ComInterfaceInfo
Info { get; init; }
20
private ComInterfaceContext(
ComInterfaceInfo
info, ComInterfaceContext? @base, ComInterfaceOptions options)
30
public static ImmutableArray<DiagnosticOr<ComInterfaceContext>> GetContexts(ImmutableArray<
ComInterfaceInfo
> data, CancellationToken _)
32
Dictionary<string,
ComInterfaceInfo
> nameToInterfaceInfoMap = new();
34
foreach (
var
iface in data)
40
foreach (
var
iface in data)
46
DiagnosticOr<ComInterfaceContext> AddContext(
ComInterfaceInfo
iface)
65
|| !nameToInterfaceInfoMap.TryGetValue(iface.BaseInterfaceKey, out
var
baseInfo)
ComInterfaceGenerator.cs (4)
49
return
ComInterfaceInfo
.From(data.Left.Symbol, data.Left.Syntax, data.Right, ct);
55
return
ComInterfaceInfo
.CreateInterfaceInfoForBaseInterfacesInOtherCompilations(data.Symbol);
222
private static MemberDeclarationSyntax GenerateIUnknownDerivedAttributeApplication(
ComInterfaceInfo
context, CancellationToken _)
634
private static ClassDeclarationSyntax GenerateInterfaceInformation(
ComInterfaceInfo
context, CancellationToken _)
ComInterfaceInfo.cs (2)
11
using InterfaceInfo = (Microsoft.Interop.
ComInterfaceInfo
InterfaceInfo, Microsoft.CodeAnalysis.INamedTypeSymbol Symbol);
367
public bool Equals(
ComInterfaceInfo
other)
ComMethodInfo.cs (2)
40
public static SequenceEqualImmutableArray<DiagnosticOr<(ComMethodInfo ComMethod, IMethodSymbol Symbol)>> GetMethodsFromInterface((
ComInterfaceInfo
ifaceContext, INamedTypeSymbol ifaceSymbol) data, CancellationToken ct)
86
private static DiagnosticOr<(ComMethodInfo, IMethodSymbol)> CalculateMethodInfo(
ComInterfaceInfo
ifaceContext, IMethodSymbol method, CancellationToken ct)