static ILocalFunctionOperationWrapper()
 {
     WrappedType         = OperationWrapperHelper.GetWrappedType(typeof(ILocalFunctionOperationWrapper));
     SymbolAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(Symbol));
     BodyAccessor        = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Body));
     IgnoredBodyAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(IgnoredBody));
 }
Beispiel #2
0
 static ICollectionElementInitializerOperationWrapper()
 {
     WrappedType       = OperationWrapperHelper.GetWrappedType(typeof(ICollectionElementInitializerOperationWrapper));
     AddMethodAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(AddMethod));
     ArgumentsAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(Arguments));
     IsDynamicAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsDynamic));
 }
 static IWithOperationWrapper()
 {
     WrappedType         = OperationWrapperHelper.GetWrappedType(typeof(IWithOperationWrapper));
     OperandAccessor     = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Operand));
     CloneMethodAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(CloneMethod));
     InitializerAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Initializer));
 }
Beispiel #4
0
 static IIsTypeOperationWrapper()
 {
     WrappedType          = OperationWrapperHelper.GetWrappedType(typeof(IIsTypeOperationWrapper));
     ValueOperandAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(ValueOperand));
     TypeOperandAccessor  = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ITypeSymbol>(WrappedType, nameof(TypeOperand));
     IsNegatedAccessor    = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsNegated));
 }
Beispiel #5
0
 static IObjectCreationOperationWrapper()
 {
     WrappedType         = OperationWrapperHelper.GetWrappedType(typeof(IObjectCreationOperationWrapper));
     ConstructorAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(Constructor));
     InitializerAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Initializer));
     ArgumentsAccessor   = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Arguments));
 }
Beispiel #6
0
 static IVariableDeclaratorOperationWrapper()
 {
     WrappedType              = OperationWrapperHelper.GetWrappedType(typeof(IVariableDeclaratorOperationWrapper));
     SymbolAccessor           = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ILocalSymbol>(WrappedType, nameof(Symbol));
     InitializerAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Initializer));
     IgnoredArgumentsAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(IgnoredArguments));
 }
 static IPatternCaseClauseOperationWrapper()
 {
     WrappedType     = OperationWrapperHelper.GetWrappedType(typeof(IPatternCaseClauseOperationWrapper));
     LabelAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ILabelSymbol>(WrappedType, nameof(Label));
     PatternAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Pattern));
     GuardAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Guard));
 }
Beispiel #8
0
 static ICompoundAssignmentOperationWrapper()
 {
     WrappedType            = OperationWrapperHelper.GetWrappedType(typeof(ICompoundAssignmentOperationWrapper));
     IsLiftedAccessor       = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsLifted));
     IsCheckedAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsChecked));
     OperatorMethodAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(OperatorMethod));
 }
Beispiel #9
0
 static IInterpolationOperationWrapper()
 {
     WrappedType          = OperationWrapperHelper.GetWrappedType(typeof(IInterpolationOperationWrapper));
     ExpressionAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Expression));
     AlignmentAccessor    = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Alignment));
     FormatStringAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(FormatString));
 }
 static IVariableDeclarationOperationWrapper()
 {
     WrappedType               = OperationWrapperHelper.GetWrappedType(typeof(IVariableDeclarationOperationWrapper));
     DeclaratorsAccessor       = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Declarators));
     InitializerAccessor       = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Initializer));
     IgnoredDimensionsAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(IgnoredDimensions));
 }
Beispiel #11
0
 static IDeclarationPatternOperationWrapper()
 {
     WrappedType            = OperationWrapperHelper.GetWrappedType(typeof(IDeclarationPatternOperationWrapper));
     MatchedTypeAccessor    = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ITypeSymbol>(WrappedType, nameof(MatchedType));
     MatchesNullAccessor    = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(MatchesNull));
     DeclaredSymbolAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ISymbol>(WrappedType, nameof(DeclaredSymbol));
 }
 static IEventAssignmentOperationWrapper()
 {
     WrappedType            = OperationWrapperHelper.GetWrappedType(typeof(IEventAssignmentOperationWrapper));
     EventReferenceAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(EventReference));
     HandlerValueAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(HandlerValue));
     AddsAccessor           = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(Adds));
 }
