[msvc] Update csproj files (#5832)
[mono-project.git] / mcs / class / System.Data / corefx / FieldNameLookup.cs
blob80c5925c18a2f4e6fb1784d7b9dc66f287b57c77
1 namespace System.Data.ProviderBase
3 partial class FieldNameLookup
5 public int IndexOfName(string fieldName)
7 if (null == _fieldNameLookup)
9 GenerateLookup();
11 // via case sensitive search, first match with lowest ordinal matches
12 object value = _fieldNameLookup[fieldName];
13 return ((null != value) ? (int)value : -1);