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