Example #1
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));
 }
Example #2
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));
 }
 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));
 }
Example #5
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));
 }
 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));
 }
 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));
 }
Example #8
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 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));
 }
Example #11
0
 static IForToLoopOperationWrapper()
 {
     WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IForToLoopOperationWrapper));
     LoopControlVariableAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(LoopControlVariable));
     InitialValueAccessor        = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(InitialValue));
     LimitValueAccessor          = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(LimitValue));
     StepValueAccessor           = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(StepValue));
     IsCheckedAccessor           = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsChecked));
     NextVariablesAccessor       = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(NextVariables));
 }
 static IInterpolatedStringOperationWrapper()
 {
     WrappedType   = OperationWrapperHelper.GetWrappedType(typeof(IInterpolatedStringOperationWrapper));
     PartsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Parts));
 }
 static IConditionalAccessOperationWrapper()
 {
     WrappedType         = OperationWrapperHelper.GetWrappedType(typeof(IConditionalAccessOperationWrapper));
     OperationAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Operation));
     WhenNotNullAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(WhenNotNull));
 }
Example #14
0
 static ICaseClauseOperationWrapper()
 {
     WrappedType   = OperationWrapperHelper.GetWrappedType(typeof(ICaseClauseOperationWrapper));
     LabelAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ILabelSymbol>(WrappedType, nameof(Label));
 }
Example #15
0
 static IInterpolatedStringTextOperationWrapper()
 {
     WrappedType  = OperationWrapperHelper.GetWrappedType(typeof(IInterpolatedStringTextOperationWrapper));
     TextAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Text));
 }
 static ITupleBinaryOperationWrapper()
 {
     WrappedType          = OperationWrapperHelper.GetWrappedType(typeof(ITupleBinaryOperationWrapper));
     LeftOperandAccessor  = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(LeftOperand));
     RightOperandAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(RightOperand));
 }
Example #17
0
 static IEventReferenceOperationWrapper()
 {
     WrappedType   = OperationWrapperHelper.GetWrappedType(typeof(IEventReferenceOperationWrapper));
     EventAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IEventSymbol>(WrappedType, nameof(Event));
 }
Example #18
0
 static IVariableDeclarationGroupOperationWrapper()
 {
     WrappedType          = OperationWrapperHelper.GetWrappedType(typeof(IVariableDeclarationGroupOperationWrapper));
     DeclarationsAccessor = LightupHelpers.CreateOperationListPropertyAccessor <IOperation>(WrappedType, nameof(Declarations));
 }
Example #19
0
 static IInstanceReferenceOperationWrapper()
 {
     WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IInstanceReferenceOperationWrapper));
 }
 static ILockOperationWrapper()
 {
     WrappedType         = OperationWrapperHelper.GetWrappedType(typeof(ILockOperationWrapper));
     LockedValueAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(LockedValue));
     BodyAccessor        = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Body));
 }
Example #21
0
 static IUsingDeclarationOperationWrapper()
 {
     WrappedType = OperationWrapperHelper.GetWrappedType(typeof(IUsingDeclarationOperationWrapper));
     DeclarationGroupAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(DeclarationGroup));
     IsAsynchronousAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, bool>(WrappedType, nameof(IsAsynchronous));
 }
Example #22
0
 static IBlockOperationWrapper()
 {
     WrappedType        = OperationWrapperHelper.GetWrappedType(typeof(IBlockOperationWrapper));
     OperationsAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(Operations));
     LocalsAccessor     = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <ILocalSymbol> >(WrappedType, nameof(Locals));
 }
Example #23
0
 static IArgumentOperationWrapper()
 {
     WrappedType       = OperationWrapperHelper.GetWrappedType(typeof(IArgumentOperationWrapper));
     ParameterAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IParameterSymbol>(WrappedType, nameof(Parameter));
     ValueAccessor     = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Value));
 }
 static IFlowCaptureOperationWrapper()
 {
     WrappedType   = OperationWrapperHelper.GetWrappedType(typeof(IFlowCaptureOperationWrapper));
     ValueAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Value));
 }
Example #25
0
 static IMethodBodyBaseOperationWrapper()
 {
     WrappedType            = OperationWrapperHelper.GetWrappedType(typeof(IMethodBodyBaseOperationWrapper));
     BlockBodyAccessor      = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(BlockBody));
     ExpressionBodyAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(ExpressionBody));
 }
 static IDynamicObjectCreationOperationWrapper()
 {
     WrappedType         = OperationWrapperHelper.GetWrappedType(typeof(IDynamicObjectCreationOperationWrapper));
     InitializerAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Initializer));
     ArgumentsAccessor   = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ImmutableArray <IOperation> >(WrappedType, nameof(Arguments));
 }
Example #27
0
 static INameOfOperationWrapper()
 {
     WrappedType      = OperationWrapperHelper.GetWrappedType(typeof(INameOfOperationWrapper));
     ArgumentAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Argument));
 }
Example #28
0
 static IDeclarationExpressionOperationWrapper()
 {
     WrappedType        = OperationWrapperHelper.GetWrappedType(typeof(IDeclarationExpressionOperationWrapper));
     ExpressionAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Expression));
 }
 static ISingleValueCaseClauseOperationWrapper()
 {
     WrappedType   = OperationWrapperHelper.GetWrappedType(typeof(ISingleValueCaseClauseOperationWrapper));
     ValueAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, IOperation>(WrappedType, nameof(Value));
 }
 static IStaticLocalInitializationSemaphoreOperationWrapper()
 {
     WrappedType   = OperationWrapperHelper.GetWrappedType(typeof(IStaticLocalInitializationSemaphoreOperationWrapper));
     LocalAccessor = LightupHelpers.CreateOperationPropertyAccessor <IOperation, ILocalSymbol>(WrappedType, nameof(Local));
 }