5 references to StatelessPinnableReference
Microsoft.Interop.SourceGeneration (5)
MarshallerShape.cs (2)
196shape |= MarshallerShape.StatelessPinnableReference; 542shape |= MarshallerShape.StatelessPinnableReference;
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (3)
196IBoundMarshallingGenerator marshallingGenerator = new CustomTypeMarshallingGenerator(marshallingStrategy, ByValueMarshalKindSupportDescriptor.Default, marshallerData.Shape.HasFlag(MarshallerShape.StatelessPinnableReference)); 198if (marshallerData.Shape.HasFlag(MarshallerShape.StatelessPinnableReference)) 341bool isPinned = marshallerData.Shape.HasFlag(MarshallerShape.StatelessPinnableReference) && elementIsBlittable;