2 writes to _context
Microsoft.Interop.SourceGeneration (2)
UnmanagedToManagedStubGenerator.cs (2)
27
_context
= new DefaultIdentifierContext(ReturnIdentifier, $"{ReturnIdentifier}{StubIdentifierContext.GeneratedNativeIdentifierSuffix}", MarshalDirection.UnmanagedToManaged);
31
_context
= new DefaultIdentifierContext(ReturnIdentifier, ReturnIdentifier, MarshalDirection.UnmanagedToManaged);
6 references to _context
Microsoft.Interop.SourceGeneration (6)
UnmanagedToManagedStubGenerator.cs (6)
43
_context
,
54
GeneratedStatements statements = GeneratedStatements.CreateForProperty(_marshallers,
_context
, propertyAccess, isSetter);
69
arguments[i] = parameters[i].AsManagedArgument(
_context
);
80
VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForUnmanagedToManaged(_marshallers,
_context
, shouldInitializeVariables);
113
writer.WriteLine($"return {
_context
.GetIdentifiers(_marshallers.NativeReturnMarshaller.TypeInfo).native};");
133
return _marshallers.GenerateTargetMethodSignatureData(
_context
);