1 write to _methodMethodName
Microsoft.Build (1)
Evaluation\Expander.cs (1)
3726
_methodMethodName
= methodName;
24 references to _methodMethodName
Microsoft.Build (24)
Evaluation\Expander.cs (24)
3897
if (!IsStaticMethodAvailable(_receiverType,
_methodMethodName
))
3899
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable",
_methodMethodName
, _receiverType.FullName);
3914
if (!IsInstanceMethodAvailable(
_methodMethodName
))
3916
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable",
_methodMethodName
, _receiverType.FullName);
3968
if (objectInstance != null && args.Length == 1 && (String.Equals("Equals",
_methodMethodName
, StringComparison.OrdinalIgnoreCase) || String.Equals("CompareTo",
_methodMethodName
, StringComparison.OrdinalIgnoreCase)))
3987
if (
_methodMethodName
.Equals("GetPathOfFileAbove") && args.Length == 1)
4000
if (String.Equals("new",
_methodMethodName
, StringComparison.OrdinalIgnoreCase))
4015
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(
_methodMethodName
, _receiverType, _fileSystem, out functionResult, objectInstance, args);
4020
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(
_methodMethodName
, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args);
4026
string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance,
_methodMethodName
, args);
4045
IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(
_methodMethodName
) && m.GetParameters().Length == args.Length);
4051
functionResult = _receiverType.InvokeMember(
_methodMethodName
, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture);
4069
!String.Equals("Unescape",
_methodMethodName
, StringComparison.OrdinalIgnoreCase) &&
4070
!String.Equals("Escape",
_methodMethodName
, StringComparison.OrdinalIgnoreCase) &&
4071
!String.Equals("ConvertFromBase64",
_methodMethodName
, StringComparison.OrdinalIgnoreCase))
4097
string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance,
_methodMethodName
, args);
4119
string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance,
_methodMethodName
, args);
4148
ErrorUtilities.ThrowArgument("CouldNotDifferentiateBetweenCompatibleMethods",
_methodMethodName
, args.Length);
4160
return _receiverType.InvokeMember(
_methodMethodName
, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null";
4682
memberInfo = _receiverType.GetMethod(
_methodMethodName
, bindingFlags, null, types, null);
4695
else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(
_methodMethodName
))
4701
_methodMethodName
);
4707
members = _receiverType.GetMethods(bindingFlags).Where(m => string.Equals(m.Name,
_methodMethodName
, StringComparison.OrdinalIgnoreCase));