2 writes to _receiverType
Microsoft.Build (2)
Evaluation\Expander.Function.cs (2)
151
_receiverType
= receiverType;
470
_receiverType
= objectInstance.GetType();
23 references to _receiverType
Microsoft.Build (23)
Evaluation\Expander.Function.cs (23)
378
if (!IsStaticMethodAvailable(
_receiverType
, _methodMethodName))
380
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName,
_receiverType
.FullName);
388
if (!IsInstanceMethodAvailable(
_receiverType
, _methodMethodName))
390
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName,
_receiverType
.FullName);
425
if (
_receiverType
== typeof(System.IO.File) ||
_receiverType
== typeof(System.IO.Directory)
426
||
_receiverType
== typeof(System.IO.Path))
440
if ((
_receiverType
== typeof(System.IO.File) ||
_receiverType
== typeof(System.IO.Directory))
478
if (
_receiverType
== typeof(IntrinsicFunctions))
496
if (!WellKnownFunctions.TryExecuteWellKnownConstructorNoThrow(
_receiverType
, out functionResult, args))
509
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName,
_receiverType
, _fileSystem, out functionResult, objectInstance, args);
514
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName,
_receiverType
, _loggingContext, properties, out functionResult, objectInstance, args);
539
IEnumerable<MethodInfo> methods =
_receiverType
.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length);
545
functionResult =
_receiverType
.InvokePublicMember(_methodMethodName, _bindingFlags, objectInstance, args);
654
return
_receiverType
.InvokePublicMember(_methodMethodName, _bindingFlags, objectInstance, args) ?? "null";
1099
string typeName =
_receiverType
.FullName;
1103
if (
_receiverType
== typeof(IntrinsicFunctions))
1193
foreach (MethodInfo method in
_receiverType
.GetMethods(_bindingFlags))
1256
memberInfo =
_receiverType
.GetConstructor(types);
1274
members =
_receiverType
.GetConstructors();
1276
else if (
_receiverType
== typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName))
1291
members =
_receiverType
.GetMethods(_bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));