2 implementations of IElementInfoProvider
Microsoft.Interop.SourceGeneration (2)
MarshallingInfoParser.cs (1)
287
internal sealed class CycleDetectingElementInfoProvider :
IElementInfoProvider
MethodSignatureElementInfoProvider.cs (1)
12
public sealed class MethodSignatureElementInfoProvider :
IElementInfoProvider
23 references to IElementInfoProvider
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSMarshalAsAttributeInfoParser.cs (1)
62
UseSiteAttributeData IUseSiteAttributeParser.ParseAttribute(AttributeData attributeData,
IElementInfoProvider
elementInfoProvider, GetMarshallingInfoCallback marshallingInfoCallback)
Microsoft.Interop.SourceGeneration (22)
MarshalAsParser.cs (1)
171
UseSiteAttributeData IUseSiteAttributeParser.ParseAttribute(AttributeData attributeData,
IElementInfoProvider
elementInfoProvider, GetMarshallingInfoCallback marshallingInfoCallback)
MarshallingInfoParser.cs (16)
49
UseSiteAttributeData ParseAttribute(AttributeData attributeData,
IElementInfoProvider
elementInfoProvider, GetMarshallingInfoCallback marshallingInfoCallback);
115
/// <param name="rootProvider">The <see cref="
IElementInfoProvider
"/> to pass to the <paramref name="marshallingInfoCallback"/>.</param>
118
bool TryGetInfoForElementName(AttributeData attrData, string elementName, GetMarshallingInfoCallback marshallingInfoCallback,
IElementInfoProvider
rootProvider, out TypePositionInfo info);
125
/// <param name="rootProvider">The <see cref="
IElementInfoProvider
"/> to pass to the <paramref name="marshallingInfoCallback"/>.</param>
128
bool TryGetInfoForParamIndex(AttributeData attrData, int paramIndex, GetMarshallingInfoCallback marshallingInfoCallback,
IElementInfoProvider
rootProvider, out TypePositionInfo info);
132
/// Convenience extension methods for <see cref="
IElementInfoProvider
"/>.
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)
179
private readonly
IElementInfoProvider
_elementInfoProvider;
188
/// <param name="elementInfoProvider">An <see cref="
IElementInfoProvider
"/> to retrieve information about other elements than the current element when parsing.</param>
194
IElementInfoProvider
elementInfoProvider,
285
/// Wraps another <see cref="
IElementInfoProvider
"/> with support to detect infinite cycles in marshalling info (i.e. count information that refers to other elements that refer to the original element).
290
private readonly
IElementInfoProvider
_innerProvider;
293
public CycleDetectingElementInfoProvider(
IElementInfoProvider
innerProvider, GeneratorDiagnosticsBag diagnostics)
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 (2)
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)
UseSiteAttributeProvider.cs (1)
32
IElementInfoProvider
elementInfoProvider,