3 overrides of GetIdentifiers
Microsoft.Interop.SourceGeneration (3)
DefaultIdentifierContext.cs (1)
26public override (string managed, string native) GetIdentifiers(TypePositionInfo info)
LinearCollectionElementIdentifierContext.cs (1)
46public override (string managed, string native) GetIdentifiers(TypePositionInfo info)
Marshalling\GenericFriendlyPointerIdentifierContext.cs (1)
25public override (string managed, string native) GetIdentifiers(TypePositionInfo info)
34 references to GetIdentifiers
Microsoft.Interop.ComInterfaceGenerator (6)
Marshallers\ComInterfaceDispatchMarshallingResolver.cs (1)
47var (managed, native) = context.GetIdentifiers(info);
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (2)
47(string managedIdentifier, _) = context.GetIdentifiers(info); 75(string managedIdentifier, _) = context.GetIdentifiers(info);
Marshallers\ObjectUnwrapperResolver.cs (1)
43(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(info);
Marshallers\StructAsHResultMarshallerFactory.cs (1)
34var (managed, unmanaged) = context.GetIdentifiers(info);
UnmanagedToManagedStubGenerator.cs (1)
103allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(_marshallers.NativeReturnMarshaller.TypeInfo).native)));
Microsoft.Interop.JavaScript.JSImportGenerator (5)
JSExportCodeGenerator.cs (1)
219(string _, string nativeIdentifier) = _context.GetIdentifiers(_marshallers.ManagedReturnMarshaller.TypeInfo);
JSImportCodeGenerator.cs (1)
130allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(_marshallers.ManagedReturnMarshaller.TypeInfo).managed)));
Marshaling\FuncJSGenerator.cs (1)
40? Argument(IdentifierName(context.GetIdentifiers(TypeInfo).native))
Marshaling\PrimitiveJSGenerator.cs (1)
33? Argument(IdentifierName(context.GetIdentifiers(TypeInfo).native))
Marshaling\TaskJSGenerator.cs (1)
46? Argument(IdentifierName(context.GetIdentifiers(TypeInfo).native))
Microsoft.Interop.SourceGeneration (23)
DefaultIdentifierContext.cs (1)
54return base.GetIdentifiers(info);
GeneratedStatements.cs (3)
111var (managed, native) = context.GetIdentifiers(marshallers.NativeReturnMarshaller.TypeInfo); 148IdentifierName(context.GetIdentifiers(marshallers.ManagedReturnMarshaller.TypeInfo).managed), 162var (managed, _) = context.GetIdentifiers(managedExceptionMarshaller.TypeInfo);
LinearCollectionElementIdentifierContext.cs (1)
59return _globalContext.GetIdentifiers(info);
Marshalling\BlittableMarshaller.cs (1)
42(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(info);
Marshalling\BoolMarshaller.cs (1)
53(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(info);
Marshalling\CharMarshaller.cs (1)
49(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(info);
Marshalling\DelegateMarshaller.cs (1)
33(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(info);
Marshalling\GenericFriendlyPointerIdentifierContext.cs (2)
29(string managed, _) = _innerContext.GetIdentifiers(info); 33return _innerContext.GetIdentifiers(info);
Marshalling\MarshallerHelpers.cs (1)
96ExpressionSyntax indexedManagedElement = IdentifierName(context.GetIdentifiers(info).managed);
Marshalling\MarshallingGenerator.cs (3)
42/// The native identifier provided by <see cref="StubIdentifierContext.GetIdentifiers(TypePositionInfo)"/> should be passed by value. 47/// The address of the native identifier provided by <see cref="StubIdentifierContext.GetIdentifiers(TypePositionInfo)"/> should be passed by value. 52/// The native identifier provided by <see cref="StubIdentifierContext.GetIdentifiers(TypePositionInfo)"/> should be cast to the native type.
Marshalling\MarshallingGeneratorExtensions.cs (5)
64return GenerateForwardingParameter(generator.TypeInfo, context.GetIdentifiers(generator.TypeInfo).managed); 71identifierName = context.GetIdentifiers(generator.TypeInfo).native; 81(string managed, string native) = context.GetIdentifiers(generator.TypeInfo); 142(string managedIdentifier, string nativeIdentifier) = context.GetIdentifiers(info); 157var (managedIdentifier, _) = context.GetIdentifiers(info);
StubIdentifierContext.cs (1)
116return $"{GetIdentifiers(info).native}__{name}";
VariableDeclarations.cs (2)
57(string managed, string native) = context.GetIdentifiers(marshaller.TypeInfo); 114(string managed, string native) = context.GetIdentifiers(marshaller.TypeInfo);