2 writes to _receiverType
Microsoft.Build (2)
Evaluation\Expander.cs (2)
3798_receiverType = receiverType; 4036_receiverType = objectInstance.GetType();
22 references to _receiverType
Microsoft.Build (22)
Evaluation\Expander.cs (22)
3957if (!IsStaticMethodAvailable(_receiverType, _methodMethodName)) 3959ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 3966if (_receiverType == typeof(IntrinsicFunctions)) 3976ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 4008if (_receiverType == typeof(File) || _receiverType == typeof(Directory) 4009|| _receiverType == typeof(Path)) 4044if (_receiverType == typeof(IntrinsicFunctions)) 4062if (!WellKnownFunctions.TryExecuteWellKnownConstructorNoThrow(_receiverType, out functionResult, args)) 4075wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName, _receiverType, _fileSystem, out functionResult, objectInstance, args); 4080wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args); 4105IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length); 4111functionResult = _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture); 4220return _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null"; 4657string typeName = _receiverType.FullName; 4661if (_receiverType == typeof(IntrinsicFunctions)) 4738memberInfo = _receiverType.GetConstructor(bindingFlags, null, types, null); 4742memberInfo = _receiverType.GetMethod(_methodMethodName, bindingFlags, null, types, null); 4753members = _receiverType.GetConstructors(bindingFlags); 4755else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName)) 4757MemberInfo[] foundMembers = _receiverType.FindMembers( 4767members = _receiverType.GetMethods(bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));