2 implementations of IMetadataNamedArgument
Microsoft.CodeAnalysis (2)
CodeGen\MetadataNamedArgument.cs (1)
14internal sealed class MetadataNamedArgument : Cci.IMetadataNamedArgument
CodeGen\PermissionSetAttribute.cs (1)
163private readonly struct HexPropertyMetadataNamedArgument : Cci.IMetadataNamedArgument
11 references to IMetadataNamedArgument
Microsoft.CodeAnalysis (11)
CodeGen\MetadataNamedArgument.cs (3)
31string Cci.IMetadataNamedArgument.ArgumentName => _entity.Name; 36Cci.IMetadataExpression Cci.IMetadataNamedArgument.ArgumentValue => _value; 41bool Cci.IMetadataNamedArgument.IsField => _entity.Kind == SymbolKind.Field;
CodeGen\PermissionSetAttribute.cs (3)
63public ImmutableArray<Cci.IMetadataNamedArgument> GetNamedArguments(EmitContext context) 74var fileArg = namedArgs.First(); 112return ImmutableArray.Create<Cci.IMetadataNamedArgument>(new HexPropertyMetadataNamedArgument(stringType, new MetadataConstant(stringType, hexFileContent)));
PEWriter\ICustomAttribute.cs (1)
29ImmutableArray<IMetadataNamedArgument> GetNamedArguments(EmitContext context);
PEWriter\MetadataVisitor.cs (3)
241public void Visit(IEnumerable<IMetadataNamedArgument> namedArguments) 243foreach (IMetadataNamedArgument namedArgument in namedArguments) 249public virtual void Visit(IMetadataNamedArgument namedArgument)
PEWriter\MetadataWriter.cs (1)
3485foreach (IMetadataNamedArgument namedArgument in customAttribute.GetNamedArguments(Context))