Implemented interface member:
property
CodeContext
Microsoft.Interop.IBoundMarshallingGenerator.CodeContext
5 references to CodeContext
Microsoft.Interop.SourceGeneration (5)
Marshalling\CustomTypeMarshallingGenerator.cs (5)
28
MarshalDirection elementMarshalDirection = MarshallerHelpers.GetMarshalDirection(TypeInfo,
CodeContext
);
37
|| (
CodeContext
.Direction == MarshalDirection.UnmanagedToManaged && ShouldGenerateByValueOutMarshalling))
43
if (
CodeContext
.SingleFrameSpansNativeContext && elementMarshalDirection is MarshalDirection.ManagedToUnmanaged)
68
|| (
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged && ShouldGenerateByValueOutMarshalling))
75
|| (
CodeContext
.Direction == MarshalDirection.ManagedToUnmanaged && ShouldGenerateByValueOutMarshalling))