24 references to Identifier
Microsoft.Interop.ComInterfaceGenerator (8)
ComClassGenerator.cs (1)
93writer.WriteLine($"{string.Join(" ", classSyntax.Modifiers)} class {classSyntax.Identifier}{classSyntax.TypeParameters} {{ }}");
ComInterfaceGenerator.cs (2)
557writer.WriteLine($"Vtable.{declaredMethodContext.MethodInfo.MethodName}_{declaredMethodContext.GenerationContext.VtableIndexData.Index} = &ABI_{((SourceAvailableIncrementalMethodStubGenerationContext)declaredMethodContext.GenerationContext).StubMethodSyntaxTemplate.Identifier};"); 620writer.WriteLine($"{string.Join(" ", syntax.Modifiers.AddToModifiers(SyntaxKind.UnsafeKeyword))} {syntax.TypeKind.GetDeclarationKeyword()} {syntax.Identifier}{syntax.TypeParameters}");
VirtualMethodPointerStubGenerator.cs (3)
121return MethodDeclaration(stub.StubReturnType, stubMethodSyntax.Identifier) 147IdentifierName(methodStub.StubMethodSyntaxTemplate.Identifier))); 166MethodDeclaration(returnType, $"ABI_{methodStub.StubMethodSyntaxTemplate.Identifier.Text}")
VtableIndexStubGenerator.cs (2)
138syntaxContext.WriteToWithUnsafeModifier(writer, syntaxContext.ContainingSyntax[0].Identifier.Text, static (writer, baseTypeName) => 176writer.WriteLine($"vtable[{method.VtableIndexData.Index}] = (void*)({functionPointerType.NormalizeWhitespace()})&ABI_{method.StubMethodSyntaxTemplate.Identifier};");
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSExportGenerator.cs (1)
337var wrapperName = "__Wrapper_" + incrementalContext.StubMethodSyntaxTemplate.Identifier + "_" + incrementalContext.SignatureContext.TypesHash;
JSImportGenerator.cs (1)
92MethodDeclarationSyntax stubMethod = MethodDeclaration(stub.SignatureContext.StubReturnType, userDeclaredMethod.Identifier)
Microsoft.Interop.LibraryImportGenerator (4)
LibraryImportGenerator.cs (4)
157return MethodDeclaration(stub.StubReturnType, userDeclaredMethod.Identifier) 323pinvokeStub.StubMethodSyntaxTemplate.Identifier.Text); 338LibraryImportData pinvokeData = stub.LibraryImportData with { EntryPoint = stub.LibraryImportData.EntryPoint ?? userDeclaredMethod.Identifier.ValueText }; 354MethodDeclarationSyntax stubMethod = MethodDeclaration(stub.SignatureContext.StubReturnType, userDeclaredMethod.Identifier)
Microsoft.Interop.LibraryImportGenerator.Downlevel (4)
DownlevelLibraryImportGenerator.cs (4)
143return MethodDeclaration(stub.StubReturnType, userDeclaredMethod.Identifier) 276pinvokeStub.StubMethodSyntaxTemplate.Identifier.Text); 291LibraryImportData pinvokeData = stub.LibraryImportData with { EntryPoint = stub.LibraryImportData.EntryPoint ?? userDeclaredMethod.Identifier.ValueText }; 302MethodDeclarationSyntax stubMethod = MethodDeclaration(stub.SignatureContext.StubReturnType, userDeclaredMethod.Identifier)
Microsoft.Interop.SourceGeneration (6)
ContainingSyntaxContext.cs (6)
32&& Identifier.IsEquivalentTo(other.Identifier) 97code = HashCode.Combine(code, containingSyntax.Identifier.Value); 108TypeDeclarationSyntax type = TypeDeclaration(containingType.TypeKind, containingType.Identifier) 134TypeDeclarationSyntax type = TypeDeclaration(containingType.TypeKind, containingType.Identifier) 172writer.WriteLine($"{string.Join(" ", syntax.Modifiers.AddToModifiers(SyntaxKind.UnsafeKeyword))} {syntax.TypeKind.GetDeclarationKeyword()} {syntax.Identifier}{syntax.TypeParameters}");