2 writes to _receiverType
Microsoft.Build (2)
Evaluation\Expander.Function.cs (2)
152
_receiverType
= receiverType;
471
_receiverType
= objectInstance.GetType();
23 references to _receiverType
Microsoft.Build (23)
Evaluation\Expander.Function.cs (23)
379
if (!IsStaticMethodAvailable(
_receiverType
, _methodMethodName))
381
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName,
_receiverType
.FullName);
389
if (!IsInstanceMethodAvailable(
_receiverType
, _methodMethodName))
391
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName,
_receiverType
.FullName);
426
if (
_receiverType
== typeof(System.IO.File) ||
_receiverType
== typeof(System.IO.Directory)
427
||
_receiverType
== typeof(System.IO.Path))
441
if ((
_receiverType
== typeof(System.IO.File) ||
_receiverType
== typeof(System.IO.Directory))
479
if (
_receiverType
== typeof(IntrinsicFunctions))
497
if (!WellKnownFunctions.TryExecuteWellKnownConstructorNoThrow(
_receiverType
, out functionResult, args))
510
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName,
_receiverType
, _fileSystem, out functionResult, objectInstance, args);
515
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName,
_receiverType
, _loggingContext, properties, out functionResult, objectInstance, args);
540
IEnumerable<MethodInfo> methods =
_receiverType
.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length);
546
functionResult =
_receiverType
.InvokePublicMember(_methodMethodName, _bindingFlags, objectInstance, args);
655
return
_receiverType
.InvokePublicMember(_methodMethodName, _bindingFlags, objectInstance, args) ?? "null";
1100
string typeName =
_receiverType
.FullName;
1104
if (
_receiverType
== typeof(IntrinsicFunctions))
1194
foreach (MethodInfo method in
_receiverType
.GetMethods(_bindingFlags))
1257
memberInfo =
_receiverType
.GetConstructor(types);
1275
members =
_receiverType
.GetConstructors();
1277
else if (
_receiverType
== typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName))
1292
members =
_receiverType
.GetMethods(_bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));