1 write to _methodMethodName
Microsoft.Build (1)
Evaluation\Expander.Function.cs (1)
102_methodMethodName = methodName;
25 references to _methodMethodName
Microsoft.Build (25)
Evaluation\Expander.Function.cs (25)
305if (!IsStaticMethodAvailable(_receiverType, _methodMethodName)) 307ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 322if (!IsInstanceMethodAvailable(_methodMethodName)) 324ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 375&& IsFileOrDirectoryPathArgument(_methodMethodName, n)) 396if (objectInstance != null && args.Length == 1 && (String.Equals("Equals", _methodMethodName, StringComparison.OrdinalIgnoreCase) || String.Equals("CompareTo", _methodMethodName, StringComparison.OrdinalIgnoreCase))) 415if (_methodMethodName.Equals("GetPathOfFileAbove") && args.Length == 1) 428if (String.Equals("new", _methodMethodName, StringComparison.OrdinalIgnoreCase)) 443wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName, _receiverType, _fileSystem, out functionResult, objectInstance, args); 448wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args); 454string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance, _methodMethodName, args); 473IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length); 479functionResult = _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture); 497!String.Equals("Unescape", _methodMethodName, StringComparison.OrdinalIgnoreCase) && 498!String.Equals("Escape", _methodMethodName, StringComparison.OrdinalIgnoreCase) && 499!String.Equals("ConvertFromBase64", _methodMethodName, StringComparison.OrdinalIgnoreCase)) 525string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance, _methodMethodName, args); 547string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance, _methodMethodName, args); 576ErrorUtilities.ThrowArgument("CouldNotDifferentiateBetweenCompatibleMethods", _methodMethodName, args.Length); 588return _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null"; 1110memberInfo = _receiverType.GetMethod(_methodMethodName, bindingFlags, null, types, null); 1123else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName)) 1129_methodMethodName); 1135members = _receiverType.GetMethods(bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));