3 instantiations of CustomTypeMarshallerData
Microsoft.Interop.SourceGeneration (3)
ManualTypeMarshallingHelper.cs (2)
536
return new
CustomTypeMarshallerData
(
616
return new
CustomTypeMarshallerData
(
MarshallingAttributeInfo.cs (1)
181
new
CustomTypeMarshallerData
(
19 references to CustomTypeMarshallerData
Microsoft.Interop.SourceGeneration (19)
ManualTypeMarshallingHelper.cs (10)
25
ImmutableDictionary<MarshalMode,
CustomTypeMarshallerData
> Modes)
38
foreach (KeyValuePair<MarshalMode,
CustomTypeMarshallerData
> mode in Modes)
45
public
CustomTypeMarshallerData
GetModeOrDefault(MarshalMode mode)
47
CustomTypeMarshallerData
data;
58
public bool TryGetModeOrDefault(MarshalMode mode, out
CustomTypeMarshallerData
data)
163
Dictionary<MarshalMode,
CustomTypeMarshallerData
> modes = new();
218
CustomTypeMarshallerData
? data = GetMarshallerDataForType(marshallerType, marshalMode, managedType, isLinearCollectionMarshalling, compilation, getMarshallingInfoForElement);
404
private static
CustomTypeMarshallerData
? GetMarshallerDataForType(
453
private static
CustomTypeMarshallerData
? GetStatelessMarshallerDataForType(ITypeSymbol marshallerType, MarshalMode mode, ITypeSymbol managedType, bool isLinearCollectionMarshaller, Compilation compilation, Func<ITypeSymbol, MarshallingInfo>? getMarshallingInfo)
547
private static
CustomTypeMarshallerData
? GetStatefulMarshallerDataForType(
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (6)
90
CustomTypeMarshallerData
marshallerData = GetMarshallerDataForTypePositionInfo(collectionInfo.Marshallers, info, context);
117
private bool ValidateRuntimeMarshallingOptions(
CustomTypeMarshallerData
marshallerData)
131
private
CustomTypeMarshallerData
GetMarshallerDataForTypePositionInfo(CustomTypeMarshallers marshallers, TypePositionInfo info, StubCodeContext context)
151
CustomTypeMarshallerData
marshallerData = GetMarshallerDataForTypePositionInfo(marshalInfo.Marshallers, info, context);
209
CustomTypeMarshallerData
marshallerData,
392
private static ElementsMarshalling CreateElementsMarshalling(
CustomTypeMarshallerData
marshallerData, IBoundMarshallingGenerator elementMarshaller, TypeSyntax unmanagedElementType, IElementsMarshallingCollectionSource collectionSource)
MarshallingAttributeInfo.cs (2)
143
foreach (KeyValuePair<MarshalMode,
CustomTypeMarshallerData
> mode in Marshallers.Modes)
179
new CustomTypeMarshallers(ImmutableDictionary<MarshalMode,
CustomTypeMarshallerData
>.Empty.Add(
SafeHandleMarshallingInfoProvider.cs (1)
79
Modes = ImmutableDictionary<MarshalMode,
CustomTypeMarshallerData
>.Empty