1 interface inheriting from IMetadataExpression
Microsoft.CodeAnalysis (1)
PEWriter\Expressions.cs (1)
28
internal interface IMetadataNamedArgument :
IMetadataExpression
3 implementations of IMetadataExpression
Microsoft.CodeAnalysis (3)
CodeGen\MetadataConstant.cs (1)
12
internal sealed class MetadataConstant : Cci.
IMetadataExpression
CodeGen\MetadataCreateArray.cs (1)
16
internal sealed class MetadataCreateArray : Cci.
IMetadataExpression
CodeGen\MetadataTypeOf.cs (1)
10
internal sealed class MetadataTypeOf : Cci.
IMetadataExpression
28 references to IMetadataExpression
Microsoft.CodeAnalysis (28)
CodeGen\MetadataConstant.cs (1)
26
void Cci.
IMetadataExpression
.Dispatch(Cci.MetadataVisitor visitor)
CodeGen\MetadataCreateArray.cs (4)
20
public ImmutableArray<Cci.
IMetadataExpression
> Elements { get; }
22
public MetadataCreateArray(Cci.IArrayTypeReference arrayType, Cci.ITypeReference elementType, ImmutableArray<Cci.
IMetadataExpression
> initializers)
29
Cci.ITypeReference Cci.
IMetadataExpression
.Type => ArrayType;
30
void Cci.
IMetadataExpression
.Dispatch(Cci.MetadataVisitor visitor) => visitor.Visit(this);
CodeGen\MetadataNamedArgument.cs (5)
18
private readonly Cci.
IMetadataExpression
_value;
20
public MetadataNamedArgument(ISymbolInternal entity, Cci.ITypeReference type, Cci.
IMetadataExpression
value)
36
Cci.
IMetadataExpression
Cci.IMetadataNamedArgument.ArgumentValue => _value;
43
void Cci.
IMetadataExpression
.Dispatch(Cci.MetadataVisitor visitor)
48
Cci.ITypeReference Cci.
IMetadataExpression
.Type => _type;
CodeGen\MetadataTypeOf.cs (2)
32
void Cci.
IMetadataExpression
.Dispatch(Cci.MetadataVisitor visitor)
37
Cci.ITypeReference Cci.
IMetadataExpression
.Type
CodeGen\PermissionSetAttribute.cs (6)
49
public ImmutableArray<Cci.
IMetadataExpression
> GetArguments(EmitContext context)
166
private readonly Cci.
IMetadataExpression
_value;
168
public HexPropertyMetadataNamedArgument(Cci.ITypeReference type, Cci.
IMetadataExpression
value)
175
public Cci.
IMetadataExpression
ArgumentValue { get { return _value; } }
178
Cci.ITypeReference Cci.
IMetadataExpression
.Type { get { return _type; } }
180
void Cci.
IMetadataExpression
.Dispatch(Cci.MetadataVisitor visitor)
PEWriter\Expressions.cs (1)
38
IMetadataExpression
ArgumentValue { get; }
PEWriter\ICustomAttribute.cs (1)
19
ImmutableArray<
IMetadataExpression
> GetArguments(EmitContext context);
PEWriter\MetadataVisitor.cs (6)
110
this.Visit((
IMetadataExpression
)constant);
227
public void Visit(IEnumerable<
IMetadataExpression
> expressions)
229
foreach (
IMetadataExpression
expression in expressions)
235
public virtual void Visit(
IMetadataExpression
expression)
245
this.Visit((
IMetadataExpression
)namedArgument);
450
this.Visit((
IMetadataExpression
)defaultValue);
PEWriter\MetadataWriter.cs (2)
3514
private void SerializeMetadataExpression(in EmitContext context, LiteralEncoder encoder,
IMetadataExpression
expression, ITypeReference targetType)
3543
foreach (
IMetadataExpression
elemValue in a.Elements)