4 types derived from CountInfo
Microsoft.Interop.SourceGeneration (4)
MarshallingAttributeInfo.cs (4)
81
public sealed record NoCountInfo :
CountInfo
88
public sealed record ConstSizeCountInfo(int Size) :
CountInfo
;
90
public sealed record CountElementCountInfo(TypePositionInfo ElementInfo) :
CountInfo
95
public sealed record SizeAndParamIndexInfo(int ConstSize, TypePositionInfo? ParamAtIndex) :
CountInfo
15 references to CountInfo
Microsoft.Interop.SourceGeneration (15)
ArrayMarshallingInfoProvider.cs (2)
30
CountInfo
countInfo = NoCountInfo.Instance;
44
CountInfo
countInfo,
CustomMarshallingInfoHelper.cs (1)
20
CountInfo
parsedCountInfo,
MarshalAsParser.cs (2)
63
CountInfo
CountInfo) : MarshalAsInfo(UnmanagedType, CharEncoding)
196
CountInfo
countInfo = NoCountInfo.Instance;
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (2)
65
private GeneratorDiagnostic.NotSupported? ValidateCountInfo(TypePositionInfo info,
CountInfo
count, StubCodeContext context, out bool countInfoRequiresCast)
229
CountInfo
countInfo = marshalInfo.ElementCountInfo;
Marshalling\ElementsMarshalling.cs (1)
62
public static ExpressionSyntax GenerateNumElementsExpression(
CountInfo
count, bool countInfoRequiresCast, StubCodeContext codeContext, StubIdentifierContext context)
MarshallingAttributeInfo.cs (1)
117
CountInfo
ElementCountInfo,
MarshallingInfoParser.cs (1)
18
public sealed record UseSiteAttributeData(int IndirectionDepth,
CountInfo
CountInfo, AttributeData AttributeData);
MarshalUsingAttributeParser.cs (3)
31
CountInfo
countInfo = NoCountInfo.Instance;
67
CountInfo
countInfo = ParseCountInfo(attributeData, elementInfoProvider, marshallingInfoCallback);
72
private
CountInfo
ParseCountInfo(AttributeData attributeData, IElementInfoProvider elementInfoProvider, GetMarshallingInfoCallback marshallingInfoCallback)
NativeMarshallingAttributeParser.cs (1)
25
CountInfo
countInfo = NoCountInfo.Instance;
StringMarshallingInfoProvider.cs (1)
40
CountInfo
countInfo = NoCountInfo.Instance;