1 write to _methodMethodName
Microsoft.Build (1)
Evaluation\Expander.cs (1)
3791_methodMethodName = methodName;
25 references to _methodMethodName
Microsoft.Build (25)
Evaluation\Expander.cs (25)
3994if (!IsStaticMethodAvailable(_receiverType, _methodMethodName)) 3996ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 4011if (!IsInstanceMethodAvailable(_methodMethodName)) 4013ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 4064&& IsFileOrDirectoryPathArgument(_methodMethodName, n)) 4085if (objectInstance != null && args.Length == 1 && (String.Equals("Equals", _methodMethodName, StringComparison.OrdinalIgnoreCase) || String.Equals("CompareTo", _methodMethodName, StringComparison.OrdinalIgnoreCase))) 4104if (_methodMethodName.Equals("GetPathOfFileAbove") && args.Length == 1) 4117if (String.Equals("new", _methodMethodName, StringComparison.OrdinalIgnoreCase)) 4132wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName, _receiverType, _fileSystem, out functionResult, objectInstance, args); 4137wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args); 4143string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance, _methodMethodName, args); 4162IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length); 4168functionResult = _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture); 4186!String.Equals("Unescape", _methodMethodName, StringComparison.OrdinalIgnoreCase) && 4187!String.Equals("Escape", _methodMethodName, StringComparison.OrdinalIgnoreCase) && 4188!String.Equals("ConvertFromBase64", _methodMethodName, StringComparison.OrdinalIgnoreCase)) 4214string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance, _methodMethodName, args); 4236string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance, _methodMethodName, args); 4265ErrorUtilities.ThrowArgument("CouldNotDifferentiateBetweenCompatibleMethods", _methodMethodName, args.Length); 4277return _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null"; 4799memberInfo = _receiverType.GetMethod(_methodMethodName, bindingFlags, null, types, null); 4812else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName)) 4818_methodMethodName); 4824members = _receiverType.GetMethods(bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));