Beispiel #13
0
 static ISwitchCaseOperationWrapper()
 {
     WrappedType     = OperationWrapperHelper.GetWrappedType(typeof(ISwitchCaseOperationWrapper));
     ClausesAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Clauses));
     BodyAccessor    = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(Body));
     LocalsAccessor  = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <ILocalSymbol> >(WrappedType, nameof(Locals));
 }
 static IForEachLoopOperationWrapper()
 {
     WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IForEachLoopOperationWrapper));
     LoopControlVariableAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(LoopControlVariable));
     CollectionAccessor          = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Collection));
     NextVariablesAccessor       = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(NextVariables));
     IsAsynchronousAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsAsynchronous));
 }
Beispiel #15
0
 static IDynamicMemberReferenceOperationWrapper()
 {
     WrappedType            = OperationWrapperHelper.GetWrappedType(typeof(IDynamicMemberReferenceOperationWrapper));
     InstanceAccessor       = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Instance));
     MemberNameAccessor     = LightupHelpers.CreateOperationPropertyAccessor <IOperation, string>(WrappedType, nameof(MemberName));
     TypeArgumentsAccessor  = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <ITypeSymbol> >(WrappedType, nameof(TypeArguments));
     ContainingTypeAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ITypeSymbol>(WrappedType, nameof(ContainingType));
 }
 static ISwitchOperationWrapper()
 {
     WrappedType       = OperationWrapperHelper.GetWrappedType(typeof(ISwitchOperationWrapper));
     LocalsAccessor    = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <ILocalSymbol> >(WrappedType, nameof(Locals));
     ValueAccessor     = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Value));
     CasesAccessor     = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Cases));
     ExitLabelAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ILabelSymbol>(WrappedType, nameof(ExitLabel));
 }
Beispiel #17
0
 static IInvocationOperationWrapper()
 {
     WrappedType          = OperationWrapperHelper.GetWrappedType(typeof(IInvocationOperationWrapper));
     TargetMethodAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(TargetMethod));
     InstanceAccessor     = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Instance));
     IsVirtualAccessor    = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsVirtual));
     ArgumentsAccessor    = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Arguments));
 }
 static IUsingOperationWrapper()
 {
     WrappedType            = OperationWrapperHelper.GetWrappedType(typeof(IUsingOperationWrapper));
     ResourcesAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Resources));
     BodyAccessor           = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Body));
     LocalsAccessor         = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <ILocalSymbol> >(WrappedType, nameof(Locals));
     IsAsynchronousAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsAsynchronous));
 }
 static ISwitchExpressionArmOperationWrapper()
 {
     WrappedType     = OperationWrapperHelper.GetWrappedType(typeof(ISwitchExpressionArmOperationWrapper));
     PatternAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Pattern));
     GuardAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Guard));
     ValueAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Value));
     LocalsAccessor  = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <ILocalSymbol> >(WrappedType, nameof(Locals));
 }
Beispiel #20
0
 static ITryOperationWrapper()
 {
     WrappedType       = OperationWrapperHelper.GetWrappedType(typeof(ITryOperationWrapper));
     BodyAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Body));
     CatchesAccessor   = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Catches));
     FinallyAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Finally));
     ExitLabelAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ILabelSymbol>(WrappedType, nameof(ExitLabel));
 }
Beispiel #21
0
 static IWhileLoopOperationWrapper()
 {
     WrappedType              = OperationWrapperHelper.GetWrappedType(typeof(IWhileLoopOperationWrapper));
     ConditionAccessor        = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Condition));
     ConditionIsTopAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(ConditionIsTop));
     ConditionIsUntilAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(ConditionIsUntil));
     IgnoredConditionAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(IgnoredCondition));
 }
