44 references to SignatureBehavior
Microsoft.Interop.ComInterfaceGenerator (13)
Marshallers\ComInterfaceDispatchMarshallingResolver.cs (2)
65
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info) =>
SignatureBehavior
.NativeType;
Marshallers\KeepAliveThisMarshaller.cs (2)
33
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info) =>
SignatureBehavior
.NativeType;
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (4)
56
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info) =>
SignatureBehavior
.NativeType;
93
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info) =>
SignatureBehavior
.NativeType;
Marshallers\ObjectUnwrapperResolver.cs (2)
60
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info) =>
SignatureBehavior
.NativeType;
Marshallers\StructAsHResultMarshallerFactory.cs (3)
79
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info)
81
return info.IsByRef ?
SignatureBehavior
.PointerToNativeType :
SignatureBehavior
.NativeType;
Microsoft.Interop.JavaScript.JSImportGenerator (3)
Marshaling\BaseJSGenerator.cs (1)
30
public
SignatureBehavior
NativeSignatureBehavior => _inner.NativeSignatureBehavior;
Marshaling\EmptyJSGenerator.cs (2)
14
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info) =>
SignatureBehavior
.ManagedTypeAndAttributes;
Microsoft.Interop.SourceGeneration (28)
Marshalling\BlittableMarshaller.cs (3)
19
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info)
21
return info.IsByRef ?
SignatureBehavior
.PointerToNativeType :
SignatureBehavior
.NativeType;
Marshalling\BoolMarshaller.cs (3)
35
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info)
37
return info.IsByRef ?
SignatureBehavior
.PointerToNativeType :
SignatureBehavior
.NativeType;
Marshalling\CharMarshaller.cs (3)
42
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info)
44
return info.IsByRef ?
SignatureBehavior
.PointerToNativeType :
SignatureBehavior
.NativeType;
Marshalling\CustomTypeMarshallingGenerator.cs (3)
20
public
SignatureBehavior
NativeSignatureBehavior => TypeInfo.IsByRef ?
SignatureBehavior
.PointerToNativeType :
SignatureBehavior
.NativeType;
Marshalling\DelegateMarshaller.cs (3)
20
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info)
22
return info.IsByRef ?
SignatureBehavior
.PointerToNativeType :
SignatureBehavior
.NativeType;
Marshalling\Forwarder.cs (2)
17
public
SignatureBehavior
GetNativeSignatureBehavior(TypePositionInfo info)
19
return
SignatureBehavior
.ManagedTypeAndAttributes;
Marshalling\MarshallingGenerator.cs (2)
103
SignatureBehavior
NativeSignatureBehavior { get; }
168
public
SignatureBehavior
NativeSignatureBehavior => unbound.GetNativeSignatureBehavior(TypeInfo);
Marshalling\MarshallingGeneratorExtensions.cs (8)
24
SignatureBehavior
.ManagedTypeAndAttributes => generator.TypeInfo.ManagedType.Syntax,
25
SignatureBehavior
.NativeType => generator.NativeType.Syntax,
26
SignatureBehavior
.PointerToNativeType => PointerType(generator.NativeType.Syntax),
38
if (generator.NativeSignatureBehavior !=
SignatureBehavior
.ManagedTypeAndAttributes)
61
SignatureBehavior
behavior = generator.NativeSignatureBehavior;
62
if (behavior ==
SignatureBehavior
.ManagedTypeAndAttributes)
98
SignatureBehavior
.NativeType => generator.NativeType.Syntax,
99
SignatureBehavior
.PointerToNativeType => PointerType(generator.NativeType.Syntax),
Marshalling\StaticPinnableManagedValueMarshaller.cs (1)
21
public
SignatureBehavior
NativeSignatureBehavior => innerMarshallingGenerator.NativeSignatureBehavior;