Microsoft.Cci.MutableCodeModel.SourceMethodBody.SourceMethodBody C# (CSharp) Method

SourceMethodBody() public method

Allocates an object that provides a metadata (IL) representation along with a source level representation of the body of a method or of a property/event accessor.
public SourceMethodBody ( IMetadataHost host, ISourceLocationProvider sourceLocationProvider = null, ILocalScopeProvider localScopeProvider = null, uint>.IDictionary iteratorLocalCount = null ) : System
host IMetadataHost An object representing the application that is hosting this source method body. It is used to obtain access to some global /// objects and services such as the shared name table and the table for interning references.
sourceLocationProvider ISourceLocationProvider An object that can map the ILocation objects found in the block of statements to IPrimarySourceLocation objects. May be null.
localScopeProvider ILocalScopeProvider
iteratorLocalCount uint>.IDictionary A map that indicates how many iterator locals are present in a given block. Only useful for generated MoveNext methods. May be null.
return System
    public SourceMethodBody(IMetadataHost host, ISourceLocationProvider/*?*/ sourceLocationProvider = null, ILocalScopeProvider/*?*/ localScopeProvider = null, IDictionary<IBlockStatement, uint>/*?*/ iteratorLocalCount = null) {
      this.host = host;
      this.sourceLocationProvider = sourceLocationProvider;
      this.localScopeProvider = localScopeProvider;
      this.iteratorLocalCount = iteratorLocalCount;
    }