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