1 write to _methodMethodName
Microsoft.Build (1)
Evaluation\Expander.Function.cs (1)
139
_methodMethodName
= methodName;
25 references to _methodMethodName
Microsoft.Build (25)
Evaluation\Expander.Function.cs (25)
378
if (!IsStaticMethodAvailable(_receiverType,
_methodMethodName
))
380
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable",
_methodMethodName
, _receiverType.FullName);
388
if (!IsInstanceMethodAvailable(_receiverType,
_methodMethodName
))
390
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable",
_methodMethodName
, _receiverType.FullName);
441
&& IsFileOrDirectoryPathArgument(
_methodMethodName
, n))
462
if (objectInstance != null && args.Length == 1 && (String.Equals("Equals",
_methodMethodName
, StringComparison.OrdinalIgnoreCase) || String.Equals("CompareTo",
_methodMethodName
, StringComparison.OrdinalIgnoreCase)))
481
if (
_methodMethodName
.Equals("GetPathOfFileAbove") && args.Length == 1)
494
if (String.Equals("new",
_methodMethodName
, StringComparison.OrdinalIgnoreCase))
509
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(
_methodMethodName
, _receiverType, _fileSystem, out functionResult, objectInstance, args);
514
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(
_methodMethodName
, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args);
520
string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance,
_methodMethodName
, args);
539
IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(
_methodMethodName
) && m.GetParameters().Length == args.Length);
545
functionResult = _receiverType.InvokePublicMember(
_methodMethodName
, _bindingFlags, objectInstance, args);
563
!String.Equals("Unescape",
_methodMethodName
, StringComparison.OrdinalIgnoreCase) &&
564
!String.Equals("Escape",
_methodMethodName
, StringComparison.OrdinalIgnoreCase) &&
565
!String.Equals("ConvertFromBase64",
_methodMethodName
, StringComparison.OrdinalIgnoreCase))
591
string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance,
_methodMethodName
, args);
613
string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance,
_methodMethodName
, args);
642
ErrorUtilities.ThrowArgument("CouldNotDifferentiateBetweenCompatibleMethods",
_methodMethodName
, args.Length);
654
return _receiverType.InvokePublicMember(
_methodMethodName
, _bindingFlags, objectInstance, args) ?? "null";
1263
memberInfo = FindPublicMethodBySignature(
_methodMethodName
, types);
1276
else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(
_methodMethodName
))
1285
_methodMethodName
);
1291
members = _receiverType.GetMethods(_bindingFlags).Where(m => string.Equals(m.Name,
_methodMethodName
, StringComparison.OrdinalIgnoreCase));