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
,
97
argBuilder.Add(managedParameterMarshallers[i].AsManagedArgument(
_context
));
115
VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForUnmanagedToManaged(_marshallers,
_context
, shouldInitializeVariables);
156
allStatements.Add(ReturnStatement(IdentifierName(
_context
.GetIdentifiers(_marshallers.NativeReturnMarshaller.TypeInfo).native)));
163
return _marshallers.GenerateTargetMethodSignatureData(
_context
);