34 references to DefineMethod
mscorlib (6)
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (6)
133
MethodBuilder Meth = OutputTypeBuilder.
DefineMethod
(
293
MethodBuilder Meth = OutputTypeBuilder.
DefineMethod
(
483
MethodBuilder Meth = OutputTypeBuilder.
DefineMethod
(
561
MethodBuilder Cons = OutputTypeBuilder.
DefineMethod
(
621
MethodBuilder Meth = OutputTypeBuilder.
DefineMethod
( "Finalize", MethodAttributes.Public | MethodAttributes.Virtual, null, null );
750
MethodBuilder Meth = OutputTypeBuilder.
DefineMethod
( "Dispose", MethodAttributes.Public | MethodAttributes.Virtual, null, null );
System (1)
regex\system\text\regularexpressions\RegexCompiler.cs (1)
3382
_methbuilder = _typebuilder.
DefineMethod
(methname, ma, returntype, null);
System.Activities (1)
System\Activities\Debugger\StateManager.cs (1)
607
MethodBuilder methodbuilder = typeBuilder.
DefineMethod
(
System.Core (1)
Microsoft\Scripting\Compiler\DelegateHelpers.cs (1)
38
builder.
DefineMethod
("Invoke", InvokeAttributes, returnType, parameters).SetImplementationFlags(ImplAttributes);
System.Data.Entity (13)
System\Data\Objects\Internal\EntityProxyFactory.cs (13)
743
MethodBuilder getterBuilder = typeBuilder.
DefineMethod
("get_" + baseProperty.Name, getterAccess | getterAttributes, baseProperty.PropertyType, Type.EmptyTypes);
763
MethodBuilder setterBuilder = typeBuilder.
DefineMethod
("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
893
MethodBuilder getterBuilder = typeBuilder.
DefineMethod
("get_" + baseProperty.Name, getterAccess | getterAttributes, baseProperty.PropertyType, Type.EmptyTypes);
985
MethodBuilder getterBuilder = typeBuilder.
DefineMethod
("GetBasePropertyValue", MethodAttributes.Public | MethodAttributes.HideBySig, typeof(object), new Type[] { typeof(string) });
1007
MethodBuilder setterBuilder = typeBuilder.
DefineMethod
("SetBasePropertyValue", MethodAttributes.Public | MethodAttributes.HideBySig, typeof(void), new Type[] { typeof(string), typeof(object) });
1230
MethodBuilder setterBuilder = typeBuilder.
DefineMethod
("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
1354
MethodBuilder setterBuilder = typeBuilder.
DefineMethod
("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
1376
MethodBuilder setterBuilder = typeBuilder.
DefineMethod
("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
1407
_entityMemberChanging = typeBuilder.
DefineMethod
("EntityMemberChanging", MethodAttributes.Private | MethodAttributes.HideBySig, typeof(void), new Type[] { typeof(string) });
1421
_entityMemberChanged = typeBuilder.
DefineMethod
("EntityMemberChanged", MethodAttributes.Private | MethodAttributes.HideBySig, typeof(void), new Type[] { typeof(string) });
1435
MethodBuilder setChangeTracker = typeBuilder.
DefineMethod
("SetChangeTracker", MethodAttributes.Public | MethodAttributes.HideBySig | MethodAttributes.NewSlot | MethodAttributes.Virtual | MethodAttributes.Final,
1452
_getRelationshipManager = typeBuilder.
DefineMethod
("get_RelationshipManager", MethodAttributes.Public | MethodAttributes.HideBySig | MethodAttributes.NewSlot | MethodAttributes.SpecialName | MethodAttributes.Virtual | MethodAttributes.Final,
1627
MethodBuilder proxyGetObjectData = typeBuilder.
DefineMethod
(_getObjectDataMethod.Name,
System.Data.SqlXml (1)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
186
methBldr = this.typeBldr.
DefineMethod
(
System.ServiceModel (1)
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
89
methodInClass = typeBuilder.
DefineMethod
(mInfo.Name,
System.Web (3)
Util\FactoryGenerator.cs (1)
152
MethodBuilder method = factoryTypeBuilder.
DefineMethod
("CreateInstance",
Util\FastPropertyAccessor.cs (2)
122
MethodBuilder method = accessorTypeBuilder.
DefineMethod
("GetProperty",
160
method = accessorTypeBuilder.
DefineMethod
("SetProperty",
System.Web.Extensions (4)
UI\WebControls\Dynamic.cs (4)
341
MethodBuilder mbGet = tb.
DefineMethod
("get_" + dp.Name,
348
MethodBuilder mbSet = tb.
DefineMethod
("set_" + dp.Name,
364
MethodBuilder mb = tb.
DefineMethod
("Equals",
399
MethodBuilder mb = tb.
DefineMethod
("GetHashCode",
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
167
MethodBuilder method = factoryTypeBuilder.
DefineMethod
("CreateInstance",
System.Xml (2)
System\Xml\Serialization\CodeGenerator.cs (1)
79
this.methodBuilder = typeBuilder.
DefineMethod
(methodName, methodAttributes, returnType, argTypes);
System\Xml\Serialization\XmlSerializationILGen.cs (1)
81
MethodBuilder methodBuilder = typeBuilder.
DefineMethod
(