Beispiel #22
0
 static IRangeOperationWrapper()
 {
     WrappedType          = OperationWrapperHelper.GetWrappedType(typeof(IRangeOperationWrapper));
     LeftOperandAccessor  = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(LeftOperand));
     RightOperandAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(RightOperand));
     IsLiftedAccessor     = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsLifted));
     MethodAccessor       = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(Method));
 }
Beispiel #23
0
 static IConditionalOperationWrapper()
 {
     WrappedType       = OperationWrapperHelper.GetWrappedType(typeof(IConditionalOperationWrapper));
     ConditionAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Condition));
     WhenTrueAccessor  = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(WhenTrue));
     WhenFalseAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(WhenFalse));
     IsRefAccessor     = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsRef));
 }
 static IConversionOperationWrapper()
 {
     WrappedType            = OperationWrapperHelper.GetWrappedType(typeof(IConversionOperationWrapper));
     OperandAccessor        = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Operand));
     OperatorMethodAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(OperatorMethod));
     IsTryCastAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsTryCast));
     IsCheckedAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsChecked));
 }
 static ILoopOperationWrapper()
 {
     WrappedType           = OperationWrapperHelper.GetWrappedType(typeof(ILoopOperationWrapper));
     BodyAccessor          = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Body));
     LocalsAccessor        = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <ILocalSymbol> >(WrappedType, nameof(Locals));
     ContinueLabelAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ILabelSymbol>(WrappedType, nameof(ContinueLabel));
     ExitLabelAccessor     = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ILabelSymbol>(WrappedType, nameof(ExitLabel));
 }
 static IForLoopOperationWrapper()
 {
     WrappedType             = OperationWrapperHelper.GetWrappedType(typeof(IForLoopOperationWrapper));
     BeforeAccessor          = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(Before));
     ConditionLocalsAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <ILocalSymbol> >(WrappedType, nameof(ConditionLocals));
     ConditionAccessor       = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Condition));
     AtLoopBottomAccessor    = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(AtLoopBottom));
 }
Beispiel #27
0
 static IRecursivePatternOperationWrapper()
 {
     WrappedType                       = OperationWrapperHelper.GetWrappedType(typeof(IRecursivePatternOperationWrapper));
     MatchedTypeAccessor               = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ITypeSymbol>(WrappedType, nameof(MatchedType));
     DeconstructSymbolAccessor         = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ISymbol>(WrappedType, nameof(DeconstructSymbol));
     DeconstructionSubpatternsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(DeconstructionSubpatterns));
     PropertySubpatternsAccessor       = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(PropertySubpatterns));
     DeclaredSymbolAccessor            = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ISymbol>(WrappedType, nameof(DeclaredSymbol));
 }
 static ICatchClauseOperationWrapper()
 {
     WrappedType = OperationWrapperHelper.GetWrappedType(typeof(ICatchClauseOperationWrapper));
     ExceptionDeclarationOrExpressionAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(ExceptionDeclarationOrExpression));
     ExceptionTypeAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ITypeSymbol>(WrappedType, nameof(ExceptionType));
     LocalsAccessor        = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <ILocalSymbol> >(WrappedType, nameof(Locals));
     FilterAccessor        = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Filter));
     HandlerAccessor       = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Handler));
 }
 static IIncrementOrDecrementOperationWrapper()
 {
     WrappedType            = OperationWrapperHelper.GetWrappedType(typeof(IIncrementOrDecrementOperationWrapper));
     IsPostfixAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsPostfix));
     IsLiftedAccessor       = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsLifted));
     IsCheckedAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsChecked));
     TargetAccessor         = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Target));
     OperatorMethodAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(OperatorMethod));
 }
 static IBinaryOperationWrapper()
 {
     WrappedType            = OperationWrapperHelper.GetWrappedType(typeof(IBinaryOperationWrapper));
     LeftOperandAccessor    = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(LeftOperand));
     RightOperandAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(RightOperand));
     IsLiftedAccessor       = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsLifted));
     IsCheckedAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsChecked));
     IsCompareTextAccessor  = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsCompareText));
     OperatorMethodAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IMethodSymbol>(WrappedType, nameof(OperatorMethod));
 }