• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# UncheckedStatement类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中UncheckedStatement的典型用法代码示例。如果您正苦于以下问题:C# UncheckedStatement类的具体用法?C# UncheckedStatement怎么用?C# UncheckedStatement使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



UncheckedStatement类属于命名空间,在下文中一共展示了UncheckedStatement类的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: VisitUncheckedStatement

		public virtual void VisitUncheckedStatement (UncheckedStatement uncheckedStatement)
		{
			VisitChildren (uncheckedStatement);
		}
开发者ID:modulexcite,项目名称:ICSharpCode.Decompiler-retired,代码行数:4,代码来源:DepthFirstAstVisitor.cs


示例2: VisitUncheckedStatement

		public override void VisitUncheckedStatement(UncheckedStatement uncheckedStatement) {
			uncheckedStatement.Body.AcceptVisitor(this);
		}
开发者ID:chenxustu1,项目名称:SaltarelleCompiler,代码行数:3,代码来源:StatementCompiler.cs


示例3: Visit

			public override object Visit(Unchecked uncheckedStatement)
			{
				var result = new UncheckedStatement();
				result.AddChild(new CSharpTokenNode(Convert(uncheckedStatement.loc), UncheckedStatement.UncheckedKeywordRole), UncheckedStatement.UncheckedKeywordRole);
				if (uncheckedStatement.Block != null)
					result.AddChild((BlockStatement)uncheckedStatement.Block.Accept(this), Roles.Body);
				return result;
			}
开发者ID:0xb1dd1e,项目名称:NRefactory,代码行数:8,代码来源:CSharpParser.cs


示例4: VisitUncheckedStatement

		public override void VisitUncheckedStatement(UncheckedStatement uncheckedStatement)
		{
			FixEmbeddedStatment(policy.StatementBraceStyle, policy.FixedBraceForcement, uncheckedStatement.Body);
		}
开发者ID:txdv,项目名称:monodevelop,代码行数:4,代码来源:AstFormattingVisitor.cs


示例5: VisitUncheckedStatement

 public virtual void VisitUncheckedStatement(UncheckedStatement uncheckedStatement)
 {
     if (this.ThrowException)
     {
         throw (Exception)this.CreateException(uncheckedStatement);
     }
 }
开发者ID:fabriciomurta,项目名称:BridgeUnified,代码行数:7,代码来源:Visitor.Exception.cs


示例6: VisitUncheckedStatement

		public sealed override object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data) {
			BeginVisit(uncheckedStatement);
			object result = TrackedVisitUncheckedStatement(uncheckedStatement, data);
			EndVisit(uncheckedStatement);
			return result;
		}
开发者ID:mgagne-atman,项目名称:Projects,代码行数:6,代码来源:NodeTrackingAstVisitor.cs


示例7: VisitUncheckedStatement

 public abstract StringBuilder VisitUncheckedStatement(UncheckedStatement uncheckedStatement, int data);
开发者ID:hach-que,项目名称:SLSharp,代码行数:1,代码来源:VisitorBase.Abstract.cs


示例8: VisitUncheckedStatement

		public virtual void VisitUncheckedStatement(UncheckedStatement uncheckedStatement)
		{
			DebugExpression(uncheckedStatement);
			StartNode(uncheckedStatement);
			WriteKeywordReference(UncheckedStatement.UncheckedKeywordRole);
			uncheckedStatement.Body.AcceptVisitor(this);
			EndNode(uncheckedStatement);
		}
开发者ID:0xd4d,项目名称:NRefactory,代码行数:8,代码来源:CSharpOutputVisitor.cs


示例9: Process_Unchecked_Statement

 private void Process_Unchecked_Statement(StringBuilder sb, UncheckedStatement statement)
 {
     sb.Append("unchecked");
     sb.Append(ProcessStatement(statement.Statement));
 }
