17 references to TypedConstant
Microsoft.CodeAnalysis (1)
MetadataReader\MetadataDecoder.cs (1)
2233return new TypedConstant(type, array);
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Attributes.cs (5)
748reorderedArguments[^1] = new TypedConstant(paramArray.Type, ImmutableArray<TypedConstant>.Empty); 779return new TypedConstant(parameter.Type, ImmutableArray.Create(constructorArgsArray[currentArgumentIndex])); 788return new TypedConstant(parameter.Type, ImmutableArray<TypedConstant>.Empty); 811return new TypedConstant(parameter.Type, values.AsImmutableOrNull()); 1119return new TypedConstant(type, arrayValue);
Emitter\Model\PEModuleBuilder.cs (2)
1618ImmutableArray.Create(new TypedConstant(byteArrayType, value))); 1701var arguments = ImmutableArray.Create(new TypedConstant(boolArray, transformFlags));
Symbols\Compilation_WellKnownMembers.cs (2)
762var arguments = ImmutableArray.Create(new TypedConstant(boolArray, transformFlags)); 779var args = ImmutableArray.Create(new TypedConstant(stringArray, names));
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
1271return new TypedConstant(newConstantType, newArray);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\TypedConstantTests.cs (1)
56TypedConstant commonArray = new TypedConstant(_arrayType,
Microsoft.CodeAnalysis.VisualBasic (4)
Binding\Binder_Attributes.vb (2)
877Return New TypedConstant(type, array) 885Return New TypedConstant(type, Nothing)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (1)
740Return New TypedConstant(newConstantType, newArray)
Symbols\WellKnownMembers.vb (1)
712Dim args = ImmutableArray.Create(New TypedConstant(stringArray, names))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\TypedConstantTests.vb (1)
46Dim commonArray As TypedConstant = New TypedConstant(_arrayType,