19 public override object this[
int i] =>
GetValue(i);
38 for (
int i = 0; i < num; i++)
86 if (dataIndex >
int.MaxValue)
90 int num2 = (int)dataIndex;
110 if (bufferIndex < 0 || bufferIndex >=
buffer.Length)
114 if (dataIndex < 0 || dataIndex >= num)
118 if (num + bufferIndex >
buffer.Length)
128 return ((
string)
_values[i])[0];
135 int num =
array.Length;
136 if (dataIndex >
int.MaxValue)
140 int num2 = (int)dataIndex;
160 if (bufferIndex < 0 || bufferIndex >=
buffer.Length)
164 if (num2 < 0 || num2 >= num)
168 if (num + bufferIndex >
buffer.Length)
246 [RequiresUnreferencedCode(
"Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")]
252 [RequiresUnreferencedCode(
"The built-in EventDescriptor implementation uses Reflection which requires unreferenced code.")]
258 [RequiresUnreferencedCode(
"PropertyDescriptor's PropertyType cannot be statically discovered.")]
264 [RequiresUnreferencedCode(
"Editors registered in TypeDescriptor.AddEditorTable may be trimmed.")]
275 [RequiresUnreferencedCode(
"The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
281 [RequiresUnreferencedCode(
"PropertyDescriptor's PropertyType cannot be statically discovered.")]
287 [RequiresUnreferencedCode(
"PropertyDescriptor's PropertyType cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
static bool IsDBNull([NotNullWhen(true)] object? value)
static IndexOutOfRangeException InvalidBufferSizeOrIndex(int numBytes, int bufferIndex)
static ArgumentNullException ArgumentNull(string parameter)
static ArgumentOutOfRangeException InvalidSourceBufferIndex(int maxLen, long srcOffset, string parameterName)
static ArgumentOutOfRangeException InvalidDestinationBufferIndex(int maxLen, int dstOffset, string parameterName)
static bool IsCatchableExceptionType(Exception e)
static Exception InvalidDataLength(long length)
readonly SchemaInfo[] _schemaInfo
override decimal GetDecimal(int i)
override DateTime GetDateTime(int i)
override float GetFloat(int i)
override long GetChars(int i, long dataIndex, char[] buffer, int bufferIndex, int length)
DataRecordInternal(SchemaInfo[] schemaInfo, object[] values, PropertyDescriptorCollection descriptors, FieldNameLookup fieldNameLookup)
override Guid GetGuid(int i)
override object GetValue(int i)
override Type GetFieldType(int i)
override long GetInt64(int i)
override bool IsDBNull(int i)
readonly object[] _values
override short GetInt16(int i)
override int GetInt32(int i)
override long GetBytes(int i, long dataIndex, byte[] buffer, int bufferIndex, int length)
override byte GetByte(int i)
readonly FieldNameLookup _fieldNameLookup
override double GetDouble(int i)
override bool GetBoolean(int i)
PropertyDescriptorCollection _propertyDescriptors
override string GetName(int i)
override int GetOrdinal(string name)
override char GetChar(int i)
override int GetValues(object[] values)
override string GetString(int i)
override string GetDataTypeName(int i)
int GetOrdinal(string fieldName)
object? GetEditor(Type editorBaseType)
EventDescriptor? GetDefaultEvent()
object? GetPropertyOwner(PropertyDescriptor? pd)
PropertyDescriptorCollection GetProperties()
PropertyDescriptor? GetDefaultProperty()
EventDescriptorCollection GetEvents()
string? GetComponentName()
TypeConverter GetConverter()
AttributeCollection GetAttributes()
DynamicallyAccessedMemberTypes