CorCompare.TypeData.IsFinalizer C# (CSharp) Method

IsFinalizer() static private method

static private IsFinalizer ( Mono.Cecil.MethodDefinition method ) : bool
method Mono.Cecil.MethodDefinition
return bool
		static bool IsFinalizer (MethodDefinition method)
		{
			if (method.Name != "Finalize")
				return false;

			if (!method.IsVirtual)
				return false;

			if (method.Parameters.Count != 0)
				return false;

			return true;
		}