Base:
property
LocalType
System.Reflection.LocalVariableInfo.LocalType
104 references to LocalType
mscorlib (1)
system\reflection\emit\ilgenerator.cs (1)
1209
cls = localBuilder.
LocalType
;
System.Core (3)
Microsoft\Scripting\Compiler\BoundConstants.cs (1)
156
EmitConstantFromArray(lc, reference.Key.Value, local.
LocalType
);
Microsoft\Scripting\Compiler\LambdaCompiler.cs (2)
251
Debug.Assert(type == local.
LocalType
);
260
_freeLocals.Enqueue(local.
LocalType
, local);
System.Data.Linq (6)
SqlClient\Reader\ObjectReaderCompiler.cs (6)
1321
if (loc.
LocalType
.IsValueType) {
1920
this.GenerateEquals(locDiscriminator.
LocalType
);
1955
this.GenerateConstant(locDiscriminator.
LocalType
, vMatch.Value);
1956
this.GenerateEquals(locDiscriminator.
LocalType
);
1999
this.GenerateConstant(locDiscriminator.
LocalType
, code);
2000
this.GenerateEquals(locDiscriminator.
LocalType
);
System.Data.SqlXml (4)
System\Xml\Xsl\IlGen\IteratorDescriptor.cs (4)
90
Debug.Assert(loc.
LocalType
== itemStorageType ||
91
typeof(IList<>).MakeGenericType(itemStorageType).IsAssignableFrom(loc.
LocalType
),
106
Debug.Assert(locIter.
LocalType
.GetMethod("get_Current").ReturnType == itemStorageType,
477
this.helper.Call(this.storage.CurrentLocation.
LocalType
.GetMethod("get_Current"));
System.Runtime.Serialization (49)
System\Runtime\Serialization\CodeGenerator.cs (6)
287
return ((LocalBuilder)var).
LocalType
;
1192
if (localBuilder.
LocalType
.IsValueType)
1203
EmitStackTop(localBuilder.
LocalType
);
1210
EmitStackTop(local.
LocalType
);
1274
EmitStackTop(localBuilder.
LocalType
);
1807
ToDebuggableString(arrayVar.
LocalType
.GetElementType());
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (13)
160
ilg.ConvertValue(objectLocal.
LocalType
, Globals.TypeOfDateTimeOffsetAdapter);
166
ilg.ConvertValue(objectLocal.
LocalType
, ilg.CurrentMethod.ReturnType);
177
ilg.ConvertValue(objectLocal.
LocalType
, ilg.CurrentMethod.ReturnType);
303
ilg.ConvertAddress(objectLocal.
LocalType
, objectType);
317
ilg.ConvertAddress(objectLocal.
LocalType
, objectType);
335
ilg.ConvertAddress(objectLocal.
LocalType
, Globals.TypeOfIObjectReference);
404
ilg.ConvertValue(objectLocal.
LocalType
, Globals.TypeOfObject);
441
ilg.ConvertAddress(objectLocal.
LocalType
, objectType);
511
ilg.ConvertAddress(objectLocal.
LocalType
, objectType);
541
ilg.InitObj(value.
LocalType
);
629
Type innerType = innerValue.
LocalType
, outerType = outerValue.
LocalType
;
1018
ClassDataContract keyValuePairContract = DataContract.GetDataContract(value.
LocalType
) as ClassDataContract;
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (10)
270
ilg.ConvertValue(objectLocal.
LocalType
, Globals.TypeOfIExtensibleDataObject);
527
ilg.ConvertValue(currentValue.
LocalType
, Globals.TypeOfObject);
529
ilg.Load(currentValue.
LocalType
);
656
Type memberType = memberValue.
LocalType
;
681
memberType = memberValue.
LocalType
;
711
ilg.ConvertValue(memberValue.
LocalType
, Globals.TypeOfObject);
713
memberType = memberValue.
LocalType
;
734
ilg.ConvertValue(memberValue.
LocalType
, Globals.TypeOfObject);
749
Type memberType = memberValue.
LocalType
;
788
if (nameLocal != null && nameLocal.
LocalType
== typeof(string))
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (12)
171
ilg.ConvertValue(objectLocal.
LocalType
, Globals.TypeOfDateTimeOffsetAdapter);
177
ilg.ConvertValue(objectLocal.
LocalType
, ilg.CurrentMethod.ReturnType);
188
ilg.ConvertValue(objectLocal.
LocalType
, ilg.CurrentMethod.ReturnType);
296
ilg.ConvertAddress(objectLocal.
LocalType
, objectType);
310
ilg.ConvertAddress(objectLocal.
LocalType
, objectType);
328
ilg.ConvertAddress(objectLocal.
LocalType
, Globals.TypeOfIObjectReference);
431
ilg.ConvertAddress(objectLocal.
LocalType
, objectType);
467
ilg.ConvertAddress(objectLocal.
LocalType
, objectType);
497
ilg.InitObj(value.
LocalType
);
584
Type innerType = innerValue.
LocalType
, outerType = outerValue.
LocalType
;
869
ClassDataContract keyValuePairContract = DataContract.GetDataContract(value.
LocalType
) as ClassDataContract;
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (8)
287
ilg.ConvertValue(objectLocal.
LocalType
, Globals.TypeOfIExtensibleDataObject);
526
ilg.ConvertValue(currentValue.
LocalType
, Globals.TypeOfObject);
633
Type memberType = memberValue.
LocalType
;
658
memberType = memberValue.
LocalType
;
688
ilg.ConvertValue(memberValue.
LocalType
, Globals.TypeOfObject);
690
memberType = memberValue.
LocalType
;
711
ilg.ConvertValue(memberValue.
LocalType
, Globals.TypeOfObject);
727
Type memberType = memberValue.
LocalType
;
System.ServiceModel (8)
System\ServiceModel\Dispatcher\CodeGenerator.cs (5)
205
return ((LocalBuilder)var).
LocalType
;
543
if (localBuilder.
LocalType
.IsValueType)
554
EmitStackTop(localBuilder.
LocalType
);
561
EmitStackTop(local.
LocalType
);
625
EmitStackTop(localBuilder.
LocalType
);
System\ServiceModel\Dispatcher\InvokerUtil.cs (3)
271
Type parameterType = parameterLocals[i].
LocalType
;
300
ilg.LoadZeroValueIntoLocal(parameterLocals[i].
LocalType
, parameterLocals[i]);
348
ilg.ConvertValue(parameterLocals[i].
LocalType
, TypeOfObject);
System.Xml (33)
System\Xml\Serialization\CodeGenerator.cs (6)
174
return ((LocalBuilder)var).
LocalType
;
265
Debug.Assert(local.
LocalType
== type);
1204
if (localBuilder.
LocalType
.IsValueType)
1225
Debug.Assert(local.
LocalType
== type);
1236
Debug.Assert(local.
LocalType
== type);
2574
Tuple<Type, string> key = new Tuple<Type, string>(item.Value.
LocalType
, item.Key);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (20)
638
ilg.Stelem(arrayLoc.
LocalType
.GetElementType());
1188
ilg.ConvertValue(methodBuilder.ReturnType, ilg.ReturnLocal.
LocalType
);
1254
ilg.ConvertValue(methodBuilder.ReturnType, eLoc.
LocalType
);
1425
new Type[] { locXsiType.
LocalType
},
1492
new Type[] { locXsiType.
LocalType
},
2037
ilg.ConvertValue(XmlDocument_ReadNode.ReturnType, localAttr.
LocalType
);
2043
new Type[] { localAttr.
LocalType
},
2056
ilg.ConvertValue(firstParam.
LocalType
, typeof(object));
2107
if (attrLoc.
LocalType
== typeof(XmlAttribute)) {
2116
ilg.ConvertValue(attrLoc.
LocalType
, typeof(XmlAttribute));
2706
WriteSourceEnd(member.Source, arrayLoc.
LocalType
);
2741
Type arrayElementType = localA.
LocalType
.GetElementType();
2754
ilg.Castclass(localA.
LocalType
);
2834
Debug.Assert(!localA.
LocalType
.IsGenericType || (localA.
LocalType
.GetGenericArguments().Length == 1 && localA.
LocalType
.GetGenericArguments()[0].IsAssignableFrom(elementType)));
2835
MethodInfo Add = localA.
LocalType
.GetMethod(
3623
ilg.ConvertValue(localO.
LocalType
, typeof(object));
3635
ilg.ConvertValue(localO.
LocalType
, typeof(object));
3647
ilg.ConvertValue(localO.
LocalType
, typeof(object));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (7)
383
SourceInfo source = new SourceInfo("p[" + i.ToString(CultureInfo.InvariantCulture) + "]", null, null, pLengthLoc.
LocalType
.GetElementType(), ilg);
1686
WriteElement(new SourceInfo("elem", null, null, elemLoc.
LocalType
, ilg), element, arrayName, writeAccessors);
1714
WriteElement(new SourceInfo("elem", null, null, elemLoc.
LocalType
, ilg), unnamedAny, arrayName, writeAccessors);
2121
Debug.Assert(!local.
LocalType
.IsValueType);
2389
initValue.ILG.ConvertValue(propInfo.PropertyType, localA.
LocalType
);
2394
initValue.ILG.ConvertValue(initValue.ILG.GetVariableType(sVar), localA.
LocalType
);
2423
initValue.Load(local.
LocalType
);