All pastes #290453 Raw Edit

Miscellany

public text v1 · immutable
#290453 ·published 2006-12-24 00:52 UTC
rendered paste body
./mcs/expression.cs:							"method `{0}' cannot be infered from " +
./mcs/delegate.cs:					      "method `{0}' cannot be infered from " +
./mcs/class.cs:					Type[] infered = new Type [CountTypeParameters];
./mcs/class.cs:					if (!TypeManager.MayBecomeEqualGenericInstances (iface, t, infered, null))
./gmcs/generic.cs:		public static bool MayBecomeEqualGenericTypes (Type a, Type b, Type[] class_infered,
./gmcs/generic.cs:							       Type[] method_infered)
./gmcs/generic.cs:					Type[] args = a.DeclaringMethod != null ? method_infered : class_infered;
./gmcs/generic.cs:				return MayBecomeEqualGenericTypes (b, a, class_infered, method_infered);
./gmcs/generic.cs:				return MayBecomeEqualGenericInstances (a, b, class_infered, method_infered);
./gmcs/generic.cs:				return MayBecomeEqualGenericTypes (a, b, class_infered, method_infered);
./gmcs/generic.cs:								   Type[] class_infered,
./gmcs/generic.cs:								   Type[] method_infered)
./gmcs/generic.cs:				GetTypeArguments (a), GetTypeArguments (b), class_infered, method_infered);
./gmcs/generic.cs:								   Type[] class_infered,
./gmcs/generic.cs:								   Type[] method_infered)
./gmcs/generic.cs:				if (!MayBecomeEqualGenericTypes (aargs [i], bargs [i], class_infered, method_infered))
./gmcs/generic.cs:		static bool InferType (Type pt, Type at, Type[] infered)
./gmcs/generic.cs:				if (infered [pos] == null) {
./gmcs/generic.cs:					infered [pos] = at;
./gmcs/generic.cs:				if (infered [pos] != at)
./gmcs/generic.cs:					return InferType (at, pt, infered);
./gmcs/generic.cs:					return InferType (pt.GetElementType (), at.GetElementType (), infered);
./gmcs/generic.cs:				return InferType (args [0], at.GetElementType (), infered);
./gmcs/generic.cs:				return InferType (pt.GetElementType (), at.GetElementType (), infered);
./gmcs/generic.cs:				return InferType (pt.GetElementType (), at.GetElementType (), infered);
./gmcs/generic.cs:				Type[] infered_types = new Type [infered.Length];
./gmcs/generic.cs:				if (!InferGenericInstance (pt, type, infered_types))
./gmcs/generic.cs:				for (int i = 0; i < infered_types.Length; i++) {
./gmcs/generic.cs:					if (infered [i] == null) {
./gmcs/generic.cs:						infered [i] = infered_types [i];
./gmcs/generic.cs:					if (infered [i] != infered_types [i])
./gmcs/generic.cs:		static bool InferGenericInstance (Type pt, Type at, Type[] infered_types)
./gmcs/generic.cs:				if (!InferType (pt_args [i], at_args [i], infered_types))
./gmcs/generic.cs:			for (int i = 0; i < infered_types.Length; i++) {
./gmcs/generic.cs:				if (infered_types [i] == null)
./gmcs/generic.cs:			Type[] infered_types = new Type [method_args.Length];
./gmcs/generic.cs:				if (!InferType (pt, at, infered_types))
./gmcs/generic.cs:				if (!InferType (element_type, a.Type, infered_types))
./gmcs/generic.cs:			for (int i = 0; i < infered_types.Length; i++)
./gmcs/generic.cs:				if (infered_types [i] == null)
./gmcs/generic.cs:			method = ((MethodInfo)method).MakeGenericMethod (infered_types);
./gmcs/generic.cs:						Type[] infered_types)
./gmcs/generic.cs:			if (infered_types == null)
./gmcs/generic.cs:				if (!InferType (param_types [i], arg_types [i], infered_types))
./gmcs/generic.cs:			for (int i = 0; i < infered_types.Length; i++)
./gmcs/generic.cs:				if (infered_types [i] == null)
./gmcs/generic.cs:			Type[] infered_types = new Type [method_args.Length];
./gmcs/generic.cs:			if (!InferTypeArguments (param_types, arg_types, infered_types))
./gmcs/generic.cs:			method = ((MethodInfo)method).MakeGenericMethod (infered_types);
./gmcs/generic.cs:			Type[] infered_types = new Type [method_args.Length];
./gmcs/generic.cs:			if (!InferTypeArguments (param_types, arg_types, infered_types))
./gmcs/generic.cs:			method = ((MethodInfo)method).MakeGenericMethod (infered_types);
./class/System.XML/System.Xml.Schema/XmlSchemaInference.cs:			// 0 and 1 are not infered as byte unlike MS.XSDInfer
./class/System/Test/System/UriParserTest.cs:			// infered from class library
./class/System.Data/System.Data/XmlDataLoader.cs:				if (IsInferedAsTable(childNode)) {
./class/System.Data/System.Data/XmlDataLoader.cs:					// child node infered as table
./class/System.Data/System.Data/XmlDataLoader.cs:		private bool IsInferedAsTable(XmlNode node)
./class/System.Data/System.Data/XmlDataInferenceLoader.cs:				// Child is already mapped, or infered as a table

./class/System.Data/System.Data/XmlDataInferenceLoader.cs://	Attributes are always (except for namespace nodes) infered as 

./errors/gcs0411.cs:// gcs0411.cs: The type arguments for method `Foo' cannot be infered from the usage. Try specifying the type arguments explicitly
./errors/gcs0411-2.cs:// gcs0411.cs: The type arguments for method `Foo' cannot be infered from the usage. Try specifying the type arguments explicitly
./errors/gcs0411-3.cs:// gcs0411.cs: The type arguments for method `Foo' cannot be infered from the usage. Try specifying the type arguments explicitly
./errors/gcs0411-4.cs:// gcs0411.cs: The type arguments for method `T X.G<T>()' cannot be infered from the usage. Try specifying the type arguments explicitly
./errors/gcs0411-5.cs:// CS0411: The type arguments for method `World' cannot be infered from the usage. Try specifying the type arguments explicitly
./errors/gcs0411-6.cs:// CS0411: The type arguments for method `World' cannot be infered from the usage. Try specifying the type arguments explicitly
./errors/gcs0411-7.cs:// CS0411: The type arguments for method `Test' cannot be infered from the usage. Try specifying the type arguments explicitly