20 references to DefineField
mscorlib (8)
system\reflection\emit\enumbuilder.cs (2)
46
FieldBuilder fieldBuilder = m_typeBuilder.
DefineField
(
416
m_underlyingField = m_typeBuilder.
DefineField
("value__", underlyingType, FieldAttributes.Public | FieldAttributes.SpecialName | FieldAttributes.RTSpecialName);
system\reflection\emit\typebuilder.cs (1)
892
fdBuilder =
DefineField
(name, valueClassType,(attributes | FieldAttributes.Static));
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (3)
42
FieldBuilder fbCPC = OutputTypeBuilder.
DefineField
(
49
FieldBuilder fbSinkHelper = OutputTypeBuilder.
DefineField
(
56
FieldBuilder fbEventCP = OutputTypeBuilder.
DefineField
(
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (2)
73
afbDelegates[cMethods] = OutputTypeBuilder.
DefineField
(
85
FieldBuilder fbCookie = OutputTypeBuilder.
DefineField
(
System.Core (1)
Microsoft\Scripting\Compiler\LambdaCompiler.cs (1)
308
return _typeBuilder.
DefineField
("<ExpressionCompilerImplementationDetails>{" + Interlocked.Increment(ref _Counter) + "}" + name, type, FieldAttributes.Static | FieldAttributes.Private);
System.Data.Entity (6)
System\Data\Objects\Internal\EntityProxyFactory.cs (6)
866
FieldBuilder wrapperField = typeBuilder.
DefineField
(EntityProxyTypeInfo.EntityWrapperFieldName, typeof(object), FieldAttributes.Public);
890
FieldBuilder interceptorField = typeBuilder.
DefineField
(GetInterceptorFieldName(baseProperty.Name), interceptorType, FieldAttributes.Private | FieldAttributes.Static);
1141
_resetFKSetterFlagField = typeBuilder.
DefineField
(EntityProxyFactory.ResetFKSetterFlagFieldName, typeof(Action<object>), FieldAttributes.Private| FieldAttributes.Static);
1142
_compareByteArraysField = typeBuilder.
DefineField
(EntityProxyFactory.CompareByteArraysFieldName, typeof(Func<object, object, bool>), FieldAttributes.Private | FieldAttributes.Static);
1403
_changeTrackerField = typeBuilder.
DefineField
("_changeTracker", typeof(IEntityChangeTracker), FieldAttributes.Private);
1446
_relationshipManagerField = typeBuilder.
DefineField
("_relationshipManager", typeof(RelationshipManager), FieldAttributes.Private);
System.Data.SqlXml (1)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
263
return this.typeBldr.
DefineField
(fieldName, type, FieldAttributes.Private | FieldAttributes.Static);
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
339
FieldBuilder fb = tb.
DefineField
("_" + dp.Name, dp.Type, FieldAttributes.Private);
System.Xml (3)
System\Xml\Serialization\XmlSerializationILGen.cs (1)
128
FieldBuilder fieldBuilder = serializerContractTypeBuilder.
DefineField
(
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
974
FieldBuilder fieldBuilder = this.typeBuilder.
DefineField
(
1839
idNameFields.Add(name, this.typeBuilder.
DefineField
(idName, typeof(string), FieldAttributes.Private));