2 writes to _receiverType
Microsoft.Build (2)
Evaluation\Expander.Function.cs (2)
152_receiverType = receiverType; 471_receiverType = objectInstance.GetType();
23 references to _receiverType
Microsoft.Build (23)
Evaluation\Expander.Function.cs (23)
379if (!IsStaticMethodAvailable(_receiverType, _methodMethodName)) 381ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 389if (!IsInstanceMethodAvailable(_receiverType, _methodMethodName)) 391ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 426if (_receiverType == typeof(System.IO.File) || _receiverType == typeof(System.IO.Directory) 427|| _receiverType == typeof(System.IO.Path)) 441if ((_receiverType == typeof(System.IO.File) || _receiverType == typeof(System.IO.Directory)) 479if (_receiverType == typeof(IntrinsicFunctions)) 497if (!WellKnownFunctions.TryExecuteWellKnownConstructorNoThrow(_receiverType, out functionResult, args)) 510wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName, _receiverType, _fileSystem, out functionResult, objectInstance, args); 515wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args); 540IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length); 546functionResult = _receiverType.InvokePublicMember(_methodMethodName, _bindingFlags, objectInstance, args); 655return _receiverType.InvokePublicMember(_methodMethodName, _bindingFlags, objectInstance, args) ?? "null"; 1100string typeName = _receiverType.FullName; 1104if (_receiverType == typeof(IntrinsicFunctions)) 1194foreach (MethodInfo method in _receiverType.GetMethods(_bindingFlags)) 1257memberInfo = _receiverType.GetConstructor(types); 1275members = _receiverType.GetConstructors(); 1277else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName)) 1292members = _receiverType.GetMethods(_bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));