10 references to ManagedIdentifier
Microsoft.Interop.ComInterfaceGenerator (3)
Marshallers\KeepAliveThisMarshaller.cs (1)
22public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.ManagedIdentifier;
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (2)
49public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.ManagedIdentifier; 73public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.ManagedIdentifier;
Microsoft.Interop.SourceGeneration (7)
Marshalling\BlittableMarshaller.cs (1)
22return ValueBoundaryBehavior.ManagedIdentifier;
Marshalling\CharMarshaller.cs (1)
21return ValueBoundaryBehavior.ManagedIdentifier;
Marshalling\Forwarder.cs (1)
20return ValueBoundaryBehavior.ManagedIdentifier;
Marshalling\MarshallingGeneratorExtensions.cs (3)
72ValueBoundaryBehavior.ManagedIdentifier => generator.TypeInfo.IsByRef ? param : managed, 125ValueBoundaryBehavior.ManagedIdentifier when !info.IsByRef => managedIdentifier, 126ValueBoundaryBehavior.ManagedIdentifier => $"{MarshallerHelpers.GetManagedArgumentRefKindKeyword(info)} {managedIdentifier}",
VariableDeclarations.cs (1)
115if (boundaryBehavior != ValueBoundaryBehavior.ManagedIdentifier && !marshaller.TypeInfo.IsErrorHandlingPosition)