using System; using System.Collections.Immutable; namespace Microsoft.CodeAnalysis.CSharp.Symbols; internal sealed class SynthesizedEmbeddedScopedRefAttributeSymbol : SynthesizedEmbeddedAttributeSymbolBase { private readonly ImmutableArray _constructors; public override ImmutableArray Constructors => _constructors; public SynthesizedEmbeddedScopedRefAttributeSymbol(string name, NamespaceSymbol containingNamespace, ModuleSymbol containingModule, NamedTypeSymbol systemAttributeType) : base(name, containingNamespace, containingModule, systemAttributeType) { _constructors = ImmutableArray.Create((MethodSymbol)new SynthesizedEmbeddedAttributeConstructorWithBodySymbol(this, (MethodSymbol m) => ImmutableArray.Empty, delegate { })); } internal override AttributeUsageInfo GetAttributeUsageInfo() { //IL_0007: Unknown result type (might be due to invalid IL or missing references) return new AttributeUsageInfo(AttributeTargets.Parameter, false, false); } }