2 writes to _context
Microsoft.Interop.SourceGeneration (2)
ManagedToNativeStubGenerator.cs (2)
66_context = new DefaultIdentifierContext(ReturnIdentifier, $"{ReturnIdentifier}{StubIdentifierContext.GeneratedNativeIdentifierSuffix}", MarshalDirection.ManagedToUnmanaged) 73_context = new DefaultIdentifierContext(ReturnIdentifier, ReturnIdentifier, MarshalDirection.ManagedToUnmanaged)
5 references to _context
Microsoft.Interop.SourceGeneration (5)
ManagedToNativeStubGenerator.cs (5)
98return _context.GetIdentifiers(info).native; 111GeneratedStatements statements = GeneratedStatements.Create(_marshallers, StubCodeContext.DefaultManagedToNativeStub, _context, IdentifierName(targetIdentifier)); 113VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForManagedToUnmanaged(_marshallers, _context, shouldInitializeVariables); 191allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(_marshallers.ManagedReturnMarshaller.TypeInfo).managed))); 198return _marshallers.GenerateTargetMethodSignatureData(_context);