2 writes to _receiverType
Microsoft.Build (2)
Evaluation\Expander.Function.cs (2)
114_receiverType = receiverType; 404_receiverType = objectInstance.GetType();
24 references to _receiverType
Microsoft.Build (24)
Evaluation\Expander.Function.cs (24)
305if (!IsStaticMethodAvailable(_receiverType, _methodMethodName)) 307ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 314if (_receiverType == typeof(IntrinsicFunctions)) 324ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 359if (_receiverType == typeof(System.IO.File) || _receiverType == typeof(System.IO.Directory) 360|| _receiverType == typeof(System.IO.Path)) 374if ((_receiverType == typeof(System.IO.File) || _receiverType == typeof(System.IO.Directory)) 412if (_receiverType == typeof(IntrinsicFunctions)) 430if (!WellKnownFunctions.TryExecuteWellKnownConstructorNoThrow(_receiverType, out functionResult, args)) 443wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName, _receiverType, _fileSystem, out functionResult, objectInstance, args); 448wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args); 473IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length); 479functionResult = _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture); 588return _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null"; 1025string typeName = _receiverType.FullName; 1029if (_receiverType == typeof(IntrinsicFunctions)) 1106memberInfo = _receiverType.GetConstructor(bindingFlags, null, types, null); 1110memberInfo = _receiverType.GetMethod(_methodMethodName, bindingFlags, null, types, null); 1121members = _receiverType.GetConstructors(bindingFlags); 1123else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName)) 1125MemberInfo[] foundMembers = _receiverType.FindMembers( 1135members = _receiverType.GetMethods(bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));