5 implementations of IUnboundMarshallingGenerator
Microsoft.Interop.SourceGeneration (5)
Marshalling\BlittableMarshaller.cs (1)
12
public sealed class BlittableMarshaller :
IUnboundMarshallingGenerator
Marshalling\BoolMarshaller.cs (1)
14
public abstract class BoolMarshallerBase :
IUnboundMarshallingGenerator
Marshalling\CharMarshaller.cs (1)
14
public sealed class Utf16CharMarshaller :
IUnboundMarshallingGenerator
Marshalling\DelegateMarshaller.cs (1)
13
public sealed class DelegateMarshaller :
IUnboundMarshallingGenerator
Marshalling\Forwarder.cs (1)
10
public sealed class Forwarder :
IUnboundMarshallingGenerator
13 references to IUnboundMarshallingGenerator
Microsoft.Interop.SourceGeneration (13)
BoundGenerators.cs (1)
21
public static BoundGenerators Create(ImmutableArray<TypePositionInfo> elementTypeInfo, IMarshallingGeneratorResolver generatorResolver, StubCodeContext context,
IUnboundMarshallingGenerator
fallbackGenerator, out ImmutableArray<GeneratorDiagnostic> generatorBindingDiagnostics)
Marshalling\ByValueMarshalKindSupportDescriptor.cs (1)
42
/// Provides an implementation of <see cref="
IUnboundMarshallingGenerator
.SupportsByValueMarshalKind(ByValueContentsMarshalKind, TypePositionInfo, out GeneratorDiagnostic?)"/> through <see cref="GetSupport(ByValueContentsMarshalKind, TypePositionInfo, out GeneratorDiagnostic?)"/>
Marshalling\CharMarshallingGeneratorResolver.cs (2)
12
private static readonly
IUnboundMarshallingGenerator
s_blittable = new BlittableMarshaller();
13
private static readonly
IUnboundMarshallingGenerator
s_utf16Char = new Utf16CharMarshaller();
Marshalling\IMarshallingGeneratorResolver.cs (1)
11
/// Create an <see cref="
IUnboundMarshallingGenerator
"/> instance for marshalling the supplied type in the given position and collect any diagnostics from generator resolution.
Marshalling\MarshalAsMarshallingGeneratorResolver.cs (2)
29
/// Create an <see cref="
IUnboundMarshallingGenerator
"/> instance for marshalling the supplied type in the given position.
33
/// <returns>A <see cref="
IUnboundMarshallingGenerator
"/> instance.</returns>
Marshalling\MarshallingGenerator.cs (5)
21
/// The native signature should be the type returned by <see cref="
IUnboundMarshallingGenerator
.AsNativeType(TypePositionInfo)"/> passed by value.
26
/// The native signature should be a pointer to the type returned by <see cref="
IUnboundMarshallingGenerator
.AsNativeType(TypePositionInfo)"/> passed by value.
152
/// A bound generator that binds an <see cref="
IUnboundMarshallingGenerator
"/> to a specific <see cref="TypePositionInfo"/>.
156
internal sealed class BoundMarshallingGenerator(TypePositionInfo info, StubCodeContext context,
IUnboundMarshallingGenerator
unbound) : IBoundMarshallingGenerator
189
public static IBoundMarshallingGenerator Bind(this
IUnboundMarshallingGenerator
unbound, TypePositionInfo info, StubCodeContext context) => new BoundMarshallingGenerator(info, context, unbound);
StubIdentifierContext.cs (1)
45
/// <see cref="
IUnboundMarshallingGenerator
.AsArgument(TypePositionInfo)"/> should provide the