26 references to CustomAttributeNamedArgumentKind
ILAssembler (6)
Actions\GrammarActions.CustomAttributes.Serialization.cs (2)
18? CustomAttributeNamedArgumentKind.Field 19: CustomAttributeNamedArgumentKind.Property);
PseudoCustomAttributes.Decoding.cs (4)
139var kind = (CustomAttributeNamedArgumentKind)reader.ReadSerializationTypeCode(); 140if (kind is not (CustomAttributeNamedArgumentKind.Field or CustomAttributeNamedArgumentKind.Property))
ILCompiler.Compiler (4)
Compiler\Dataflow\AttributeDataFlow.cs (2)
70if (namedArgument.Kind == CustomAttributeNamedArgumentKind.Field) 82Debug.Assert(namedArgument.Kind == CustomAttributeNamedArgumentKind.Property);
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (2)
172if (decodedArgument.Kind == CustomAttributeNamedArgumentKind.Field) 179Debug.Assert(decodedArgument.Kind == CustomAttributeNamedArgumentKind.Property);
ILCompiler.MetadataTransform (1)
ILCompiler\Metadata\Transform.CustomAttribute.cs (1)
71Flags = flag == (byte)Ecma.CustomAttributeNamedArgumentKind.Field ?
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)
733Builder.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: