当前位置: 首页>>代码示例>>C#>>正文


C# UncheckedStatement类代码示例

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


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


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