C# Class MixinRefactoring.Method

Inheritance: Member, IParameterList
Exibir arquivo Open project: pgenfer/mixinSharp Class Usage Examples

Public Methods

Method Description
Add ( Parameter parameter ) : void
GetParameter ( int index ) : Parameter
Method ( string name, ITypeSymbol type, bool overrideFromObject = false ) : Microsoft.CodeAnalysis

ToString ( ) : string

Protected Methods

Method Description
CreateCopy ( ) : Member

Method Details

Add() public method

public Add ( Parameter parameter ) : void
parameter Parameter
return void

CreateCopy() protected method

protected CreateCopy ( ) : Member
return Member

GetParameter() public method

public GetParameter ( int index ) : Parameter
index int
return Parameter

Method() public method

public Method ( string name, ITypeSymbol type, bool overrideFromObject = false ) : Microsoft.CodeAnalysis
name string
type ITypeSymbol
overrideFromObject bool /// this flag is set if the method was originally declared /// in System.Object and is overriden. When the mixin is included, /// overriden methods from System.Object should still be added to the child
return Microsoft.CodeAnalysis

ToString() public method

public ToString ( ) : string
return string