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