2 writes to _context
Microsoft.Interop.SourceGeneration (2)
UnmanagedToManagedStubGenerator.cs (2)
34_context = new DefaultIdentifierContext(ReturnIdentifier, $"{ReturnIdentifier}{StubIdentifierContext.GeneratedNativeIdentifierSuffix}", MarshalDirection.UnmanagedToManaged); 38_context = new DefaultIdentifierContext(ReturnIdentifier, ReturnIdentifier, MarshalDirection.UnmanagedToManaged);
6 references to _context
Microsoft.Interop.SourceGeneration (6)
UnmanagedToManagedStubGenerator.cs (6)
55_context, methodToInvoke); 72_context, 97argBuilder.Add(managedParameterMarshallers[i].AsManagedArgument(_context)); 115VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForUnmanagedToManaged(_marshallers, _context, shouldInitializeVariables); 156allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(_marshallers.NativeReturnMarshaller.TypeInfo).native))); 163return _marshallers.GenerateTargetMethodSignatureData(_context);