/// <summary> /// Create a <see cref="CustomMarshallerAttribute"/> instance. /// </summary> /// <param name="managedType">Managed type to marshal.</param> /// <param name="marshalMode">The marshalling mode this attribute applies to.</param> /// <param name="marshallerType">Type used for marshalling.</param> public CustomMarshallerAttribute(Type managedType, MarshalMode marshalMode, Type marshallerType) { ManagedType = managedType; MarshalMode = marshalMode; MarshallerType = marshallerType; }
#pragma warning disable CA1822 // Mark members as static private void AnalyzeMarshallerType(DiagnosticReporter diagnosticFactory, INamedTypeSymbol?managedType, MarshalMode mode, INamedTypeSymbol?marshallerType, bool isLinearCollectionMarshaller) #pragma warning restore CA1822 // Mark members as static { // TODO: Implement for the V2 shapes }