26 references to MemberInfo
PresentationBuildTasks (11)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (11)
1779
if (desc.
MemberInfo
is FieldInfo || desc.
MemberInfo
is PropertyInfo)
1781
CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(desc.
MemberInfo
.DeclaringType.FullName), desc.
MemberInfo
.Name);
1790
if (desc.
MemberInfo
is MethodInfo)
1792
MethodInfo mi = (MethodInfo)desc.
MemberInfo
;
1800
CodeMethodInvokeExpression cmie = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(desc.
MemberInfo
.DeclaringType.FullName), desc.
MemberInfo
.Name);
1808
else if (desc.
MemberInfo
is ConstructorInfo) // instance ctor invoke
1810
ConstructorInfo ci = (ConstructorInfo)desc.
MemberInfo
;
1818
CodeObjectCreateExpression coce = new CodeObjectCreateExpression(desc.
MemberInfo
.DeclaringType.FullName);
PresentationFramework (1)
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
404
ConstructorInfo ctorInfo = instanceDescriptor.
MemberInfo
as ConstructorInfo;
System.Web (13)
Compilation\CodeDOMUtility.cs (13)
103
if (desc.
MemberInfo
is FieldInfo) {
105
CodeFieldReferenceExpression fieldRef = new CodeFieldReferenceExpression(BuildGlobalCodeTypeReferenceExpression(desc.
MemberInfo
.DeclaringType.FullName), desc.
MemberInfo
.Name);
110
else if (desc.
MemberInfo
is PropertyInfo) {
112
CodePropertyReferenceExpression propRef = new CodePropertyReferenceExpression(BuildGlobalCodeTypeReferenceExpression(desc.
MemberInfo
.DeclaringType.FullName), desc.
MemberInfo
.Name);
124
if (desc.
MemberInfo
is MethodInfo) {
125
MethodInfo mi = (MethodInfo)desc.
MemberInfo
;
133
CodeMethodInvokeExpression methCall = new CodeMethodInvokeExpression(BuildGlobalCodeTypeReferenceExpression(desc.
MemberInfo
.DeclaringType.FullName), desc.
MemberInfo
.Name);
140
else if (desc.
MemberInfo
is ConstructorInfo) {
141
ConstructorInfo ci = (ConstructorInfo)desc.
MemberInfo
;
149
CodeObjectCreateExpression objectCreate = new CodeObjectCreateExpression(desc.
MemberInfo
.DeclaringType.FullName);
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (1)
52
ConstructorInfo ctorInfo = instanceDescriptor.
MemberInfo
as ConstructorInfo;