15 references to CustomAttributeNamedArgumentKind
Microsoft.CodeAnalysis (5)
MetadataReader\MetadataDecoder.cs (5)
1561var kind = (CustomAttributeNamedArgumentKind)argReader.ReadCompressedInteger(); 1562if (kind != CustomAttributeNamedArgumentKind.Field && kind != CustomAttributeNamedArgumentKind.Property) 1581return (new KeyValuePair<string, TypedConstant>(name, value), kind == CustomAttributeNamedArgumentKind.Property, typeCode, elementTypeCode);
System.Reflection.Metadata (8)
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (4)
131CustomAttributeNamedArgumentKind kind = (CustomAttributeNamedArgumentKind)valueReader.ReadSerializationTypeCode(); 132if (kind != CustomAttributeNamedArgumentKind.Field && kind != CustomAttributeNamedArgumentKind.Property)
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (2)
729Builder.WriteByte(isField ? (byte)CustomAttributeNamedArgumentKind.Field : (byte)CustomAttributeNamedArgumentKind.Property);
System\Reflection\Metadata\Signatures\CustomAttributeNamedArgument.cs (2)
9public CustomAttributeNamedArgumentKind Kind { get; } 13public CustomAttributeNamedArgument(string? name, CustomAttributeNamedArgumentKind kind, TType type, object? value)
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (2)
157case CustomAttributeNamedArgumentKind.Field: 161case CustomAttributeNamedArgumentKind.Property: