未验证 提交 2be0c26e 编写于 作者: F Fred Silberberg 提交者: GitHub

Spelling fixes (#38673)

Spelling fixes
......@@ -428,7 +428,7 @@ public string LangVersion
// ToolExe delegates back to ToolName if the override is not
// set. So, if ToolExe == ToolName, we know ToolExe is not
// explicitly overriden. So, if both ToolPath is unset and
// explicitly overridden. So, if both ToolPath is unset and
// ToolExe == ToolName, we know nothing is overridden, and
// we can use our own csc.
private bool HasToolBeenOverridden => !(string.IsNullOrEmpty(ToolPath) && ToolExe == ToolName);
......
......@@ -200,7 +200,7 @@ public bool IsMatch(string s)
/// <summary>
/// Compile a globbing character class of the form [...]. Returns true if
/// the character class was succesfully compiled. False if there was a syntax
/// the character class was successfully compiled. False if there was a syntax
/// error. The starting character is expected to be directly after the '['.
/// </summary>
private static bool TryCompileCharacterClass(ref SectionNameLexer lexer, StringBuilder sb)
......
......@@ -42,7 +42,7 @@ private Exception PdbWritingException(Exception inner)
=> new SymUnmanagedWriterException(inner, _symWriterModuleName);
/// <summary>
/// Writes teh content to the given stream. The writer is disposed and can't be used for further writing.
/// Writes the content to the given stream. The writer is disposed and can't be used for further writing.
/// </summary>
public override void WriteTo(Stream stream)
{
......
......@@ -68,7 +68,7 @@ public void SerializeDebugInfo(IMethodBody methodBody, StandaloneSignatureHandle
// but there is no real need for such optimization.
//
// Special case a hidden entry point (#line hidden applied) that would otherwise have no debug info.
// This is to accomodate for a requirement of Windows PDB writer that the entry point method must have some debug information.
// This is to accommodate for a requirement of Windows PDB writer that the entry point method must have some debug information.
bool isKickoffMethod = methodBody.StateMachineTypeName != null;
bool emitDebugInfo = isKickoffMethod || !methodBody.SequencePoints.IsEmpty ||
methodBody.MethodDefinition == (Context.Module.DebugEntryPoint ?? Context.Module.PEEntryPoint);
......
......@@ -646,7 +646,7 @@ private static bool PackBlocks(ArrayBuilder<BasicBlockBuilder> blocks, PooledDic
{
// We set this local to true during the loop below when we make some changes that might enable
// transformations for basic blocks that were already looked at. We simply keep repeating the
// pass untill no such changes are made.
// pass until no such changes are made.
retry = false;
int count = blocks.Count - 1;
......
......@@ -360,7 +360,7 @@ internal Cci.DebugSourceInfo GetDebugSourceInfo()
public abstract SyntaxTree WithFilePath(string path);
/// <summary>
/// Returns a new tree whose <see cref="DiagnosticOptions" /> are the specifed value and other properties are copied
/// Returns a new tree whose <see cref="DiagnosticOptions" /> are the specified value and other properties are copied
/// from the current tree.
/// </summary>
/// <param name="options">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册