1 write to _methodMethodName
Microsoft.Build (1)
Evaluation\Expander.Function.cs (1)
140
_methodMethodName
= methodName;
25 references to _methodMethodName
Microsoft.Build (25)
Evaluation\Expander.Function.cs (25)
379
if (!IsStaticMethodAvailable(_receiverType,
_methodMethodName
))
381
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable",
_methodMethodName
, _receiverType.FullName);
389
if (!IsInstanceMethodAvailable(_receiverType,
_methodMethodName
))
391
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable",
_methodMethodName
, _receiverType.FullName);
442
&& IsFileOrDirectoryPathArgument(
_methodMethodName
, n))
463
if (objectInstance != null && args.Length == 1 && (String.Equals("Equals",
_methodMethodName
, StringComparison.OrdinalIgnoreCase) || String.Equals("CompareTo",
_methodMethodName
, StringComparison.OrdinalIgnoreCase)))
482
if (
_methodMethodName
.Equals("GetPathOfFileAbove") && args.Length == 1)
495
if (String.Equals("new",
_methodMethodName
, StringComparison.OrdinalIgnoreCase))
510
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(
_methodMethodName
, _receiverType, _fileSystem, out functionResult, objectInstance, args);
515
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(
_methodMethodName
, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args);
521
string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance,
_methodMethodName
, args);
540
IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(
_methodMethodName
) && m.GetParameters().Length == args.Length);
546
functionResult = _receiverType.InvokePublicMember(
_methodMethodName
, _bindingFlags, objectInstance, args);
564
!String.Equals("Unescape",
_methodMethodName
, StringComparison.OrdinalIgnoreCase) &&
565
!String.Equals("Escape",
_methodMethodName
, StringComparison.OrdinalIgnoreCase) &&
566
!String.Equals("ConvertFromBase64",
_methodMethodName
, StringComparison.OrdinalIgnoreCase))
592
string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance,
_methodMethodName
, args);
614
string partiallyEvaluated = GenerateStringOfMethodExecuted(_expression, objectInstance,
_methodMethodName
, args);
643
ErrorUtilities.ThrowArgument("CouldNotDifferentiateBetweenCompatibleMethods",
_methodMethodName
, args.Length);
655
return _receiverType.InvokePublicMember(
_methodMethodName
, _bindingFlags, objectInstance, args) ?? "null";
1264
memberInfo = FindPublicMethodBySignature(
_methodMethodName
, types);
1277
else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(
_methodMethodName
))
1286
_methodMethodName
);
1292
members = _receiverType.GetMethods(_bindingFlags).Where(m => string.Equals(m.Name,
_methodMethodName
, StringComparison.OrdinalIgnoreCase));