Esempio n. 1
0
 private void  InitBlock()
 {
     // REMOVE: in 3.0
     #pragma warning disable 618
     supportedMethods = GetSupportedMethods(this.GetType());
     #pragma warning restore 618
 }
Esempio n. 2
0
        private static MethodSupport GetSupportedMethods(System.Type clazz)
        {
            MethodSupport supportedMethods;

            lock (knownMethodSupport)
            {
                supportedMethods = knownMethodSupport[clazz];
                if (supportedMethods == null)
                {
                    knownMethodSupport.Add(clazz, supportedMethods = new MethodSupport(clazz));
                }
            }
            return(supportedMethods);
        }
Esempio n. 3
0
		private static MethodSupport GetSupportedMethods(System.Type clazz)
		{
			MethodSupport supportedMethods;
			lock (knownMethodSupport)
			{
				supportedMethods = (MethodSupport) knownMethodSupport[clazz];
				if (supportedMethods == null)
				{
					knownMethodSupport.Add(clazz, supportedMethods = new MethodSupport(clazz));
				}
			}
			return supportedMethods;
		}
Esempio n. 4
0
 private void InitBlock()
 {
     supportedMethods = GetSupportedMethods(this.GetType());
 }
Esempio n. 5
0
		private void  InitBlock()
        {
            // REMOVE: in 3.0
            #pragma warning disable 618
            supportedMethods = GetSupportedMethods(this.GetType());
            #pragma warning restore 618
		}