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