36 references to GetMarshallingInfoCallback
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\ConvertComImportToGeneratedComInterfaceAnalyzer.cs (2)
220
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
227
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback) => new TrackedMarshallingInfo(TrackedMarshallingInfoAnnotation.ExplicitlyUnsupported, NoMarshallingInfo.Instance);
Microsoft.Interop.JavaScript.JSImportGenerator (3)
FallbackJSMarshallingInfoProvider.cs (1)
17
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
JSMarshalAsAttributeInfoParser.cs (2)
22
public MarshallingInfo ParseAttribute(AttributeData attributeData, ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
62
UseSiteAttributeData IUseSiteAttributeParser.ParseAttribute(AttributeData attributeData, IElementInfoProvider elementInfoProvider,
GetMarshallingInfoCallback
marshallingInfoCallback)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelStringMarshallingInfoProvider.cs (1)
28
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
Microsoft.Interop.SourceGeneration (30)
ArrayMarshallingInfoProvider.cs (1)
28
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
BlittableTypeMarshallingInfoProvider.cs (1)
25
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
BooleanMarshallingInfoProvider.cs (1)
18
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
CharMarshallingInfoProvider.cs (1)
25
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
ComInterfaceMarshallingInfoProvider.cs (1)
26
public MarshallingInfo? ParseAttribute(AttributeData attributeData, ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
CustomMarshallingInfoHelper.cs (1)
18
GetMarshallingInfoCallback
getMarshallingInfoCallback,
MarshalAsParser.cs (2)
171
UseSiteAttributeData IUseSiteAttributeParser.ParseAttribute(AttributeData attributeData, IElementInfoProvider elementInfoProvider,
GetMarshallingInfoCallback
marshallingInfoCallback)
200
MarshallingInfo? IMarshallingInfoAttributeParser.ParseAttribute(AttributeData attributeData, ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
MarshalAsWithCustomMarshallersParser.cs (1)
37
MarshallingInfo? IMarshallingInfoAttributeParser.ParseAttribute(AttributeData attributeData, ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
MarshallingInfoParser.cs (12)
49
UseSiteAttributeData ParseAttribute(AttributeData attributeData, IElementInfoProvider elementInfoProvider,
GetMarshallingInfoCallback
marshallingInfoCallback);
73
MarshallingInfo? ParseAttribute(AttributeData attributeData, ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback);
95
MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback);
118
bool TryGetInfoForElementName(AttributeData attrData, string elementName,
GetMarshallingInfoCallback
marshallingInfoCallback, IElementInfoProvider rootProvider, out TypePositionInfo info);
128
bool TryGetInfoForParamIndex(AttributeData attrData, int paramIndex,
GetMarshallingInfoCallback
marshallingInfoCallback, IElementInfoProvider rootProvider, out TypePositionInfo info);
144
public static bool TryGetInfoForElementName(this IElementInfoProvider provider, AttributeData attrData, string elementName,
GetMarshallingInfoCallback
marshallingInfoCallback, out TypePositionInfo info)
157
public static bool TryGetInfoForParamIndex(this IElementInfoProvider provider, AttributeData attrData, int paramIndex,
GetMarshallingInfoCallback
marshallingInfoCallback, out TypePositionInfo info)
251
private MarshallingInfo? GetMarshallingInfoForAttribute(AttributeData attribute, ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
256
private MarshallingInfo? GetMarshallingInfoForAttributes(ReadOnlySpan<AttributeData> attrs, ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
271
private MarshallingInfo? GetMarshallingInfoForType(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
300
public bool TryGetInfoForElementName(AttributeData attrData, string elementName,
GetMarshallingInfoCallback
marshallingInfoCallback, IElementInfoProvider rootProvider, [NotNullWhen(true)] out TypePositionInfo? info)
327
public bool TryGetInfoForParamIndex(AttributeData attrData, int paramIndex,
GetMarshallingInfoCallback
marshallingInfoCallback, IElementInfoProvider rootProvider, [NotNullWhen(true)] out TypePositionInfo? info)
MarshalUsingAttributeParser.cs (3)
28
MarshallingInfo? IMarshallingInfoAttributeParser.ParseAttribute(AttributeData attributeData, ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
64
UseSiteAttributeData IUseSiteAttributeParser.ParseAttribute(AttributeData attributeData, IElementInfoProvider elementInfoProvider,
GetMarshallingInfoCallback
marshallingInfoCallback)
72
private CountInfo ParseCountInfo(AttributeData attributeData, IElementInfoProvider elementInfoProvider,
GetMarshallingInfoCallback
marshallingInfoCallback)
MethodSignatureElementInfoProvider.cs (2)
29
public bool TryGetInfoForElementName(AttributeData attrData, string elementName,
GetMarshallingInfoCallback
marshallingInfoCallback, IElementInfoProvider rootProvider, out TypePositionInfo info)
60
public bool TryGetInfoForParamIndex(AttributeData attrData, int paramIndex,
GetMarshallingInfoCallback
marshallingInfoCallback, IElementInfoProvider rootProvider, out TypePositionInfo info)
NativeMarshallingAttributeParser.cs (1)
22
public MarshallingInfo? ParseAttribute(AttributeData attributeData, ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
SafeHandleMarshallingInfoProvider.cs (1)
41
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
StringMarshallingInfoProvider.cs (1)
30
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth, UseSiteAttributeProvider useSiteAttributes,
GetMarshallingInfoCallback
marshallingInfoCallback)
UseSiteAttributeProvider.cs (1)
34
GetMarshallingInfoCallback
getMarshallingInfoCallback)