public ThrownException CreateExceptionFor(ITypeSymbol symbolInfo, FAMIX.Method method) { FAMIX.ThrownException thrownException = this.CreateNewEntity <FAMIX.ThrownException>(typeof(FAMIX.ThrownException).FullName); thrownException.definingMethod = method; thrownException.exceptionClass = (FAMIX.Class) this.EnsureType(symbolInfo); return(thrownException); }
private void ConfigureMethodWith(FAMIX.Method FamixMethod, IMethodSymbol method) { FamixMethod.isStub = true; FamixMethod.name = helper.FullMethodName(method); FamixMethod.Modifiers = method.RefCustomModifiers.Select(p => p.Modifier.Name).ToList(); FamixMethod.signature = helper.MethodSignature(method); FamixMethod.accessibility = helper.AccessibilityName(method.DeclaredAccessibility); FamixMethod.kind = helper.MethodKindName(method.MethodKind); }
public MethodTypingContext(FAMIX.Method method, IMethodSymbol relatedSymbol) : base(relatedSymbol.ReturnType) { this.method = method; }
public static TypingContext Method(FAMIX.Method method, IMethodSymbol relatedSymbol) { return(new MethodTypingContext(method, relatedSymbol)); }
public void AddMethod(FAMIX.Method one) { methods.Add(one); one.parentType = this; }
public void AddMethod(FAMIX.Method one) { methods.Add(one); }