Implemented interface member:
property
CodeContext
Microsoft.Interop.IBoundMarshallingGenerator.CodeContext
5 references to CodeContext
Microsoft.Interop.SourceGeneration (5)
Marshalling\CustomTypeMarshallingGenerator.cs (5)
24
MarshalDirection elementMarshalDirection = MarshallerHelpers.GetMarshalDirection(TypeInfo,
CodeContext
);
34
|| (
CodeContext
.Direction == MarshalDirection.UnmanagedToManaged && ShouldGenerateByValueOutMarshalling))
40
if (
CodeContext
.SingleFrameSpansNativeContext && elementMarshalDirection is MarshalDirection.ManagedToUnmanaged)
65
|| (
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged && ShouldGenerateByValueOutMarshalling))
72
|| (
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged && ShouldGenerateByValueOutMarshalling))