开发者ID:uQr,项目名称:Visual-NHibernate,代码行数:5,代码来源:CSharpCodeFormatter.cs


示例10: VisitUncheckedStatement

        public void VisitUncheckedStatement(UncheckedStatement uncheckedStatement)
        {
            JsonObject statement = CreateJsonStatement(uncheckedStatement);

            AddKeyword(statement, UncheckedStatement.UncheckedKeywordRole);
            statement.AddJsonValue("body", GenStatement(uncheckedStatement.Body));
            Push(statement);

            throw new FirstTimeUseException();
        }
开发者ID:CompilerKit,项目名称:CodeWalk,代码行数:10,代码来源:AstCsToJson.cs


示例11: VisitUncheckedStatement

		public virtual object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data) {
			Debug.Assert((uncheckedStatement != null));
			Debug.Assert((uncheckedStatement.Block != null));
			return uncheckedStatement.Block.AcceptVisitor(this, data);
		}
开发者ID:mgagne-atman,项目名称:Projects,代码行数:5,代码来源:AbstractASTVisitor.cs


示例12: VisitUncheckedStatement

 public void VisitUncheckedStatement(UncheckedStatement node)
 {
     NotSupported(node);
 }
开发者ID:evanw,项目名称:minisharp,代码行数:4,代码来源:Lower.cs


示例13: VisitUncheckedStatement

		public virtual object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data) {
			throw new global::System.NotImplementedException("UncheckedStatement");
		}
开发者ID:mgagne-atman,项目名称:Projects,代码行数:3,代码来源:NotImplementedAstVisitor.cs


示例14: VisitUncheckedStatement

		public virtual object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data) {
			Debug.Assert((uncheckedStatement != null));
			Debug.Assert((uncheckedStatement.Block != null));
			nodeStack.Push(uncheckedStatement.Block);
			uncheckedStatement.Block.AcceptVisitor(this, data);
			uncheckedStatement.Block = ((Statement)(nodeStack.Pop()));
			return null;
		}
开发者ID:mgagne-atman,项目名称:Projects,代码行数:8,代码来源:AbstractAstTransformer.cs


示例15: Visit

			public override object Visit (Unchecked uncheckedStatement)
			{
				var result = new UncheckedStatement ();
				result.AddChild (new CSharpTokenNode (Convert (uncheckedStatement.loc), "unchecked".Length), UncheckedStatement.Roles.Keyword);
				result.AddChild ((INode)uncheckedStatement.Block.Accept (this), UncheckedStatement.Roles.EmbeddedStatement);
				return result;
			}
开发者ID:pgoron,项目名称:monodevelop,代码行数:7,代码来源:CSharpParser.cs


示例16: VisitUncheckedStatement

 public override StringBuilder VisitUncheckedStatement(UncheckedStatement uncheckedStatement, int data)
 {
     return new StringBuilder();
 }
开发者ID:mono-soc-2011,项目名称:SLSharp,代码行数:4,代码来源:GlslVisitor.Unimplemented.cs


示例17: VisitUncheckedStatement

		public void VisitUncheckedStatement(UncheckedStatement uncheckedStatement)
		{
			StartNode(uncheckedStatement);
			WriteKeyword(UncheckedStatement.UncheckedKeywordRole);
			uncheckedStatement.Body.AcceptVisitor(this);
			EndNode(uncheckedStatement);
		}
开发者ID:x-strong,项目名称:ILSpy,代码行数:7,代码来源:CSharpOutputVisitor.cs


示例18: TrackedVisitUncheckedStatement

		public virtual object TrackedVisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data) {
			return base.VisitUncheckedStatement(uncheckedStatement, data);
		}
开发者ID:mgagne-atman,项目名称:Projects,代码行数:3,代码来源:NodeTrackingAstVisitor.cs



注:本文中的UncheckedStatement类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# UndoManager类代码示例发布时间:2022-05-24
下一篇:
C# UncheckedExpression类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap