2 implementations of IElementInfoProvider
Microsoft.Interop.SourceGeneration (2)
MarshallingInfoParser.cs (1)
285
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)
133
UseSiteAttributeData IUseSiteAttributeParser.ParseAttribute(AttributeData attributeData,
IElementInfoProvider
elementInfoProvider, GetMarshallingInfoCallback marshallingInfoCallback)
MarshallingInfoParser.cs (16)
48
UseSiteAttributeData ParseAttribute(AttributeData attributeData,
IElementInfoProvider
elementInfoProvider, GetMarshallingInfoCallback marshallingInfoCallback);
114
/// <param name="rootProvider">The <see cref="
IElementInfoProvider
"/> to pass to the <paramref name="marshallingInfoCallback"/>.</param>
117
bool TryGetInfoForElementName(AttributeData attrData, string elementName, GetMarshallingInfoCallback marshallingInfoCallback,
IElementInfoProvider
rootProvider, out TypePositionInfo info);
124
/// <param name="rootProvider">The <see cref="
IElementInfoProvider
"/> to pass to the <paramref name="marshallingInfoCallback"/>.</param>
127
bool TryGetInfoForParamIndex(AttributeData attrData, int paramIndex, GetMarshallingInfoCallback marshallingInfoCallback,
IElementInfoProvider
rootProvider, out TypePositionInfo info);
131
/// Convenience extension methods for <see cref="
IElementInfoProvider
"/>.
143
public static bool TryGetInfoForElementName(this
IElementInfoProvider
provider, AttributeData attrData, string elementName, GetMarshallingInfoCallback marshallingInfoCallback, out TypePositionInfo info)
156
public static bool TryGetInfoForParamIndex(this
IElementInfoProvider
provider, AttributeData attrData, int paramIndex, GetMarshallingInfoCallback marshallingInfoCallback, out TypePositionInfo info)
178
private readonly
IElementInfoProvider
_elementInfoProvider;
187
/// <param name="elementInfoProvider">An <see cref="
IElementInfoProvider
"/> to retrieve information about other elements than the current element when parsing.</param>
193
IElementInfoProvider
elementInfoProvider,
283
/// 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).
288
private readonly
IElementInfoProvider
_innerProvider;
291
public CycleDetectingElementInfoProvider(
IElementInfoProvider
innerProvider, GeneratorDiagnosticsBag diagnostics)
298
public bool TryGetInfoForElementName(AttributeData attrData, string elementName, GetMarshallingInfoCallback marshallingInfoCallback,
IElementInfoProvider
rootProvider, [NotNullWhen(true)] out TypePositionInfo? info)
325
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,