2 writes to _receiverType
Microsoft.Build (2)
Evaluation\Expander.cs (2)
3803
_receiverType
= receiverType;
4093
_receiverType
= objectInstance.GetType();
24 references to _receiverType
Microsoft.Build (24)
Evaluation\Expander.cs (24)
3994
if (!IsStaticMethodAvailable(
_receiverType
, _methodMethodName))
3996
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName,
_receiverType
.FullName);
4003
if (
_receiverType
== typeof(IntrinsicFunctions))
4013
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName,
_receiverType
.FullName);
4048
if (
_receiverType
== typeof(System.IO.File) ||
_receiverType
== typeof(System.IO.Directory)
4049
||
_receiverType
== typeof(System.IO.Path))
4063
if ((
_receiverType
== typeof(System.IO.File) ||
_receiverType
== typeof(System.IO.Directory))
4101
if (
_receiverType
== typeof(IntrinsicFunctions))
4119
if (!WellKnownFunctions.TryExecuteWellKnownConstructorNoThrow(
_receiverType
, out functionResult, args))
4132
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName,
_receiverType
, _fileSystem, out functionResult, objectInstance, args);
4137
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName,
_receiverType
, _loggingContext, properties, out functionResult, objectInstance, args);
4162
IEnumerable<MethodInfo> methods =
_receiverType
.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length);
4168
functionResult =
_receiverType
.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture);
4277
return
_receiverType
.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null";
4714
string typeName =
_receiverType
.FullName;
4718
if (
_receiverType
== typeof(IntrinsicFunctions))
4795
memberInfo =
_receiverType
.GetConstructor(bindingFlags, null, types, null);
4799
memberInfo =
_receiverType
.GetMethod(_methodMethodName, bindingFlags, null, types, null);
4810
members =
_receiverType
.GetConstructors(bindingFlags);
4812
else if (
_receiverType
== typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName))
4814
MemberInfo[] foundMembers =
_receiverType
.FindMembers(
4824
members =
_receiverType
.GetMethods(bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));