5 writes to InstanceIdentifier
Microsoft.Interop.ComInterfaceGenerator (3)
VirtualMethodPointerStubGenerator.cs (3)
185InstanceIdentifier = NativeThisParameterIdentifier, 207InstanceIdentifier = ManagedThisParameterIdentifier, 225InstanceIdentifier = "__exception",
Microsoft.Interop.SourceGeneration (2)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (1)
214InstanceIdentifier = info.InstanceIdentifier,
TypePositionInfo.cs (1)
94InstanceIdentifier = ParseToken(paramSymbol.Name).IsReservedKeyword() ? $"@{paramSymbol.Name}" : paramSymbol.Name,
18 references to InstanceIdentifier
Microsoft.Interop.ComInterfaceGenerator (2)
ComMethodContext.cs (2)
149? Argument(IdentifierName(info.InstanceIdentifier)).WithRefKindKeyword(MarshallerHelpers.GetManagedArgumentRefKindKeyword(info)) 150: Argument(IdentifierName(info.InstanceIdentifier));
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSExportCodeGenerator.cs (2)
180.WithVariables(SingletonSeparatedList(VariableDeclarator(marshaller.TypeInfo.InstanceIdentifier))))); 206arguments.Add(Argument(IdentifierName(marshaller.TypeInfo.InstanceIdentifier)));
Microsoft.Interop.SourceGeneration (14)
DefaultIdentifierContext.cs (1)
38return (info.InstanceIdentifier, _nativeReturnIdentifier);
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (1)
214InstanceIdentifier = info.InstanceIdentifier,
Marshalling\CharMarshaller.cs (2)
60VariableDeclarator(Identifier(PinnedIdentifier(info.InstanceIdentifier))) 76IdentifierName(PinnedIdentifier(info.InstanceIdentifier))))))))
Marshalling\MarshallerHelpers.cs (6)
270Argument(IdentifierName(info.InstanceIdentifier)) 277IdentifierName(info.InstanceIdentifier), 286IdentifierName(info.InstanceIdentifier), 394info.InstanceIdentifier, 395countInfo.ElementInfo.InstanceIdentifier)); 404info.InstanceIdentifier));
MethodSignatureDiagnosticLocations.cs (1)
65{ ManagedIndex: >= 0 and int index, InstanceIdentifier: string identifier } => (ManagedParameterLocations[index], identifier),
SignatureContext.cs (1)
45yield return Parameter(Identifier(typeInfo.InstanceIdentifier))
StubIdentifierContext.cs (2)
105return (info.InstanceIdentifier, $"__{info.InstanceIdentifier.TrimStart('@')}{GeneratedNativeIdentifierSuffix}");