1 write to _methodMethodName
Microsoft.Build (1)
Evaluation\Expander.cs (1)
3302_methodMethodName = methodName;
24 references to _methodMethodName
Microsoft.Build (24)
Evaluation\Expander.cs (24)
3473if (!IsStaticMethodAvailable(_receiverType, _methodMethodName)) 3475ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 3490if (!IsInstanceMethodAvailable(_methodMethodName)) 3492ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 3544if (objectInstance != null && args.Length == 1 && (String.Equals("Equals", _methodMethodName, StringComparison.OrdinalIgnoreCase) || String.Equals("CompareTo", _methodMethodName, StringComparison.OrdinalIgnoreCase))) 3563if (_methodMethodName.Equals("GetPathOfFileAbove") && args.Length == 1) 3576if (String.Equals("new", _methodMethodName, StringComparison.OrdinalIgnoreCase)) 3591wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName, _receiverType, _fileSystem, out functionResult, objectInstance, args); 3596wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args); 3602string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance, _methodMethodName, args); 3621IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length); 3627functionResult = _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture); 3645!String.Equals("Unescape", _methodMethodName, StringComparison.OrdinalIgnoreCase) && 3646!String.Equals("Escape", _methodMethodName, StringComparison.OrdinalIgnoreCase) && 3647!String.Equals("ConvertFromBase64", _methodMethodName, StringComparison.OrdinalIgnoreCase)) 3673string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance, _methodMethodName, args); 3695string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance, _methodMethodName, args); 3724ErrorUtilities.ThrowArgument("CouldNotDifferentiateBetweenCompatibleMethods", _methodMethodName, args.Length); 3736return _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null"; 4259memberInfo = _receiverType.GetMethod(_methodMethodName, bindingFlags, null, types, null); 4272else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName)) 4278_methodMethodName); 4284members = _receiverType.GetMethods(bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));