5 references to CheckIfAttributeShouldBeEmbedded
Microsoft.CodeAnalysis.CSharp (5)
Emitter\Model\PEAssemblyBuilder.cs (3)
410
Compilation.
CheckIfAttributeShouldBeEmbedded
(EmbeddableAttributes.NullablePublicOnlyAttribute, diagnostics, Location.None))
418
Compilation.
CheckIfAttributeShouldBeEmbedded
(EmbeddableAttributes.RefSafetyRulesAttribute, diagnostics, Location.None))
424
Compilation.
CheckIfAttributeShouldBeEmbedded
(EmbeddableAttributes.MemorySafetyRulesAttribute, diagnostics, Location.None))
Emitter\Model\PEModuleBuilder.cs (1)
1950
if (Compilation.
CheckIfAttributeShouldBeEmbedded
(attribute, diagnosticsOpt, locationOpt))
Symbols\Compilation_WellKnownMembers.cs (1)
522
if (
CheckIfAttributeShouldBeEmbedded
(attribute, diagnostics, location) && modifyCompilation)