2 instantiations of VirtualMethodIndexCompilationData
Microsoft.Interop.ComInterfaceGenerator (2)
VtableIndexStubGenerator.cs (2)
188
return new
VirtualMethodIndexCompilationData
((int)attrData.ConstructorArguments[0].Value).WithValuesFromNamedArguments(namedArguments) with
241
virtualMethodIndexData = new
VirtualMethodIndexCompilationData
(-1);
9 references to VirtualMethodIndexCompilationData
Microsoft.Interop.ComInterfaceGenerator (9)
VirtualMethodIndexData.cs (2)
10
/// See <seealso cref="
VirtualMethodIndexCompilationData
"/> for a type with a reference to the StringMarshallingCustomType
20
public static VirtualMethodIndexData From(
VirtualMethodIndexCompilationData
virtualMethodIndex)
VtableIndexStubGenerator.cs (7)
129
private static
VirtualMethodIndexCompilationData
? ProcessVirtualMethodIndexAttribute(AttributeData attrData)
150
if (namedArguments.TryGetValue(nameof(
VirtualMethodIndexCompilationData
.Direction), out TypedConstant directionValue))
160
if (namedArguments.TryGetValue(nameof(
VirtualMethodIndexCompilationData
.ImplicitThisParameter), out TypedConstant implicitThisValue))
168
if (namedArguments.TryGetValue(nameof(
VirtualMethodIndexCompilationData
.ExceptionMarshalling), out TypedConstant exceptionMarshallingValue))
179
if (namedArguments.TryGetValue(nameof(
VirtualMethodIndexCompilationData
.ExceptionMarshallingCustomType), out TypedConstant exceptionMarshallingCustomTypeValue))
237
VirtualMethodIndexCompilationData
? virtualMethodIndexData = ProcessVirtualMethodIndexAttribute(virtualMethodIndexAttr!);
324
private static MarshallingInfo CreateExceptionMarshallingInfo(AttributeData virtualMethodIndexAttr, ISymbol symbol, Compilation compilation, GeneratorDiagnosticsBag diagnostics,
VirtualMethodIndexCompilationData
virtualMethodIndexData)