10 references to Free
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (1)
1188ShapeMemberNames.Free),
Analyzers\CustomMarshallerAttributeFixer.cs (1)
514if (missingMemberNames.Contains(ShapeMemberNames.Free))
Microsoft.Interop.SourceGeneration (8)
MarshallerShape.cs (2)
30public const string Free = nameof(Free); 207return type.GetMembers(ShapeMemberNames.Free)
Marshalling\StatefulMarshallingStrategy.cs (4)
20writer.WriteLine($"{GetMarshallerIdentifier(info, context)}.{ShapeMemberNames.Free}();"); 29writer.WriteLine($"{GetMarshallerIdentifier(info, context)}.{ShapeMemberNames.Free}();"); 291writer.WriteLine($"{StatefulValueMarshalling.GetMarshallerIdentifier(TypeInfo, context)}.{ShapeMemberNames.Free}();"); 300writer.WriteLine($"{StatefulValueMarshalling.GetMarshallerIdentifier(TypeInfo, context)}.{ShapeMemberNames.Free}();");
Marshalling\StatelessMarshallingStrategy.cs (2)
145writer.WriteLine($"{marshallerType}.{ShapeMemberNames.Free}({context.GetIdentifiers(TypeInfo).native});"); 156writer.WriteLine($"{marshallerType}.{ShapeMemberNames.Free}({context.GetIdentifiers(TypeInfo).native});");