2 writes to _receiverType
Microsoft.Build (2)
Evaluation\Expander.Function.cs (2)
114
_receiverType
= receiverType;
404
_receiverType
= objectInstance.GetType();
24 references to _receiverType
Microsoft.Build (24)
Evaluation\Expander.Function.cs (24)
305
if (!IsStaticMethodAvailable(
_receiverType
, _methodMethodName))
307
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName,
_receiverType
.FullName);
314
if (
_receiverType
== typeof(IntrinsicFunctions))
324
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName,
_receiverType
.FullName);
359
if (
_receiverType
== typeof(System.IO.File) ||
_receiverType
== typeof(System.IO.Directory)
360
||
_receiverType
== typeof(System.IO.Path))
374
if ((
_receiverType
== typeof(System.IO.File) ||
_receiverType
== typeof(System.IO.Directory))
412
if (
_receiverType
== typeof(IntrinsicFunctions))
430
if (!WellKnownFunctions.TryExecuteWellKnownConstructorNoThrow(
_receiverType
, out functionResult, args))
443
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName,
_receiverType
, _fileSystem, out functionResult, objectInstance, args);
448
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName,
_receiverType
, _loggingContext, properties, out functionResult, objectInstance, args);
473
IEnumerable<MethodInfo> methods =
_receiverType
.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length);
479
functionResult =
_receiverType
.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture);
588
return
_receiverType
.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null";
1025
string typeName =
_receiverType
.FullName;
1029
if (
_receiverType
== typeof(IntrinsicFunctions))
1106
memberInfo =
_receiverType
.GetConstructor(bindingFlags, null, types, null);
1110
memberInfo =
_receiverType
.GetMethod(_methodMethodName, bindingFlags, null, types, null);
1121
members =
_receiverType
.GetConstructors(bindingFlags);
1123
else if (
_receiverType
== typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName))
1125
MemberInfo[] foundMembers =
_receiverType
.FindMembers(
1135
members =
_receiverType
.GetMethods(bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));