3 references to GetManagedArgumentRefKindKeyword
Microsoft.Interop.ComInterfaceGenerator (1)
ComInterfaceGenerator.cs (1)
642
writer.WriteLine($"({string.Join(", ", sigContext.ManagedParameters.Select(mp => $"{(mp.IsByRef ? $"{MarshallerHelpers.
GetManagedArgumentRefKindKeyword
(mp)} " : "")}{mp.InstanceIdentifier}"))});");
Microsoft.Interop.SourceGeneration (2)
Marshalling\MarshallingGeneratorExtensions.cs (2)
146
ValueBoundaryBehavior.ManagedIdentifier when info.IsByRef => Argument(IdentifierName(managedIdentifier)).WithRefKindKeyword(MarshallerHelpers.
GetManagedArgumentRefKindKeyword
(info)),
160
return Argument(IdentifierName(managedIdentifier)).WithRefKindKeyword(MarshallerHelpers.
GetManagedArgumentRefKindKeyword
(info));