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