4 references to CheckIfAttributeShouldBeEmbedded
Microsoft.CodeAnalysis.CSharp (4)
Emitter\Model\PEAssemblyBuilder.cs (2)
373Compilation.CheckIfAttributeShouldBeEmbedded(EmbeddableAttributes.NullablePublicOnlyAttribute, diagnostics, Location.None)) 379Compilation.CheckIfAttributeShouldBeEmbedded(EmbeddableAttributes.RefSafetyRulesAttribute, diagnostics, Location.None))
Emitter\Model\PEModuleBuilder.cs (1)
1768if (Compilation.CheckIfAttributeShouldBeEmbedded(attribute, diagnosticsOpt, locationOpt))
Symbols\Compilation_WellKnownMembers.cs (1)
518if (CheckIfAttributeShouldBeEmbedded(attribute, diagnostics, location) && modifyCompilation)