3 instantiations of AttributeUsageInfo
Microsoft.CodeAnalysis (3)
MetadataReader\PEModule.cs (1)
1537
usageInfo = new
AttributeUsageInfo
((AttributeTargets)validOn, allowMultiple, inherited);
Symbols\Attributes\AttributeUsageInfo.cs (1)
53
internal static readonly AttributeUsageInfo Default = new
AttributeUsageInfo
(validTargets: AttributeTargets.All, allowMultiple: false, inherited: true);
Symbols\Attributes\CommonAttributeData.cs (1)
576
return new
AttributeUsageInfo
(validOn, allowMultiple, inherited);
18 references to AttributeUsageInfo
Microsoft.CodeAnalysis (17)
MetadataReader\PEModule.cs (1)
1498
internal bool HasAttributeUsageAttribute(EntityHandle token, IAttributeNamedArgumentDecoder attributeNamedArgumentDecoder, out
AttributeUsageInfo
usageInfo)
Symbols\Attributes\AttributeUsageInfo.cs (11)
14
internal readonly struct AttributeUsageInfo : IEquatable<
AttributeUsageInfo
>
53
internal static readonly
AttributeUsageInfo
Default = new AttributeUsageInfo(validTargets: AttributeTargets.All, allowMultiple: false, inherited: true);
55
internal static readonly
AttributeUsageInfo
Null = default(
AttributeUsageInfo
);
106
public static bool operator ==(
AttributeUsageInfo
left,
AttributeUsageInfo
right)
111
public static bool operator !=(
AttributeUsageInfo
left,
AttributeUsageInfo
right)
118
if (obj is
AttributeUsageInfo
)
120
return this.Equals((
AttributeUsageInfo
)obj);
126
public bool Equals(
AttributeUsageInfo
other)
Symbols\Attributes\CommonAttributeData.cs (2)
550
internal
AttributeUsageInfo
DecodeAttributeUsageAttribute()
555
internal static
AttributeUsageInfo
DecodeAttributeUsageAttribute(TypedConstant positionalArg, ImmutableArray<KeyValuePair<string, TypedConstant>> namedArgs)
Symbols\Attributes\CommonTypeEarlyWellKnownAttributeData.cs (3)
18
private
AttributeUsageInfo
_attributeUsageInfo =
AttributeUsageInfo
.Null;
19
public
AttributeUsageInfo
AttributeUsageInfo
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
704
''' Gets the associated <see cref="
AttributeUsageInfo
"/> for an attribute type.