2 writes to _receiverType
Microsoft.Build (2)
Evaluation\Expander.cs (2)
3784_receiverType = receiverType; 4022_receiverType = objectInstance.GetType();
22 references to _receiverType
Microsoft.Build (22)
Evaluation\Expander.cs (22)
3943if (!IsStaticMethodAvailable(_receiverType, _methodMethodName)) 3945ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 3952if (_receiverType == typeof(IntrinsicFunctions)) 3962ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 3994if (_receiverType == typeof(File) || _receiverType == typeof(Directory) 3995|| _receiverType == typeof(Path)) 4030if (_receiverType == typeof(IntrinsicFunctions)) 4048if (!WellKnownFunctions.TryExecuteWellKnownConstructorNoThrow(_receiverType, out functionResult, args)) 4061wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName, _receiverType, _fileSystem, out functionResult, objectInstance, args); 4066wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName, _receiverType, _loggingContext, properties, out functionResult, objectInstance, args); 4091IEnumerable<MethodInfo> methods = _receiverType.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length); 4097functionResult = _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture); 4206return _receiverType.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null"; 4643string typeName = _receiverType.FullName; 4647if (_receiverType == typeof(IntrinsicFunctions)) 4724memberInfo = _receiverType.GetConstructor(bindingFlags, null, types, null); 4728memberInfo = _receiverType.GetMethod(_methodMethodName, bindingFlags, null, types, null); 4739members = _receiverType.GetConstructors(bindingFlags); 4741else if (_receiverType == typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName)) 4743MemberInfo[] foundMembers = _receiverType.FindMembers( 4753members = _receiverType.GetMethods(bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));