6 references to GetConstant
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
3698
var constantRow = MetadataReader.
GetConstant
(handle);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Semantics\FieldInitializerBindingTests.vb (3)
903
Dim constant = reader.
GetConstant
(handle)
971
Dim constant = reader.
GetConstant
(handle)
1309
Dim constant = reader.
GetConstant
(handle)
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\General\Ecma\EcmaDefaultValueProcessing.cs (1)
17
Constant constantValue = metadataReader.
GetConstant
(constantHandle);
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
19
public static Constant GetConstant(this ConstantHandle handle, MetadataReader reader) => reader.
GetConstant
(handle);