Lines Matching refs:foundType

477         private Object GetElement(String name, out Type foundType)  in GetElement()  argument
488 foundType = m_types[index]; in GetElement()
489 … Contract.Assert((object)foundType != null, "[SerializationInfo.GetElement]foundType!=null"); in GetElement()
495 private Object GetElementNoThrow(String name, out Type foundType) in GetElementNoThrow() argument
500 foundType = null; in GetElementNoThrow()
507 foundType = m_types[index]; in GetElementNoThrow()
508 … Contract.Assert((object)foundType != null, "[SerializationInfo.GetElement]foundType!=null"); in GetElementNoThrow()
531 Type foundType; in GetValue()
534 value = GetElement(name, out foundType); in GetValue()
544 … if (Object.ReferenceEquals(foundType, type) || type.IsAssignableFrom(foundType) || value == null) in GetValue()
559 Type foundType; in GetValueNoThrow()
565 value = GetElementNoThrow(name, out foundType); in GetValueNoThrow()
577 … if (Object.ReferenceEquals(foundType, type) || type.IsAssignableFrom(foundType) || value == null) in GetValueNoThrow()
589 Type foundType; in GetBoolean()
592 value = GetElement(name, out foundType); in GetBoolean()
593 if (Object.ReferenceEquals(foundType, typeof(bool))) in GetBoolean()
602 Type foundType; in GetChar()
605 value = GetElement(name, out foundType); in GetChar()
606 if (Object.ReferenceEquals(foundType, typeof(char))) in GetChar()
616 Type foundType; in GetSByte()
619 value = GetElement(name, out foundType); in GetSByte()
620 if (Object.ReferenceEquals(foundType, typeof(sbyte))) in GetSByte()
629 Type foundType; in GetByte()
632 value = GetElement(name, out foundType); in GetByte()
633 if (Object.ReferenceEquals(foundType, typeof(byte))) in GetByte()
642 Type foundType; in GetInt16()
645 value = GetElement(name, out foundType); in GetInt16()
646 if (Object.ReferenceEquals(foundType, typeof(short))) in GetInt16()
656 Type foundType; in GetUInt16()
659 value = GetElement(name, out foundType); in GetUInt16()
660 if (Object.ReferenceEquals(foundType, typeof(ushort))) in GetUInt16()
669 Type foundType; in GetInt32()
672 value = GetElement(name, out foundType); in GetInt32()
673 if (Object.ReferenceEquals(foundType, typeof(int))) in GetInt32()
683 Type foundType; in GetUInt32()
686 value = GetElement(name, out foundType); in GetUInt32()
687 if (Object.ReferenceEquals(foundType, typeof(uint))) in GetUInt32()
696 Type foundType; in GetInt64()
699 value = GetElement(name, out foundType); in GetInt64()
700 if (Object.ReferenceEquals(foundType, typeof(long))) in GetInt64()
710 Type foundType; in GetUInt64()
713 value = GetElement(name, out foundType); in GetUInt64()
714 if (Object.ReferenceEquals(foundType, typeof(ulong))) in GetUInt64()
723 Type foundType; in GetSingle()
726 value = GetElement(name, out foundType); in GetSingle()
727 if (Object.ReferenceEquals(foundType, typeof(float))) in GetSingle()
737 Type foundType; in GetDouble()
740 value = GetElement(name, out foundType); in GetDouble()
741 if (Object.ReferenceEquals(foundType, typeof(double))) in GetDouble()
750 Type foundType; in GetDecimal()
753 value = GetElement(name, out foundType); in GetDecimal()
754 if (Object.ReferenceEquals(foundType, typeof(decimal))) in GetDecimal()
763 Type foundType; in GetDateTime()
766 value = GetElement(name, out foundType); in GetDateTime()
767 if (Object.ReferenceEquals(foundType, typeof(DateTime))) in GetDateTime()
776 Type foundType; in GetString()
779 value = GetElement(name, out foundType); in GetString()
780 if (Object.ReferenceEquals(foundType, typeof(String)) || value == null) in GetString()