Mono.Debugger.Backend.Mono.MonoSymbolFile.MonoMethod.MonoMethod C# (CSharp) Method

MonoMethod() public method

public MonoMethod ( MonoSymbolFile file, MethodSource source, int domain, Mono.CompilerServices.SymbolWriter method, Cecil mdef ) : System
file MonoSymbolFile
source MethodSource
domain int
method Mono.CompilerServices.SymbolWriter
mdef Cecil
return System
            public MonoMethod(MonoSymbolFile file, MethodSource source, int domain,
					   C.MethodEntry method, Cecil.MethodDefinition mdef)
                : base(source.Name, file.ImageFile, file.Module)
            {
                this.file = file;
                this.source = source;
                this.domain = domain;
                this.method = method;
                this.mdef = mdef;

                foreach (Cecil.CustomAttribute cattr in mdef.CustomAttributes) {
                    string cname = cattr.Constructor.DeclaringType.FullName;
                    if ((cname == "System.Diagnostics.DebuggerHiddenAttribute") ||
                        (cname == "System.Runtime.CompilerServices.CompilerGeneratedAttribute"))
                        is_compiler_generated = true;
                }
            }