4 references to CheckIfAttributeShouldBeEmbedded
Microsoft.CodeAnalysis.CSharp (4)
Emitter\Model\PEAssemblyBuilder.cs (2)
326
Compilation.
CheckIfAttributeShouldBeEmbedded
(EmbeddableAttributes.NullablePublicOnlyAttribute, diagnostics, Location.None))
332
Compilation.
CheckIfAttributeShouldBeEmbedded
(EmbeddableAttributes.RefSafetyRulesAttribute, diagnostics, Location.None))
Emitter\Model\PEModuleBuilder.cs (1)
1788
if (Compilation.
CheckIfAttributeShouldBeEmbedded
(attribute, diagnosticsOpt: null, locationOpt: null))
Symbols\Compilation_WellKnownMembers.cs (1)
512
if (
CheckIfAttributeShouldBeEmbedded
(attribute, diagnostics, location) && modifyCompilation)