2 writes to _receiverType
Microsoft.Build (2)
Evaluation\Expander.cs (2)
3333
_receiverType
= receiverType;
3571
_receiverType
= objectInstance.GetType();
22 references to _receiverType
Microsoft.Build (22)
Evaluation\Expander.cs (22)
3492
if (!IsStaticMethodAvailable(
_receiverType
, _methodMethodName))
3494
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName,
_receiverType
.FullName);
3501
if (
_receiverType
== typeof(IntrinsicFunctions))
3511
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName,
_receiverType
.FullName);
3543
if (
_receiverType
== typeof(File) ||
_receiverType
== typeof(Directory)
3544
||
_receiverType
== typeof(Path))
3579
if (
_receiverType
== typeof(IntrinsicFunctions))
3597
if (!WellKnownFunctions.TryExecuteWellKnownConstructorNoThrow(
_receiverType
, out functionResult, args))
3610
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunction(_methodMethodName,
_receiverType
, _fileSystem, out functionResult, objectInstance, args);
3615
wellKnownFunctionSuccess = WellKnownFunctions.TryExecuteWellKnownFunctionWithPropertiesParam(_methodMethodName,
_receiverType
, _loggingContext, properties, out functionResult, objectInstance, args);
3640
IEnumerable<MethodInfo> methods =
_receiverType
.GetMethods(_bindingFlags).Where(m => m.Name.Equals(_methodMethodName) && m.GetParameters().Length == args.Length);
3646
functionResult =
_receiverType
.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture);
3755
return
_receiverType
.InvokeMember(_methodMethodName, _bindingFlags, Type.DefaultBinder, objectInstance, args, CultureInfo.InvariantCulture) ?? "null";
4193
string typeName =
_receiverType
.FullName;
4197
if (
_receiverType
== typeof(IntrinsicFunctions))
4274
memberInfo =
_receiverType
.GetConstructor(bindingFlags, null, types, null);
4278
memberInfo =
_receiverType
.GetMethod(_methodMethodName, bindingFlags, null, types, null);
4289
members =
_receiverType
.GetConstructors(bindingFlags);
4291
else if (
_receiverType
== typeof(IntrinsicFunctions) && IntrinsicFunctionOverload.IsKnownOverloadMethodName(_methodMethodName))
4293
MemberInfo[] foundMembers =
_receiverType
.FindMembers(
4303
members =
_receiverType
.GetMethods(bindingFlags).Where(m => string.Equals(m.Name, _methodMethodName, StringComparison.OrdinalIgnoreCase));