3 overrides of GetIdentifiers
Microsoft.Interop.SourceGeneration (3)
DefaultIdentifierContext.cs (1)
26
public override (string managed, string native)
GetIdentifiers
(TypePositionInfo info)
LinearCollectionElementIdentifierContext.cs (1)
46
public override (string managed, string native)
GetIdentifiers
(TypePositionInfo info)
Marshalling\GenericFriendlyPointerIdentifierContext.cs (1)
25
public override (string managed, string native)
GetIdentifiers
(TypePositionInfo info)
34 references to GetIdentifiers
Microsoft.Interop.ComInterfaceGenerator (6)
Marshallers\ComInterfaceDispatchMarshallingResolver.cs (1)
47
var (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)
34
var (managed, unmanaged) = context.
GetIdentifiers
(info);
UnmanagedToManagedStubGenerator.cs (1)
103
allStatements.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)
130
allStatements.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)
54
return base.
GetIdentifiers
(info);
GeneratedStatements.cs (3)
111
var (managed, native) = context.
GetIdentifiers
(marshallers.NativeReturnMarshaller.TypeInfo);
148
IdentifierName(context.
GetIdentifiers
(marshallers.ManagedReturnMarshaller.TypeInfo).managed),
162
var (managed, _) = context.
GetIdentifiers
(managedExceptionMarshaller.TypeInfo);
LinearCollectionElementIdentifierContext.cs (1)
59
return _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);
33
return _innerContext.
GetIdentifiers
(info);
Marshalling\MarshallerHelpers.cs (1)
96
ExpressionSyntax 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)
64
return GenerateForwardingParameter(generator.TypeInfo, context.
GetIdentifiers
(generator.TypeInfo).managed);
71
identifierName = context.
GetIdentifiers
(generator.TypeInfo).native;
81
(string managed, string native) = context.
GetIdentifiers
(generator.TypeInfo);
142
(string managedIdentifier, string nativeIdentifier) = context.
GetIdentifiers
(info);
157
var (managedIdentifier, _) = context.
GetIdentifiers
(info);
StubIdentifierContext.cs (1)
116
return $"{
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);