Esempio n. 1
0
 public static string GetString(this MetadataReader reader, ConstantStringValueHandle handle)
 {
     return(reader.GetConstantStringValue(handle).Value);
 }
 // Useful for namespace Name string which can be a null handle.
 public static String GetStringOrNull(this ConstantStringValueHandle handle, MetadataReader reader)
 {
     if (reader.IsNull(handle))
         return null;
     return reader.GetConstantStringValue(handle).Value;
 }
Esempio n. 3
0
        } // Offset

        public ConstantStringValue GetConstantStringValue(MetadataReader reader)
        {
            return reader.GetConstantStringValue(this);
        } // GetConstantStringValue
 public static string GetString(this ConstantStringValueHandle handle, MetadataReader reader)
 {
     return reader.GetConstantStringValue(handle).Value;
 }