25 references to Identifier
Microsoft.Interop.ComInterfaceGenerator (9)
ComClassGenerator.cs (1)
100writer.WriteLine($"{string.Join(" ", classSyntax.Modifiers)} class {classSyntax.Identifier}{classSyntax.TypeParameters} {{ }}");
ComInterfaceGenerator.cs (2)
624writer.WriteLine($"Vtable.{declaredMethodContext.MethodInfo.MethodName}_{declaredMethodContext.GenerationContext.VtableIndexData.Index} = &ABI_{((SourceAvailableIncrementalMethodStubGenerationContext)declaredMethodContext.GenerationContext).StubMethodSyntaxTemplate.Identifier};"); 901writer.WriteLine($"{string.Join(" ", typeModifiers)} {syntax.TypeKind.GetDeclarationKeyword()} {syntax.Identifier}{syntax.TypeParameters}");
IncrementalMethodStubGenerationContext.cs (1)
121string templateName = StubMethodSyntaxTemplate.Identifier.Text;
VirtualMethodPointerStubGenerator.cs (3)
138return MethodDeclaration(stub.StubReturnType, stubMethodSyntax.Identifier) 240IdentifierName(methodStub.StubMethodSyntaxTemplate.Identifier))); 260MethodDeclaration(returnType, $"ABI_{methodStub.StubMethodSyntaxTemplate.Identifier.Text}")
VtableIndexStubGenerator.cs (2)
140syntaxContext.WriteToWithUnsafeModifier(useUpdatedMemorySafetyRules: true, writer, syntaxContext.ContainingSyntax[0].Identifier.Text, static (writer, baseTypeName) => 183writer.WriteLine($"vtable[{method.VtableIndexData.Index}] = (void*)({functionPointerType.NormalizeWhitespace()})&ABI_{method.StubMethodSyntaxTemplate.Identifier};");
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSExportGenerator.cs (1)
340var 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)
164return MethodDeclaration(stub.StubReturnType, userDeclaredMethod.Identifier) 339pinvokeStub.StubMethodSyntaxTemplate.Identifier.Text); 354LibraryImportData pinvokeData = stub.LibraryImportData with { EntryPoint = stub.LibraryImportData.EntryPoint ?? userDeclaredMethod.Identifier.ValueText }; 370MethodDeclarationSyntax stubMethod = MethodDeclaration(stub.SignatureContext.StubReturnType, userDeclaredMethod.Identifier)
Microsoft.Interop.LibraryImportGenerator.Downlevel (4)
DownlevelLibraryImportGenerator.cs (4)
145return MethodDeclaration(stub.StubReturnType, userDeclaredMethod.Identifier) 278pinvokeStub.StubMethodSyntaxTemplate.Identifier.Text); 293LibraryImportData pinvokeData = stub.LibraryImportData with { EntryPoint = stub.LibraryImportData.EntryPoint ?? userDeclaredMethod.Identifier.ValueText }; 304MethodDeclarationSyntax 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); 110TypeDeclarationSyntax type = TypeDeclaration(containingType.TypeKind, containingType.Identifier) 153TypeDeclarationSyntax type = TypeDeclaration(containingType.TypeKind, containingType.Identifier) 195writer.WriteLine($"{string.Join(" ", modifiers)} {syntax.TypeKind.GetDeclarationKeyword()} {syntax.Identifier}{syntax.TypeParameters}");