2 writes to _receiverType
Microsoft.Build (2)
Evaluation\Expander.cs (2)
3318_receiverType = receiverType; 3556_receiverType = objectInstance.GetType();
22 references to _receiverType
Microsoft.Build (22)
Evaluation\Expander.cs (22)
3477if (!IsStaticMethodAvailable(_receiverType, _methodMethodName)) 3479ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 3486if (_receiverType == typeof(IntrinsicFunctions)) 3496ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 3528if (_receiverType == typeof(File) || _receiverType == typeof(Directory) 3529|| _receiverType == typeof(Path)) 3564if (_receiverType == typeof(IntrinsicFunctions)) 3582if (!WellKnownFunctions.TryExecuteWellKnownConstructorNoThrow(_receiverType, out functionResult, args)) 3595wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName, _receiverType, _fileSystem, out functionResult, objectInstance, args); 3600wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args); 3625IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length); 3631functionResult = _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture); 3740return _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null"; 4178string typeName = _receiverType.FullName; 4182if (_receiverType == typeof(IntrinsicFunctions)) 4259memberInfo = _receiverType.GetConstructor(bindingFlags, null, types, null); 4263memberInfo = _receiverType.GetMethod(_methodMethodName, bindingFlags, null, types, null); 4274members = _receiverType.GetConstructors(bindingFlags); 4276else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName)) 4278MemberInfo[] foundMembers = _receiverType.FindMembers( 4288members = _receiverType.GetMethods(bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));