system\activator.cs (33)
55static public Object CreateInstance(Type type,
58Object[] args,
66static public Object CreateInstance(Type type,
69Object[] args,
71Object[] activationAttributes)
110static public Object CreateInstance(Type type, params Object[] args)
120static public Object CreateInstance(Type type,
121Object[] args,
122Object[] activationAttributes)
132static public Object CreateInstance(Type type)
164Object[] activationAttributes)
181static public Object CreateInstance(Type type, bool nonPublic)
239Object[] activationAttributes)
260Object[] args,
262Object[] activationAttributes,
308Object[] args,
310Object[] activationAttributes,
350Object o = Activator.CreateInstance(type,
374Object[] args,
376Object[] activationAttributes,
427Object[] args,
429Object[] activationAttributes,
441Object o = Activator.CreateInstance(t,
480Object[] args,
482Object[] activationAttributes,
551Object[] args,
553Object[] activationAttributes,
641Object[] Attr = t.GetCustomAttributes(typeof(ComVisibleAttribute),false);
653Object o = Activator.CreateInstance(t,
674static public Object GetObject(Type type, String url)
682static public Object GetObject(Type type, String url, Object state)
system\appdomain.cs (48)
118public delegate Assembly ResolveEventHandler(Object sender, ResolveEventArgs args);
122public delegate void AssemblyLoadEventHandler(Object sender, AssemblyLoadEventArgs args);
221private Dictionary<String, Object[]> _LocalStore;
225private Object[] _Policies; // Called from the VM.
1155private Assembly ResolveAssemblyForIntrospection(Object sender, ResolveEventArgs args)
1635Object[] activationAttributes)
1655Object[] activationAttributes)
1674Object[] args,
1676Object[] activationAttributes,
1740Object[] args,
1742Object[] activationAttributes,
1763Object[] args,
1765Object[] activationAttributes,
1826Object[] args,
1828Object[] activationAttributes,
2474public Object GetData(string name)
2701public override Object InitializeLifetimeService()
2785private static byte[] MarshalObject(Object o)
2794private static byte[] MarshalObjects(Object o1, Object o2, out byte[] blob2)
2805private static Object UnmarshalObject(byte[] blob)
2814private static Object UnmarshalObjects(byte[] blob1, byte[] blob2, out Object o2)
2818Object o1 = Deserialize(blob1);
2825private static byte[] Serialize(Object o)
2851private static Object Deserialize(byte[] blob)
2897Object obj = null;
3245private Dictionary<String, Object[]> LocalStore
3251_LocalStore = new Dictionary<String, Object[]>();
3710return new Object[]
3727private static Object Setup(Object arg)
3729Contract.Requires(arg != null && arg is Object[]);
3730Contract.Requires(((Object[])arg).Length >= 8);
3732Object[] args=(Object[])arg;
4519public Object CreateInstanceAndUnwrap(String assemblyName,
4530public Object CreateInstanceAndUnwrap(String assemblyName,
4532Object[] activationAttributes)
4543public Object CreateInstanceAndUnwrap(String assemblyName,
4548Object[] args,
4550Object[] activationAttributes,
4594public Object CreateInstanceFromAndUnwrap(String assemblyName,
4609public Object CreateInstanceFromAndUnwrap(String assemblyName,
4611Object[] activationAttributes)
4626public Object CreateInstanceFromAndUnwrap(String assemblyName,
4631Object[] args,
4633Object[] activationAttributes,
system\array.cs (89)
353public unsafe Object GetValue(params int[] indices)
368public unsafe Object GetValue(int index)
380public unsafe Object GetValue(int index1, int index2)
396public unsafe Object GetValue(int index1, int index2, int index3)
413public Object GetValue(long index)
423public Object GetValue(long index1, long index2)
435public Object GetValue(long index1, long index2, long index3)
449public Object GetValue(params long[] indices)
472public unsafe void SetValue(Object value,int index)
484public unsafe void SetValue(Object value,int index1, int index2)
500public unsafe void SetValue(Object value,int index1, int index2, int index3)
517public unsafe void SetValue(Object value,params int[] indices)
532public void SetValue(Object value, long index)
542public void SetValue(Object value, long index1, long index2)
554public void SetValue(Object value, long index1, long index2, long index3)
568public void SetValue(Object value, params long[] indices)
600private unsafe extern static void InternalSetValue(void * target, Object value);
686public Object SyncRoot
705Object IList.this[int index] {
710int IList.Add(Object value)
715bool IList.Contains(Object value)
725int IList.IndexOf(Object value)
730void IList.Insert(int index, Object value)
735void IList.Remove(Object value)
747public Object Clone()
752Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) {
777Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) {
783if (Object.ReferenceEquals(this, other)) {
841public static int BinarySearch(Array array, Object value) {
865public static int BinarySearch(Array array, int index, int length, Object value) {
885public static int BinarySearch(Array array, Object value, IComparer comparer) {
911public static int BinarySearch(Array array, int index, int length, Object value, IComparer comparer) {
933Object[] objArray = array as Object[];
982private static extern bool TrySZBinarySearch(Array sourceArray, int sourceIndex, int count, Object value, out int retVal);
1282public static int IndexOf(Array array, Object value) {
1298public static int IndexOf(Array array, Object value, int startIndex) {
1315public static int IndexOf(Array array, Object value, int startIndex, int count) {
1335Object[] objArray = array as Object[];
1345Object obj = objArray[i];
1352Object obj = array.GetValue(i);
1414private static extern bool TrySZIndexOf(Array sourceArray, int sourceIndex, int count, Object value, out int retVal);
1422public static int LastIndexOf(Array array, Object value) {
1437public static int LastIndexOf(Array array, Object value, int startIndex) {
1454public static int LastIndexOf(Array array, Object value, int startIndex, int count) {
1479Object[] objArray = array as Object[];
1489Object obj = objArray[i];
1496Object obj = array.GetValue(i);
1570private static extern bool TrySZLastIndexOf(Array sourceArray, int sourceIndex, int count, Object value, out int retVal);
1611Object[] objArray = array as Object[];
1614Object temp = objArray[i];
1623Object temp = array.GetValue(i);
1756Object[] objKeys = keys as Object[];
1757Object[] objItems = null;
1759objItems = items as Object[];
1937private Object[] keys;
1938private Object[] items;
1941internal SorterObjectArray(Object[] keys, Object[] items, IComparer comparer) {
1954Object temp = keys[a];
1959Object item = items[a];
1969Object t = keys[i];
1975Object item = items[i];
2045Object x = keys[middle];
2067Object key = keys[i];
2072Object item = items[i];
2168Object pivot = keys[mid];
2205Object d = keys[lo + i - 1];
2206Object dt = (items != null) ? items[lo + i - 1] : null;
2230Object t, ti;
2273Object key = keys.GetValue(a);
2278Object item = items.GetValue(a);
2288Object t1 = keys.GetValue(i);
2294Object t2 = items.GetValue(i);
2362Object x = keys.GetValue(middle);
2384Object key = keys.GetValue(i);
2389Object item = items.GetValue(i);
2485Object pivot = keys.GetValue(mid);
2522Object d = keys.GetValue(lo + i - 1);
2523Object dt = (items != null)? items.GetValue(lo + i - 1) : null;
2549Object t, dt;
2584public Object Clone()
2597public Object Current {
2660public Object Clone()
2675public Object Current {
system\collections\arraylist.cs (150)
45private Object[] _items;
50private Object _syncRoot;
53private static readonly Object[] emptyArray = EmptyArray<Object>.Value;
79_items = new Object[capacity];
97_items = new Object[count];
121Object[] newItems = new Object[value];
128_items = new Object[_defaultCapacity];
158public virtual Object SyncRoot {
161System.Threading.Interlocked.CompareExchange<Object>(ref _syncRoot, new Object(), null);
169public virtual Object this[int index] {
203public virtual int Add(Object value) {
239public virtual int BinarySearch(int index, int count, Object value, IComparer comparer) {
253public virtual int BinarySearch(Object value)
259public virtual int BinarySearch(Object value, IComparer comparer)
279public virtual Object Clone()
281Contract.Ensures(Contract.Result<Object>() != null);
294public virtual bool Contains(Object item) {
414public virtual int IndexOf(Object value) {
428public virtual int IndexOf(Object value, int startIndex) {
445public virtual int IndexOf(Object value, int startIndex, int count) {
458public virtual void Insert(int index, Object value) {
493Object[] itemsToInsert = new Object[count];
509public virtual int LastIndexOf(Object value)
524public virtual int LastIndexOf(Object value, int startIndex)
542public virtual int LastIndexOf(Object value, int startIndex, int count) {
583public virtual void Remove(Object obj) {
635public static ArrayList Repeat(Object value, int count) {
756public virtual Object[] ToArray() {
757Contract.Ensures(Contract.Result<Object[]>() != null);
759Object[] array = new Object[_size];
831public override Object this[int index] {
841public override Object SyncRoot {
845public override int Add(Object obj) {
856public override int BinarySearch(int index, int count, Object value, IComparer comparer)
895public override Object Clone() {
901public override bool Contains(Object obj) {
943public override int IndexOf(Object value) {
948public override int IndexOf(Object value, int startIndex) {
952public override int IndexOf(Object value, int startIndex, int count) {
971public override void Insert(int index, Object obj) {
1000public override int LastIndexOf(Object value) {
1005public override int LastIndexOf(Object value, int startIndex) {
1010public override int LastIndexOf(Object value, int startIndex, int count) {
1031public override void Remove(Object value) {
1069Object tmp = _list[i];
1111Object [] array = new Object[count];
1121public override Object[] ToArray() {
1122Object[] array = new Object[Count];
1168public Object Clone() {
1190public Object Current {
1215private Object _root;
1255public override Object this[int index] {
1268public override Object SyncRoot {
1272public override int Add(Object value) {
1284public override int BinarySearch(Object value) {
1290public override int BinarySearch(Object value, IComparer comparer) {
1297public override int BinarySearch(int index, int count, Object value, IComparer comparer) {
1309public override Object Clone() {
1315public override bool Contains(Object item) {
1353public override int IndexOf(Object value) {
1360public override int IndexOf(Object value, int startIndex) {
1367public override int IndexOf(Object value, int startIndex, int count) {
1373public override void Insert(int index, Object value) {
1386public override int LastIndexOf(Object value) {
1393public override int LastIndexOf(Object value, int startIndex) {
1400public override int LastIndexOf(Object value, int startIndex, int count) {
1406public override void Remove(Object value) {
1465public override Object[] ToArray() {
1490private Object _root;
1514public virtual Object this[int index] {
1527public virtual Object SyncRoot {
1531public virtual int Add(Object value) {
1544public virtual bool Contains(Object item) {
1562public virtual int IndexOf(Object value) {
1568public virtual void Insert(int index, Object value) {
1574public virtual void Remove(Object value) {
1612public virtual Object this[int index] {
1621public virtual Object SyncRoot {
1625public virtual int Add(Object obj) {
1633public virtual bool Contains(Object obj) {
1645public virtual int IndexOf(Object value) {
1649public virtual void Insert(int index, Object obj) {
1653public virtual void Remove(Object value) {
1688public override Object this[int index] {
1698public override Object SyncRoot {
1702public override int Add(Object obj) {
1711public override int BinarySearch(int index, int count, Object value, IComparer comparer) {
1725public override Object Clone() {
1731public override bool Contains(Object obj) {
1753public override int IndexOf(Object value) {
1758public override int IndexOf(Object value, int startIndex) {
1763public override int IndexOf(Object value, int startIndex, int count) {
1767public override void Insert(int index, Object obj) {
1776public override int LastIndexOf(Object value) {
1781public override int LastIndexOf(Object value, int startIndex) {
1786public override int LastIndexOf(Object value, int startIndex, int count) {
1790public override void Remove(Object value) {
1831public override Object[] ToArray() {
1870public virtual Object this[int index] {
1879public virtual Object SyncRoot {
1883public virtual int Add(Object obj) {
1891public virtual bool Contains(Object obj) {
1903public virtual int IndexOf(Object value) {
1907public virtual void Insert(int index, Object obj) {
1911public virtual void Remove(Object value) {
1945public override Object this[int index] {
1954public override Object SyncRoot {
1958public override int Add(Object obj) {
1967public override int BinarySearch(int index, int count, Object value, IComparer comparer) {
1982public override Object Clone() {
1988public override bool Contains(Object obj) {
2010public override int IndexOf(Object value) {
2015public override int IndexOf(Object value, int startIndex) {
2020public override int IndexOf(Object value, int startIndex, int count) {
2024public override void Insert(int index, Object obj) {
2033public override int LastIndexOf(Object value) {
2038public override int LastIndexOf(Object value, int startIndex) {
2043public override int LastIndexOf(Object value, int startIndex, int count) {
2047public override void Remove(Object value) {
2085public override Object[] ToArray() {
2110private Object currentElement;
2122public Object Clone() {
2139public Object Current {
2187public override int Add(Object value) {
2210public override int BinarySearch(int index, int count, Object value, IComparer comparer) {
2245public override Object Clone() {
2252public override bool Contains(Object item) {
2345public override Object SyncRoot {
2352public override int IndexOf(Object value) {
2359public override int IndexOf(Object value, int startIndex) {
2372public override int IndexOf(Object value, int startIndex, int count) {
2386public override void Insert(int index, Object value) {
2412public override int LastIndexOf(Object value) {
2420public override int LastIndexOf(Object value, int startIndex) {
2425public override int LastIndexOf(Object value, int startIndex, int count) {
2503public override Object this[int index] {
2517public override Object[] ToArray() {
2519Object[] array = new Object[_baseSize];
2546private Object currentElement;
2550static Object dummyObject = new Object();
2560public Object Clone() {
2593public Object Current {
2630public Object[] Items {
system\collections\hashtable.cs (63)
146public Object key;
147public Object val;
169private Object _syncRoot;
422private uint InitHash(Object key, int hashsize, out uint seed, out uint incr) {
440public virtual void Add(Object key, Object value) {
474public virtual Object Clone()
485Object keyv = lbuckets[bucket].key;
495public virtual bool Contains(Object key) {
502public virtual bool ContainsKey(Object key) {
538public virtual bool ContainsValue(Object value) {
548Object val = buckets[i].val;
564Object keyv = lbuckets[i].key;
580Object keyv = lbuckets[i].key;
614Object keyv = lbuckets[i].key;
633Object keyv = lbuckets[i].key;
643public virtual Object this[Object key] {
796protected virtual int GetHash(Object key)
821protected virtual bool KeyEquals(Object item, Object key)
824if( Object.ReferenceEquals(buckets, item)) {
828if (Object.ReferenceEquals(item,key))
873private void Insert (Object key, Object nvalue, bool add) {
1045private void putEntry (bucket[] newBuckets, Object key, Object nvalue, int hashcode)
1074public virtual void Remove(Object key) {
1121public virtual Object SyncRoot {
1124System.Threading.Interlocked.CompareExchange<Object>(ref _syncRoot, new Object(), null);
1193Object [] serKeys = new Object[count];
1194Object [] serValues = new Object[count];
1197info.AddValue(KeysName, serKeys, typeof(Object[]));
1198info.AddValue(ValuesName, serValues, typeof(Object[]));
1210public virtual void OnDeserialization(Object sender) {
1230Object [] serKeys = null;
1231Object [] serValues = null;
1257serKeys = (Object[])siInfo.GetValue(KeysName, typeof(Object[]));
1260serValues = (Object[])siInfo.GetValue(ValuesName, typeof(Object[]));
1328public virtual Object SyncRoot {
1369public virtual Object SyncRoot {
1435public override Object this[Object key] {
1446public override Object SyncRoot {
1450public override void Add(Object key, Object value) {
1462public override bool Contains(Object key) {
1466public override bool ContainsKey(Object key) {
1474public override bool ContainsValue(Object key) {
1486public override Object Clone() {
1516public override void Remove(Object key) {
1530public override void OnDeserialization(Object sender) {
1552private Object currentKey;
1553private Object currentValue;
1567public Object Clone() {
1571public virtual Object Key {
1582Object keyv = hashtable.buckets[bucket].key;
1602public virtual Object Current {
1615public virtual Object Value {
system\collections\sortedlist.cs (65)
72private Object[] keys;
73private Object[] values;
80private Object _syncRoot;
84private static Object[] emptyArray = EmptyArray<Object>.Value;
114keys = new Object[initialCapacity];
115values = new Object[initialCapacity];
180public virtual void Add(Object key, Object value) {
207Object[] newKeys = new Object[value];
208Object[] newValues = new Object[value];
269public virtual Object SyncRoot {
272System.Threading.Interlocked.CompareExchange<Object>(ref _syncRoot, new Object(), null);
291public virtual Object Clone()
306public virtual bool Contains(Object key) {
312public virtual bool ContainsKey(Object key) {
323public virtual bool ContainsValue(Object value) {
371public virtual Object GetByIndex(int index) {
398public virtual Object GetKey(int index) {
440public virtual Object this[Object key] {
466public virtual int IndexOfKey(Object key) {
480public virtual int IndexOfValue(Object value) {
485private void Insert(int index, Object key, Object value) {
517public virtual void Remove(Object key) {
526public virtual void SetByIndex(int index, Object value) {
560private Object _root;
572public override Object SyncRoot {
589public override Object this[Object key] {
602public override void Add(Object key, Object value) {
618public override Object Clone() {
624public override bool Contains(Object key) {
630public override bool ContainsKey(Object key) {
636public override bool ContainsValue(Object key) {
649public override Object GetByIndex(int index) {
662public override Object GetKey(int index) {
680public override int IndexOfKey(Object key) {
691public override int IndexOfValue(Object value) {
704public override void Remove(Object key) {
711public override void SetByIndex(int index, Object value) {
733private Object key;
734private Object value;
757public Object Clone()
762public virtual Object Key {
793public virtual Object Current {
806public virtual Object Value {
848public virtual Object SyncRoot {
852public virtual int Add(Object key) {
861public virtual bool Contains(Object key) {
874public virtual void Insert(int index, Object value) {
878public virtual Object this[int index] {
891public virtual int IndexOf(Object key) {
902public virtual void Remove(Object key) {
936public virtual Object SyncRoot {
940public virtual int Add(Object key) {
948public virtual bool Contains(Object value) {
961public virtual void Insert(int index, Object value) {
965public virtual Object this[int index] {
978public virtual int IndexOf(Object value) {
982public virtual void Remove(Object value) {
system\console.cs (38)
112private static volatile Object s_InternalSyncObject;
113private static Object InternalSyncObject {
115Contract.Ensures(Contract.Result<Object>() != null);
117Object o = new Object();
119Interlocked.CompareExchange<Object>(ref s_InternalSyncObject, o, null);
128private static volatile Object s_ReadKeySyncObject;
129private static Object ReadKeySyncObject
133Contract.Ensures(Contract.Result<Object>() != null);
136Object o = new Object();
138Interlocked.CompareExchange<Object>(ref s_ReadKeySyncObject, o, null);
2075public static void WriteLine(Object value)
2090public static void WriteLine(String format, Object arg0)
2097public static void WriteLine(String format, Object arg0, Object arg1)
2104public static void WriteLine(String format, Object arg0, Object arg1, Object arg2)
2112public static void WriteLine(String format, Object arg0, Object arg1, Object arg2,Object arg3, __arglist)
2114Object[] objArgs;
2122objArgs = new Object[argCount];
2141public static void WriteLine(String format, params Object[] arg)
2151public static void Write(String format, Object arg0)
2158public static void Write(String format, Object arg0, Object arg1)
2165public static void Write(String format, Object arg0, Object arg1, Object arg2)
2173public static void Write(String format, Object arg0, Object arg1, Object arg2, Object arg3, __arglist)
2175Object[] objArgs;
2183objArgs = new Object[argCount];
2202public static void Write(String format, params Object[] arg)
2291public static void Write(Object value)
system\convert.cs (18)
117(RuntimeType)typeof(Object),
133(RuntimeType)typeof(Object), //TypeCode is discontinuous so we need a placeholder.
163public static readonly Object DBNull = System.DBNull.Value;
202public static Object ChangeType(Object value, TypeCode typeCode) {
206public static Object ChangeType(Object value, TypeCode typeCode, IFormatProvider provider) {
261internal static Object DefaultToType(IConvertible value, Type targetType, IFormatProvider provider) {
308return (Object)value;
321public static Object ChangeType(Object value, Type conversionType) {
325public static Object ChangeType(Object value, Type conversionType, IFormatProvider provider) {
379return (Object)value;
385public static bool ToBoolean(Object value) {
389public static bool ToBoolean(Object value, IFormatProvider provider) {
1797public static string ToString(Object value) {
1801public static string ToString(Object value, IFormatProvider provider) {
system\defaultbinder.cs (33)
39BindingFlags bindingAttr, MethodBase[] match, ref Object[] args,
40ParameterModifier[] modifiers, CultureInfo cultureInfo, String[] names, out Object state)
222if (pCls == typeof(Object))
314Object[] objs = new Object[parms.Length];
324Object[] objs = new Object[parms.Length];
344Object[] objs = new Object[parms.Length];
393Object[] objs = new Object[parameters.Length];
403Object[] objs = new Object[parameters.Length];
426Object[] objs = new Object[parameters.Length];
442public override FieldInfo BindToField(BindingFlags bindingAttr,FieldInfo[] match, Object value,CultureInfo cultureInfo)
473if (pCls == typeof(Object)) {
549if (pCls == typeof(Object))
634if (pCls == typeof(Object))
706public override Object ChangeType(Object value,Type type,CultureInfo cultureInfo)
711public override void ReorderArgumentArray(ref Object[] args, Object state)
718args[paramArrayPos] = ((Object[])args[paramArrayPos])[0];
721Object[] newArgs = new Object[args.Length];
724newArgs[i] = ((Object[])args[paramArrayPos])[j];
731Object[] newArgs = new Object[binderState.m_originalSize];
813Type[] types, Object[] args)
953Type[] types, Object[] args)
1106static internal extern bool CanConvertPrimitiveObjectToType(Object source,RuntimeType type);
1110private static void ReorderParams(int[] paramOrder,Object[] vars)
system\delegate.cs (27)
25internal Object _target;
30internal Object _methodBase;
47protected Delegate(Object target,String method)
106public Object DynamicInvoke(params Object[] args)
128public override bool Equals(Object obj)
196if ((Object)a == null) // cast to object for a more efficient test
287public Object Target
336public virtual Object Clone()
342public static Delegate CreateDelegate(Type type, Object target, String method)
348public static Delegate CreateDelegate(Type type, Object target, String method, bool ignoreCase)
372public static Delegate CreateDelegate(Type type, Object target, String method, bool ignoreCase, bool throwOnBindFailure)
527public static Delegate CreateDelegate(Type type, Object firstArgument, MethodInfo method)
535public static Delegate CreateDelegate(Type type, Object firstArgument, MethodInfo method, bool throwOnBindFailure)
576if ((Object)d1 == null)
577return (Object)d2 == null;
584if ((Object)d1 == null)
585return (Object)d2 != null;
606internal unsafe static Delegate CreateDelegateNoSecurityCheck(Type type, Object target, RuntimeMethodHandle method)
641internal static Delegate CreateDelegateNoSecurityCheck(RuntimeType type, Object firstArgument, MethodInfo method)
683internal static Delegate CreateDelegateInternal(RuntimeType rtType, RuntimeMethodInfo rtMethod, Object firstArgument, DelegateBindingFlags flags, ref StackCrawlMark stackMark)
704internal static Delegate UnsafeCreateDelegate(RuntimeType rtType, RuntimeMethodInfo rtMethod, Object firstArgument, DelegateBindingFlags flags)
728private extern bool BindToMethodName(Object target, RuntimeType methodType, String method, DelegateBindingFlags flags);
733private extern bool BindToMethodInfo(Object target, IRuntimeMethodInfo method, RuntimeType methodType, DelegateBindingFlags flags);
755private extern void DelegateConstruct(Object target, IntPtr slot);
779internal extern IntPtr AdjustTarget(Object target, IntPtr methodPtr);
787internal virtual Object GetTarget()
system\delegateserializationholder.cs (8)
23SerializationInfo info, Type delegateType, Object target, MethodInfo method, int targetIndex)
83internal Object target;
92String type, String assembly, Object target, String targetTypeAssembly, String targetTypeName, String methodName)
151deiter.target = info.GetValue(stringTarget, typeof(Object));
191Object target = info.GetValue("Target", typeof(Object));
223Object target = de.target != null ? RemotingServices.CheckCast(de.target, targetType) : null;
264public Object GetRealObject(StreamingContext context)
system\enum.cs (29)
50private static String InternalFormattedHexString(Object value)
134private static String InternalFormat(RuntimeType eT, Object value)
154private static String InternalFlagsFormat(RuntimeType eT, Object value)
209internal static ulong ToUInt64(Object value)
245private static extern int InternalCompareTo(Object o1, Object o2);
261private static extern Object InternalBoxEnum(RuntimeType enumType, long value);
351public static Object Parse(Type enumType, String value)
357public static Object Parse(Type enumType, String value, bool ignoreCase)
398Object temp;
512public static String GetName(Type enumType, Object value)
539public static Object ToObject(Type enumType, Object value)
596public static bool IsDefined(Type enumType, Object value)
606public static String Format(Type enumType, Object value, String format)
691internal unsafe Object GetValue()
748public extern override bool Equals(Object obj);
816public int CompareTo(Object target)
1036Object IConvertible.ToType(Type type, IFormatProvider provider)
1046public static Object ToObject(Type enumType, sbyte value)
1061public static Object ToObject(Type enumType, short value)
1076public static Object ToObject(Type enumType, int value)
1091public static Object ToObject(Type enumType, byte value)
1107public static Object ToObject(Type enumType, ushort value)
1123public static Object ToObject(Type enumType, uint value)
1138public static Object ToObject(Type enumType, long value)
1154public static Object ToObject(Type enumType, ulong value)
1168private static Object ToObject(Type enumType, char value)
1182private static Object ToObject(Type enumType, bool value)
system\internal.cs (21)
64new Dictionary<Char, Object>();
66new Dictionary<Guid, Object>();
71new Dictionary<Int32, Object>();
74new Dictionary<Object, Boolean>();
75new Dictionary<Object, Char>();
76new Dictionary<Object, Guid>();
77new Dictionary<Object, Int32>();
78new Dictionary<Object, Int64>(); // Added for Visual Studio 2010
80new Dictionary<Object, UInt32>();
81new Dictionary<UInt32, Object>();
82new Dictionary<Int64, Object>();
89new Dictionary<System.Reflection.MemberTypes, Object>();
93new Dictionary<Object, KeyValuePair<Object,Object>>();
94new Dictionary<KeyValuePair<Object,Object>, Object>();
127new List<KeyValuePair<Object, Object>>();
133new KeyValuePair<Object, Int32>(String.Empty, Int32.MinValue);
system\io\bufferedstream.cs (4)
566public override IAsyncResult BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state) {
628private IAsyncResult BeginReadFromUnderlyingStream(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state,
995public override IAsyncResult BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state) {
1053private IAsyncResult BeginWriteToUnderlyingStream(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state,
system\io\filestream.cs (13)
87private Object _userStateObject;
133Object userStateObject,
166internal static FileStreamAsyncResult CreateBufferedReadResult(int numBufferedBytes, AsyncCallback userCallback, Object userStateObject, bool isWrite)
175private FileStreamAsyncResult(int numBufferedBytes, AsyncCallback userCallback, Object userStateObject, bool isWrite)
184public Object AsyncState
566Object pinningHandle;
1095private unsafe static Win32Native.SECURITY_ATTRIBUTES GetSecAttrs(FileShare share, FileSecurity fileSecurity, out Object pinningHandle)
1870public override IAsyncResult BeginRead(byte[] array, int offset, int numBytes, AsyncCallback userCallback, Object stateObject)
1897private FileStreamAsyncResult BeginReadAsync(byte[] array, int offset, int numBytes, AsyncCallback userCallback, Object stateObject)
2010unsafe private FileStreamAsyncResult BeginReadCore(byte[] bytes, int offset, int numBytes, AsyncCallback userCallback, Object stateObject, int numBufferedBytesRead)
2182public override IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, AsyncCallback userCallback, Object stateObject)
2209private FileStreamAsyncResult BeginWriteAsync(byte[] array, int offset, int numBytes, AsyncCallback userCallback, Object stateObject)
2270unsafe private FileStreamAsyncResult BeginWriteCore(byte[] bytes, int offset, int numBytes, AsyncCallback userCallback, Object stateObject)
system\io\stream.cs (15)
298public virtual IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)
305internal IAsyncResult BeginReadInternal(byte[] buffer, int offset, int count, AsyncCallback callback, Object state, bool serializeAsynchronously)
445public virtual IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)
452internal IAsyncResult BeginWriteInternal(byte[] buffer, int offset, int count, AsyncCallback callback, Object state, bool serializeAsynchronously)
793internal IAsyncResult BlockingBeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)
826internal IAsyncResult BlockingBeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)
906public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)
923public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)
993private readonly Object _stateObject;
1001internal SynchronousAsyncResult(Int32 bytesRead, Object asyncStateObject) {
1007internal SynchronousAsyncResult(Object asyncStateObject) {
1012internal SynchronousAsyncResult(Exception ex, Object asyncStateObject, bool isWrite) {
1029public Object AsyncState {
1226public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)
1284public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)
system\io\textwriter.cs (33)
296public virtual void Write(Object value) {
326public virtual void Write(String format, Object arg0)
334public virtual void Write(String format, Object arg0, Object arg1)
342public virtual void Write(String format, Object arg0, Object arg1, Object arg2)
350public virtual void Write(String format, params Object[] arg)
490public virtual void WriteLine(Object value) {
508public virtual void WriteLine(String format, Object arg0)
516public virtual void WriteLine (String format, Object arg0, Object arg1)
524public virtual void WriteLine (String format, Object arg0, Object arg1, Object arg2)
532public virtual void WriteLine (String format, params Object[] arg)
644public override void WriteLine(Object value) {
752public override void Write(Object value) {
757public override void Write(String format, Object arg0) {
762public override void Write(String format, Object arg0, Object arg1) {
767public override void Write(String format, Object arg0, Object arg1, Object arg2) {
772public override void Write(String format, Object[] arg) {
842public override void WriteLine(Object value) {
847public override void WriteLine(String format, Object arg0) {
852public override void WriteLine(String format, Object arg0, Object arg1) {
857public override void WriteLine(String format, Object arg0, Object arg1, Object arg2) {
862public override void WriteLine(String format, Object[] arg) {
system\multicastdelegate.cs (66)
24private Object _invocationList;
31protected MulticastDelegate(Object target, String method) : base(target, method)
58Object[] invocationList = _invocationList as Object[];
105public override sealed bool Equals(Object obj)
147Contract.Assert((_invocationList as Object[]) != null, "empty invocation list on multicast delegate");
179Contract.Assert(d != null && (_invocationList as Object[]) != null, "bogus delegate in multicast list comparison");
180Object[] invocationList = _invocationList as Object[];
188Object[] dInvocationList = d._invocationList as Object[];
196private bool TrySetSlot(Object[] a, int index, Object o)
198if (a[index] == null && System.Threading.Interlocked.CompareExchange<Object>(ref a[index], o, null) == null)
219private MulticastDelegate NewMulticastDelegate(Object[] invocationList, int invocationCount, bool thisIsMultiCastAlready)
244internal MulticastDelegate NewMulticastDelegate(Object[] invocationList, int invocationCount)
269if ((Object)follow == null) // cast to object for a more efficient test
277Object[] resultList;
279Object[] followList = dFollow._invocationList as Object[];
284Object[] invocationList = _invocationList as Object[];
288resultList = new Object[resultCount];
333resultList = new Object[allocCount];
353private Object[] DeleteFromInvocationList(Object[] invocationList, int invocationCount, int deleteIndex, int deleteCount)
355Object[] thisInvocationList = _invocationList as Object[];
360Object[] newInvocationList = new Object[allocCount];
371private bool EqualInvocationLists(Object[] a, Object[] b, int start, int count)
396if (v._invocationList as Object[] == null)
398Object[] invocationList = _invocationList as Object[];
419Object[] list = DeleteFromInvocationList(invocationList, invocationCount, i, 1);
428Object[] invocationList = _invocationList as Object[];
434if (EqualInvocationLists(invocationList, v._invocationList as Object[], i, vInvocationCount))
448Object[] list = DeleteFromInvocationList(invocationList, invocationCount, i, vInvocationCount);
468Object[] invocationList = _invocationList as Object[];
489if ((Object)d1 == null)
490return (Object)d2 == null;
497if ((Object)d1 == null)
498return (Object)d2 != null;
509Object[] invocationList = _invocationList as Object[];
527internal override Object GetTarget()
543Object[] invocationList = _invocationList as Object[];
566Object[] invocationList = _invocationList as Object[];
613private void CtorClosed(Object target, IntPtr methodPtr)
623private void CtorClosedStatic(Object target, IntPtr methodPtr)
631private void CtorRTClosed(Object target, IntPtr methodPtr)
639private void CtorOpened(Object target, IntPtr methodPtr, IntPtr shuffleThunk)
648private void CtorSecureClosed(Object target, IntPtr methodPtr, IntPtr callThunk, IntPtr creatorMethod)
661private void CtorSecureClosedStatic(Object target, IntPtr methodPtr, IntPtr callThunk, IntPtr creatorMethod)
674private void CtorSecureRTClosed(Object target, IntPtr methodPtr, IntPtr callThunk, IntPtr creatorMethod)
687private void CtorSecureOpened(Object target, IntPtr methodPtr, IntPtr shuffleThunk, IntPtr callThunk, IntPtr creatorMethod)
700private void CtorVirtualDispatch(Object target, IntPtr methodPtr, IntPtr shuffleThunk)
709private void CtorSecureVirtualDispatch(Object target, IntPtr methodPtr, IntPtr shuffleThunk, IntPtr callThunk, IntPtr creatorMethod)
722private void CtorCollectibleClosedStatic(Object target, IntPtr methodPtr, IntPtr gchandle)
731private void CtorCollectibleOpened(Object target, IntPtr methodPtr, IntPtr shuffleThunk, IntPtr gchandle)
741private void CtorCollectibleVirtualDispatch(Object target, IntPtr methodPtr, IntPtr shuffleThunk, IntPtr gchandle)
system\reflection\binder.cs (7)
29public abstract MethodBase BindToMethod(BindingFlags bindingAttr,MethodBase[] match,ref Object[] args,
30ParameterModifier[] modifiers,CultureInfo culture,String[] names, out Object state);
35Object value,CultureInfo culture);
51public abstract Object ChangeType(Object value,Type type,CultureInfo culture);
53public abstract void ReorderArgumentArray(ref Object[] args, Object state);
system\reflection\cominterfaces.cs (88)
35bool Equals(Object other);
45Object[] GetCustomAttributes(Type attributeType, bool inherit);
46Object[] GetCustomAttributes(bool inherit);
64Type[] FindInterfaces(TypeFilter filter,Object filterCriteria);
72MemberInfo[] FindMembers(MemberTypes memberType,BindingFlags bindingAttr,MemberFilter filter,Object filterCriteria);
75bool IsInstanceOfType(Object o);
88Object InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters);
94Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder, Object target, Object[] args, CultureInfo culture);
95Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder, Object target, Object[] args);
171bool Equals(Object other);
218Object[] GetCustomAttributes(Type attributeType, bool inherit);
219Object[] GetCustomAttributes(bool inherit);
234Object CreateInstance(String typeName);
235Object CreateInstance(String typeName, bool ignoreCase);
236Object CreateInstance(String typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes);
266bool Equals(Object other);
276Object[] GetCustomAttributes(Type attributeType, bool inherit);
277Object[] GetCustomAttributes(bool inherit);
301bool Equals(Object other);
311Object[] GetCustomAttributes(Type attributeType, bool inherit);
312Object[] GetCustomAttributes(bool inherit);
322Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture);
336Object Invoke(Object obj, Object[] parameters);
359bool Equals(Object other);
369Object[] GetCustomAttributes(Type attributeType, bool inherit);
370Object[] GetCustomAttributes(bool inherit);
380Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture);
394Object Invoke(Object obj, Object[] parameters);
423bool Equals(Object other);
433Object[] GetCustomAttributes(Type attributeType, bool inherit);
434Object[] GetCustomAttributes(bool inherit);
444Object Invoke_2(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture);
458Object Invoke_3(Object obj, Object[] parameters);
462Object Invoke_4(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture);
463Object Invoke_5(Object[] parameters);
486bool Equals(Object other);
496Object[] GetCustomAttributes(Type attributeType, bool inherit);
497Object[] GetCustomAttributes(bool inherit);
503Object GetValue(Object obj);
504Object GetValueDirect(TypedReference obj);
505void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture);
506void SetValueDirect(TypedReference obj,Object value);
509void SetValue(Object obj, Object value);
544bool Equals(Object other);
554Object[] GetCustomAttributes(Type attributeType, bool inherit);
555Object[] GetCustomAttributes(bool inherit);
561Object GetValue(Object obj,Object[] index);
562Object GetValue(Object obj,BindingFlags invokeAttr,Binder binder, Object[] index, CultureInfo culture);
563void SetValue(Object obj, Object value, Object[] index);
564void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture);
598bool Equals(Object other);
608Object[] GetCustomAttributes(Type attributeType, bool inherit);
609Object[] GetCustomAttributes(bool inherit);
621void AddEventHandler(Object target, Delegate handler);
622void RemoveEventHandler(Object target, Delegate handler);
system\reflection\ConstructorInfo.cs (27)
91public abstract Object Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture);
97public Object Invoke(Object[] parameters)
116Object _ConstructorInfo.Invoke_2(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
121Object _ConstructorInfo.Invoke_3(Object obj, Object[] parameters)
126Object _ConstructorInfo.Invoke_4(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
131Object _ConstructorInfo.Invoke_5(Object[] parameters)
353private void CheckConsistency(Object target)
396public override Object[] GetCustomAttributes(bool inherit)
401public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
597public override Object Invoke(
598Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
652Object[] arguments = CheckArguments(parameters, binder, invokeAttr, culture, sig);
653Object retValue = RuntimeMethodHandle.InvokeMethod(obj, arguments, sig, false);
704public override Object Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
752Object[] arguments = CheckArguments(parameters, binder, invokeAttr, culture, sig);
753Object retValue = RuntimeMethodHandle.InvokeMethod(null, arguments, sig, true);
786internal void SerializationInvoke(Object target, SerializationInfo info, StreamingContext context)
system\reflection\customattribute.cs (12)
1329internal static Object[] GetCustomAttributes(RuntimeType type, RuntimeType caType, bool inherit)
1335return (caType.IsValueType) ? EmptyArray<Object>.Value : CreateAttributeArrayHelper(caType, 0);
1433internal static Object[] GetCustomAttributes(RuntimeMethodInfo method, RuntimeType caType, bool inherit)
1478internal static Object[] GetCustomAttributes(RuntimeConstructorInfo ctor, RuntimeType caType)
1491internal static Object[] GetCustomAttributes(RuntimePropertyInfo property, RuntimeType caType)
1510internal static Object[] GetCustomAttributes(RuntimeEventInfo e, RuntimeType caType)
1528internal static Object[] GetCustomAttributes(RuntimeFieldInfo field, RuntimeType caType)
1541internal static Object[] GetCustomAttributes(RuntimeParameterInfo parameter, RuntimeType caType)
1554internal static Object[] GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
1569internal static Object[] GetCustomAttributes(RuntimeModule module, RuntimeType caType)
2063private static unsafe extern Object _CreateCaObject(RuntimeModule pModule, IRuntimeMethodInfo pCtor, byte** ppBlob, byte* pEndBlob, int* pcNamedArgs);
2065private static unsafe Object CreateCaObject(RuntimeModule module, IRuntimeMethodInfo ctor, ref IntPtr blob, IntPtr blobEnd, out int namedArgs)
system\reflection\emit\customattributebuilder.cs (21)
37public CustomAttributeBuilder(ConstructorInfo con, Object[] constructorArgs)
40new PropertyInfo[]{}, new Object[]{},
41new FieldInfo[]{}, new Object[]{});
46public CustomAttributeBuilder(ConstructorInfo con, Object[] constructorArgs,
47PropertyInfo[] namedProperties, Object[] propertyValues)
50propertyValues, new FieldInfo[]{}, new Object[]{});
55public CustomAttributeBuilder(ConstructorInfo con, Object[] constructorArgs,
56FieldInfo[] namedFields, Object[] fieldValues)
59new Object[]{}, namedFields, fieldValues);
64public CustomAttributeBuilder(ConstructorInfo con, Object[] constructorArgs,
65PropertyInfo[] namedProperties, Object[] propertyValues,
66FieldInfo[] namedFields, Object[] fieldValues)
100return t == typeof(Object);
103internal void InitCustomAttributeBuilder(ConstructorInfo con, Object[] constructorArgs,
104PropertyInfo[] namedProperties, Object[] propertyValues,
105FieldInfo[] namedFields, Object[] fieldValues)
134m_constructorArgs = new Object[constructorArgs.Length];
220propType != typeof(Object) &&
272fldType != typeof(Object) &&
385private void EmitValue(BinaryWriter writer, Type type, Object value)
581internal Object[] m_constructorArgs;
system\reflection\emit\dynamicmethod.cs (21)
304CustomAttributeBuilder transparencyAttribute = new CustomAttributeBuilder(transparencyCtor, EmptyArray<Object>.Value);
548public sealed override Delegate CreateDelegate(Type delegateType, Object target) {
714public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) {
740Object retValue = null;
743Object[] arguments = CheckArguments(parameters, binder, invokeAttr, culture, sig);
758public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
763public override Object[] GetCustomAttributes(bool inherit) { return m_dynMethod.GetCustomAttributes(inherit); }
924public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) {
934public override Object[] GetCustomAttributes(Type attributeType, bool inherit) {
940return new Object[] { new MethodImplAttribute(GetMethodImplementationFlags()) };
942return EmptyArray<Object>.Value;
945public override Object[] GetCustomAttributes(bool inherit) {
947return new Object[] { new MethodImplAttribute(GetMethodImplementationFlags()) };
1019Object[] ICustomAttributeProvider.GetCustomAttributes(Type attributeType, bool inherit) {
1020return EmptyArray<Object>.Value;
1023Object[] ICustomAttributeProvider.GetCustomAttributes(bool inherit) {
1024return EmptyArray<Object>.Value;
system\reflection\emit\propertybuilder.cs (15)
73public void SetConstant(Object defaultValue)
181public override Object GetValue(Object obj,Object[] index)
186public override Object GetValue(Object obj,BindingFlags invokeAttr,Binder binder,Object[] index,CultureInfo culture)
191public override void SetValue(Object obj,Object value,Object[] index)
196public override void SetValue(Object obj,Object value,BindingFlags invokeAttr,Binder binder,Object[] index,CultureInfo culture)
246public override Object[] GetCustomAttributes(bool inherit)
251public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\emit\typebuilder.cs (8)
396if (tb1 != null && tb2 != null && Object.ReferenceEquals(tb1, tb2))
407internal static unsafe void SetConstantValue(ModuleBuilder module, int tk, Type destType, Object value)
1075public override Object InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target,
1076Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
1508public override Object[] GetCustomAttributes(bool inherit)
1518public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
2501m_typeParent = typeof(Object);
system\reflection\emit\xxxontypebuilderinstantiation.cs (20)
52public override Object[] GetCustomAttributes(bool inherit) { return m_method.GetCustomAttributes(inherit); }
53public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_method.GetCustomAttributes(attributeType, inherit); }
80public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
149public override Object[] GetCustomAttributes(bool inherit) { return m_ctor.GetCustomAttributes(inherit); }
150public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_ctor.GetCustomAttributes(attributeType, inherit); }
177public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
190public override Object Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
250public override Object[] GetCustomAttributes(bool inherit) { return m_field.GetCustomAttributes(inherit); }
251public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_field.GetCustomAttributes(attributeType, inherit); }
275public override void SetValueDirect(TypedReference obj, Object value)
279public override Object GetValueDirect(TypedReference obj)
288public override Object GetValue(Object obj) { throw new InvalidOperationException(); }
289public override void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) { throw new InvalidOperationException(); }
system\reflection\fieldinfo.cs (36)
115public virtual void SetValueDirect(TypedReference obj, Object value)
121public virtual Object GetValueDirect(TypedReference obj)
130public abstract Object GetValue(Object obj);
132public virtual Object GetRawConstantValue() { throw new NotSupportedException(Environment.GetResourceString("NotSupported_AbstractNonCLS")); }
134public abstract void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture);
142public void SetValue(Object obj, Object value)
327public override Object[] GetCustomAttributes(bool inherit)
332public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
395static private extern void PerformVisibilityCheckOnField(IntPtr field, Object target, RuntimeType declaringType, FieldAttributes attr, uint invocationFlags);
514internal void CheckConsistency(Object target)
554internal void InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, ref StackCrawlMark stackMark)
611internal void UnsafeSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
633internal Object InternalGetValue(Object obj, ref StackCrawlMark stackMark)
676internal Object UnsafeGetValue(Object obj)
734public override Object GetValue(Object obj)
745public override Object GetValueDirect(TypedReference obj)
761public override void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
770public override void SetValueDirect(TypedReference obj, Object value)
897public override Object GetValueDirect(TypedReference obj)
904public override void SetValueDirect(TypedReference obj,Object value)
911public unsafe override Object GetValue(Object obj)
916public unsafe override Object GetRawConstantValue() { return GetValue(true); }
919private unsafe Object GetValue(bool raw)
923Object value = MdConstant.GetValue(GetRuntimeModule().MetadataImport, m_tkField, FieldType.GetTypeHandleInternal(), raw);
933public override void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
system\reflection\methodinfo.cs (17)
96public virtual Delegate CreateDelegate(Type delegateType, Object target) { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); }
478public override Object[] GetCustomAttributes(bool inherit)
484public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
653private void CheckConsistency(Object target)
710public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
745internal object UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
755private object UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
761Object retValue = RuntimeMethodHandle.InvokeMethod(obj, arguments, Signature, false);
773private object[] InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
873public override Delegate CreateDelegate(Type delegateType, Object target)
890private Delegate CreateDelegateInternal(Type delegateType, Object firstArgument, DelegateBindingFlags bindingFlags, ref StackCrawlMark stackMark)
system\reflection\propertyinfo.cs (34)
84public abstract void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture);
102public Object GetValue(Object obj)
109public virtual Object GetValue(Object obj,Object[] index)
114public abstract Object GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture);
118public void SetValue(Object obj, Object value)
125public virtual void SetValue(Object obj, Object value, Object[] index)
373public override Object[] GetCustomAttributes(bool inherit)
378public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
473Object defaultValue = MdConstant.GetValue(GetRuntimeModule().MetadataImport, m_token, PropertyType.GetTypeHandleInternal(), raw);
616public override Object GetValue(Object obj,Object[] index)
624public override Object GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
635public override void SetValue(Object obj, Object value, Object[] index)
647public override void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
655Object[] args = null;
659args = new Object[index.Length + 1];
668args = new Object[1];
system\resources\resourcemanager.cs (15)
377if (assembly == typeof(Object).Assembly && m_callingAssembly != assembly)
415if (assembly == typeof(Object).Assembly && m_callingAssembly != assembly)
439if (MainAssembly == typeof(Object).Assembly && m_callingAssembly != MainAssembly)
852if (!Object.ReferenceEquals(lostRace, rs)) {
890Object[] attrs = a.GetCustomAttributes(typeof(SatelliteContractVersionAttribute), false);
905if (a == typeof(Object).Assembly) {
1108if (resourcesAssembly != typeof(Object).Assembly) // We are not loading resources for mscorlib
1262if(Object.ReferenceEquals(culture, CultureInfo.CurrentUICulture))
1354public virtual Object GetObject(String name) {
1361public virtual Object GetObject(String name, CultureInfo culture) {
1365private Object GetObject(String name, CultureInfo culture, bool wrapUnmanagedMemStream)
1377if(Object.ReferenceEquals(culture, CultureInfo.CurrentUICulture))
1399Object value = last.GetObject(name, _ignoreCase);
1427Object value = rs.GetObject(name, _ignoreCase);
1464Object obj = GetObject(name, culture, false);
system\resources\resourcewriter.cs (10)
96private Dictionary<String, Object> _resourceList;
98private Dictionary<String, Object> _caseInsensitiveDups;
110_resourceList = new Dictionary<String, Object>(_ExpectedNumberOfResources, FastResourceComparer.Default);
111_caseInsensitiveDups = new Dictionary<String, Object>(StringComparer.OrdinalIgnoreCase);
122_resourceList = new Dictionary<String, Object>(_ExpectedNumberOfResources, FastResourceComparer.Default);
123_caseInsensitiveDups = new Dictionary<String, Object>(StringComparer.OrdinalIgnoreCase);
145public void AddResource(String name, Object value)
417Object value = items.Value;
525private ResourceTypeCode FindTypeCode(Object value, List<String> types)
595private void WriteValue(ResourceTypeCode typeCode, Object value, BinaryWriter writer, IFormatter objFormatter)
system\resources\runtimeresourceset.cs (9)
269Object o = GetObject(key, false, true);
275Object o = GetObject(key, ignoreCase, true);
279public override Object GetObject(String key)
284public override Object GetObject(String key, bool ignoreCase)
289private Object GetObject(String key, bool ignoreCase, bool isString)
297Object value = null;
392Object obj = null;
415private Object ResolveResourceLocator(ResourceLocator resLocation, String key, Dictionary<String, ResourceLocator> copyOfCache, bool keyInWrongCase)
419Object value = resLocation.Value;
system\rttype.cs (63)
51internal delegate void CtorDelegate(Object instance);
147public void CopyTo(Object[] array, int index)
423Object list = null;
1587private static Object s_methodInstantiationsLock;
1592private Object m_genericCache; // Generic cache for rare scenario specific data. It is used to cache Enum names and values.
1659internal Object GenericCache
1792if (Object.ReferenceEquals(attrs[i].Constructor.DeclaringType, DefaultMemberAttrType))
2133internal Object GenericCache
2418bool isInherited = !Object.ReferenceEquals(memberInfo.DeclaringType, memberInfo.ReflectedType);
2631if ((object)argumentTypes[i] != null && !Object.ReferenceEquals(parameterInfos[i].ParameterType, argumentTypes[i]))
2715private static readonly RuntimeType ObjectType = (RuntimeType)typeof(System.Object);
3372if (Object.ReferenceEquals(fieldInfo.DeclaringType, match.DeclaringType))
3670public override bool IsInstanceOfType(Object o)
3715if (Object.ReferenceEquals(c, this))
4090Object val = Enum.ToObject(this, values[i]);
4360static private extern Object AllocateValueType(RuntimeType type, object value, bool fForceTypeChange);
4363internal unsafe Object CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
4391if (!Object.ReferenceEquals(type, this) && RuntimeTypeHandle.IsValueType(this))
4450private Object TryChangeType(Object value, Binder binder, CultureInfo culture, bool needsSpecialCast)
4512public override Object InvokeMember(
4513String name, BindingFlags bindingFlags, Binder binder, Object target,
4514Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
4703if (selFld.FieldType.IsArray || Object.ReferenceEquals(selFld.FieldType, typeof(System.Array)))
4945providedArgs = EmptyArray<Object>.Value;
4947Object state = null;
4961Object result = ((MethodInfo)invokeMethod).Invoke(target, bindingFlags, binder, providedArgs, culture);
5008public Object Clone()
5028public override Object[] GetCustomAttributes(bool inherit)
5034public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
5171if (Object.ReferenceEquals(elementType, typeof(ArgIterator)))
5174if (Object.ReferenceEquals(elementType, typeof(void)))
5179internal Object CreateInstanceImpl(
5180BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, ref StackCrawlMark stackMark)
5184Object server = null;
5202args = EmptyArray<Object>.Value;
5257Object state = null;
5396ConstructorInfo ctorInfo = typeof(CtorDelegate).GetConstructor(new Type[] {typeof(Object), typeof(IntPtr)});
5412CtorDelegate ctor = (CtorDelegate)delegateCtorInfo.Invoke(new Object[] { null, RuntimeMethodHandle.GetFunctionPointer(ace.m_hCtorMethodHandle) });
5448internal Object CreateInstanceSlow(bool publicOnly, bool skipCheckThis, bool fillCache, ref StackCrawlMark stackMark)
5476Object instance = RuntimeTypeHandle.CreateInstance(this, publicOnly, bSecurityCheckOff, ref bCanBeCached, ref runtime_ctor, ref bNeedSecurityCheck);
5501internal Object CreateInstanceDefaultCtor(bool publicOnly, bool skipCheckThis, bool fillCache, ref StackCrawlMark stackMark)
5522Object instance = RuntimeTypeHandle.Allocate(this);
5565private static extern Object _CreateEnum(RuntimeType enumType, long value);
5567internal static Object CreateEnum(RuntimeType enumType, long value)
5576private extern Object InvokeDispMethod(
5577String name, BindingFlags invokeAttr, Object target, Object[] args,
5608private Object ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, int[] aWrapperTypes, ref MessageData msgData)
5611Object ret = null;
5619Object[] aArgs = reqMsg.Args;
5644if (Object.ReferenceEquals(meth.ReturnType, typeof(void)))
5667if (!Object.ReferenceEquals(paramType, aArgs[i].GetType()))
5677if (!Object.ReferenceEquals(retType, ret.GetType()))
5689private void WrapArgsForInvokeCall(Object[] aArgs, int[] aWrapperTypes)
5729Object[] newArray = (Object[])Array.UnsafeCreateInstance(wrapperType, numElems);
5739wrapperCons = wrapperType.GetConstructor(new Type[] {typeof(Object)});
5747newArray[currElem] = wrapperCons.Invoke(new Object[] {(String)oldArray.GetValue(currElem)});
5751newArray[currElem] = wrapperCons.Invoke(new Object[] {oldArray.GetValue(currElem)});
system\runtime\interopservices\ComTypes\itypeinfo2.cs (8)
33new void Invoke([MarshalAs(UnmanagedType.IUnknown)] Object pvInstance, int memid, Int16 wFlags, ref DISPPARAMS pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, out int puArgErr);
38new void CreateInstance([MarshalAs(UnmanagedType.IUnknown)] Object pUnkOuter, [In] ref Guid riid, [MarshalAs(UnmanagedType.IUnknown), Out] out Object ppvObj);
51void GetCustData(ref Guid guid, out Object pVarVal);
52void GetFuncCustData(int index, ref Guid guid, out Object pVarVal);
53void GetParamCustData(int indexFunc, int indexParam, ref Guid guid, out Object pVarVal);
54void GetVarCustData(int index, ref Guid guid, out Object pVarVal);
55void GetImplTypeCustData(int index, ref Guid guid, out Object pVarVal);
system\runtime\interopservices\marshal.cs (65)
198public static int SizeOf(Object structure)
367private static extern void CopyToNative(Object source, int startIndex, IntPtr destination, int length);
414private static extern void CopyToManaged(IntPtr source, Object destination, int startIndex, int length);
423public static extern byte ReadByte([MarshalAs(UnmanagedType.AsAny), In] Object ptr, int ofs);
451public static extern short ReadInt16([MarshalAs(UnmanagedType.AsAny),In] Object ptr, int ofs);
492public static extern int ReadInt32([MarshalAs(UnmanagedType.AsAny),In] Object ptr, int ofs);
535public static IntPtr ReadIntPtr([MarshalAs(UnmanagedType.AsAny),In] Object ptr, int ofs)
570public static extern long ReadInt64([MarshalAs(UnmanagedType.AsAny),In] Object ptr, int ofs);
638public static extern void WriteByte([MarshalAs(UnmanagedType.AsAny),In,Out] Object ptr, int ofs, byte val);
677public static extern void WriteInt16([MarshalAs(UnmanagedType.AsAny),In,Out] Object ptr, int ofs, short val);
692public static void WriteInt16([In,Out]Object ptr, int ofs, char val)
736public static extern void WriteInt32([MarshalAs(UnmanagedType.AsAny),In,Out] Object ptr, int ofs, int val);
755public static void WriteIntPtr([MarshalAs(UnmanagedType.AsAny),In,Out] Object ptr, int ofs, IntPtr val)
811public static extern void WriteInt64([MarshalAs(UnmanagedType.AsAny),In,Out] Object ptr, int ofs, long val);
942public static extern void StructureToPtr(Object structure, IntPtr ptr, bool fDeleteOld);
955public static void PtrToStructure(IntPtr ptr, Object structure)
973public static Object PtrToStructure(IntPtr ptr, Type structureType)
990Object structure = rt.CreateInstanceDefaultCtor(false /*publicOnly*/, false /*skipCheckThis*/, false /*fillCache*/, ref stackMark);
1006private static extern void PtrToStructureHelper(IntPtr ptr, Object structure, bool allowValueClasses);
1666TypeObj = typeof(Object);
1697public static IntPtr /* IUnknown* */ GetIUnknownForObject(Object o)
1703public static IntPtr /* IUnknown* */ GetIUnknownForObjectInContext(Object o)
1710private static extern IntPtr /* IUnknown* */ GetIUnknownForObjectNative(Object o, bool onlyInContext);
1719internal static extern IntPtr /* IUnknown* */ GetRawIUnknownForComObjectNoAddRef(Object o);
1725public static IntPtr /* IDispatch */ GetIDispatchForObject(Object o)
1736public static IntPtr /* IUnknown* */ GetIDispatchForObjectInContext(Object o)
1743private static extern IntPtr /* IUnknown* */ GetIDispatchForObjectNative(Object o, bool onlyInContext);
1750public static IntPtr /* IUnknown* */ GetComInterfaceForObject(Object o, Type T)
1767public static IntPtr /* IUnknown* */ GetComInterfaceForObject(Object o, Type T, CustomQueryInterfaceMode mode)
1780public static IntPtr /* IUnknown* */ GetComInterfaceForObjectInContext(Object o, Type t)
1787private static extern IntPtr /* IUnknown* */ GetComInterfaceForObjectNative(Object o, Type t, bool onlyInContext, bool fEnalbeCustomizedQueryInterface);
1795public static extern Object GetObjectForIUnknown(IntPtr /* IUnknown* */ pUnk);
1807public static extern Object GetUniqueObjectForIUnknown(IntPtr unknown);
1818public static extern Object GetTypedObjectForIUnknown(IntPtr /* IUnknown* */ pUnk, Type t);
1823public static extern IntPtr CreateAggregatedObject(IntPtr pOuter, Object o);
1849public static extern bool IsComObject(Object o);
1958public static int ReleaseComObject(Object o)
1977internal static extern int InternalReleaseComObject(Object o);
1985public static Int32 FinalReleaseComObject(Object o)
2010internal static extern void InternalFinalReleaseComObject(Object o);
2016public static Object GetComObjectData(Object obj, Object key)
2053public static bool SetComObjectData(Object obj, Object key, Object data)
2088public static Object CreateWrapperOfType(Object o, Type t)
2117Object Wrapper = GetComObjectData(o, t);
2146private static extern Object InternalCreateWrapperOfType(Object o, Type t);
2222public static extern void GetNativeVariantForObject(Object obj, /* VARIANT * */ IntPtr pDstNativeVariant);
2233public static extern Object GetObjectForNativeVariant(/* VARIANT * */ IntPtr pSrcNativeVariant );
2244public static extern Object[] GetObjectsForNativeVariants(/* VARIANT * */ IntPtr aSrcNativeVariant, int cVars );
2386public static Object BindToMoniker(String monikerName)
2388Object obj = null;
2404public static Object GetActiveObject(String progID)
2406Object obj = null;
2453private static extern void BindMoniker(IMoniker pmk, UInt32 grfOpt, ref Guid iidResult, [MarshalAs(UnmanagedType.Interface)] out Object ppvResult);
2459private static extern void GetActiveObject(ref Guid rclsid, IntPtr reserved, [MarshalAs(UnmanagedType.Interface)] out Object ppunk);
2466internal static extern bool InternalSwitchCCW(Object oldtp, Object newtp);
2470internal static extern Object InternalWrapIUnknownWithComObject(IntPtr i);
2489public static extern void ChangeWrapperHandleStrength(Object otp, bool fIsWeak);
2758public Assembly ResolveRef(Object TypeLib)
system\runtime\interopservices\typelibconverter.cs (24)
59public AssemblyBuilder ConvertTypeLibToAssembly([MarshalAs(UnmanagedType.Interface)] Object typeLib,
86public AssemblyBuilder ConvertTypeLibToAssembly([MarshalAs(UnmanagedType.Interface)] Object typeLib,
169public Object ConvertAssemblyToTypeLib(Assembly assembly, String strTypeLibName, TypeLibExporterFlags flags, ITypeLibExporterNotifySink notifySink)
230private static AssemblyBuilder CreateAssemblyForTypeLib(Object typeLib, String asmFileName, AssemblyName asmName, bool bPrimaryInteropAssembly, bool bReflectionOnly, bool bNoDefineVersionResource)
294internal static AssemblyName GetAssemblyNameFromTypelib(Object typeLib, String asmFileName, byte[] publicKey, StrongNameKeyPair keyPair, Version asmVersion, AssemblyNameFlags asmNameFlags)
367private static void SetGuidAttributeOnAssembly(AssemblyBuilder asmBldr, Object typeLib)
374Object[] aArgs = new Object[1] {Marshal.GetTypeLibGuid((ITypeLib)typeLib).ToString()};
382private static void SetImportedFromTypeLibAttrOnAssembly(AssemblyBuilder asmBldr, Object typeLib)
392Object[] aArgs = new Object[1] {strTypeLibName};
400private static void SetTypeLibVersionAttribute(AssemblyBuilder asmBldr, Object typeLib)
411Object[] aArgs = new Object[2] {major, minor};
419private static void SetVersionInformation(AssemblyBuilder asmBldr, Object typeLib, AssemblyName asmName)
440private static void SetPIAAttributeOnAssembly(AssemblyBuilder asmBldr, Object typeLib)
468Object[] aArgs = new Object[2] {Major, Minor};
483private static extern void nConvertTypeLibToMetadata(Object typeLib, RuntimeAssembly asmBldr, RuntimeModule modBldr, String nameSpace, TypeLibImporterFlags flags, ITypeLibImporterNotifySink notifySink, out ArrayList eventItfInfoList);
489private static extern Object nConvertAssemblyToTypeLib(RuntimeAssembly assembly, String strTypeLibName, TypeLibExporterFlags flags, ITypeLibExporterNotifySink notifySink);
513public Assembly ResolveRef(Object typeLib)
546public Assembly ResolveEvent(Object sender, ResolveEventArgs args)
579public Assembly ResolveAsmEvent(Object sender, ResolveEventArgs args)
590public Assembly ResolveROAsmEvent(Object sender, ResolveEventArgs args)
system\runtime\remoting\activationservices.cs (48)
48internal static readonly Assembly s_MscorlibAssembly = typeof(Object).Assembly;
88Object configLock = remData.ConfigLock;
158RuntimeType serverType, Object[] props, bool bNewObj)
174if (Object.ReferenceEquals(pa, DefaultProxyAttribute))
203RuntimeType serverType, Object[] props, bool bNewObj)
237private static bool IsCurrentContextOK(RuntimeType serverType, Object[] props,
241Object[] callSiteAttr = PeekActivationAttributes(serverType);
249Object[] womAttr = new Object[1];
253Object[] typeAttr = GetContextAttributesForType(serverType);
313Context ctx, IConstructionCallMessage ctorMsg, Object[] attributes)
350IConstructionCallMessage ctorMsg, Object[] attributes)
411Object[] ca = Attribute.GetCustomAttributes(
700Object[] args = new Object[] { reqMsg };
716internal static Object DoCrossContextActivationCallback(Object[] args)
762Object serverObj = ActivateWithMessage(
777Object serverObj,
808internal static Object ActivateWithMessage(
812Object server = null;
818Object proxyForObject = null;
892Object configLock = remData.ConfigLock;
976Object[] currAttr = null;
1034internal static Object ConnectIfNecessary(IConstructionCallMessage ctorMsg)
1042Object proxy = null;
1061internal static Object CheckIfConnected(
1068Object tp = null;
1074tp = (Object)proxy.GetTransparentProxy();
1080internal static void PushActivationAttributes(Type serverType, Object[] attributes)
1090internal static Object[] PeekActivationAttributes(Type serverType)
1167Object[] callsiteAttributes = ctorMsg.CallSiteActivationAttributes;
1339Object[] attr = null;
1346attr = new Object[1];
1353Object[] args = Message.CoerceArgs(ctorMsg, methodCache.Parameters);
1355Object server = Activator.CreateInstance(
1438public override Object InitializeLifetimeService()
1728Object[] activationTypes;
1729Object[] activationAttributes;
1733activationTypes = new Object[4];
1734activationAttributes = new Object[4];
1738internal void Push(Type typ, Object[] attr)
1746Object[] newTypes = new Object[activationTypes.Length * 2];
1747Object[] newAttr = new Object[activationAttributes.Length * 2];
1759internal Object[] Peek(Type typ)
1766return (Object[])activationAttributes[freeIndex-1];
system\runtime\remoting\channelsinkstacks.cs (28)
38void Push(IClientChannelSink sink, Object state);
42Object Pop(IClientChannelSink sink);
75public Object State;
96public void Push(IClientChannelSink sink, Object state)
108public Object Pop(IClientChannelSink sink)
131Object state = _stack.State;
153Object state = _stack.State;
192void Push(IServerChannelSink sink, Object state);
196Object Pop(IServerChannelSink sink);
206void Store(IServerChannelSink sink, Object state);
213void StoreAndDispatch(IServerChannelSink sink, Object state);
246public Object State;
255private Object _serverObject = null;
260public void Push(IServerChannelSink sink, Object state)
271public Object Pop(IServerChannelSink sink)
294Object state = _stack.State;
302public void Store(IServerChannelSink sink, Object state)
336public void StoreAndDispatch(IServerChannelSink sink, Object state)
375Object state = _stack.State;
394Object savedState = _stack.State;
406internal Object ServerObject { set { _serverObject = value; } }
423Object[] parameters = new Object[paramList.Length];
426Object[] syncMsgArgs = _msg.Args;
431Object[] outArgs;
434Object returnValue =
460internal static void GetOutArgs(ParameterInfo[] syncParams, Object[] syncArgs,
461Object[] endArgs)
system\runtime\remoting\ichannel.cs (37)
46IMessageSink CreateMessageSink(String url, Object remoteChannelData, out String objectURI);
52Object ChannelData
60void StartListening(Object data);
62void StopListening(Object data);
96IClientChannelSink CreateSink(IChannelSender channel, String url, Object remoteChannelData);
173void AsyncProcessResponse(IClientResponseChannelSinkStack sinkStack, Object state,
230void AsyncProcessResponse(IServerResponseChannelSinkStack sinkStack, Object state,
239Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, Object state,
289Object this[Object key]
338public Object this[Object key]
385Object this[Object key]
421public Object this[Object key]
611public virtual Object this[Object key]
635foreach (Object key in keys)
645public virtual bool Contains(Object key)
656foreach (Object someKey in keySet)
693public virtual void Add(Object key, Object value) { throw new NotSupportedException(); }
697public virtual void Remove(Object key) { throw new NotSupportedException(); }
732public virtual Object SyncRoot
773public Object Current { get { return Entry; } }
777public Object Key { get { return _keyEnum.Current; } }
778public Object Value { get { return _properties[Key]; } }
798public virtual Object this[Object key]
832foreach (Object key in dictKeys)
854foreach (Object value in dictValues)
865public virtual bool Contains(Object key)
882public virtual void Add(Object key, Object value) { throw new NotSupportedException(); }
884public virtual void Remove(Object key) { throw new NotSupportedException(); }
919public virtual Object SyncRoot { get { return this; } }
system\runtime\remoting\message.cs (160)
72private Object _properties; // hash table for properities
116out Object state);
121public extern Object GetThisPtr();
136public extern Object GetReturnValue();
291public Object GetArg(int argNum)
320public Object[] Args
340public Object GetInArg(int argNum)
353public Object[] InArgs
394public Object MethodSignature
493internal static Object[] CoerceArgs(IMethodMessage m)
504internal static Object[] CoerceArgs(IMethodMessage m, ParameterInfo[] pi)
510internal static Object[] CoerceArgs(MethodBase mb, Object[] args, ParameterInfo[] pi)
532Object oArg = args[i];
585internal static Object CoerceArg(Object value, Type pt)
587Object ret = null;
643internal static Object SoapCoerceArg(Object value, Type pt, Hashtable keyToNamespaceTable)
645Object ret = null;
828private extern Object InternalGetArg(int argNum);
833private extern Object[] InternalGetArgs();
838public extern void PropagateOutParameters(Object[] OutArgs, Object retVal);
843public extern bool Dispatch(Object target);
908public ConstructorReturnMessage(MarshalByRefObject o, Object[] outArgs, int outArgsCount,
921public override Object ReturnValue
945Object properties = new CRMDictionary(this, new Hashtable());
952internal Object GetObject()
968private Object[] _callSiteActivationAttributes;
969private Object[] _womGlobalAttributes;
970private Object[] _typeAttributes;
983private Object _properties;
996internal ConstructorCallMessage(Object[] callSiteActivationAttributes,
997Object[]womAttr, Object[] typeAttr, RuntimeType serverType)
1007public Object GetThisPtr()
1021public Object[] CallSiteActivationAttributes
1031internal Object[] GetWOMAttributes()
1036internal Object[] GetTypeAttributes()
1144public Object MethodSignature
1194public Object GetInArg(int argNum)
1209public Object[] InArgs
1239public Object GetArg(int argNum)
1286public Object[] Args
1311Object properties = new CCMDictionary(this, new Hashtable());
1419internal override Object GetMessageValue(int i)
1476internal override void SetSpecialKey(int keyNum, Object value)
1531internal override Object GetMessageValue(int i)
1580internal override void SetSpecialKey(int keyNum, Object value)
1662internal override Object GetMessageValue(int i)
1711internal override void SetSpecialKey(int keyNum, Object value)
1784internal override Object GetMessageValue(int i)
1852internal override void SetSpecialKey(int keyNum, Object value)
1945internal abstract Object GetMessageValue(int i);
1948internal abstract void SetSpecialKey(int keyNum, Object value);
1954public virtual Object SyncRoot { get { return this; } }
1957public virtual bool Contains(Object key)
1970protected virtual bool ContainsSpecialKey(Object key)
2000public virtual Object this[Object key]
2064public virtual void Add(Object key, Object value)
2093public virtual void Remove(Object key)
2207public Object Key {
2234public Object Value {
2294public Object Current {
2371public Object MethodSignature
2396public Object GetArg(int argNum) {return _m.GetArg(argNum);}
2399public Object[] Args
2429public Object GetOutArg(int argNum)
2441public Object[] OutArgs
2457public Object ReturnValue
2533internal Object _ret;
2534internal Object _properties;
2537internal Object[] _outArgs;
2548public ReturnMessage(Object ret, Object[] outArgs, int outArgsCount, LogicalCallContext callCtx,
2603public Object MethodSignature
2648public Object GetArg(int argNum)
2697public Object[] Args
2704return new Object[_outArgsCount];
2721public Object GetOutArg(int argNum)
2733public Object[] OutArgs
2748public virtual Object ReturnValue
2796Object oIsCustomErrorEnabled = CallContext.GetData("__CustomErrorsEnabled");
2826private Object[] args;
2918internal MethodCall(Object handlerObject, BinaryMethodCallMessage smuggledMsg)
3419argValues.Add(info.GetValue((String)argNames[i], typeof(Object)));
3456Object fUnordered = (null == InternalProperties ? null : InternalProperties["__UnorderedParams"]);
3459args = new Object[pinfos.Length];
3504args[position] = Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[position].ParameterType, keyToNamespaceTable);
3513Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[marshalRequestArgMap[i]].ParameterType, keyToNamespaceTable);
3561public Object GetArg(int argNum)
3577public Object[] Args
3600public Object GetInArg(int argNum)
3614public Object[] InArgs
3637public Object MethodSignature
3812internal virtual bool FillSpecialHeader(String key, Object value)
3836args = (Object[]) value;
3856internal void FillHeader(String key, Object value)
3873public virtual Object HeaderHandler(Header[] h)
3925internal Object[] _callSiteActivationAttributes;
3965internal override bool FillSpecialHeader(String key, Object value)
3982_callSiteActivationAttributes = (Object[]) value;
4006public Object[] CallSiteActivationAttributes
4104private Object retVal;
4106private Object[] outArgs;
4186Object handlerObject,
4237public virtual Object HeaderHandler(Header[] h)
4399Object[] args = {serverFault.ExceptionMessage};
4430Object returnValue = info.GetValue((String)paramNames[0], typeof(Object));
4441Object fUnordered = (InternalProperties == null) ? null : InternalProperties["__UnorderedParams"];
4488outArgs = new Object[argCount];
4490outArgs[position]= Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[position].ParameterType, keyToNamespaceTable);
4502outArgs = new Object[argCount];
4506outArgs[position] = Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[position].ParameterType, keyToNamespaceTable);
4552public Object MethodSignature
4590public Object GetArg(int argNum) { return outArgs[argNum]; }
4608public Object[] Args
4627public Object GetOutArg(int argNum)
4641public Object[] OutArgs
4658public Object ReturnValue
4742internal void FillHeader(String name, Object value)
4766outArgs = (Object[]) value;
5278internal Object GetArg(int argNum)
5308internal Object[] Args
5319Object[] ret = new Object[_map.Length];
5508internal static Object[] ExpandAsyncEndArgsToSyncArgs(RemotingMethodCachedData syncMethod,
5509Object[] asyncEndArgs)
5514Object[] args = new Object[syncMethod.Parameters.Length];
5557public Object MethodSignature
5578public Object GetArg(int argNum) { return null;}
5579public Object[] Args
5601public Object GetInArg(int argNum) { return null;}
5602public Object[] InArgs
5616Object m_MethodSignature = null;
5644internal Object GetIdentityObject()
5666internal Object GetServerIdentityObject()
5714public override Object this[Object key]
5758Object[] _args;
5798public virtual Object MethodSignature
5833public virtual Object GetArg(int argNum) { return _args[argNum]; }
5835public virtual Object[] Args
5869public virtual Object GetInArg(int argNum)
5884public virtual Object[] InArgs
5936public override Object this[Object key]
5982Object[] _args = null;
5983Object _returnValue = null;
6028public virtual Object MethodSignature
6064public virtual Object GetArg(int argNum) { return _args[argNum]; }
6066public virtual Object[] Args
6100public virtual Object GetOutArg(int argNum)
6115public virtual Object[] OutArgs
6134public virtual Object ReturnValue
system\runtime\remoting\remotingservices.cs (74)
68private static readonly Object s_delayLoadChannelLock = new Object();
78public static extern bool IsTransparentProxy(Object proxy);
87public static bool IsObjectOutOfContext(Object tp)
111public static bool IsObjectOutOfAppDomain(Object tp)
117internal static bool IsClientProxy(Object obj)
145internal static bool IsObjectOutOfProcess(Object tp)
182public static extern RealProxy GetRealProxy(Object proxy);
192internal static extern Object CreateTransparentProxy(
196Object stubData);
205internal static Object CreateTransparentProxy(
209Object stubData)
243internal static extern void CallDefaultCtor(Object o);
303Object configLock = Thread.GetDomain().RemotingData.ConfigLock;
356public static Object GetLifetimeService(MarshalByRefObject obj)
610Object[] channelData = ChannelServices.CurrentChannelData;
618Object[] newChannelData = new Object[channelDataLength];
811public static void GetObjectData(Object obj, SerializationInfo info, StreamingContext context)
832public static Object Unmarshal(ObjRef objectRef)
838public static Object Unmarshal(ObjRef objectRef, bool fRefine)
846public static Object Connect(Type classToProxy, String url)
853public static Object Connect(Type classToProxy, String url, Object data)
957internal static Object Unmarshal(Type classToProxy, String url)
964internal static Object Unmarshal(Type classToProxy, String url, Object data)
988Object proxy = null;
1054internal static Object Wrap(ContextBoundObject obj)
1060internal static Object Wrap(ContextBoundObject obj, Object proxy, bool fCreateSinks)
1157internal static extern Object Unwrap(ContextBoundObject obj);
1161internal static extern Object AlwaysUnwrap(ContextBoundObject obj);
1168internal static Object InternalUnmarshal(
1170Object proxy,
1173Object obj = null;
1324private static Object GetOrCreateProxy(
1325Identity idObj, Object proxy, bool fRefine)
1426private static Object GetOrCreateProxy(Type classToProxy, Identity idObj)
1430Object proxy = idObj.TPOrObject;
1479Identity idObj, Type classToProxy, Object proxy)
1538private static bool AreChannelDataElementsNull(Object[] channelData)
1540foreach(Object o in channelData)
1579Object[] channelData = objectRef.ChannelInfo.ChannelData;
1617foreach (Object data in channelData)
1646Object data,
1661private static String CreateChannelSink(String url, Object data, out IMessageSink chnlSink)
1736if (castType == typeof(Object))
1801internal static extern Object CheckCast(Object objToExpand, RuntimeType type);
1804internal static GCHandle CreateDelegateInvocation(WaitCallback waitDelegate, Object state)
1806Object[] delegateCallToken = new Object[2];
1819internal static Object CreateProxyForDomain(int appDomainId, IntPtr defCtxID)
1832internal static Object CreateDataForDomainCallback(Object[] args)
1996s_FieldGetterMB = typeof(Object).GetMethod(FieldGetterName,RemotingServices.LookupAll);
1999s_FieldSetterMB = typeof(Object).GetMethod(FieldSetterName, RemotingServices.LookupAll);
2082beginParameters.Add(typeof(Object));
2128foreach (Object obj in params1)
2200internal static IntPtr GetServerContextForProxy(Object tp)
2216internal static int GetServerDomainIdForProxy(Object tp)
2227internal static void GetServerContextAndDomainIdForProxy(Object tp,
2247Object tp, out ObjRef objRef, out bool bSameDomain, out int domainId)
2346private static Object GetType(Object tp)
2371internal static byte[] MarshalToBuffer(Object o, bool crossRuntime)
2418internal static Object UnmarshalFromBuffer(byte [] b, bool crossRuntime)
2425Object o = fmt.Deserialize(stm, null, false /* No Security check */);
2451internal static Object UnmarshalReturnMessageFromBuffer(byte [] b, IMethodCallMessage msg)
2457Object o = fmt.DeserializeMethodResponse(stm, null, (IMethodCallMessage)msg);
2750internal static extern void ResetInterfaceCache(Object proxy);
2771public static void RemotingTrace(params Object[]messages)
2786public static void SetServerIdentity(MethodCall m, Object srvID)
2842public static SoapAttribute GetCachedSoapAttribute(Object reflectionObject)
system\runtime\remoting\remotingsurrogateselector.cs (22)
26public delegate bool MessageSurrogateFilter(String key, Object value);
39private Object _rootObj = null;
57public void SetRootObject(Object obj)
72public Object GetRootObject()
136public virtual void GetObjectData(Object obj, SerializationInfo info, StreamingContext context)
168public virtual Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
179public virtual void GetObjectData(Object obj, SerializationInfo info, StreamingContext context)
202public virtual Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
218Object _rootObj = null;
228internal void SetRootObject(Object obj)
266public virtual void GetObjectData(Object obj, SerializationInfo info, StreamingContext context)
298Object[] args = mapper.Args;
327Object oClientIsClr = CallContext.GetData("__ClientIsClr");
371Object[] args = mcm.InArgs;
406public virtual Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
421private static Type _objectType = typeof(Object);
440public virtual void GetObjectData(Object obj, SerializationInfo info, StreamingContext context)
543public virtual Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
system\runtime\remoting\stackbuildersink.cs (24)
46public StackBuilderSink(Object server)
76Object server = _server;
134Object[] outArgs = null;
135Object ret = null;
142Object[] args = Message.CoerceArgs(mcMsg, methodCache.Parameters);
209Object server = _server;
234Object[] outArgs = null;
235Object ret = null;
238Object[] args = Message.CoerceArgs(mcMsg, methodCache.Parameters);
315internal bool IsOKToStackBlt(IMethodMessage mcMsg, Object server)
365private static void VerifyIsOkToCallMethod(Object server, IMethodMessage msg)
453Object[] args,
454ref Object[] marshalResponseArgs)
460marshalResponseArgs = new Object[methodCache.Parameters.Length];
497internal Object ServerObject
515private extern Object _PrivateProcessMessage(
516IntPtr md, Object[] args, Object server,
517out Object[] outArgs);
519public Object PrivateProcessMessage(
520RuntimeMethodHandle md, Object[] args, Object server,
521out Object[] outArgs)
526private Object _server; // target object
system\runtime\serialization\formatter.cs (10)
46public abstract Object Deserialize(Stream serializationStream);
52protected virtual Object GetNext(out long objID) {
60Object obj = m_objectQueue.Dequeue();
72protected virtual long Schedule(Object obj) {
89public abstract void Serialize(Stream serializationStream, Object graph);
92protected abstract void WriteArray(Object obj, String name, Type memberType);
124protected abstract void WriteObjectRef(Object obj, String name, Type memberType);
128protected virtual void WriteMember(String memberName, Object data) {
133WriteObjectRef(data, memberName, typeof(Object));
205protected abstract void WriteValueType(Object obj, String name, Type memberType);
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (75)
38internal static BinaryTypeEnum GetBinaryTypeInfo(Type type, WriteObjectInfo objectInfo, String typeName, ObjectWriter objectWriter, out Object typeInformation, out int assemId)
46if (Object.ReferenceEquals(type, Converter.typeofString))
49&& (Object.ReferenceEquals(type, Converter.typeofObject)))
54else if (Object.ReferenceEquals(type, Converter.typeofStringArray))
56else if (Object.ReferenceEquals(type, Converter.typeofObjectArray))
105internal static BinaryTypeEnum GetParserBinaryTypeInfo(Type type, out Object typeInformation)
111if (Object.ReferenceEquals(type, Converter.typeofString))
113else if (Object.ReferenceEquals(type, Converter.typeofObject))
115else if (Object.ReferenceEquals(type, Converter.typeofObjectArray))
117else if (Object.ReferenceEquals(type, Converter.typeofStringArray))
146internal static void WriteTypeInfo(BinaryTypeEnum binaryTypeEnum, Object typeInformation, int assemId, __BinaryWriter sout)
178internal static Object ReadTypeInfo(BinaryTypeEnum binaryTypeEnum, __BinaryParser input, out int assemId)
181Object var = null;
213Object typeInformation,
263if (Object.ReferenceEquals(type, Converter.typeofObject))
317internal static void WriteWithCode(Type type, Object value, __BinaryWriter sout)
321else if (Object.ReferenceEquals(type, Converter.typeofString))
331internal static Object ReadWithCode(__BinaryParser input)
342internal static Object[] ReadArgs(__BinaryParser input)
345Object[] args = new Object[length];
365public static void NVTraceI(String name, Object value)
646Object[] args;
647Object methodSignature;
648Object callContext;
650Object properties;
654Object[] callA;
658internal Object[] WriteArray(String uri, String methodName, String typeName, Type[] instArgs, Object[] args, Object methodSignature, Object callContext, Object[] properties)
683if (!(isArgPrimitive || Object.ReferenceEquals(argTypes[i], Converter.typeofString)) || args[i] is ISerializable)
741callA = new Object[arraySize];
807internal IMethodCallMessage ReadArray(Object[] callA, Object handlerObject)
826args = (Object[])callA[arrayPosition++];
858return new MethodCall(handlerObject, new BinaryMethodCallMessage(uri, methodName, typeName, instArgs, args, methodSignature, (LogicalCallContext)callContext, (Object[])properties));
901Object returnValue;
902Object[] args;
904Object callContext;
906Object properties;
910Object[] callA;
912static Object instanceOfVoid = FormatterServices.GetUninitializedObject(Converter.typeofSystemVoid);
925internal Object[] WriteArray(Object returnValue, Object[] args, Exception exception, Object callContext, Object[] properties)
951if (!(isArgPrimitive || Object.ReferenceEquals(argTypes[i], Converter.typeofString)))
977if (isReturnTypePrimitive || Object.ReferenceEquals(returnType, Converter.typeofString))
1018callA = new Object[arraySize];
1093internal IMethodReturnMessage ReadArray(Object[] returnA, IMethodCallMessage methodCallMessage, Object handlerObject)
1107args = (Object[])returnA[arrayPosition++];
1138return new MethodResponse(methodCallMessage, handlerObject, new BinaryMethodReturnMessage(returnValue, args, exception, (LogicalCallContext)callContext, (Object[])properties));
1316internal Object value;
1322internal void Set(InternalPrimitiveTypeE primitiveTypeEnum, Object value)
1466internal Object[] typeInformationA;
1499internal void Set(Int32 objectId, String name, Int32 numMembers, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, Int32 assemId)
1547typeInformationA = new Object[numMembers];
1619internal Object typeInformation;
1638internal void Set(Int32 objectId, Int32 rank, Int32[] lengthA, Int32[] lowerBoundA, BinaryTypeEnum binaryTypeEnum, Object typeInformation, BinaryArrayTypeEnum binaryArrayTypeEnum, int assemId)
1833internal Object value;
1839internal void Set(InternalPrimitiveTypeE typeInformation, Object value)
2075internal Object[] typeInformationA;
2099typeInformationA = new Object[memberTypes.Length];
2103Object typeInformation = null;
2111internal ObjectMap(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
2148internal ReadObjectInfo CreateObjectInfo(ref SerializationInfo si, ref Object[] memberData)
2174internal static ObjectMap Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
2194internal Object expectedTypeInformation = null;
2205internal Object typeInformation;
2214internal Object[] typeInformationA;
2274internal bool GetNext(out BinaryTypeEnum outBinaryTypeEnum, out Object outTypeInformation)
system\runtime\serialization\formatters\binary\binaryconverter.cs (21)
47if (Object.ReferenceEquals(type, typeofDateTime))
49else if (Object.ReferenceEquals(type, typeofTimeSpan))
51else if (Object.ReferenceEquals(type, typeofDecimal))
174if (Object.ReferenceEquals(type, typeofString))
331internal static bool IsPrimitiveArray(Type type, out Object typeInformation)
336if (Object.ReferenceEquals(type, typeofBooleanArray))
338else if (Object.ReferenceEquals(type, typeofByteArray))
340else if (Object.ReferenceEquals(type, typeofCharArray))
342else if (Object.ReferenceEquals(type, typeofDoubleArray))
344else if (Object.ReferenceEquals(type, typeofInt16Array))
346else if (Object.ReferenceEquals(type, typeofInt32Array))
348else if (Object.ReferenceEquals(type, typeofInt64Array))
350else if (Object.ReferenceEquals(type, typeofSByteArray))
352else if (Object.ReferenceEquals(type, typeofSingleArray))
354else if (Object.ReferenceEquals(type, typeofUInt16Array))
356else if (Object.ReferenceEquals(type, typeofUInt32Array))
358else if (Object.ReferenceEquals(type, typeofUInt64Array))
475internal static Object FromString(String value, InternalPrimitiveTypeE code)
477Object var;
507internal static Type typeofObject = typeof(Object);
515internal static Type typeofObjectArray = typeof(System.Object[]);
system\runtime\serialization\formatters\binary\binaryformatter.cs (12)
52internal Object[] m_crossAppDomainArray = null;
111public Object Deserialize(Stream serializationStream)
117internal Object Deserialize(Stream serializationStream, HeaderHandler handler, bool fCheck)
150public Object Deserialize(Stream serializationStream, HeaderHandler handler) {
156public Object DeserializeMethodResponse(Stream serializationStream, HeaderHandler handler, IMethodCallMessage methodCallMessage) {
162public Object UnsafeDeserialize(Stream serializationStream, HeaderHandler handler) {
169public Object UnsafeDeserializeMethodResponse(Stream serializationStream, HeaderHandler handler, IMethodCallMessage methodCallMessage) {
174internal Object Deserialize(Stream serializationStream, HeaderHandler handler, bool fCheck, IMethodCallMessage methodCallMessage) {
180internal Object Deserialize(Stream serializationStream, HeaderHandler handler, bool fCheck, bool isCrossAppDomain, IMethodCallMessage methodCallMessage) {
203public void Serialize(Stream serializationStream, Object graph)
211public void Serialize(Stream serializationStream, Object graph, Header[] headers)
219internal void Serialize(Stream serializationStream, Object graph, Header[] headers, bool fCheck)
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (19)
194internal Object[] WriteCallArray(String uri, String methodName, String typeName, Type[] instArgs, Object[] args, Object methodSignature, Object callContext, Object[] properties)
210internal Object[] WriteReturnArray(Object returnValue, Object[] args, Exception exception, Object callContext, Object[] properties)
292Object[] typeInformationA = new Object[numMembers];
296Object typeInformation = null;
351Object typeInformation = null;
439Object typeInformation = null;
478Object typeInformation = null;
522internal void WriteMember(NameInfo memberNameInfo, NameInfo typeNameInfo, Object value)
648internal void WriteItem(NameInfo itemNameInfo, NameInfo typeNameInfo, Object value)
716internal void WriteValue(InternalPrimitiveTypeE code, Object value)
system\runtime\serialization\formatters\binary\binarymethodmessage.cs (20)
18Object[] _inargs = null;
21Object _methodSignature = null;
24Object[] _args = null;
28Object[] _properties = null;
31internal BinaryMethodCallMessage(String uri, String methodName, String typeName, Type[] instArgs, Object[] args, Object methodSignature, LogicalCallContext callContext, Object[] properties)
37args = new Object[0];
68public Object MethodSignature
73public Object[] Args
103Object[] _outargs = null;
105Object _returnValue = null;
107Object[] _args = null;
111Object[] _properties = null;
114internal BinaryMethodReturnMessage(Object returnValue, Object[] args, Exception e, LogicalCallContext callContext, Object[] properties)
118args = new Object[0];
137public Object ReturnValue
142public Object[] Args
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (16)
42internal Object obj;
57internal Object[] memberData = null;
106internal static WriteObjectInfo Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
116internal void InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
223else if (Object.ReferenceEquals(objectType, Converter.typeofObject))
286memberData = new Object[count];
421internal void GetMemberInfo(out String[] outMemberNames, out Type[] outMemberTypes, out Object[] outMemberData)
593else if (Object.ReferenceEquals(objectType, Converter.typeofObject))
689internal void AddValue(String name, Object value, ref SerializationInfo si, ref Object[] memberData)
707internal void InitDataStore(ref SerializationInfo si, ref Object[] memberData)
717memberData = new Object[cache.memberNames.Length];
742internal void PopulateObjectMembers(Object obj, Object[] memberData)
754private void DumpPopulate(MemberInfo[] memberInfos, Object[] memberData)
856Object [] attrs = cache.memberInfos[i].GetCustomAttributes(typeof(OptionalFieldAttribute), false);
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (32)
49internal Object handlerObject;
50internal Object m_topObject;
63internal Object[] crossAppDomainArray; //Set by the BinaryFormatter
86internal Object TopObject{
144internal Object Deserialize(HeaderHandler handler, __BinaryParser serParser, bool fCheck, bool isCrossAppDomain, IMethodCallMessage methodCallMessage) {
215Object[] methodCallArray = TopObject as Object[];
220Object[] methodReturnArray = TopObject as Object[];
355internal Object CrossAppDomainArray(int index)
504if (Object.ReferenceEquals(pr.PRdtType, Converter.typeofString))
593if (Object.ReferenceEquals(objectPr.PRdtType, Converter.typeofString))
721if (Object.ReferenceEquals(pr.PRarrayElementType, Converter.typeofString))
727else if (Object.ReferenceEquals(pr.PRarrayElementType, Converter.typeofObject))
729pr.PRobjectA = new Object[pr.PRlengthA[0]];
755pr.PRobjectA = (Object[])pr.PRnewObj;
886Object refObj = m_objectManager.GetObject(pr.PRidRef);
947if ((Object.ReferenceEquals(objectPr.PRarrayElementType, Converter.typeofString)) || (Object.ReferenceEquals(pr.PRdtType, Converter.typeofString)))
953objectPr.PRobjectA[objectPr.PRindexMap[0]] = (Object)pr.PRvalue;
955((Array)objectPr.PRnewObj).SetValue((Object)pr.PRvalue, objectPr.PRindexMap);
963Object var = null;
965if (Object.ReferenceEquals(pr.PRdtType, Converter.typeofString))
970else if (Object.ReferenceEquals(pr.PRdtTypeCode, InternalPrimitiveTypeE.Invalid))
1005Object var = null;
1117Object refObj = m_objectManager.GetObject(pr.PRidRef);
1138if (Object.ReferenceEquals(pr.PRdtType, Converter.typeofString))
1152else if (Object.ReferenceEquals(pr.PRdtType, Converter.typeofObject))
1161if (Object.ReferenceEquals(pr.PRdtType, Converter.typeofSystemVoid))
1177Object var = null;
1235private void RegisterObject(Object obj, ParseRecord pr, ParseRecord objectPr)
1241private void RegisterObject(Object obj, ParseRecord pr, ParseRecord objectPr, bool bIsString)
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (51)
55internal Object[] crossAppDomainArray = null;
78internal void Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, bool fCheck)
100Object obj;
206private Object[] WriteMethodCall(IMethodCallMessage mcm)
214Object methodSignature = null;
215Object callContext = null;
216Object[] properties = null;
224Object[] args = mcm.Args;
255private Object[] WriteMethodReturn(IMethodReturnMessage mrm)
257Object returnValue = mrm.ReturnValue;
258Object[] args = mrm.Args;
260Object callContext;
261Object[] properties = null;
288private static Object[] StoreUserPropertiesForMethodMessage(IMethodMessage msg)
353Object obj = objectInfo.obj;
364if (Object.ReferenceEquals(objType, Converter.typeofString))
381Object[] memberData;
417(!Object.ReferenceEquals(type, Converter.typeofString)))
464Object[] memberData,
487if (!Object.ReferenceEquals(objectInfo.objectType, Converter.typeofString))
522if (!Object.ReferenceEquals(objectInfo.objectType, Converter.typeofString))
537Object memberData,
571Object memberData,
586if (Object.ReferenceEquals(memberType, Converter.typeofObject) || (object)Nullable.GetUnderlyingType(memberType) != null)
604Object outObj = memberData;
611if (!Object.ReferenceEquals(memberType, outType))
618if (Object.ReferenceEquals(memberType, Converter.typeofObject))
793if ((Object.ReferenceEquals(arrayElemType, Converter.typeofByte)) && (rank == 1) && (lowerBoundA[0] == 0))
799if (Object.ReferenceEquals(arrayElemType, Converter.typeofObject) || (object)Nullable.GetUnderlyingType(arrayElemType) != null)
822Object[] objectA = null;
826objectA = (Object[])array;
849Object[] objectA = (Object[])array;
894private void WriteArrayMember(WriteObjectInfo objectInfo, NameInfo arrayElemTypeNameInfo, Object data)
915if (!Object.ReferenceEquals(arrayElemTypeNameInfo.NItype, dataType))
938Object obj = data;
940if (Object.ReferenceEquals(arrayElemTypeNameInfo.NItype, Converter.typeofObject))
950if (!Object.ReferenceEquals(arrayElemTypeNameInfo.NItype, Converter.typeofObject) && (object)Nullable.GetUnderlyingType(arrayElemTypeNameInfo.NItype) == null)
1051private Object GetNext(out long objID)
1064Object obj = m_objectQueue.Dequeue();
1065Object realObj = null;
1087Object previousObj = null;
1092private long InternalGetId(Object obj, bool assignUniqueIdToValueType, Type type, out bool isNew)
1122private long Schedule(Object obj, bool assignUniqueIdToValueType, Type type)
1127private long Schedule(Object obj, bool assignUniqueIdToValueType, Type type, WriteObjectInfo objectInfo)
1158private bool WriteKnownValueClass(NameInfo memberNameInfo, NameInfo typeNameInfo, Object data)
1166if (Object.ReferenceEquals(typeNameInfo.NItype, Converter.typeofString))
1205private void WriteString(NameInfo memberNameInfo, NameInfo typeNameInfo, Object stringObject)
1225private bool CheckForNull(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo, Object data)
1323if (Object.ReferenceEquals(previousType, type))
1388private Type GetType(Object obj)
system\runtime\serialization\formatterservices.cs (20)
108if (parentType != null && parentType != (RuntimeType)typeof(Object)) {
232public static Object GetUninitializedObject(Type type) {
246public static Object GetSafeUninitializedObject(Type type) {
256if (Object.ReferenceEquals(type, typeof(System.Runtime.Remoting.Messaging.ConstructionCall)) ||
257Object.ReferenceEquals(type, typeof(System.Runtime.Remoting.Messaging.LogicalCallContext)) ||
258Object.ReferenceEquals(type, typeof(System.Runtime.Remoting.Contexts.SynchronizationAttribute)))
273private static extern Object nativeGetSafeUninitializedObject(RuntimeType type);
278private static extern Object nativeGetUninitializedObject(RuntimeType type);
299internal static void SerializationSetValue(MemberInfo fi, Object target, Object value)
326public static Object PopulateObjectMembers(Object obj, MemberInfo[] members, Object[] data) {
381public static Object[] GetObjectData(Object obj, MemberInfo[] members) {
394Object[] data = new Object[numberOfMembers];
551public void GetObjectData(Object obj, SerializationInfo info, StreamingContext context)
557public Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
system\runtime\serialization\objectmanager.cs (26)
43internal Object m_topObject = null;
84private bool CanCallGetType(Object obj) {
93internal Object TopObject {
211private bool GetCompletionInfo(FixupHolder fixup, out ObjectHolder holder, out Object member, bool bThrowIfMissing) {
295Object tempObject;
352private bool DoValueTypeFixup(FieldInfo memberToFix, ObjectHolder holder, Object value) {
359Object fixupObj=holder.ObjectValue;
496Object fixupInfo=null;
529Object holderValue = tempObjectHolder.ObjectValue;
689public virtual Object GetObject(long objectID) {
711public virtual void RegisterObject(Object obj, long objectID) {
717public void RegisterObject(Object obj, long objectID, SerializationInfo info) {
723public void RegisterObject(Object obj, long objectID, SerializationInfo info, long idOfContainingObj, MemberInfo member) {
740public void RegisterObject(Object obj, long objectID, SerializationInfo info, long idOfContainingObj, MemberInfo member, int[] arrayIndex) {
857internal void CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context) {
1123internal virtual void AddOnDeserialized(Object obj)
1129internal virtual void RaiseOnDeserializedEvent(Object obj)
1135public void RaiseOnDeserializingEvent(Object obj)
1152private Object m_object;
1171internal ObjectHolder(Object obj, long objID, SerializationInfo info,
1333internal void UpdateData(Object obj, SerializationInfo info, ISerializationSurrogate surrogate, long idOfContainer, FieldInfo field, int[] arrayIndex, ObjectManager manager) {
1482internal Object ObjectValue {
1489internal void SetObjectValue(Object obj, ObjectManager manager) {
1572internal Object m_fixupInfo; //This is either an array index, a String, or a MemberInfo
1575internal FixupHolder(long id, Object fixupInfo, int fixupType) {
1601internal virtual void Add(long id, Object fixupInfo) {
system\runtime\serialization\serializationinfo.cs (62)
43internal Object[] m_data;
84m_data = new Object[defaultSize];
157if (!Object.ReferenceEquals(objectType, type))
274Object[] newData = new Object[newSize];
289public void AddValue(String name, Object value, Type type)
305public void AddValue(String name, Object value)
309AddValue(name, value, typeof(Object));
319AddValue(name, (Object)value, typeof(bool));
324AddValue(name, (Object)value, typeof(char));
331AddValue(name, (Object)value, typeof(sbyte));
336AddValue(name, (Object)value, typeof(byte));
341AddValue(name, (Object)value, typeof(short));
347AddValue(name, (Object)value, typeof(ushort));
352AddValue(name, (Object)value, typeof(int));
358AddValue(name, (Object)value, typeof(uint));
363AddValue(name, (Object)value, typeof(long));
369AddValue(name, (Object)value, typeof(ulong));
374AddValue(name, (Object)value, typeof(float));
379AddValue(name, (Object)value, typeof(double));
384AddValue(name, (Object)value, typeof(decimal));
389AddValue(name, (Object)value, typeof(DateTime));
392internal void AddValueInternal(String name, Object value, Type type)
430internal void UpdateValue(String name, Object value, Type type)
475private Object GetElement(String name, out Type foundType)
493private Object GetElementNoThrow(String name, out Type foundType)
516public Object GetValue(String name, Type type)
530Object value;
542if (Object.ReferenceEquals(foundType, type) || type.IsAssignableFrom(foundType) || value == null)
555internal Object GetValueNoThrow(String name, Type type)
558Object value;
575if (Object.ReferenceEquals(foundType, type) || type.IsAssignableFrom(foundType) || value == null)
588Object value;
591if (Object.ReferenceEquals(foundType, typeof(bool)))
601Object value;
604if (Object.ReferenceEquals(foundType, typeof(char)))
615Object value;
618if (Object.ReferenceEquals(foundType, typeof(sbyte)))
628Object value;
631if (Object.ReferenceEquals(foundType, typeof(byte)))
641Object value;
644if (Object.ReferenceEquals(foundType, typeof(short)))
655Object value;
658if (Object.ReferenceEquals(foundType, typeof(ushort)))
668Object value;
671if (Object.ReferenceEquals(foundType, typeof(int)))
682Object value;
685if (Object.ReferenceEquals(foundType, typeof(uint)))
695Object value;
698if (Object.ReferenceEquals(foundType, typeof(long)))
709Object value;
712if (Object.ReferenceEquals(foundType, typeof(ulong)))
722Object value;
725if (Object.ReferenceEquals(foundType, typeof(float)))
736Object value;
739if (Object.ReferenceEquals(foundType, typeof(double)))
749Object value;
752if (Object.ReferenceEquals(foundType, typeof(decimal)))
762Object value;
765if (Object.ReferenceEquals(foundType, typeof(DateTime)))
775Object value;
778if (Object.ReferenceEquals(foundType, typeof(String)) || value == null)
system\runtimehandles.cs (14)
55internal extern static bool IsInstanceOfType(RuntimeType type, Object o);
242internal static extern Object CreateInstance(RuntimeType type, bool publicOnly, bool noCheck, ref bool canBeCached, ref RuntimeMethodHandleInternal ctor, ref bool bNeedSecurityCheck);
247internal static extern Object CreateCaInstance(RuntimeType type, IRuntimeMethodInfo ctor);
252internal static extern Object Allocate(RuntimeType type);
257internal static extern Object CreateInstanceForAnotherGenericParameter(RuntimeType type, RuntimeType genericParameter);
1289static extern internal void PerformSecurityCheck(Object obj, RuntimeMethodHandleInternal method, RuntimeType parent, uint invocationFlags);
1292static internal void PerformSecurityCheck(Object obj, IRuntimeMethodInfo method, RuntimeType parent, uint invocationFlags)
1306Object target, SerializationInfo info, ref StreamingContext context);
1719internal static extern Object GetValue(RtFieldInfo field, Object instance, RuntimeType fieldType, RuntimeType declaringType, ref bool domainInitialized);
1724internal static extern Object GetValueDirect(RtFieldInfo field, RuntimeType fieldType, void *pTypedRef, RuntimeType contextType);
1729internal static extern void SetValue(RtFieldInfo field, Object obj, Object value, RuntimeType fieldType, FieldAttributes fieldAttr, RuntimeType declaringType, ref bool domainInitialized);
1734internal static extern void SetValueDirect(RtFieldInfo field, RuntimeType fieldType, void* pTypedRef, Object value, RuntimeType contextType);
system\security\codeaccesssecurityengine.cs (8)
106private static void ThrowSecurityException(RuntimeAssembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)
127private static void ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)
154CheckSetHelper(grants, refused, demands, rmh, (Object)asm, action, true);
187Object assemblyOrString,
269CheckHelper(grantedSet, refusedSet, demand, permToken, rmh, (Object)asm, action, true);
301Object assemblyOrString,
571private static extern void Check (Object demand,
system\security\securityexception.cs (13)
77internal static Exception MakeSecurityException(AssemblyName asmName, Evidence asmEvidence, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)
132private static byte[] ObjectToByteArray(Object obj)
150private static Object ByteArrayToObject(byte[] array)
156Object obj = formatter.Deserialize(stream);
272public SecurityException(string message, AssemblyName assemblyName, PermissionSet grant, PermissionSet refused, MethodInfo method, SecurityAction action, Object demanded, IPermission permThatFailed, Evidence evidence)
306public SecurityException(string message, Object deny, Object permitOnly, MethodInfo method, Object demanded, IPermission permThatFailed)
358Object ob = XMLUtil.XmlStringToSecurityObject(m_permissionThatFailed);
404public Object Demanded
450public Object DenySetInstance
466public Object PermitOnlySetInstance
551private void ToStringHelper(StringBuilder sb, String resourceString, Object attr)
system\string.cs (61)
92public static String Join(String separator, params Object[] values) {
550public override bool Equals(Object obj) {
558if (Object.ReferenceEquals(this, obj))
577if (Object.ReferenceEquals(this, value))
593if ((Object)this == (Object)value) {
597if ((Object)value == null) {
639if ((Object)a==(Object)b) {
643if ((Object)a==null || (Object)b==null) {
660if ((Object)a==(Object)b) {
664if ((Object)a==null || (Object)b==null) {
1808if ((Object)strA == (Object)strB) {
2016if ((Object)strA==(Object)strB) { //they're both null;
2103public int CompareTo(Object value) {
2130if ((Object)strA == (Object)strB) {
2160if ((Object)strA==(Object)strB) { //they're both null;
2190if( (Object)value == null) {
2199if( (Object)this == (Object)value) {
2559if ((Object)value == null) {
2570if( (Object)value == null) {
2579if( (Object)this == (Object)value) {
2710public Object Clone() {
2711Contract.Ensures(Contract.Result<Object>() != null);
2960public static String Format(String format, Object arg0) {
2965public static String Format(String format, Object arg0, Object arg1) {
2970public static String Format(String format, Object arg0, Object arg1, Object arg2) {
2975public static String Format(String format, params Object[] args) {
2988public static String Format(IFormatProvider provider, String format, Object arg0) {
2993public static String Format(IFormatProvider provider, String format, Object arg0, Object arg1) {
2998public static String Format(IFormatProvider provider, String format, Object arg0, Object arg1, Object arg2) {
3003public static String Format(IFormatProvider provider, String format, params Object[] args) {
3045public static String Concat(Object arg0) {
3056public static String Concat(Object arg0, Object arg1) {
3071public static String Concat(Object arg0, Object arg1, Object arg2) {
3092public static String Concat(Object arg0, Object arg1, Object arg2, Object arg3, __arglist)
3097Object[] objArgs;
3105objArgs = new Object[argCount];
3121public static String Concat(params Object[] args) {
3435Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\text\stringbuilder.cs (17)
1002public StringBuilder Append(Object value) {
1251public StringBuilder Insert(int index, Object value) {
1262public StringBuilder AppendFormat(String format, Object arg0) {
1267public StringBuilder AppendFormat(String format, Object arg0, Object arg1) {
1272public StringBuilder AppendFormat(String format, Object arg0, Object arg1, Object arg2) {
1277public StringBuilder AppendFormat(String format, params Object[] args) {
1290public StringBuilder AppendFormat(IFormatProvider provider, String format, Object arg0) {
1295public StringBuilder AppendFormat(IFormatProvider provider, String format, Object arg0, Object arg1) {
1300public StringBuilder AppendFormat(IFormatProvider provider, String format, Object arg0, Object arg1, Object arg2) {
1305public StringBuilder AppendFormat(IFormatProvider provider, String format, params Object[] args) {
1403Object arg = args[index];
system\threading\monitor.cs (22)
47public static extern void Enter(Object obj);
55public static void Enter(Object obj, ref bool lockTaken)
72private static extern void ReliableEnter(Object obj, ref bool lockTaken);
89public static extern void Exit(Object obj);
98public static bool TryEnter(Object obj)
107public static void TryEnter(Object obj, ref bool lockTaken)
125public static bool TryEnter(Object obj, int millisecondsTimeout)
140public static bool TryEnter(Object obj, TimeSpan timeout)
147public static void TryEnter(Object obj, int millisecondsTimeout, ref bool lockTaken)
155public static void TryEnter(Object obj, TimeSpan timeout, ref bool lockTaken)
166private static extern void ReliableEnterTimeout(Object obj, int timeout, ref bool lockTaken);
180private static extern bool IsEnteredNative(Object obj);
196private static extern bool ObjWait(bool exitContext, int millisecondsTimeout, Object obj);
199public static bool Wait(Object obj, int millisecondsTimeout, bool exitContext)
206public static bool Wait(Object obj, TimeSpan timeout, bool exitContext)
211public static bool Wait(Object obj, int millisecondsTimeout)
216public static bool Wait(Object obj, TimeSpan timeout)
221public static bool Wait(Object obj)
234private static extern void ObjPulse(Object obj);
237public static void Pulse(Object obj)
253private static extern void ObjPulseAll(Object obj);
256public static void PulseAll(Object obj)
system\threading\Tasks\Future.cs (24)
935public Task ContinueWith(Action<Task<TResult>, Object> continuationAction, Object state)
964public Task ContinueWith(Action<Task<TResult>, Object> continuationAction, Object state,CancellationToken cancellationToken)
995public Task ContinueWith(Action<Task<TResult>, Object> continuationAction, Object state, TaskScheduler scheduler)
1031public Task ContinueWith(Action<Task<TResult>, Object> continuationAction, Object state,TaskContinuationOptions continuationOptions)
1077public Task ContinueWith(Action<Task<TResult>, Object> continuationAction, Object state, CancellationToken cancellationToken,
1085internal Task ContinueWith(Action<Task<TResult>, Object> continuationAction, Object state, TaskScheduler scheduler, CancellationToken cancellationToken,
1369public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult> continuationFunction, Object state)
1401public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult> continuationFunction, Object state,
1435public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult> continuationFunction, Object state,
1481public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult> continuationFunction, Object state,
1538public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult> continuationFunction, Object state,
1546internal Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult> continuationFunction, Object state,
system\threading\Tasks\FutureFactory.cs (8)
413public Task<TResult> StartNew(Func<Object, TResult> function, Object state)
444public Task<TResult> StartNew(Func<Object, TResult> function, Object state, CancellationToken cancellationToken)
477public Task<TResult> StartNew(Func<Object, TResult> function, Object state, TaskCreationOptions creationOptions)
521public Task<TResult> StartNew(Func<Object, TResult> function, Object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
system\threading\Tasks\Task.cs (36)
223private static readonly Object s_activeTasksLock = new Object();
735private readonly static Action<Object> s_taskCancelCallback = new Action<Object>(TaskCancelCallback);
736private static void TaskCancelCallback(Object o)
2532internal virtual Task CreateReplicaTask(Action<object> taskReplicaDelegate, Object stateObject, Task parentTask, TaskScheduler taskScheduler,
2540internal virtual Object SavedStateForNextReplica
2548internal virtual Object SavedStateFromPreviousReplica
2639Object savedState = currentTask.SavedStateForNextReplica;
3950public Task ContinueWith(Action<Task, Object> continuationAction, Object state)
3978public Task ContinueWith(Action<Task, Object> continuationAction, Object state, CancellationToken cancellationToken)
4008public Task ContinueWith(Action<Task, Object> continuationAction, Object state, TaskScheduler scheduler)
4044public Task ContinueWith(Action<Task, Object> continuationAction, Object state, TaskContinuationOptions continuationOptions)
4090public Task ContinueWith(Action<Task, Object> continuationAction, Object state, CancellationToken cancellationToken,
4098private Task ContinueWith(Action<Task, Object> continuationAction, Object state, TaskScheduler scheduler,
4370public Task<TResult> ContinueWith<TResult>(Func<Task, Object, TResult> continuationFunction, Object state)
4403public Task<TResult> ContinueWith<TResult>(Func<Task, Object, TResult> continuationFunction, Object state, CancellationToken cancellationToken)
4436public Task<TResult> ContinueWith<TResult>(Func<Task, Object, TResult> continuationFunction, Object state, TaskScheduler scheduler)
4475public Task<TResult> ContinueWith<TResult>(Func<Task, Object, TResult> continuationFunction, Object state, TaskContinuationOptions continuationOptions)
4524public Task<TResult> ContinueWith<TResult>(Func<Task, Object, TResult> continuationFunction, Object state, CancellationToken cancellationToken,
4532private Task<TResult> ContinueWith<TResult>(Func<Task, Object, TResult> continuationFunction, Object state, TaskScheduler scheduler,
6765internal override Task CreateReplicaTask(Action<object> taskReplicaDelegate, Object stateObject, Task parentTask, TaskScheduler taskScheduler,
6786internal ParallelForReplicaTask(Action<object> taskReplicaDelegate, Object stateObject, Task parentTask, TaskScheduler taskScheduler,
6793internal override Object SavedStateForNextReplica
6801internal override Object SavedStateFromPreviousReplica
system\threading\Tasks\TaskFactory.cs (16)
434public Task StartNew(Action<Object> action, Object state)
465public Task StartNew(Action<Object> action, Object state, CancellationToken cancellationToken)
497public Task StartNew(Action<Object> action, Object state, TaskCreationOptions creationOptions)
540public Task StartNew(Action<Object> action, Object state, CancellationToken cancellationToken,
711public Task<TResult> StartNew<TResult>(Func<Object, TResult> function, Object state)
746public Task<TResult> StartNew<TResult>(Func<Object, TResult> function, Object state, CancellationToken cancellationToken)
782public Task<TResult> StartNew<TResult>(Func<Object, TResult> function, Object state, TaskCreationOptions creationOptions)
829public Task<TResult> StartNew<TResult>(Func<Object, TResult> function, Object state, CancellationToken cancellationToken,
system\threading\thread.cs (24)
39internal delegate Object InternalCrossContextDelegate(Object[] args);
47Object _startArg = null;
63static private void ThreadStart_Context(Object state)
87ExecutionContext.Run(_executionContext, _ccb, (Object)this);
105ExecutionContext.Run(_executionContext, _ccb, (Object)this);
149private Object m_ThreadStartArg;
499public void Abort(Object stateInfo)
1070public static Object GetData(LocalDataStoreSlot slot)
1088public static void SetData(LocalDataStoreSlot slot, Object data)
1439internal extern Object InternalCrossContextCallback(Context ctx, IntPtr ctxID, Int32 appDomainID, InternalCrossContextDelegate ftnToCall, Object[] args);
1442internal Object InternalCrossContextCallback(Context ctx, InternalCrossContextDelegate ftnToCall, Object[] args)
1448private static Object CompleteCrossContextCallback(InternalCrossContextDelegate ftnToCall, Object[] args)
1520internal Object AbortReason {
1684public static Object VolatileRead(ref Object address)
1686Object ret = address;
1781public static void VolatileWrite(ref Object address, Object value)
1833internal extern void SetAbortReason(Object o);
1841internal extern Object GetAbortReason();
system\threading\threadpool.cs (26)
1145public delegate void WaitCallback(Object state);
1148public delegate void WaitOrTimerCallback(Object state, bool timedOut); // signalled or timed out
1189private Object state;
1211internal QueueUserWorkItemCallback(WaitCallback waitCallback, Object stateObj, bool compressStack, ref StackCrawlMark stackMark)
1227internal QueueUserWorkItemCallback(WaitCallback waitCallback, Object stateObj, ExecutionContext ec)
1268static private void WaitCallback_Context(Object state)
1284Object _state;
1291internal _ThreadPoolWaitOrTimerCallback(WaitOrTimerCallback waitOrTimerCallback, Object state, bool compressStack, ref StackCrawlMark stackMark)
1306static private void WaitOrTimerCallback_Context_t(Object state)
1312static private void WaitOrTimerCallback_Context_f(Object state)
1317static private void WaitOrTimerCallback_Context(Object state, bool timedOut)
1325static internal void PerformWaitOrTimerCallback(Object state, bool timedOut)
1411Object state,
1426Object state,
1440Object state,
1458state = (Object)callBackHelper;
1484Object state,
1501Object state,
1518Object state,
1535Object state,
1552Object state,
1571Object state,
1589Object state
1610Object state
1621private static bool QueueUserWorkItemHelper(WaitCallback callBack, Object state, ref StackCrawlMark stackMark, bool compressStack )
1876Object state,
system\tuple.cs (56)
93public override Boolean Equals(Object obj) {
94return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);
97Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) {
109Int32 IComparable.CompareTo(Object obj) {
110return ((IStructuralComparable) this).CompareTo(obj, Comparer<Object>.Default);
113Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) {
126return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default);
183public override Boolean Equals(Object obj) {
184return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);;
187Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) {
199Int32 IComparable.CompareTo(Object obj) {
200return ((IStructuralComparable) this).CompareTo(obj, Comparer<Object>.Default);
203Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) {
222return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default);
288public override Boolean Equals(Object obj) {
289return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);;
292Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) {
304Int32 IComparable.CompareTo(Object obj) {
305return ((IStructuralComparable) this).CompareTo(obj, Comparer<Object>.Default);
308Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) {
331return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default);
404public override Boolean Equals(Object obj) {
405return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);;
408Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) {
420Int32 IComparable.CompareTo(Object obj) {
421return ((IStructuralComparable) this).CompareTo(obj, Comparer<Object>.Default);
424Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) {
451return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default);
531public override Boolean Equals(Object obj) {
532return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);;
535Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) {
547Int32 IComparable.CompareTo(Object obj) {
548return ((IStructuralComparable) this).CompareTo(obj, Comparer<Object>.Default);
551Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) {
582return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default);
669public override Boolean Equals(Object obj) {
670return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);;
673Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) {
685Int32 IComparable.CompareTo(Object obj) {
686return ((IStructuralComparable) this).CompareTo(obj, Comparer<Object>.Default);
689Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) {
724return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default);
818public override Boolean Equals(Object obj) {
819return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);;
822Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) {
834Int32 IComparable.CompareTo(Object obj) {
835return ((IStructuralComparable) this).CompareTo(obj, Comparer<Object>.Default);
838Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) {
877return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default);
982public override Boolean Equals(Object obj) {
983return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);;
986Boolean IStructuralEquatable.Equals(Object other, IEqualityComparer comparer) {
998Int32 IComparable.CompareTo(Object obj) {
999return ((IStructuralComparable) this).CompareTo(obj, Comparer<Object>.Default);
1002Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) {
1045return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default);
system\type.cs (18)
51public static readonly Object Missing = System.Reflection.Missing.Value;
299abstract public Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder,Object target,
300Object[] args, ParameterModifier[] modifiers,CultureInfo culture,String[] namedParameters);
304public Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder, Object target, Object[] args, CultureInfo culture)
311public Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder, Object target, Object[] args)
343public static RuntimeTypeHandle GetTypeHandle(Object o)
599public virtual Type[] FindInterfaces(TypeFilter filter,Object filterCriteria)
791public virtual MemberInfo[] FindMembers(MemberTypes memberType,BindingFlags bindingAttr,MemberFilter filter,Object filterCriteria)
1661public virtual bool IsInstanceOfType(Object o)
1766public static Type[] GetTypeArray(Object[] args) {
1781public override bool Equals(Object o)
1800return (Object.ReferenceEquals(this.UnderlyingSystemType, o.UnderlyingSystemType));
1820if (!Object.ReferenceEquals(SystemType, this))
Core\CSharp\System\Windows\DataObject.cs (39)
456public void SetData(string format, Object data, bool autoConvert)
1518internal void CriticalSetData(string format, Object data, bool autoConvert)
1996private int SaveObjectToHandle(IntPtr handle, Object data, bool doNotReallocate)
2067private int SaveSystemBitmapSourceToHandle(IntPtr handle, Object data, bool doNotReallocate)
2109private int SaveSystemDrawingBitmapToHandle(IntPtr handle, Object data, bool doNotReallocate)
2779public Object GetData(string format)
2784public Object GetData(Type format)
2789public Object GetData(string format, bool autoConvert)
2814public void SetData(Object data)
2897public void SetData(string format, Object data)
2902public void SetData(Type format, Object data)
2907public void SetData(string format, Object data, bool autoConvert)
2967private Object GetData(string format, bool autoConvert, DVASPECT aspect, int index)
2971Object baseVar;
2972Object original;
3068private Object GetDataFromOleIStream(string format, DVASPECT aspect, int index)
3239Object data;
3280private Object GetDataFromOleOther(string format, DVASPECT aspect, int index)
3285Object data;
3350private Object GetDataFromBoundOleDataObject(string format, DVASPECT aspect, int index)
3352Object data;
3438private Object ReadObjectFromHandle(IntPtr handle, bool restrictDeserialization)
3720private Object GetBitmapSourceFromHbitmap(IntPtr hbitmap)
3788public Object GetData(string format)
3793public Object GetData(Type format)
3798public Object GetData(string format, bool autoConvert)
3930public void SetData(Object data)
3942public void SetData(string format, Object data)
3947public void SetData(Type format, Object data)
3952public void SetData(string format, Object data, bool autoConvert)
3979private Object GetData(string format, bool autoConvert, DVASPECT aspect, int index)
3981Object baseVar;
3982Object original;
4100private void SetData(string format, Object data, bool autoConvert, DVASPECT aspect, int index)
4168private Object GetDataFromDataStoreEntry(DataStoreEntry dataStoreEntry, string format)
4170Object data;
4209public DataStoreEntry(Object data, bool autoConvert, DVASPECT aspect, int index)
4228public Object Data
4262private Object _data;
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (11)
373public IList<ContentLocatorBase> GenerateLocators(Object selection)
426public Object ResolveLocator(ContentLocatorBase locator, int offset, DependencyObject startNode, out AttachmentLevel attachmentLevel)
566internal Object FindAttachedAnchor(DependencyObject startNode, ContentLocator[] prefixes, ContentLocatorBase locator, out AttachmentLevel attachmentLevel)
577Object anchor = null;
682private IList<ContentLocatorBase> GenerateLocators(SubTreeProcessor processor, PathNode startNode, Object selection)
794private ContentLocatorBase GenerateLocatorGroup(PathNode node, Object selection)
927private Object InternalResolveLocator(ContentLocatorBase locator, int offset, DependencyObject startNode, bool skipStartNode, out AttachmentLevel attachmentLevel)
934Object selection = null;
1191Object selection = selProcessor.ResolveLocatorPart(locatorPart, node, out attachmentLevel);
1372public Object AttachedAnchor;
1376public Object LastNodeMatched;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (59)
1839bamlMember.TypeConverterType = typeof(System.Object);
1942bamlMember.TypeConverterType = typeof(System.Object);
2027bamlMember.TypeConverterType = typeof(System.Object);
2798bamlMember.TypeConverterType = typeof(System.Object);
2834bamlMember.TypeConverterType = typeof(System.Object);
2902bamlMember.TypeConverterType = typeof(System.Object);
3131bamlMember.TypeConverterType = typeof(System.Object);
4164bamlMember.TypeConverterType = typeof(System.Object);
4182bamlMember.TypeConverterType = typeof(System.Object);
4251bamlMember.TypeConverterType = typeof(System.Object);
4303bamlMember.TypeConverterType = typeof(System.Object);
4490bamlMember.TypeConverterType = typeof(System.Object);
4677bamlMember.TypeConverterType = typeof(System.Object);
4695bamlMember.TypeConverterType = typeof(System.Object);
4713bamlMember.TypeConverterType = typeof(System.Object);
4731bamlMember.TypeConverterType = typeof(System.Object);
4971bamlMember.TypeConverterType = typeof(System.Object);
5039bamlMember.TypeConverterType = typeof(System.Object);
5091bamlMember.TypeConverterType = typeof(System.Object);
5279bamlMember.TypeConverterType = typeof(System.Object);
5431bamlMember.TypeConverterType = typeof(System.Object);
5466bamlMember.TypeConverterType = typeof(System.Object);
5535bamlMember.TypeConverterType = typeof(System.Object);
5672bamlMember.TypeConverterType = typeof(System.Object);
5757bamlMember.TypeConverterType = typeof(System.Object);
5894bamlMember.TypeConverterType = typeof(System.Object);
5980bamlMember.TypeConverterType = typeof(System.Object);
6083bamlMember.TypeConverterType = typeof(System.Object);
6203bamlMember.TypeConverterType = typeof(System.Object);
6283typeof(System.Object), // type
6288bamlMember.TypeConverterType = typeof(System.Object);
6463typeof(System.Object), // type
6468bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Setter)target).Value = (System.Object)value; };
6518typeof(System.Object), // type
6523bamlMember.TypeConverterType = typeof(System.Object);
6524bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.ComponentResourceKey)target).ResourceId = (System.Object)value; };
6573typeof(System.Object), // type
6578bamlMember.TypeConverterType = typeof(System.Object);
6579bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).Source = (System.Object)value; };
6716typeof(System.Object), // type
6721bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Trigger)target).Value = (System.Object)value; };
6895typeof(System.Object), // type
6900bamlMember.TypeConverterType = typeof(System.Object);
6901bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.MultiBinding)target).ConverterParameter = (System.Object)value; };
6985typeof(System.Object), // type
6990bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Condition)target).Value = (System.Object)value; };
7020typeof(System.Object), // type
7025bamlMember.TypeConverterType = typeof(System.Object);
7026bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.BindingBase)target).FallbackValue = (System.Object)value; };
7432typeof(System.Object), // type
7437bamlMember.TypeConverterType = typeof(System.Object);
7438bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.DataTrigger)target).Value = (System.Object)value; };
7651bamlMember.TypeConverterType = typeof(System.Object);
8021typeof(System.Object), // type
8026bamlMember.TypeConverterType = typeof(System.Object);
8028bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.DataTemplate)target).DataType = (System.Object)value; };
8266typeof(System.Object), // type
8271bamlMember.TypeConverterType = typeof(System.Object);
8272bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).ConverterParameter = (System.Object)value; };
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (4)
538ElementProperty.CheckForMarkupExtension(typeof(Object), entry.Value, Context, false), Manager);
553ElementProperty.CheckForMarkupExtension(typeof(Object), o, Context, false), Manager);
569ElementProperty.CheckForMarkupExtension(typeof(Object), value, Context, true), Manager);
580ElementProperty.CheckForMarkupExtension(typeof(Object), value, Context, true), Manager);
src\Framework\System\Windows\Navigation\NavigationService.cs (40)
914private bool UnhookOldTree(Object oldTree)
1003private bool HookupNewTree(Object newTree, NavigateInfo navInfo, Uri newUri)
1125private bool OnBeforeSwitchContent(Object newBP, NavigateInfo navInfo, Uri newUri)
1274void IContentContainer.OnContentReady(ContentType contentType, Object bp, Uri bpu, Object navState)
1565public Object Content
1652public bool Navigate(Object root)
1661public bool Navigate(Uri source, Object navigationState)
1670public bool Navigate(Uri source, Object navigationState, bool sandboxExternalContent)
1680internal bool Navigate(Uri source, Object navigationState, bool sandboxExternalContent, bool navigateOnSourceChanged)
1814public bool Navigate(Object root, Object navigationState)
2210private bool FireNavigating(Uri source, Object bp, Object navState, WebRequest request)
2279private bool HandleNavigating(Uri source, Object content, Object navState, WebRequest newRequest, bool navigateOnSourceChanged)
2845internal void DoNavigate(Uri source, NavigationMode f, Object navState)
3131private void GetObjectFromResponse(WebRequest request, WebResponse response, Uri destinationUri, Object navState)
3172Object o = MimeObjectFactory.GetObjectAndCloseStream(bindStream, contentType, destinationUri, CanUseTopLevelBrowserForHTMLRendering(), sandBoxContent, true /*allowAsync*/, IsJournalNavigation(navigateInfo), out _asyncObjectConverter);
3299internal void DoNavigate(Object bp, NavigationMode navFlags, Object navState)
3950private void SetupPageFunctionHandlers(Object bp)
4429public delegate void NavigatingCancelEventHandler(Object sender, NavigatingCancelEventArgs e);
4434public delegate void NavigationProgressEventHandler(Object sender, NavigationProgressEventArgs e);
4441public delegate void NavigationFailedEventHandler(Object sender, NavigationFailedEventArgs e);
4446public delegate void NavigatedEventHandler(Object sender, NavigationEventArgs e);
4451public delegate void LoadCompletedEventHandler(Object sender, NavigationEventArgs e);
4456public delegate void NavigationStoppedEventHandler(Object sender, NavigationEventArgs e);
4469internal delegate void BPReadyEventHandler(Object sender, BPReadyEventArgs e);
4479internal RequestState(WebRequest request, Uri source, Object navState, Dispatcher callbackDispatcher)
4503internal Object NavState
4521private Object _navState;
4536internal BPReadyEventArgs(Object content, Uri uri)
4546internal Object Content
4562Object _content;
4668internal NavigateQueueItem(Uri source, object content, NavigationMode mode, Object navState, NavigationService nc)
4742Object _navState;
4765internal void DisposeElement(Object node)
4803internal DisposeTreeQueueItem(Object node)
4809private Object _root;
net\System\Net\_PooledStream.cs (4)
691public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) {
695internal virtual IAsyncResult UnsafeBeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state)
716public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) {
721internal virtual IAsyncResult UnsafeBeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) {
net\System\Net\Cache\_CacheStreams.cs (8)
112public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) {
214public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) {
428public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) {
667public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) {
938public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) {
954public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) {
1142public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) {
1170public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) {
net\System\Net\Cache\_SingleItemRequestCache.cs (4)
346public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)
379public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state)
501public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)
516public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)
net\System\Net\Sockets\NetworkStream.cs (6)
716public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) {
773internal virtual IAsyncResult UnsafeBeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state)
901public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) {
963internal virtual IAsyncResult UnsafeBeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) {
1112Object state)
1166Object state)
net\System\Net\webclient.cs (12)
1951private void DownloadStringAsyncCallback(byte [] returnBytes, Exception exception, Object state) {
2016private void DownloadDataAsyncCallback(byte [] returnBytes, Exception exception, Object state)
2071private void DownloadFileAsyncCallback(byte [] returnBytes, Exception exception, Object state) {
2151private void UploadStringAsyncWriteCallback(byte [] returnBytes, Exception exception, Object state) {
2164private void UploadStringAsyncReadCallback(byte [] returnBytes, Exception exception, Object state) {
2253private void UploadDataAsyncWriteCallback(byte [] returnBytes, Exception exception, Object state) {
2266private void UploadDataAsyncReadCallback(byte [] returnBytes, Exception exception, Object state) {
2348private void UploadFileAsyncWriteCallback(byte[] returnBytes, Exception exception, Object state) {
2361private void UploadFileAsyncReadCallback(byte[] returnBytes, Exception exception, Object state)
2453private void UploadValuesAsyncWriteCallback(byte [] returnBytes, Exception exception, Object state) {
2466private void UploadValuesAsyncReadCallback(byte [] returnBytes, Exception exception, Object state) {
3107internal delegate void CompletionDelegate(byte [] responseBytes, Exception exception, Object State);
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
123typeof(Object),
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToStandardValuesConverter.cs (1)
117foreach (var i in (ArrayList)_contents)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\EqualsConverter.cs (1)
20if (Object.Equals(value, parameter))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
123typeof(Object),
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (2)
1124return t.InvokeMember("Null", BindingFlags.Public | BindingFlags.GetProperty | BindingFlags.Static, null, null, new Object[]{}, CultureInfo.InvariantCulture);
2382result = t.InvokeMember("Null", BindingFlags.Public | BindingFlags.GetProperty | BindingFlags.Static, null, null, new Object[]{}, CultureInfo.InvariantCulture);
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (4)
175static private readonly NativeDBType D_IDispatch = new NativeDBType(0xff, ADP.PtrSize, true, false, OleDbType.IDispatch, NativeDBType.IDISPATCH, S_IDISPATCH, typeof(System.Object), NativeDBType.IDISPATCH, DbType.Object ); // 17 - integer4 (pointer)
176static private readonly NativeDBType D_IUnknown = new NativeDBType(0xff, ADP.PtrSize, true, false, OleDbType.IUnknown, NativeDBType.IUNKNOWN, S_IUNKNOWN, typeof(System.Object), NativeDBType.IUNKNOWN, DbType.Object ); // 18 - integer4 (pointer) // MDAC 64040
181true, false, OleDbType.PropVariant, NativeDBType.PROPVARIANT, S_PROPVARIANT, typeof(System.Object), NativeDBType.VARIANT, DbType.Object ); // 22
190static private readonly NativeDBType D_Variant = new NativeDBType(0xff, ODB.SizeOf_Variant, true, false, OleDbType.Variant, NativeDBType.VARIANT, S_VARIANT, typeof(System.Object), NativeDBType.VARIANT, DbType.Object ); // 31 - ubyte[16] (variant)
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (5)
146Object[] parsed = MultipartIdentifier.ParseMultipartIdentifier(command.CommandText, quotePrefix, quoteSuffix, '.', 4, true, Res.OLEDB_OLEDBCommandText, false); // MDAC 70930
151Object[] restrictions = new object[4];
287restrictions = new Object[4] { null, null, command.CommandText, null};
295Object[] restrictions = new Object[4] { null, null, command.CommandText, null};
fx\src\data\System\Data\SqlClient\SqlEnums.cs (7)
301else if (dataType == typeof(System.Object)) {
806(255, 255, -1, true, false, false, TdsEnums.SQLVARIANT, TdsEnums.SQLVARIANT, MetaTypeName.VARIANT, typeof(System.Object), typeof(System.Object), SqlDbType.Variant, DbType.Object, 0);
809(255, 255, -1, false, false, true, TdsEnums.SQLUDT, TdsEnums.SQLUDT, MetaTypeName.UDT, typeof(System.Object), typeof(System.Object), SqlDbType.Udt, DbType.Object, 0);
812(255, 255, -1, false, true, true, TdsEnums.SQLUDT, TdsEnums.SQLUDT, MetaTypeName.UDT, typeof(System.Object), typeof(System.Object), SqlDbType.Udt, DbType.Object, 0);
System\Data\Objects\EntityEntry.cs (15)
293var originalValue = GetOriginalEntityValue(_cacheTypeMetadata, ordinal, _wrappedEntity.Entity, ObjectStateValueRecord.OriginalReadonly);
675if (Object.ReferenceEquals(item, current))
724Debug.Assert(!Object.ReferenceEquals(this, promotedEntry), "shouldn't be same reference");
1792if (Object.ReferenceEquals(complexObject, oldComplexObject))
1821var currentValue = member.GetValue(this._wrappedEntity.Entity);
1826var oldComplexValue = this.GetComplexObjectSnapshot(this.Entity, ordinal);
1873var originalValue = ((StateManagerValue)originalStateManagerValue).originalValue;
1874if (!Object.Equals(currentValue, originalValue))
1936if (!Object.ReferenceEquals(oldComplexValue, complexValue))
1954var oldNestedComplexValue = this.GetComplexObjectSnapshot(complexValue, i);
1996if (!Object.Equals(currentValue, originalValueFound ? ((StateManagerValue)originalStateManagerValue).originalValue : null))
2107var principal = WrappedEntity.GetNavigationPropertyValue(reference);
2391if (!Object.Equals(existingRelatedObject, relatedObject))
3622(Object.ReferenceEquals(refToDependent.ReferenceValue.Entity, refToPrincipal.WrappedOwner.Entity) ||
3628Object.ReferenceEquals(refToPrincipal.ReferenceValue.Entity, wrappedPrincipal.Entity) ||
System\ServiceModel\ComIntegration\AdminSDK.cs (46)
41Object GetCollection([In, MarshalAs(UnmanagedType.BStr)]
46Object Connect([In, MarshalAs(UnmanagedType.BStr)] String connectStr);
56Object GetCollectionByQuery([In, MarshalAs(UnmanagedType.BStr)]
59ref Object[] aQuery);
104[In, MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] ref Object[] fileNames,
105[In, MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] ref Object[] CLSIDS);
109[In] Object varFileNames,
110[Out, MarshalAs(UnmanagedType.SafeArray)] out Object[] varCLSIDS,
111[Out, MarshalAs(UnmanagedType.SafeArray)] out Object[] varClassNames,
112[Out, MarshalAs(UnmanagedType.SafeArray)] out Object[] varFileFlags,
113[Out, MarshalAs(UnmanagedType.SafeArray)] out Object[] varComponentFlags);
130[Out, MarshalAs(UnmanagedType.SafeArray)] out Object[] varFileNames);
140[In, MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] ref Object[] fileNames,
141[In, MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] ref Object[] CLSIDS);
151[In, Out, MarshalAs(UnmanagedType.SafeArray)] ref Object[] varCLSIDS,
152[In, Out, MarshalAs(UnmanagedType.SafeArray)] ref Object[] varProgIDs,
153[In, Out, MarshalAs(UnmanagedType.SafeArray)] ref Object[] varDescriptions);
157Object GetCollectionByQuery2(
159[In, MarshalAs(UnmanagedType.LPStruct)] Object pVarQueryStrings);
166void ShutdownApplicationInstances([In, MarshalAs(UnmanagedType.LPStruct)] Object pVarApplicationInstanceID);
169void PauseApplicationInstances([In, MarshalAs(UnmanagedType.LPStruct)] Object pVarApplicationInstanceID);
172void ResumeApplicationInstances([In, MarshalAs(UnmanagedType.LPStruct)] Object pVarApplicationInstanceID);
176[In, MarshalAs(UnmanagedType.LPStruct)] Object pVarApplicationInstanceID,
181bool AreApplicationInstancesPaused([In, MarshalAs(UnmanagedType.LPStruct)] Object pVarApplicationInstanceID);
237[In, MarshalAs(UnmanagedType.LPStruct)] Object pVarApplicationID,
243[In, MarshalAs(UnmanagedType.LPStruct)] Object pVarCLSIDOrProgID,
249[In, MarshalAs(UnmanagedType.LPStruct)] Object pVarCLSIDOrProgID,
262Object IsSafeToDelete([In, MarshalAs(UnmanagedType.BStr)] String bstrDllName);
267[In, MarshalAs(UnmanagedType.LPStruct)] Object pVarCLSIDOrProgID,
268[In, MarshalAs(UnmanagedType.LPStruct)] Object pVarComponentType);
273[In, MarshalAs(UnmanagedType.LPStruct)] Object pVarCLSIDOrProgID,
274[In, MarshalAs(UnmanagedType.LPStruct)] Object pVarComponentType);
279[In, MarshalAs(UnmanagedType.LPStruct)] Object pVarCLSIDOrProgID,
280[In, MarshalAs(UnmanagedType.LPStruct)] Object pVarComponentType);
303Object QueryApplicationFile2([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile);
315Object GetValue([In, MarshalAs(UnmanagedType.BStr)] String propName);
319[In] Object value);
322Object Key();
325Object Name();
353Object Item([In] int lIndex);
363Object Add();
373Object GetCollection([In, MarshalAs(UnmanagedType.BStr)] String bstrCollName,
374[In] Object varObjectKey);
377Object Name();
395Object GetUtilInterface();
410Object[] aKeys);
System\ServiceModel\Security\DerivedKeyCachingSecurityTokenSerializer.cs (1)
23Object thisLock;
Cache\OutputCache.cs (8)
491public static void Serialize(Stream stream, Object data) {
505Object data = formatter.Deserialize(stream);
516internal static Object Get(String key) {
519Object result = null;
550internal static Object GetFragment(String key, String providerName) {
555Object result = null;
741Object d = HttpRuntime.Cache.InternalCache.Add(depKey, new DependencyCacheEntry(fragmentKey, null, provider.Name),
862Object d = HttpRuntime.Cache.InternalCache.Add(depKey, new DependencyCacheEntry(rawResponseKey, oce.KernelCacheUrl, provider.Name),
HttpApplication.cs (36)
1002public void AddOnBeginRequestAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1010public void AddOnAuthenticateRequestAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1019public void AddOnPostAuthenticateRequestAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1028public void AddOnAuthorizeRequestAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1037public void AddOnPostAuthorizeRequestAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1046public void AddOnResolveRequestCacheAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1055public void AddOnPostResolveRequestCacheAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1067public void AddOnMapRequestHandlerAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1079public void AddOnPostMapRequestHandlerAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1088public void AddOnAcquireRequestStateAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1097public void AddOnPostAcquireRequestStateAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1106public void AddOnPreRequestHandlerExecuteAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1115public void AddOnPostRequestHandlerExecuteAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1124public void AddOnReleaseRequestStateAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1133public void AddOnPostReleaseRequestStateAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1142public void AddOnUpdateRequestCacheAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1151public void AddOnPostUpdateRequestCacheAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1163public void AddOnLogRequestAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1178public void AddOnPostLogRequestAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1190public void AddOnEndRequestAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
1464IAsyncResult IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) {
1524method.Invoke(this, new Object[0]);
1529method.Invoke(this, new Object[2] { eventSource, eventArgs });
1536Object eventSource,
1722private void CreateEventExecutionSteps(Object eventIndex, ArrayList steps) {
1883Object target = null;
1955addMethod.Invoke(target, new Object[1]{handlerDelegate});
2293private void ResumeStepsWaitCallback(Object error) {
2600private bool HasEventSubscription(Object eventIndex) {
2974internal void Add(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
2995internal void AddHandler(Object eventId, BeginEventHandler beginHandler,
2996EndEventHandler endHandler, Object state,
3022internal AsyncAppEventHandler this[Object eventId] {
3099private Object _state;
3105internal AsyncEventExecutionStep(HttpApplication app, BeginEventHandler beginHandler, EndEventHandler endHandler, Object state)
3110internal AsyncEventExecutionStep(HttpApplication app, BeginEventHandler beginHandler, EndEventHandler endHandler, Object state, bool useIntegratedPipeline) {
HttpAsyncResult.cs (9)
20private Object _asyncState;
25private Object _result;
36internal HttpAsyncResult(AsyncCallback cb, Object state) {
45internal HttpAsyncResult(AsyncCallback cb, Object state,
46bool completed, Object result, Exception error) {
68internal void Complete(bool synchronous, Object result, Exception error, RequestNotificationStatus status) {
87internal void Complete(bool synchronous, Object result, Exception error) {
95internal Object End() {
138public Object AsyncState { get { return _asyncState;}}
UI\Page.cs (7)
5664protected IAsyncResult AspCompatBeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) {
5793internal void AddHandler(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
5974private void CallHandlersFromThreadpoolThread(Object data) {
5984private void AsyncPageProcessRequestBeforeAsyncPointCancellableCallback(Object state) {
5990protected IAsyncResult AsyncPageBeginProcessRequest(HttpContext context, AsyncCallback callback, Object extraData) {
6069private IAsyncResult LegacyAsyncPageBeginProcessRequest(HttpContext context, AsyncCallback callback, Object extraData) {
6141public void AddOnPreRenderCompleteAsync(BeginEventHandler beginHandler, EndEventHandler endHandler, Object state) {
UI\PageAsyncTask.cs (3)
19public PageAsyncTask(BeginEventHandler beginHandler, EndEventHandler endHandler, EndEventHandler timeoutHandler, Object state)
24public PageAsyncTask(BeginEventHandler beginHandler, EndEventHandler endHandler, EndEventHandler timeoutHandler, Object state, bool executeInParallel)
29internal PageAsyncTask(BeginEventHandler beginHandler, EndEventHandler endHandler, EndEventHandler timeoutHandler, Object state, bool executeInParallel, SynchronizationContextMode currentMode) {
UI\WebParts\WebPartManager.cs (4)
1800Object[] args = new Object[] { method, parameterType, type, displayName, id, allowsMultipleConnections };
1830Object[] args = new Object[] { method, returnType, type, displayName, id, allowsMultipleConnections };
Util\AspCompat.cs (23)
52Object Application_GetContentsObject([In, MarshalAs(UnmanagedType.LPWStr)] String name);
53void Application_SetContentsObject([In, MarshalAs(UnmanagedType.LPWStr)] String name, [In] Object obj);
56Object Application_GetStaticObject([In, MarshalAs(UnmanagedType.LPWStr)] String name);
96[return: MarshalAs(UnmanagedType.Interface)] Object Server_CreateObject([In, MarshalAs(UnmanagedType.LPWStr)] String progId);
117Object Session_GetContentsObject([In, MarshalAs(UnmanagedType.LPWStr)] String name);
118void Session_SetContentsObject([In, MarshalAs(UnmanagedType.LPWStr)] String name, [In]Object obj);
121Object Session_GetStaticObject([In, MarshalAs(UnmanagedType.LPWStr)] String name);
147private Object _codeEventSource;
163private AspCompatApplicationStep(HttpContext context, HttpApplication app, String sessionId, EventHandler codeEventHandler, Object codeEventSource, EventArgs codeEventArgs) {
216private void RememberStaComponent(Object component) {
222private bool IsStaComponentInSessionState(Object component) {
246Object component = session[i];
257internal static void OnPageStart(Object component) {
286Object component = session[i];
372internal static void RaiseAspCompatEvent(HttpContext context, HttpApplication app, String sessionId, EventHandler eventHandler, Object source, EventArgs eventArgs) {
437foreach (Object component in _staComponents) {
616Object IManagedContext.Application_GetContentsObject(String name) {
620void IManagedContext.Application_SetContentsObject(String name, Object obj) {
632Object IManagedContext.Application_GetStaticObject(String name) {
793Object IManagedContext.Server_CreateObject(String progId) {
873Object IManagedContext.Session_GetContentsObject(String name) {
877void IManagedContext.Session_SetContentsObject(String name, Object obj) {
889Object IManagedContext.Session_GetStaticObject(String name) {
Util\SmtpMail.cs (53)
70internal Object CreateInstance() {
74internal Object CallMethod(Object obj, String methodName, Object[] args) {
83internal static Object CallMethodStatic(Object obj, String methodName, Object[] args) {
87private static Object CallMethod(Type type, Object obj, String methodName, Object[] args) {
98internal Object GetProp(Object obj, String propName) {
107internal static Object GetPropStatic(Object obj, String propName) {
111private static Object GetProp(Type type, Object obj, String propName) {
112return type.InvokeMember(propName, BindingFlags.GetProperty, null, obj,new Object[0], CultureInfo.InvariantCulture);
115internal void SetProp(Object obj, String propName, Object propValue) {
124internal static void SetPropStatic(Object obj, String propName, Object propValue) {
128private static void SetProp(Type type, Object obj, String propName, Object propValue) {
131type.InvokeMember(propName, BindingFlags.SetProperty, null, obj, new Object[1] { propValue }, CultureInfo.InvariantCulture);
134internal void SetProp(Object obj, String propName, Object propKey, Object propValue) {
143internal static void SetPropStatic(Object obj, String propName, Object propKey, Object propValue) {
147private static void SetProp(Type type, Object obj, String propName, Object propKey, Object propValue) {
150type.InvokeMember(propName, BindingFlags.SetProperty, null, obj,new Object[2] { propKey, propValue }, CultureInfo.InvariantCulture);
167Object newMail = _helper.CreateInstance();
197_helper.CallMethod(newMail, "SetLocaleIDs", new Object[1] { message.BodyEncoding.CodePage });
232_helper.CallMethod(newMail, "AttachFile", new Object[3] { a.Filename, null, (Object)c });
236_helper.CallMethod(newMail, "Send", new Object[5] { null, null, null, null, null });
270private static void SetField(Object m, String name, String value) {
272Object fields = _helper.GetProp(m, "Fields");
273LateBoundAccessHelper.CallMethodStatic(fields, "Update", new Object[0]);
305Object m = _helper.CreateInstance();
338Object body = _helper.GetProp(m, "BodyPart");
371Object bodyPart = _helper.CallMethod(m, "AddAttachment", new Object[3] { a.Filename, null, null });
383Object config = LateBoundAccessHelper.GetPropStatic(m, "Configuration");
386LateBoundAccessHelper.SetPropStatic(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/sendusing", (Object)2);
387LateBoundAccessHelper.SetPropStatic(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/smtpserverport", (Object)25);
396Object fields = LateBoundAccessHelper.GetPropStatic(config, "Fields");
397LateBoundAccessHelper.CallMethodStatic(fields, "Update", new Object[0]);
408_helper.CallMethod(m, "Send", new Object[0]);
413_helper.CallMethod(m, "Send", new Object[0]);
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (11)
572private void OnArgumentChanged(Object sender, EventArgs e)
587private void OnAfterLabelEdit(Object sender, NodeLabelEditEventArgs e)
630private void OnAvailableFilterSelected(Object sender, EventArgs e)
637private void OnAppliedFilterSelected(Object sender, TreeViewEventArgs e)
642private void OnEditFilters(Object sender, EventArgs e)
706private void OnApplyFilter(Object sender, EventArgs e)
773private void OnAppliedFiltersReordered(Object sender, EventArgs e)
778private void OnRemove(Object sender, EventArgs e)
806private void OnOK(Object sender, EventArgs e)
817private void OnCancel(Object sender, EventArgs e)
906Object value = _cacheBuffer[oldDeviceSpecificID];
UI\MobileControls\Design\PropertyOverridesDialog.cs (32)
350private void OnEditFilters(Object sender, EventArgs e)
387private void OnFilterSelected(Object sender, EventArgs e)
392private void OnOK(Object sender, EventArgs e)
399private void OnCancel(Object sender, EventArgs e)
405private void OnPropertyValueChanged(Object sender,
500Object value = _cacheBuffer[oldDeviceSpecificID];
554Object IDeviceSpecificDesigner.UnderlyingObject
628private Object _copyOfOriginalObject;
629private Object _underlyingObject;
635private static readonly Object _eventDisposed = new Object();
700private Object CloneTarget(Object target)
702Object clone = Activator.CreateInstance(
733private void CopyOverridableProperties(Object source, Object dest)
771Object source,
772Object dest)
774Object value = property.GetValue(source);
837private void OnNavigateUrlChanged(Object sender, EventArgs e)
842private void OnAlternateUrlChanged(Object sender, EventArgs e)
850private void OnSpecialPropertyChanged(Object sender, bool navigateUrl)
907Object target,
978Object sourceTarget,
979Object destTarget,
982Object oldValue = property.GetValue(sourceTarget);
983Object newValue = property.GetValue(destTarget);
1046internal Object Owner
1114Object ICustomTypeDescriptor.GetEditor(Type editorBaseType)
1150Object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor property)
1163Object IDeviceSpecificChoiceDesigner.UnderlyingObject
1204foreach(Object o in comboBox.Items)
1213Object selectedItem = comboBox.SelectedItem;
UI\MobileControls\Design\StylesEditorDialog.cs (20)
631private void StylesEditorDialog_Activated(Object sender, System.EventArgs e)
650private void OnActivateDefinedStyles(Object sender, System.EventArgs e)
659Object source, StyleRenamedEventArgs e);
671private void OnAfterLabelEdit(Object source, NodeLabelEditEventArgs e)
780private void OnClickOKButton(Object sender, EventArgs e)
787private void OnStylesSelected(Object sender, TreeViewEventArgs e)
796private void OnNewStyleTypeChanged(Object sender, EventArgs e)
819private void OnClickUpButton(Object source, EventArgs e)
825private void OnClickDownButton(Object source, EventArgs e)
831private void OnClickAddButton(Object sender, EventArgs e)
837Object source, StyleDeletedEventArgs e);
849private void OnClickRemoveButton(Object source, EventArgs e)
893private void OnDoubleClick(Object sender, EventArgs e)
898private void OnKeyDown(Object sender, KeyEventArgs e)
930private void OnListMouseUp(Object sender, MouseEventArgs e)
939private void OnListMouseDown(Object sender, MouseEventArgs e)
948private void OnPopup(Object sender, EventArgs e)
954private void OnContextMenuItemClick(Object sender, EventArgs e)
972private void OnPropertyValueChanged(Object sender, PropertyValueChangedEventArgs e)
1261private void OnStyleReferenceChanged(Object sender, EventArgs e)
UI\MobileControls\Design\StyleSheetDesigner.cs (16)
170private void OnLoadComplete(Object source, EventArgs e)
240IMobileWebFormServices.SetCache(_styleSheet.ID, (Object) _templateStyle, (Object) this.TemplateStyle);
245IMobileWebFormServices.SetCache(_styleSheet.ID, (Object) _templateStyle, null);
337public override void OnComponentChanged(Object sender, ComponentChangedEventArgs ce)
352IMobileWebFormServices.SetCache(ce.OldValue.ToString(), (Object) _templateStyle, null);
547new Object[]
568foreach (Object obj in lstStylesInCycle)
578new Object[]
591new Object[]
761Object IDeviceSpecificDesigner.UnderlyingObject
900private void OnSelectedIndexChangedStylesComboBox(Object source, EventArgs e)
918private void OnStyleRenamedInEditor(Object source, StyleRenamedEventArgs e)
923private void OnStyleDeletedInEditor(Object source, StyleDeletedEventArgs e)
928private void OnClickEditStylesButton(Object source, EventArgs e)
1174protected void OnShowStylesEditor(Object sender, EventArgs e)
UI\MobileControls\Style.cs (16)
43public static readonly Object
165protected Object SaveViewState()
172protected void LoadViewState(Object state)
362public Object this[Object key]
371Object defaultValue = property.DefaultValue;
377public Object this[Object key, bool inherit]
385private Object GetValue(Property property, bool inherit, bool returnDefault, Hashtable stylesEncountered)
388Object value = State[property.Name];
663protected void AddParsedSubObject(Object o)
795public static Object RegisterStyle(String name, Type type, Object defaultValue, bool inherit)
804public Object DefaultValue;
807public Property(String name, Type type, Object defaultValue, bool inherit)
841void IParserAccessor.AddParsedSubObject(Object o) {