2 writes to _context
Microsoft.Interop.ComInterfaceGenerator (2)
UnmanagedToManagedStubGenerator.cs (2)
34
_context
= new DefaultIdentifierContext(ReturnIdentifier, $"{ReturnIdentifier}{StubIdentifierContext.GeneratedNativeIdentifierSuffix}", MarshalDirection.UnmanagedToManaged);
38
_context
= new DefaultIdentifierContext(ReturnIdentifier, ReturnIdentifier, MarshalDirection.UnmanagedToManaged);
4 references to _context
Microsoft.Interop.ComInterfaceGenerator (4)
UnmanagedToManagedStubGenerator.cs (4)
55
_context
, methodToInvoke);
62
VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForUnmanagedToManaged(_marshallers,
_context
, shouldInitializeVariables);
103
allStatements.Add(ReturnStatement(IdentifierName(
_context
.GetIdentifiers(_marshallers.NativeReturnMarshaller.TypeInfo).native)));
110
return _marshallers.GenerateTargetMethodSignatureData(
_context
);