4 instantiations of UseSiteAttributeProvider
Microsoft.Interop.SourceGeneration (4)
MarshallingInfoParser.cs (1)
216
UseSiteAttributeProvider useSiteAttributeProvider = new
UseSiteAttributeProvider
(_useSiteMarshallingAttributeParsers, useSiteAttributes, _elementInfoProvider, _diagnostics, GetMarshallingInfo);
MethodSignatureElementInfoProvider.cs (3)
35
marshallingInfoCallback(_method.ReturnType, new
UseSiteAttributeProvider
(_useSiteAttributeParsers, _method.GetReturnTypeAttributes(), rootProvider, _generatorDiagnostics, marshallingInfoCallback), 0)) with
49
marshallingInfoCallback(param.Type, new
UseSiteAttributeProvider
(_useSiteAttributeParsers, param.GetAttributes(), rootProvider, _generatorDiagnostics, marshallingInfoCallback), 0), _compilation) with
71
marshallingInfoCallback(param.Type, new
UseSiteAttributeProvider
(_useSiteAttributeParsers, param.GetAttributes(), rootProvider, _generatorDiagnostics, marshallingInfoCallback), 0), _compilation) with
25 references to UseSiteAttributeProvider
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\ConvertComImportToGeneratedComInterfaceAnalyzer.cs (2)
216
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth,
UseSiteAttributeProvider
useSiteAttributes, GetMarshallingInfoCallback marshallingInfoCallback)
223
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth,
UseSiteAttributeProvider
useSiteAttributes, GetMarshallingInfoCallback marshallingInfoCallback) => new TrackedMarshallingInfo(TrackedMarshallingInfoAnnotation.ExplicitlyUnsupported, NoMarshallingInfo.Instance);
Microsoft.Interop.JavaScript.JSImportGenerator (2)
FallbackJSMarshallingInfoProvider.cs (1)
17
public MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth,
UseSiteAttributeProvider
useSiteAttributes, GetMarshallingInfoCallback marshallingInfoCallback)
JSMarshalAsAttributeInfoParser.cs (1)
22
public MarshallingInfo ParseAttribute(AttributeData attributeData, ITypeSymbol type, int indirectionDepth,
UseSiteAttributeProvider
useSiteAttributes, 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 (20)
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)
17
UseSiteAttributeProvider
useSiteAttributeProvider,
MarshalAsParser.cs (1)
152
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 (7)
27
public delegate MarshallingInfo GetMarshallingInfoCallback(ITypeSymbol type,
UseSiteAttributeProvider
useSiteAttributes, int indirectionDepth);
72
MarshallingInfo? ParseAttribute(AttributeData attributeData, ITypeSymbol type, int indirectionDepth,
UseSiteAttributeProvider
useSiteAttributes, GetMarshallingInfoCallback marshallingInfoCallback);
94
MarshallingInfo GetMarshallingInfo(ITypeSymbol type, int indirectionDepth,
UseSiteAttributeProvider
useSiteAttributes, GetMarshallingInfoCallback marshallingInfoCallback);
216
UseSiteAttributeProvider
useSiteAttributeProvider = new UseSiteAttributeProvider(_useSiteMarshallingAttributeParsers, useSiteAttributes, _elementInfoProvider, _diagnostics, GetMarshallingInfo);
229
UseSiteAttributeProvider
useSiteAttributes,
255
private MarshallingInfo? GetMarshallingInfoForAttribute(AttributeData attribute, ITypeSymbol type, int indirectionDepth,
UseSiteAttributeProvider
useSiteAttributes, GetMarshallingInfoCallback marshallingInfoCallback)
269
private MarshallingInfo? GetMarshallingInfoForType(ITypeSymbol type, int indirectionDepth,
UseSiteAttributeProvider
useSiteAttributes, GetMarshallingInfoCallback marshallingInfoCallback)
MarshalUsingAttributeParser.cs (1)
28
MarshallingInfo? IMarshallingInfoAttributeParser.ParseAttribute(AttributeData attributeData, ITypeSymbol type, int indirectionDepth,
UseSiteAttributeProvider
useSiteAttributes, GetMarshallingInfoCallback marshallingInfoCallback)
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)
22
/// Construct a new <see cref="
UseSiteAttributeProvider
"/> for a given usage site.