2 references to AddEmbeddedAttributeDefinition
Microsoft.CodeAnalysis (1)
SourceGeneration\IncrementalContexts.cs (1)
135
/// Use <see cref="IncrementalGeneratorPostInitializationContext.
AddEmbeddedAttributeDefinition
"/> to add the EmbeddedAttribute which marks generated types as internal to the current assembly.
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
70
ctx.
AddEmbeddedAttributeDefinition
();