11 references to ManagedIdentifier
Microsoft.Interop.ComInterfaceGenerator (3)
Marshallers\KeepAliveThisMarshaller.cs (1)
34public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.ManagedIdentifier;
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (2)
57public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.ManagedIdentifier; 94public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.ManagedIdentifier;
Microsoft.Interop.JavaScript.JSImportGenerator (1)
Marshaling\EmptyJSGenerator.cs (1)
15public ValueBoundaryBehavior GetValueBoundaryBehavior(TypePositionInfo info, StubCodeContext context) => ValueBoundaryBehavior.ManagedIdentifier;
Microsoft.Interop.SourceGeneration (7)
Marshalling\BlittableMarshaller.cs (1)
28return ValueBoundaryBehavior.ManagedIdentifier;
Marshalling\CharMarshaller.cs (1)
26return ValueBoundaryBehavior.ManagedIdentifier;
Marshalling\Forwarder.cs (1)
24return ValueBoundaryBehavior.ManagedIdentifier;
Marshalling\MarshallingGeneratorExtensions.cs (3)
85ValueBoundaryBehavior.ManagedIdentifier => generator.TypeInfo.IsByRef ? param : managed, 145ValueBoundaryBehavior.ManagedIdentifier when !info.IsByRef => Argument(IdentifierName(managedIdentifier)), 146ValueBoundaryBehavior.ManagedIdentifier when info.IsByRef => Argument(IdentifierName(managedIdentifier)).WithRefKindKeyword(MarshallerHelpers.GetManagedArgumentRefKindKeyword(info)),
VariableDeclarations.cs (1)
167if (boundaryBehavior != ValueBoundaryBehavior.ManagedIdentifier)