6 references to CheckIfAttributeShouldBeEmbedded
Microsoft.CodeAnalysis.CSharp (6)
Emitter\Model\PEAssemblyBuilder.cs (4)
426
Compilation.
CheckIfAttributeShouldBeEmbedded
(EmbeddableAttributes.NullablePublicOnlyAttribute, diagnostics, Location.None))
434
Compilation.
CheckIfAttributeShouldBeEmbedded
(EmbeddableAttributes.RefSafetyRulesAttribute, diagnostics, Location.None))
440
Compilation.
CheckIfAttributeShouldBeEmbedded
(EmbeddableAttributes.MemorySafetyRulesAttribute, diagnostics, Location.None))
446
Compilation.
CheckIfAttributeShouldBeEmbedded
(EmbeddableAttributes.RequiresUnsafeAttribute, diagnostics, Location.None))
Emitter\Model\PEModuleBuilder.cs (1)
1961
if (Compilation.
CheckIfAttributeShouldBeEmbedded
(attribute, diagnosticsOpt, locationOpt))
Symbols\Compilation_WellKnownMembers.cs (1)
522
if (
CheckIfAttributeShouldBeEmbedded
(attribute, diagnostics, location) && modifyCompilation)