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