2 writes to _receiverType
Microsoft.Build (2)
Evaluation\Expander.cs (2)
3314_receiverType = receiverType; 3552_receiverType = objectInstance.GetType();
22 references to _receiverType
Microsoft.Build (22)
Evaluation\Expander.cs (22)
3473if (!IsStaticMethodAvailable(_receiverType, _methodMethodName)) 3475ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 3482if (_receiverType == typeof(IntrinsicFunctions)) 3492ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 3524if (_receiverType == typeof(File) || _receiverType == typeof(Directory) 3525|| _receiverType == typeof(Path)) 3560if (_receiverType == typeof(IntrinsicFunctions)) 3578if (!WellKnownFunctions.TryExecuteWellKnownConstructorNoThrow(_receiverType, out functionResult, args)) 3591wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName, _receiverType, _fileSystem, out functionResult, objectInstance, args); 3596wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args); 3621IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length); 3627functionResult = _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture); 3736return _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null"; 4174string typeName = _receiverType.FullName; 4178if (_receiverType == typeof(IntrinsicFunctions)) 4255memberInfo = _receiverType.GetConstructor(bindingFlags, null, types, null); 4259memberInfo = _receiverType.GetMethod(_methodMethodName, bindingFlags, null, types, null); 4270members = _receiverType.GetConstructors(bindingFlags); 4272else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName)) 4274MemberInfo[] foundMembers = _receiverType.FindMembers( 4284members = _receiverType.GetMethods(bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));