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