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