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