1 write to TempVariable
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\VariantBuilder.cs (1)
50
TempVariable
= Expression.Variable(argExpr.Type, null);
15 references to TempVariable
Microsoft.CSharp (15)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComInvokeBinder.cs (2)
516
if (variant.
TempVariable
!= null)
518
vars.Add(variant.
TempVariable
);
Microsoft\CSharp\RuntimeBinder\ComInterop\VariantBuilder.cs (13)
47
Debug.Assert(
TempVariable
== null);
52
Expression.Assign(
TempVariable
, argExpr),
56
TempVariable
114
Debug.Assert(
TempVariable
!= null);
115
return Expression.Call(typeof(Marshal).GetMethod(nameof(Marshal.FreeBSTR)),
TempVariable
);
120
Debug.Assert(
TempVariable
!= null);
121
return Release(
TempVariable
);
126
Debug.Assert(
TempVariable
!= null);
127
return Release(
TempVariable
);
132
Debug.Assert(
TempVariable
!= null);
133
return Expression.Call(
TempVariable
, typeof(ComVariant).GetMethod(nameof(ComVariant.Dispose)));
161
if (
TempVariable
== null)
168
_argBuilder.UnmarshalFromRef(
TempVariable
),