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